@import url("../font/Montserrat/font.css");

/* Base */
html {
  font-family: sans-serif;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-size: 16px;
  margin: 0;
  background: #fff;
  color: #000;
  font-weight: 400;
  font-family: Montserrat, sans-serif;
  overflow-x: hidden;
  height: 100%;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  width: 100%;
}

body.over {
  overflow: hidden;
}

p {
  margin: 10px 0 30px;
}

p:first-child {
  margin-top: 0;
}

* {
  box-sizing: border-box;
}

.focus,
:focus {
  outline: 5px auto -webkit-focus-ring-color;
}

/* Links */
a {
  color: inherit;
}

a,
a:focus,
a:hover {
  outline: none;
  text-decoration: none;
}

/* Layout */
.wrapper {
  overflow-x: hidden;
  -ms-flex: 1 0 auto;
  flex: 1 0 auto;
  height: 100%;
  overflow: hidden;
}

.container,
.wrapper {
  position: relative;
  width: 100%;
}

.container {
  max-width: 1230px;
  padding: 0 15px;
  margin: 0 auto;
  z-index: 2;
}

/* Logo */
.logo {
  position: relative;
  font-size: 0;
}

.logo,
.logo img {
  width: 100%;
}

/* Z-index helpers */
.z1 { z-index: 1; }
.z2 { z-index: 2; }
.z3 { z-index: 3; }
.z4 { z-index: 4; }
.z6 { z-index: 6; }

img {
  max-width: 100%;
}

.hidden {
  display: none !important;
}

/* Headings */
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  padding: 0;
}

[role="button"] {
  cursor: pointer;
}

/* Safari fix */
body.safari .nav__wrap {
  padding-bottom: 60px;
}

/* Text helpers */
.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }

.tt-u { text-transform: uppercase; }
.tt-n { text-transform: none; }

.text-middle {
  font-size: 1.28571rem;
}

/* Button */
.button {
  display: block;
  background-color: transparent;
  outline: none;
  border: none;
  cursor: pointer;
  -webkit-appearance: none;
  padding: 25px 60px;
  text-align: center;
  border-radius: 70px;
  color: #000000;
  transition: background-color 0.2s;
  font-family: Montserrat, sans-serif;
  text-transform: uppercase;
  font-size: 29px;
  box-shadow: 0 24px 44px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
}

.button:before {
  position: absolute;
  content: "";
  width: 100%;
  height: 200%;
  top: 0;
  left: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    #efd000,
    #decc00 50.27%,
    #efd000
  );
  transition: transform 0.2s;
}

.button span {
  position: relative;
  z-index: 2;
}

.button:hover:before {
  transform: translateY(-50%);
}

/* Main section */
.main,
.section {
  position: relative;
}

.main {
  width: 100vw;
  height: 100vh;
  background-color: #feefc8;
}

.main__bg {
  width: 1920px;
}

.main__bg,
.main__bg-wrap {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 50%;
  height: 100%;
  transform: translateX(-50%);
}

.main__bg-wrap {
  width: 100%;
}

.main__bg-top {
  top: 0;
  left: 0;
  width: 100%;
}

.main__bg-top,
.main__bot {
  z-index: 3;
  position: absolute;
  height: 100%;
}

.main__bot {
  width: 1920px;
  bottom: -200px;
  font-size: 0;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: end;
  align-items: flex-end;
}

.main__battle,
.main__bot {
  left: 50%;
  transform: translateX(-50%);
}

.main__battle {
  position: absolute;
  z-index: 2;
  width: 361px;
  height: 377px;
  top: 60px;
  margin-left: 270px;
}

.main__images {
  position: absolute;
  z-index: 2;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.main__images-wrap {
  position: absolute;
  width: 0;
  height: 0;
  top: 50%;
  left: 50%;
}

.main__image {
  position: absolute !important;
  width: 983px;
  height: 642px;
  top: -285px !important;
  right: 49px !important;
  left: auto !important;
  font-size: 0;
}

.main__image-plane {
  position: absolute;
  top: 0;
  left: 0;
}

.main__image-stripe {
  position: absolute;
  bottom: 0;
  right: 0;
}

.main__phones {
  width: 593px;
  height: 541px;
  font-size: 0;
  position: absolute !important;
  top: -127px !important;
  left: 273px !important;
}

.main__container {
  z-index: 4;
  height: 100%;
}

.main__wrap {
  height: 100%;
  max-height: 750px;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -ms-flex-direction: column;
  flex-direction: column;
  padding-bottom: 30px;
}

.main__logo {
  margin: auto;
  max-width: 97px;
}

.main__info {
  text-align: center;
  max-width: 540px;
  margin: 0 auto 30px;
}

.main__title {
  font-weight: 900;
  margin-bottom: 30px;
  font-size: 50px;
  line-height: 1.3;
}

.main__descr {
  font-size: 23px;
  font-weight: 700;
  line-height: 1.5;
  max-width: 410px;
  margin: 0 auto;
}

.main__button {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: center;
  justify-content: center;
}

/* Media queries */
@media (max-width: 1439px) {
  .main__battle {
    width: 270px;
  }

  .main__image {
    width: 737px;
    height: 481px;
    top: -220px !important;
  }

  .main__image-plane {
    width: 540px;
  }

  .main__image-stripe {
    width: 710px;
  }

  .main__phones {
    width: 450px;
  }

  .main__wrap {
    max-height: 680px;
  }
}

@media (max-width: 1229px) {
  .container {
    max-width: 1024px;
  }
}

@media (max-width: 1023px) {
  .container {
    max-width: 768px;
  }

  .main__battle {
    width: 190px;
    margin-left: 100px;
  }

  .main__image {
    width: 471px;
    top: -387px !important;
  }

  .main__image-plane {
    width: 100%;
  }

  .main__image-stripe {
    display: none;
  }

  .main__phones {
    width: 367px;
    top: 190px !important;
    left: -42px !important;
  }
}

@media (max-width: 767px) {
  p {
    margin: 0 0 15px;
  }

  .container {
    max-width: 375px;
  }

  .main__bg {
    height: 925px;
  }

  .main__battle {
    display: none;
  }

  .main__images-wrap {
    top: 0;
  }

  .main__image {
    width: 482px;
    height: 235px;
    top: 323px !important;
    right: -220px !important;
  }

  .main__phones {
    width: 488px;
    top: 616px !important;
    left: -228px !important;
  }

  .main__wrap {
    display: block;
    padding-top: 24px;
  }

  .main__logo {
    margin-bottom: 46px;
  }

  .main__info {
    margin-bottom: 204px;
  }

  .main__title {
    font-size: 30px;
    margin-bottom: 15px;
  }

  .main__descr {
    font-size: 18px;
  }
}
