@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%;
}

.container {
  position: relative;
  z-index: 1;
  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;
}

.bg-2 {
  background: url("../images/bg-2.png") center no-repeat;
  background-size: cover;
  width: 1450px;
  height: 1200px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.book {
  background: url("../images/book.png") center no-repeat;
  background-size: cover;
  width: 422px;
  height: 422px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(450px, -350px);
  animation: spring 4.5s infinite;
}

.bastet {
  background: url("../images/bastet.png") center no-repeat;
  background-size: cover;
  width: 624px;
  height: 568px;
  position: absolute;
  left: 50%;
  bottom: 0%;
  transform: translate(-950px, 0);
  z-index: 2;
}

.brands {
  margin-bottom: 60px;
}
.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;
  transform: translate(0px, 30px);
}

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

.get-code {
  margin-top: 36px;
}
.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: #000000;
  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, 1);
}
.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: 16px;
}
.get-code__3 {
  margin-top: 16px;
  padding-top: 16px;
  position: relative;
}

.popup__terms {
  font-family: "Roboto", sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.67;
  text-align: center;
  color: #ffffff;
  background: rgba(64, 22, 2, 0.45);
  width: 456px;
  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: 1850px) {
  .bastet{
    transform: translate(-850px, 0);
  }
}


@media (max-width: 1620px) {
  .center {
    text-align: center;
    color: #ffffff;
    padding: 30px 30px 30px;
    transform: translate(0px, -30px);
  }

  .bg-2 {
    display: none;
  }

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

  .get-code__1__1 {
    color: #25aad6;
  }

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

  .popup__terms {
    background-color: rgba(37, 170, 214, 0.56);
  }

  .bastet {
    width: 345px !important;
    height: 345px !important;
    transform: translate(-581px, 0);
  }

  .book {
    width: 222px;
    height: 222px;
    transform: translate(243px, -268px);
  }

  .el1 {
    position: absolute;
    left: 50%;
    top: 50%;
    background: url("../images/img1.png") center no-repeat;
    background-size: cover;
    width: 202px;
    height: 238px;
    transform: translate(-443px, -227px);
    animation: spring 5.5s infinite;
  }

  .el2 {
    position: absolute;
    left: 50%;
    top: 50%;
    background: url("../images/img2.png") center no-repeat;
    background-size: cover;
    width: 275px;
    height: 271px;
    transform: translate(327px, -46px);
    animation: spring 4s infinite;
  }
}

@media (max-width: 1440px) {
  .logo {
    text-align: center;
    margin-top: 32px;
  }

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

  .brands {
    margin-bottom: 40px;
  }

  .bonus__1 {
    font-size: 40px;
    line-height: 1.25;
  }
  .bonus__2 {
    font-size: 24px;
    line-height: 0.83;
  }

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

  .bg-2 {
    width: 1000px;
    height: 775px;
  }
}

@media (max-width: 1050px) {
  .el1{
    transform: translate(-420px, -227px);
  }

  .el2{
    transform: translate(300px, 0px);
  }

  .book{
    transform: translate(220px, -268px);
  }

  .bastet{
    transform: translate(-677px, 0);
  }
}

@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;
  }
}

@media (max-height: 1310px) {
  .bg-2{
    height: 950px;
    top: 52%;
    transform: translate(-50%, -54%);
  }

  .logo{
    margin-top: 20px;
  }

  .popup__terms{
    padding: 44px 16px 10px 16px;
  }

  .bastet{
    width: 500px;
    height: 450px;
  }

  .brands{
    margin-bottom: 25px;
  }

  .center{
    margin-bottom: 2%;
  }
}


@media (max-width: 950px) {
  .el2, .bastet{
    display: none;
  }
}

@media (min-width: 769px) {
  .boc-img {
    display: none;
  }
}
@media (min-width: 768px) {
  .bonus__2 br {
    display: none;
  }
}
@media (max-width: 767px) {
  .wrapper {
    background-position: center top;
  }

  .bg-2 {
    display: none;
  }

  .boc-img {
    background: url("../images/boc.png") center no-repeat;
    background-size: cover;
    width: 170px;
    height: 170px;
    margin: 0 auto -25px;
  }

  .brands {
    margin-bottom: 25px;
  }

  .brands__col {
    padding: 0 15px;
  }

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

  .bonus {
    display: flex;
    flex-wrap: wrap;
  }

  .bonus__1 {
    font-size: 28px;
    line-height: 1.4;
    margin-top: 4px;
    width: 100%;
  }

  .bonus__2 {
    font-size: 18px;
    line-height: 1.14;
    margin-top: 0;
    width: 100%;
  }

  .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__1__1 {
    color: #25aad6;
  }

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

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

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

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

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

  .logo {
    margin-top: 18px;
  }

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

  .bastet,
  .book,
  .el1,
  .el2 {
    display: none;
  }

  .center {
    transform: none;
  }
}
@media (max-width: 330px) {
  .get-code__1__1,
  .get-code__1__2 span {
    font-size: 17px;
  }
}
