.background {
  background-color: #408080;
  z-index: 5;
  display: block;
  position: absolute;
  top: 0;
  height: 100%;
  width: 100%;
  left: 0;
  -webkit-background-size: cover;
  background-size: cover;
  background-position: center;
  -webkit-transition: all 2s;
  -o-transition: all 2s;
  transition: all 2s;
}

html {
  margin: auto;
  height: 100%;
  width: 100%;
  box-sizing: border-box;
}

* {
  box-sizing: inherit;
}

*::before, *::after  {
  box-sizing: inherit;
}

h1 {
  line-height: 1;
}

.center {
  text-align: center;
}

body {
  font-size: 3vh;
  font-family: Arial,Tahoma,sans-serif;
  margin: auto;
  color: #ffffff;
  height: 100%;
  width: 100%;
  overflow: hidden;
}

@media screen and (max-aspect-ratio: 16/9) {
  body {
    font-size: 1.69vw;
  }
}

@media screen and (max-aspect-ratio: 1/1) {
  body {
    font-size: 1.69vh;
  }
}

@media screen and (max-aspect-ratio: 9/16) {
  body {
    font-size: 3vw;
  }
}

.square {
  margin: auto;
  position: absolute;
  top: .25vh;
  left: calc(50vw - 16/9/2*100vh + .25vw);
  width: calc(16/9*100vh - .5vw);
  height: calc(100vh - .5vh);
  overflow: auto;
  padding: 2vh;
  box-sizing: border-box;
  -webkit-transition: all 2s;
  -o-transition: all 2s;
  transition: all 2s;
}

@media screen and (max-aspect-ratio: 16/9) {
  .square {
    top: calc(50vh - 9/16/2*100vw + .25vh);
    left: .25vh;
    width: calc(100vw - .5vw);
    height: calc(9/16*100vw - .5vh);
    padding: 1.12vw;
  }
}

@media screen and (max-aspect-ratio: 1/1) {
  .square {
    top: .25vh;
    left: calc(50vw - 9/16/2*100vh + .25vw);
    width: calc(9/16*100vh - .5vw);
    height: calc(100vh - .5vh);
    padding: 1.12vh;
  }
}

@media screen and (max-aspect-ratio: 9/16) {
  .square {
    top: calc(50vh - 16/9/2*100vw + .25vh);
    left: .25vh;
    width: calc(100vw - .5vw);
    height: calc(16/9*100vw - .5vh);
    padding: 2vw;
  }
}

.logo {
  height: 10.7vh;
  margin: 0.44vh 1.77vh;
  float: left;
  filter: drop-shadow(0.27vw 0.27vw 0.27vw rgba(0,0,0,1));
}

@media screen and (max-aspect-ratio: 16/9) {
  .logo {
    height: 6.02vw;
    margin: 0.25vw 1vw;
    filter: drop-shadow(0.15vw 0.15vw 0.15vw rgba(0,0,0,1));
  }
}

@media screen and (max-aspect-ratio: 1/1) {
  .logo {
    height: 6.02vwvh;
    margin: 0.25vh 1vh;
    filter: drop-shadow(0.15vh 0.15vh 0.15vh rgba(0,0,0,1));
  }
}

@media screen and (max-aspect-ratio: 9/16) {
  .logo {
    height: 10.7vw;
    margin: 0.44vw 4.77vw;
    filter: drop-shadow(0.27vw 0.27vw 0.27vw rgba(0,0,0,1));
  }
}

.lssm {
  float: left;
  font-size: 6vh;
  line-height: 12.44vh;
  color: #08cbdb;
  text-shadow: 0.37vh 0.37vh 0.53vh #111;
}

@media screen and (max-aspect-ratio: 16/9) {
  .lssm {
    font-size: 3.38vw;
    line-height: 7vw;
    text-shadow: 0.21vw 0.21vw 0.3vw #111;
  }
}

@media screen and (max-aspect-ratio: 1/1) {
  .lssm {
    font-size: 3.38vwvh;
    line-height: 7vh;
    text-shadow: 0.21vh 0.21vh 0.3vh #111;
  }
}

@media screen and (max-aspect-ratio: 9/16) {
  .lssm {
    font-size: 6.01vw;
    line-height: 12.44vw;
    text-shadow: 0.37vw 0.37vw 0.53vw #111;
  }
}

.kontakt {
  float: right;
  margin: 0.44vh 1.77vh;
  height: 10vh;
}

@media screen and (max-aspect-ratio: 16/9) {
  .kontakt {
    margin: 0.25vw 1vw;
    height: 5.63vw;
  }
}

@media screen and (max-aspect-ratio: 1/1) {
  .kontakt {
    display: none;
    height: 5.63vh;
  }
}

@media screen and (max-aspect-ratio: 9/16) {
  .kontakt {
    display: none;
    height: 10.01vw;
  }
}

.zadzwon {
  height: 5.33vh;
  line-height: 5vh;
  text-shadow: 0.37vh 0.37vh 0.53vh #111;
}

@media screen and (max-aspect-ratio: 16/9) {
  .zadzwon {
    height: 3vw;
    line-height: 2.81vw;
    text-shadow: 0.21vw 0.21vw 0.3vw #111;
  }
}

@media screen and (max-aspect-ratio: 1/1) {
  .zadzwon {
    display: none;
    line-height: 2.81vh;
  }
}

@media screen and (max-aspect-ratio: 9/16) {
  .zadzwon {
    display: none;
    line-height: 5vw;
  }
}

.head {
  z-index: 999;
  width: 90%;
  margin: 0.89vh auto;
  box-sizing: border-box;
  -webkit-transition: all 2s;
  -o-transition: all 2s;
  transition: all 2s;
  padding-top: .25vh;
  text-align: center;
  display: block;
}

@media screen and (max-aspect-ratio: 16/9) {
  .head {
    width: 90%;
    margin: 0.5vw auto;
  }
}

@media screen and (max-aspect-ratio: 1/1) {
  .head {
    width: 80%;
  }
}

@media screen and (max-aspect-ratio: 9/16) {
  .head {
    width: 100%;
    top: 11vw;
  }
}

.blackfon {
  width: 100%;
  height: calc(70vh - 7vh - .5vh);
  box-sizing: border-box;
  position: absolute;
  top: calc(7vh + 46.375vh + .25vh - 31.25vh);
}

@media screen and (max-aspect-ratio: 16/9) {
  .blackfon {
    height: calc(9/16*70vw - 7vh - .5vh);
    top: calc(7vh + 46.375vh + .25vh - (9/16*70vw - 7vh - .5vh)/2);
  }
}

@media screen and (max-aspect-ratio: 1/1) {
  .blackfon {
    top: calc(23.75vh + .25vh);
    height: calc(60vh - 7vh - .5vh);
  }
}

@media screen and (max-aspect-ratio: 9/16) {
  .blackfon {
    top: calc(50vh - 16/9/2*60vw + .25vh);
    height: calc(16/9*60vw - .5vh);
  }
}

.nomer {
  height: 5.33vh;
  line-height: 5vh;
  text-shadow: 0.37vh 0.37vh 0.53vh #111;
}

@media screen and (max-aspect-ratio: 16/9) {
  .nomer {
    height: 3vw;
    line-height: 2.81vw;
    text-shadow: 0.21vw 0.21vw 0.3vw #111;
  }
}

@media screen and (max-aspect-ratio: 1/1) {
  .nomer {
    display: none;
    line-height: 2.81vh;
  }
}

@media screen and (max-aspect-ratio: 9/16) {
  .nomer {
    display: none;
    line-height: 5vw;
  }
}

.error-bar {
  background-color: red;
}

.error-bar, .success-bar {
  color: white;
  padding: 1vh;
  text-align: center;
  font-size: 2vh;
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 1vh;
}

@media screen and (max-aspect-ratio: 16/9) {
  .error-bar, .success-bar {
    padding: 0.56vw;
    font-size: 1.25vw;
    margin-bottom: 0.56vw;
  }
}

@media screen and (max-aspect-ratio: 1/1) {
  .error-bar, .success-bar {
    padding: 1vh;
    font-size: 2vh;
    margin-bottom: 1vh;
  }
}

@media screen and (max-aspect-ratio: 9/16) {
  .error-bar, .success-bar {
    padding: 1.78vw;
    font-size: 3.56vw;
    margin-bottom: 1.78vw;
  }
}

.success-bar {
  background-color: green;
}

.no_href_cookie_g:visited {
  color: chartreuse;
}

.no_href_cookie_r:visited {
  color: deeppink;
}

.cookie {
  position: fixed;
  z-index: 999;
  background-color: #000000;
  text-align: center;
  width: calc(16/9*100vh - .5vw);
  height: 30vh;
  top: 70vh;
  left: calc(50vw - 16/9/2*100vh + .25vw);
}

@media screen and (max-aspect-ratio: 16/9) {
  .cookie {
    width: 100%;
    height: 17vw;
    top: calc(50vh - 9/16/2*100vw + 39vw);
    left: 0;
  }
}

@media screen and (max-aspect-ratio: 1/1) {
  .cookie {
    width: calc(9/16*100vh - .5vw);
    height: 25vh;
    top: calc(100vh - 25vh);
    left: calc(50vw - 9/16/2*100vh + .25vw);
  }
}

@media screen and (max-aspect-ratio: 9/16) {
  .cookie {
    top: calc(50vh - 16/9/2*100vw + 16/9*100vw - 44vw);
    left: 0;
    width: calc(100vw - .5vw);
    height: 44vw;
  }
}

