body,html {
  overflow-x: hidden !important;
  font-family: 'Gilroy';
  font-size: 20px;
  font-weight: bold;
  max-width: 100vw;
}
body {
  background-image: url(img/background.jpg);
  background-position: calc(50% + 540px) -290px;
  background-size: 2835px;
}
* {
  position: relative;
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
}
header img {
  width: 932px;
  transform: rotate(180deg);
  position: absolute;
  left: calc(50% - 400px);
  top: -460px;
}
h1,h2,h3 {
  position: absolute;
}
h1 {
  position: absolute;
  font-size: 128px;
  font-weight: 900;
  line-height: .9;
  top: 130px;
  left: calc(50% - 530px);
}
h2 {
  font-size: 24px;
  top: 380px;
  width: 360px;
  left: calc(50% - 523px);
}
h3 {
  font-size: 24px;
  left: calc(50% + 310px);
  top: 380px;
}
header {
  max-width: 100vw;
  height: 630px;
}
footer {
  font-size: 16px;
  height: 240px;
}
footer .wrapper {
  position: absolute;
  left: calc(50% - 523px);
}
video {
  width: 430px;
  height: 760px;
}
.video {
  height: 760px;
  margin-top: 60px;
}
h4 {
  font-size: 64px;
  line-height: .95;
  font-weight: 900;
}
.video h4 {
  position: absolute;
  left: calc(50% - 523px);
  z-index: 2;
}
.video-wrapper {
  position: absolute;
  left: 45%;
  z-index: 1;
}
.video h4::after {
  content: "";
  width: 403px;
  height: 383px;
  background: url(img/arrows.png) no-repeat;
  position: absolute;
  top: calc(100% + -35px);
  right: -240px;
  background-size: contain;
}
.about {
  position: absolute;
  left: calc(50% - 523px);
}
.flex {
  display: flex;
  flex-wrap: wrap;
}
.flex > div {
  width: 354px;
  font-weight: bold;
  font-size: 24px;
  margin: 80px 98px 0px 0px;
}
.flex>div:nth-child(even) {
  margin-right: 0px;
}
.flex>div.pay {
  margin-top: 200px;
}
.flex>div.pay h4 {
  margin-bottom: 40px;
}
a.button {
  background-color: black;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 24px;
  padding: 20px 50px;
  margin-left: -50px;
  border-radius: 50px;
  margin-top: 40px;
  text-decoration: none;
}
.success {
  max-width: 320px;
  margin: 200px auto 0px;
}
.success.lesson {
  margin-top: 100px;
  max-width: 660px;
  padding: 0px 15px;
}
.success.lesson a:not(.button) {
  color: black;
}
p.h1 {
  font-weight: 900;
  font-size: 30px;
  margin-bottom: 15px;
  width: 200px;
  line-height: 1;
}
input[type=email] {
  font-size: 20px;
  width: 100%;
  margin: 10px 0px;
  padding: 3px;
}
input[type=submit] {
  width: 100%;
  background: black;
  border: 0;
  color: white;
  font-family: 'Gilroy';
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 20px;
  padding: 12px 0px 8px;
}
p.error {
  font-size: 14px;
  padding-top: 10px;
  color: red;
}
footer a {
  color: black;
}
#promocode {
  font-size: 20px;
  border-radius: 10px 10px 0px 0px;
  border: 0px;
  padding: 10px;
  margin: 20px 0 -42px 0;
}
.promocode.yes {
  font-size: 14.5px;
  color: green;
  margin: 20px 0 -30px 0;`
}
@media (max-width: 1100px) {
  .video h4 {
    left: calc(50% - 410px);
  }
  .about {
    left: calc(50% - 403px);
  }
  h4 {
    font-size: 60px;
  }
  .video h4::after {
    width: 333px;
    height: 313px;
    top: calc(100% + -35px);
    right: -180px;
  }
  .video {
    margin-top: 100px;
  }
  footer .wrapper {
    left: calc(50% - 403px);
  }
  header img {
    width: 872px;
    left: calc(50% - 320px);
    top: -400px;
  }
  h1 {
    font-size: 118px;
    top: 200px;
    left: calc(50% - 410px);
  }
  h2 {
    font-size: 20px;
    top: 420px;
    width: 300px;
    left: calc(50% - 403px);
  }
  h3 {
    font-size: 20px;
    top: 30px;
    left: calc(50% - 403px);
  }
}
@media (max-width: 900px) {
  .about {
    left: 62px;
  }
  .flex>div {
    width: 284px;
    font-size: 20px;
  }
  .video h4 {
    left: 62px;
    font-size: 50px;
  }
  .video h4::after {
    width: 253px;
    height: 243px;
    top: calc(100% + -15px);
    right: -110px;
  }
  
  footer .wrapper {
    left: 62px;
  }
  header img {
    width: 872px;
    left: auto;
    top: -400px;
    right: -200px;
  }
  h1 {
    font-size: 118px;
    top: 100px;
    left: 50px;
  }
  h2 {
    font-size: 20px;
    top: 330px;
    width: 300px;
    left: 62px;
  }
  h3 {
    font-size: 20px;
    left: 62px;
    top: 500px;
  }
}
@media (max-width: 800px) {
  footer {
    margin-top: 750px;
  }
  .flex>div.pay h4 {
    margin-bottom: 10px;
  }
  .flex>div.pay {
    margin-top: 100px;
  }
  .video-wrapper {
    left: 62px;
    top: 110px;
  }
  .about {
    margin-top: 100px;
  }
  .video h4::after {
    width: 113px;
    height: 103px;
    top: calc(100% + -45px);
    right: -80px;
    transform: rotate(95deg) scale(1, -1);
  }
  footer {
    font-size: 14px;
  }
  header img {
    width: 932px;
    left: auto;
    top: -400px;
    right: -490px;
  }
  h3 {
    font-size: 20px;
    left: 62px;
    top: 30px;
  }
  h1 {
    font-size: 118px;
    top: 160px;
  }
  h2 {
    font-size: 20px;
    top: 380px;
  }
}
@media (max-width: 550px) {
  .video {
    margin-top: 0px;
  }
  .about {
    margin-top: 20px;
  }
  .video h4 {
    left: 22px;
  }
  video {
    width: 380px;
    height: 670px;
  }

  h3 {
    font-size: 18px;
    left: 22px;
  }
  footer .wrapper {
    left: 22px;
  }
  h1 {
    font-size: 108px;
    left: 13px;
  }
  h2 {
    font-size: 18px;
    top: 350px;
    width: 300px;
    left: 22px;
  }
  header img {
    width: 842px;
    left: 70px;
    top: -400px;
    right: auto;
  }
}
@media (max-width: 480px) {
  footer {
    margin-top: 90px;
  }
  h1 {
      font-size: 88px;
  }
  .about {
    margin-top: -20px;
    left: 22px;
  }
  .flex>div {
    margin-top:40px;
    font-size: 18px;
  }
  video {
    width: 320px;
    height: 600px;
  }
  .video-wrapper {
    left: 22px;
  }
  .video {
    margin-top: -90px;
  }
  h2,h3 {
    font-size: 17px;
  }
  h2 {
    top: 325px;
    width: 200px;
  }
  header img {
    width: 792px;
    left: 10px;
  }
}