@keyframes spring {
  0% {
    margin-top: -20px;
  }
  70% {
    margin-top: 20px;
  }
  100% {
    margin-top: -20px;
  }
}
* {
  padding: 0px;
  margin: 0px;
  box-sizing: border-box;
}

body {
  font-family: "Work Sans", sans-serif;
  font-weight: 700;
}

.wrapper {
  position: relative;
  overflow: hidden;
  background: url("../images/bg.jpg") center no-repeat;
  background-size: cover;
  min-height: 100vh;
  width: 100%;
}

.car {
  position: absolute;
  background: url("../images/light.png") center no-repeat;
  background-size: 80%;
  width: 46%;
  right: 0;
  bottom: 0;
  z-index: 1;
  background-position: bottom right;
}

.heart3 {
  position: absolute;
  background: url(../images/heart3.png) center no-repeat;
  background-size: cover;
  width: 26vw;
  height: 26vw;
  top: 39%;
  left: 47%;
  transform: translate(-50vw, -21vw);
  z-index: 1;
  animation: spring 3.5s infinite;
  min-width: 295px;
  min-height: 295px;
}
.logo-box {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  padding-top: 2.5vw;
}
.logo {
  display: block;
}
.container {
  position: relative;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  min-height: 100vh;
}

.center {
  padding-top: 6.5vw;
  text-align: center;
  color: #ffffff;
  position: relative;
  z-index: 1;
  font-weight: 700;
}

.bonus__1 {
  font-size: 32px;
  line-height: 1.25;
  color: #ea5b0c;
  text-transform: uppercase;
}
.bonus__2 {
  font-size: 64px;
  line-height: 0.75;
  align-items: center;
  text-align: center;
  text-transform: uppercase;
  color: #ffffff;
  padding-top: 1.5vw;
}
.bonus__2_2 {
  font-size: 32px;
}

.get-code {
  padding-top: 6.5vw;
}
.get-code__1 {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
}
.get-code__1__1 {
  font-size: 20px;
  line-height: 1.4;
  text-transform: uppercase;
  color: #ffffff;
  cursor: pointer;
}
.get-code__1__2 {
  padding-left: 16px;
}
.get-code__1__2 span {
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.24);
  border-radius: 80px;
  font-size: 20px;
  line-height: 1.4;
  text-transform: uppercase;
  color: #ffffff;
  padding: 8px 16px;
  cursor: pointer;
  position: relative;
  transition: background-color 0.3s;
}
.get-code__1__2 span:hover {
  background: rgba(56, 196, 35, 0.44);
}
.get-code__1__2 span::after {
  content: attr(attr-text);
  position: absolute;
  bottom: 100%;
  margin-bottom: 3px;
  left: 50%;
  transform: translateX(-50%);
  transition: 0.3s;
  font-size: 12px;
  line-height: 1.67;
  font-family: "Roboto", sans-serif;
  text-transform: none;
  opacity: 0;
}
.get-code__1__2 span.active::after {
  opacity: 1;
}
.get-code__2 {
  padding-top: 2.3vw;
}
.get-code__2__1 {
  margin-top: 20px;
}
.get-code__3 {
  padding-top: 3.3vw;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.container > div {
  width: 100%;
}

.tenogo {
  text-align: center;
  margin-top: 48px;
}

.brands {
  position: absolute;
  bottom: 4.5vw;
}
.brands__row {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: center;
  margin: 0;
}
.brands__col {
  padding: 0 20px;
}
.popup__terms {
  font-family: "Roboto", sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.67;
  text-align: center;
  color: #ffffff;
  background: rgba(56, 196, 35, 0.44);
  width: 511px;
  padding: 44px 16px 16px 16px;
  position: absolute;
  left: 50%;
  top: 2.5vw;
  transform: translateX(-50%);
  z-index: 1;
  border-radius: 16px;
  display: none;
}
.heart2 {
  position: absolute;
  background: url(../images/heart2.png) center no-repeat;
  background-size: cover;
  width: 17vw;
  height: 17vw;
  top: 40%;
  left: 42%;
  transform: translate(-35vw, 6vw);
  z-index: 1;
  animation: spring 4.5s infinite;
  min-width: 295px;
  min-height: 295px;
}

.heart1 {
  position: absolute;
  background: url("../images/heart1.png") center no-repeat;
  background-size: cover;
  width: 18vw;
  height: 18vw;
  top: 50%;
  left: 50%;
  transform: translate(24vw, -13.5vw);
  z-index: 1;
  animation: spring 4s infinite;
  min-width: 295px;
  min-height: 295px;
}

.button-1 {
  background: #ea5b0c;
  border-radius: 46px;
  padding: 18px 62px;
  font-size: 20px;
  line-height: 1.4;
  text-transform: uppercase;
  color: #ffffff;
  text-decoration: none;
  display: inline-block;
  transition: box-shadow 0.3s;
}
.button-1:hover {
  box-shadow: 0px 0px 40px #c24909;
}

.button-2 {
  font-family: "Roboto", sans-serif;
  color: #ffffff;
  text-decoration: none;
  display: inline-block;
  position: relative;
  font-size: 12px;
  line-height: 1.67;
  padding-right: 20px;
  z-index: 2;
}
.button-2::after {
  content: "";
  display: block;
  position: absolute;
  right: 0px;
  top: 50%;
  margin-top: -1px;
  background: url("../images/arrow.svg") center no-repeat;
  background-size: cover;
  width: 10px;
  height: 4px;
  transform: rotate(180deg);
  transition: 0.3s;
}
.button-2.open::after {
  transform: rotate(0deg);
}
.bonus__2_br_1 {
  display: none;
}
.img-mob {
  display: none;
}
@media (max-height: 999px) {
  .center {
    padding-top: 7vh;
  }
  .get-code {
    padding-top: 7vh;
  }
  .brands {
    bottom: 1.5vw;
  }
}

@media (max-width: 1366px) {
  .center {
    padding-top: 4.5vw;
  }
  .bonus__2 {
    font-size: 48px;
  }
  .get-code {
    padding-top: 4.5vw;
  }
  .brands {
    bottom: 4vw;
  }
  .tenogo {
    text-align: center;
    margin-top: 32px;
  }
  .car {
    width: 50%;
  }

  .heart3 {
    width: 23vw;
    height: 23vw;
    transform: translate(-47vw, -23vw);
  }

  .heart2 {
    width: 23vw;
    height: 23vw;
    transform: translate(-35vw, 2vw);
  }

  .heart1 {
    /* width: 350px;
    height: 350px;
    transform: translate(300px, -380px); */
    width: 23vw;
    height: 23vw;
    transform: translate(28vw, -19vw);
  }
}
@media (max-width: 1024px) {
  .center {
    padding-top: 7.5vw;
  }
  .get-code {
    padding-top: 7.5vw;
  }
  .brands {
    bottom: 4vw;
  }
  .heart1 {
    transform: translate(20vw, -25vw);
  }
  .heart3 {
    transform: translate(-52vw, -29vw);
  }
  .heart2 {
    transform: translate(-44vw, 10vw);
  }
  .brands__item img {
    max-width: 168px;
    height: 37px;
  }
  .car {
    width: 60%;
  }
}

@media (max-width: 768px) {
  .logo-box {
    padding-top: 3vw;
  }
  .logo {
    width: 122px;
    height: 32px;
    object-fit: contain;
  }
  .logo img {
    width: 100%;
    height: 100%;
  }
  .bonus__1 {
    font-size: 18px;
  }
  .bonus__2 {
    font-size: 28px;
  }
  .bonus__2_2 {
    font-size: 18px;
  }
  .center {
    padding-top: 6.5vw;
  }
  .get-code {
    padding-top: 6.5vw;
  }
  .get-code__1__2 {
    padding-left: 8px;
  }
  .button-1 {
    padding: 13px 68px;
    font-size: 18px;
  }
  .heart3 {
    width: 27vw;
    height: 27vw;
    min-width: 27vw;
    min-height: 27vw;
    transform: translate(-44vw, -25vw);
  }
  .heart2 {
    width: 33vw;
    height: 33vw;
    min-width: 33vw;
    min-height: 33vw;
    transform: translate(-42vw, 2vw);
  }
  .heart1 {
    width: 27vw;
    height: 27vw;
    min-width: 27vw;
    min-height: 27vw;
    transform: translate(21vw, -21vw);
  }
  .popup__terms {
    position: relative;
    transform: translateY(-30%);
    left: auto;
    margin-bottom: 6vw;
  }
  .car {
    width: 65%;
  }
  @media (min-height: 922px) {
    .center {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -60%);
      padding: 0;
    }
    .popup__terms {
      font-family: "Roboto", sans-serif;
      font-size: 12px;
      font-weight: 400;
      line-height: 1.67;
      text-align: center;
      color: #ffffff;
      background: rgba(46, 69, 15, 0.56);
      width: 511px;
      padding: 44px 16px 16px 16px;
      position: absolute;
      left: 50%;
      top: 2.5vw;
      transform: translateX(-50%);
      z-index: 1;
      border-radius: 16px;
      display: none;
    }
  }
}
@media (max-width: 480px) {
  .heart1,
  .heart2,
  .heart3,
  .car {
    display: none;
  }
  .bonus__2_br_1 {
    display: block;
  }
  .img-mob {
    width: 75vw;
    height: 65vw;
    margin: 0 auto;
    margin-top: 7vw;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
  }
  .mob-car {
    background-image: url(../images/light-mob.png);
    background-size: 100%;
    background-position: 50% 70%;
    background-repeat: no-repeat;
  }
  .popup__terms {
    width: 90%;
    transform: translateY(-20%);
  }
  .logo-box {
    padding-top: 6vw;
  }
  .center {
    padding-top: 11.5vw;
  }
  .bonus__2 {
    padding-top: 3.5vw;
    line-height: 1;
  }
  .get-code {
    padding-top: 15.5vw;
  }
  .get-code__1__1 {
    font-size: 18px;
  }
  .get-code__1__2 span {
    font-size: 18px;
    padding: 3px 16px;
  }
  .get-code__2 {
    padding-top: 6.3vw;
  }
  .heart-mob-right {
    min-width: 0px;
    min-height: 0px;
    width: 45vw;
    height: 45vw;
    position: absolute;
    background: url(../images/heart-mob-right.png) center no-repeat;
    background-size: cover;
    z-index: 1;
    animation: spring 4s infinite;
    right: -10px;
    transform: translate(-15px, -50px);
  }
  .heart-mob-left {
    width: 45vw;
    height: 45vw;
    transform: translate(-5px, 35px);
    position: absolute;
    background: url(../images/heart-mob-left.png) center no-repeat;
    background-size: cover;
    left: 0px;
    z-index: 1;
    animation: spring 4.5s infinite;
    transform: translate(5px, -35px);
  }
  .button-2 {
    font-weight: 300;
    font-size: 16px;
  }
  .brands {
    bottom: 10vw;
  }
  .get-code__3 {
    padding-top: 10vw;
  }
  @media (max-height: 763px) {
    .img-mob {
      width: 55vw;
      height: 47vw;
      margin-top: 7vw;
      background-size: cover;
    }
    .get-code__3 {
      padding-top: 5vw;
    }
    .popup__terms {
      margin-bottom: 14vw;
    }
    .heart1-mob {
      width: 40vw;
      height: 40vw;
    }
  }
}
@media (max-width: 320px) {
  .get-code {
    padding-top: 3.5vw;
  }
}
