@keyframes spring {
  0% {
    margin-top: -30px;
  }
  70% {
    margin-top: 30px;
  }
  100% {
    margin-top: -30px;
  }
}

.mob-img {
  display: none;
}

* {
  padding: 0;
  margin: 0;
  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;
  min-height: 100vh;
  width: 100%;
  background-size: cover;
}

.rocks {
  position: fixed;
  bottom: 0;
  width: 100%;
  z-index: 2;
}

.man {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(300px);
  z-index: 3;
}

.horseshoe {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(451px, -208px);
  animation: spring 4s infinite;
}

.watermelon {
  position: absolute;
  right: 50%;
  top: 50%;
  transform: translate(-501px, -233px);
  animation: spring 3s infinite;
}

.seven {
  position: absolute;
  right: 50%;
  top: 50%;
  /* width: 00px;
  height: 600px; */
  transform: translate(-400px, 0px) scale(0.7);
  animation: spring 5.5s infinite;
}

.container {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: cherriest;
  align-items: center;
  align-content: space-between;
  min-height: 100vh;
}
.container > div {
  width: 100%;
}

.logo {
  text-align: center;
  margin-top: 2vw;
}

.partner {
  color: #ffffff;
  text-transform: uppercase;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  margin-top: 2vw;
  font-size: 20px;
  font-weight: bold;
}

.partner img {
  margin: 0 16px;
}

.partner-mob {
  display: none;
}

.center {
  text-align: center;
  color: #ffffff;
  margin-top: 7vw;
  position: relative;
  z-index: 100;
}

.bonus__1 {
  font-weight: bold;
  font-size: 32px;
  text-transform: uppercase;
  color: #ea5b0c;
}

.bonus__2 {
  font-weight: bold;
  font-size: 64px;
  text-transform: uppercase;
}

.bonus__2 br {
  display: none;
}

.bonus__3 {
  color: #ea5b0c;
  font-weight: bold;
  font-size: 32px;
  text-transform: uppercase;
}

.bonus__3 br {
  display: none;
}

.get-code {
  margin-top: 5vw;
  z-index: 100;
}

.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-color: rgba(77, 235, 53, 0.5);
}
.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 {
  margin-top: 2vw;
}
.get-code__3 {
  margin-top: 3vw;
  position: relative;
}

.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;
  z-index: 100;
}

.button-1:hover {
  box-shadow: 0 0 40px #ea5b0c;
}

.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;
  z-index: 100;
}

.button-2::after {
  content: '';
  display: block;
  position: absolute;
  right: 0;
  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(0);
}

.popup__terms {
  font-family: 'Roboto', sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.57;
  text-align: center;
  color: #ffffff;
  background-color: rgba(77, 235, 53, 0.45);
  width: 688px;
  padding: 16px 55px;
  position: relative;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  z-index: 1;
  border-radius: 16px;
  display: none;
  margin-bottom: 3.5vw;
  z-index: 100;
}

.brands {
  position: absolute;
  bottom: 2vw;
  z-index: 0;
}

.brands__row {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-cherriest;
  align-items: center;
  margin: 0;
}

.brands__col {
  padding: 0 20px;
}
@media (max-width: 1536px) {
  .watermelon {
    transform: translate(-483px, -232px) scale(0.9);
  }
  .horseshoe {
    transform: translate(411px, -208px) scale(0.8);
  }
}
@media (max-width: 1366px) {
  .man {
    transform: translateX(200px);
    width: 400px;
  }
  .horseshoe {
    transform: translate(325px, -208px) scale(0.8);
  }
}

@media (max-width: 1024px) {
  .horseshoe,
  .watermelon,
  .man,
  .seven {
    display: none;
  }
  .seven {
    display: none;
  }
  .partner {
    font-size: 16px;
  }
  .partner img {
    margin: 0 8px;
  }
  .bonus__1 {
    font-size: 28px;
  }
  .bonus__2 {
    font-size: 54px;
  }
  .bonus__3 {
    font-size: 28px;
  }
  @media (min-height: 1023px) {
    .to-tablet {
      margin-top: 30%;
    }
    .man {
      display: none;
    }
    .horseshoe {
      transform: translate(50px, -158px) scale(0.5);
      display: block;
    }
    .watermelon {
      transform: translate(-130px, -77px) rotate(-30deg) scale(0.7);
      display: block;
    }
    @media (min-height: 1365px) {
      .horseshoe {
        transform: translate(150px, -150px) scale(1);
        display: block;
      }
      .watermelon {
        transform: translate(-230px, -77px) rotate(-30deg) scale(1);
        display: block;
      }
    }
  }
}
/*mob*/

@media (max-width: 767px) {
  .rocks,
  .man,
  .horseshoe {
    display: none;
  }

  .logo {
    margin-top: 18px;
  }

  .partner-web {
    display: none;
  }

  .center {
    margin-top: 8vw;
  }

  .bonus__1 {
    margin-top: 8px;
    font-size: 18px;
  }

  .bonus__2 {
    margin-top: 8px;
    font-size: 28px;
  }

  .bonus__2 br {
    display: block;
  }

  .bonus__3 {
    margin-top: 8px;
    font-size: 18px;
  }

  .bonus__3 br {
    display: block;
  }

  .get-code {
    margin-top: 8vw;
  }

  .get-code__1__1 {
    font-size: 18px;
  }

  .get-code__1__2 {
    padding-left: 8px;
  }

  .get-code__1__2 span {
    padding: 3px 16px;
    font-size: 18px;
  }

  .get-code__3 {
    margin-top: 20px;
    padding-top: 8px;
    margin-bottom: 30px;
    font-size: 16px;
    font-weight: normal;
  }

  .mob-img {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    margin-top: 12px;
    position: relative;
    z-index: 1;
  }

  .horseshoe-mob {
    width: 50%;
    z-index: 1;
  }

  .mob-img-cherries {
    position: absolute;
    left: 7%;
    animation: spring 4s infinite;
  }

  .mob-img-watermelon {
    position: absolute;
    right: 7%;
    animation: spring 5.5s infinite;
    transform: translate(50px, 11px) scale(0.6);
  }

  .partner-mob {
    display: flex;
    font-size: 18px;
  }

  .partner-mob img {
    transform: scale(0.8);
  }

  .popup__terms {
    width: 90%;
    position: relative;
    top: 8px;
    padding: 16px 25px 25px;
    margin-bottom: 90px;
  }

  .button-1 {
    padding: 13px 68px;
    font-size: 18px;
  }

  .button-2 {
    font-size: 15px;
  }

  .brands__col {
    padding: 0 15px;
  }

  .brands__item img {
    max-width: 134px;
    height: 22px;
  }
}
@media (max-width: 330px) {
  .get-code__1__1,
  .get-code__1__2 span {
    font-size: 17px;
  }
  .get-code__3 {
    margin-bottom: 80px;
  }
  .mob-img-cherries {
    position: absolute;
    left: 1%;
    animation: spring 4s infinite;
  }

  .mob-img-watermelon {
    position: absolute;
    right: 1%;
    animation: spring 5.5s infinite;
  }
}
