@keyframes spring {
  0% {
    margin-top: -30px;
  }
  70% {
    margin-top: 30px;
  }
  100% {
    margin-top: -30px;
  }
}
* {
  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;
  background-size: cover;
  min-height: 100vh;
  width: 100%;
}

.mountain-left {
  position: absolute;
  left: 0;
  bottom: 0;
  background: url("../images/mountain-left.png") center no-repeat;
  background-size: cover;
  width: 387px;
  height: 344px;
}

.mountain-right {
  position: absolute;
  right: 0;
  bottom: 0;
  background: url("../images/mountain-right.png") center no-repeat;
  background-size: cover;
  width: 414px;
  height: 275px;
}

.wolf {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-930px, -410px);
  background: url("../images/Wolf.png") center no-repeat;
  background-size: cover;
  width: 547px;
  height: 555px;
  animation: spring 2.5s infinite;
}

.moon {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(460px, -203px);
  background: url("../images/Moon.png") center no-repeat;
  background-size: cover;
  width: 395px;
  height: 390px;
  animation: spring 2.3s infinite;
}

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

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

.brands {
  margin-bottom: 80px;
}
.brands__row {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: center;
  margin: 0;
}
.brands__col {
  padding: 0 20px;
}

.center {
  text-align: center;
  color: #ffffff;
  padding: 30px 30px 9vh;
}

.bonus__1 {
  font-size: 32px;
  line-height: 1.25;
  color: #ea5b0c;
  text-transform: uppercase;
}
.bonus__2 {
  font-size: 64px;
  line-height: 0.62;
  align-items: center;
  text-align: center;
  text-transform: uppercase;
  color: #ffffff;
  margin-top: 24px;
}

.get-code {
  margin-top: 15vh;
}
.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: #4bc9f3;
  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(37, 170, 214, 0.24);
}
.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: 48px;
}
.get-code__3 {
  margin-top: 48px;
  padding-top: 16px;
  position: relative;
}

.popup__terms {
  font-family: "Roboto", sans-serif;
  font-size: 12px;
  line-height: 1.67;
  text-align: justify;
  color: #ffffff;
  background: rgba(37, 170, 214, 0.56);
  width: 511px;
  padding: 44px 16px 16px 16px;
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  z-index: 1;
  border-radius: 16px;
  display: none;
}

.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: 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;
}
.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);
}

@media (max-width: 1705px) {
  .wolf {
    transform: translate(-862px, -310px);
    width: 479px;
    height: 448px;
  }

  .moon {
    transform: translate(432px, -203px);
    width: 327px;
    height: 318px;
  }
}
@media (max-width: 1400px) {
  .logo {
    text-align: center;
    margin-top: 32px;
  }

  .center {
    text-align: center;
    color: #ffffff;
    padding: 30px 30px 19vh;
  }

  .brands {
    margin-bottom: 40px;
  }

  .mountain-left {
    width: 270px;
    height: 240px;
  }

  .mountain-right {
    width: 290px;
    height: 192px;
  }

  .bonus__1 {
    font-size: 32px;
    line-height: 1.25;
  }
  .bonus__2 {
    font-size: 48px;
    line-height: 0.83;
    margin-top: 16px;
  }

  .get-code {
    margin-top: 8vh;
  }
  .get-code__2 {
    margin-top: 24px;
  }
  .get-code__3 {
    margin-top: 24px;
    padding-top: 16px;
  }

  .popup__terms {
    width: 670px;
  }

  .wolf {
    transform: translate(-670px, -310px);
    width: 382px;
    height: 388px;
  }

  .moon {
    transform: translate(330px, -163px);
    width: 282px;
    height: 276px;
  }
}
@media (max-height: 950px) {
  .popup__terms {
    width: 800px;
  }
}
@media (max-width: 1025px) {
  .popup__terms {
    width: 768px;
  }

  .get-code__3 {
    margin-top: 16px;
    padding-top: 16px;
  }

  .brands {
    margin-bottom: 40px;
  }
  .brands__item img {
    max-width: 168px;
    height: 37px;
  }

  .center {
    text-align: center;
    color: #ffffff;
    padding: 30px 30px 14vh;
  }

  .bonus__2 {
    font-size: 40px;
  }

  .wolf {
    transform: translate(-522px, -135px);
    width: 322px;
    height: 292px;
  }

  .moon {
    transform: translate(220px, -45px);
    width: 264px;
    height: 261px;
  }

  .mountain-left {
    width: 230px;
    height: 202px;
  }

  .mountain-right {
    width: 240px;
    height: 168px;
  }
}
@media (min-width: 769px) {
  .wolf-img {
    display: none;
  }
}
@media (min-width: 768px) {
  .bonus__2 br {
    display: none;
  }
}
@media (max-width: 767px) {
  .wrapper {
    background-position: center top;
    background-size: auto;
  }

  .wolf-img {
    background: url("../images/Wolf-2x.png") center no-repeat;
    background-size: cover;
    width: 204px;
    height: 193px;
    margin: 0 auto -25px;
  }

  .mountain-left,
  .mountain-right {
    display: none;
  }

  .brands {
    margin-bottom: 25px;
  }

  .brands__col {
    padding: 0 15px;
  }

  .brands__item img {
    max-width: 134px;
    height: 22px;
  }

  .bonus__2 {
    font-size: 28px;
    line-height: 1.14;
  }

  .get-code__1__2 span {
    padding: 3px 16px;
  }
  .get-code__1__2 span:hover {
    background-color: rgba(255, 255, 255, 0.24);
  }
  .get-code__1__2 span.active {
    background-color: rgba(37, 170, 214, 0.24) !important;
  }

  .get-code {
    margin-top: 40px;
  }

  .get-code__2 {
    margin-top: 18px;
  }

  .get-code__3 {
    margin-top: 20px;
    padding-top: 8px;
  }

  .center {
    text-align: center;
    color: #ffffff;
    padding: 34px 30px 36px;
  }

  .wolf,
  .moon {
    display: none;
  }

  .popup__terms {
    width: 100%;
    position: relative;
    top: 8px;
    padding-top: 16px;
    text-align: left;
  }

  .logo {
    margin-top: 18px;
  }

  .button-2 {
    font-size: 15px;
  }
}
@media (max-width: 400px) {
  .bonus__1 {
    font-size: 24px;
  }
}
@media (max-width: 330px) {
  .get-code__1__1,
  .get-code__1__2 span {
    font-size: 17px;
  }
}
