@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/Back.png") center no-repeat;
  background-size: cover;
  min-height: 100vh;
  width: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.main{
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  height: 50em;
  margin-left: 10%;
  margin-bottom: 8%;
  z-index: 1000;
}

.main__title-box{
  display: flex;
  align-items: center;
  justify-content: center;
}

.main__title{
  line-height: 30px;
  text-transform: uppercase;
  color: white;
  font-weight: 700;
  font-size: 20px;
}

.main__bonus-text, .main__bonus-text__2, .main__bonus-text-1{
  color: #FAD514;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 64px;
  line-height: 80px;
  text-align: center;
  width: 100%;
}

.main__bonus-text-1{
  color: white;
  font-size: 40px;
  line-height: 60px;
}

.main__bonus-text__2{
  color: white;
  font-size: 32px;
  line-height: 48px;
}

.main__reel-box{
  background: url("../images/reelFrame.png") center no-repeat;
  background-size: cover;
  width: 759px;
  height: 313px;
  overflow: hidden;
  padding: 30px;
}

.main__spin{
  border: none;
  text-transform: uppercase;
  background-color: #EA5B0C;
  color: white;
  width: 240px;
  height: 64px;
  border-radius: 50px;
  font-size: 20px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.5s;
}

.main__spin:hover{
  box-shadow: 0px 0px 40px #EA5B0C;
}

.star{
  position: absolute;
  width: 626px;
  right: 2%;
  top: 0;
}

.blond{
  position: absolute;
  right: 7%;
  bottom: -3%;
  z-index: 1;
}

.grape {
  position: absolute;
  right: 2%;
  bottom: 35%;
  animation: rocket 1.3s ease-in-out infinite alternate;
  z-index: 2;
}

@keyframes rocket {
  from{
    transform: translate(-20px, -20px);
  }to{
     transform: translate(-120px, -120px);
   }
}

.elvis{
  position: absolute;
  right: 17%;
  bottom: 0;
  z-index: 2;
}

.coins{
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: 3;
}

.coin{
  position: absolute;
  animation: spring 3s infinite ease-in-out;
  filter: drop-shadow(0px 5px 30px rgba(232, 124, 25, 0.6));
}

.coin-1{
  top: 10%;
  left: 4%;
}

.coin-2{
  top: 76%;
  left: 30%;
}

.coin-3{
  top: 10%;
  left: 90%;
}

.cherry{
  position: absolute;
  bottom: 3%;
  right: 5%;
  z-index: 4;
}

.light, .light-phone{
  height: 650px;
  position: absolute;
  z-index: 0;
  right: 0;
  bottom: 0;
}

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

.logo img {
  width: 212px;
}

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

.bonus__3{
  font-size: 30px;
  line-height: 0.62;
  align-items: center;
  text-align: center;
  text-transform: uppercase;
  color: #ffffff;
  margin-top: 24px;
}

.get-code{
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-direction: column;
}

.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: white;
  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(67, 182, 40, 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: 16px;
}
.get-code__3 {
  margin-top: 16px;
  padding-top: 16px;
  position: relative;
  z-index: 7;
}

.popup__terms {
  font-family: "Roboto", sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.67;
  text-align: center;
  color: #ffffff;
  background: rgba(67, 182, 40, 0.5);;
  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);
}

.light-phone{
  display: none;
}

.main__title-phone{
  display: none;
}

.main__title-box-phone{
  display: none;
}

@media (max-width: 2000px) {
  .coin-2{
    left: 38%;
  }
}

@media (max-width: 1620px) {

  .blond{
    height: 700px;
  }

  .grape{
    height: 250px;
    right: 0%;
    bottom: 34%;
  }

  .bonus__1{
    margin-top: 0;
  }

  .bg-2 {
    display: none;
  }

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

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

  .main{
    margin-left: 10%;
    height: 35em;
  }

  .main__title-box img {
    width: 140px;
  }

  .main__bonus-text{
    font-size: 46px;
  }

  .logo img {
    width: 150px;
  }

  .logo{
    margin-top: 0;
  }

  .coin-1{
    height: 160px;
    top: 9%;
    left: 3%;
  }

  .coin-2{
    width: 180px;
    top: 80%;
  }

  .coin-3{
    width: 140px;
    left: 70%;
  }

  .star{
    height: 250px;
  }

  .light{
    height: 550px;
  }
}

@media (max-width: 1440px) {

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

  .bonus__3 {
    font-size: 22px;
  }

  .blond{
    height: 600px !important;
  }

  .elvis{
    height: 380px !important;
    right: 27%;
  }

  .light{
    height: 454px;
  }

  .coins{
    width: 400px;
  }

  .cherry{
    width: 250px;
    bottom: 2%;
    right: 8%;
  }

  .grape{
    height: 250px;
  }

  .main__bonus-text-1{
    font-size: 32px;
    line-height: 46px;
  }

}

@media (max-width: 1025px) {
  .popup__terms {
    width: 400px !important;
  }

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

  .blond{
    height: 500px !important;
    right: -5% !important;
  }

  .elvis{
    height: 320px !important;
    right: 27%;
  }

  .cherry{
    width: 200px;
    right: 5%;
  }

  .grape{
    height: 240px;
  }

  .main{
    margin-left: 10%;
  }

  .main__bonus-text{
    font-size: 40px;
    line-height: 60px;
  }

  .main__title{
    font-size: 18px;
  }

  .coin-1{
    height: 120px;
  }

  .coin-2{
    width: 140px;
    left: 46%;
  }

  .coin-3{
    width: 110px;
  }

  .light{
    height: 384px;
  }
}

@media (max-height: 1310px) {

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

@media (min-width: 769px) {
  .boc-img {
    display: none;
  }

  .bonus__2 br {
    display: none;
  }
}

@media (max-width: 768px) {

  .star{
    display: none;
  }

  .main__bonus-text-1{
    font-size: 26px;
    line-height: 32px;
  }

  .wrapper{
    justify-content: center;
    align-items: flex-start;
  }

  .main{
    height: 32em;
    margin: 0;
    width: 70%;
  }

  .elvis{
    height: 240px !important;
    right: 44%;
  }

  .blond{
    height: 400px !important;
    right: 24% !important;
    bottom: 0%;
  }

  .cherry{
    transform: scale(-1,1);
    bottom: -2%;
    right: 63%;
    width: 150px;
  }

  .coin-1{
    height: 100px;
  }

  .coin-2{
    left: -1%;
    top: 60%;
    width: 100px;
  }
  .button-2{
    font-size: 16px;
  }

  .coin-3{
    left: 83%;
    top: 10%;
  }

  .wrapper{
    background-position: 100%;
    transition: 0.5s;
    min-height: 100vh;
  }

  .grape{
    bottom: 15%;
    height: 200px;
  }

  .main__title-box{
    display: none;
  }

  .main__title-box-phone{
    display: flex;
    align-items: center;
    margin: 4% 0;
    width: 60%;
  }

  .main__title-box-phone img{
    margin: 0 0%;
  }

  .get-code{
    width: 100%;
  }

  .main__title-phone{
    color: #FFE448;
    font-weight: 700;
    font-size: 18px;
    line-height: 26px;
    text-transform: uppercase;
  }

  .button-1{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
  }

  .get-code__2{
    
  }

  .get-code__3{
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .main__bonus-text {
    font-size: 32px;
    line-height: 32px;
  }

}

@media (max-width: 320px) and (max-height: 570px){
  .wrapper{
    min-height: 145vh;
  }
}

@media (max-height: 1000px) {
  .blond{
    height: 800px;
    right: 3%;
  }

  .elvis{
    height: 450px;
  }

  .star{
    width: auto;
  }
}

@media (max-width: 767px) {
  .wrapper {
    background-position: center top;
  }

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

  .main__bonus-text__2{
    font-size: 18px;
    line-height: 28px;
  }

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

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

  .bonus__3 {
    font-size: 16px;
    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: white;
  }

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

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

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

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

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

  .light{
    height: 284px;
  }
}

@media (max-width: 425px) {
  .main{
    width: 100%;
    transition: 0.5s;
    height: 28em;
  }

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

  .coin-1{
    top: 2%;
    left: -2%;
  }

  .coin-3{
    left: 77%;
    top: 39%;
  }

  .coin-2{
    left: -8%;
    top: 55%;
  }

  .cherry{
    left: -8%;
    right: 0;
    z-index: 6;
  }

  .elvis{
    height: 280px !important;
    right: 39%;
    z-index: 5;
  }

  .blond{
    height: 220px !important;
    z-index: 4;
    right: 18% !important;
  }

  .get-code__2{
    
  }

  .grape{
    bottom: -1%;
    z-index: 6;
    right: -8%;
    height: 100px;
  }

  .main__title-box-phone{
    width: 100%;
    margin: 12% 0;
    justify-content: center;
  }
}

@media (max-width: 375px) {
  .popup__terms{
    width: 350px !important;
    margin-top: -12%;
  }

  .get-code__2{
    
  }

  .main__bonus-text{
    width: 100%;
  }

  .grape{
    bottom: 11%;
  }

  .coin-1{
    left: 1%;
  }

  .elvis{
    height: 270px !important;
    right: 35%;
  }

  .coins{
    right: -7%;
    bottom: 2%;
  }

  .blond{
    height: 300px !important;
    right: 4% !important;
  }
}

@media (max-width: 420px) and (max-height: 740px){
  .main{
    height: 31em;
  }
}


@media (max-width: 375px) and (max-height: 670px){
  .wrapper{
    min-height: 100vh;
  }

  .main{
    height: 31em;
  }

  .blond{
    height: 180px !important;
    right: 20% !important;
  }

  .elvis{
    height: 230px !important;
    right: 37%;
  }

  .cherry{
    width: 143px;
  }

  .light{
    height: 234px;
  }

  .grape{
    height: 80px;
    bottom: 0;
  }

  .button-1{
    padding: 12px 62px;
  }
}

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

  .main{
    height: 28em;
  }

  .logo{
    margin-top: 20%;
  }

  .main__title-box-phone img {
    height: 50px;
    margin: 0 1%;
  }

  .main__bonus-text{
    font-size: 30px;
  }

  .main__bonus-text__2{
    font-size: 16px;
  }

  .logo img {
    width: 100px;
  }

  .coin-1{
    left: -3%;
    height: 80px;
    top: 4%;
  }

  .coin-3{
    left: 73%;
    top: 2%;
  }

  .popup__terms{
    padding: 44px 8px 10px 8px;
    width: 300px !important;
    margin-top: -15%;
  }

  .blond{
    height: 140px !important;
    right: 24% !important;
  }

  .elvis{
    height: 170px !important;
    right: 39%;
  }

  .light{
    height: 190px;
  }

  .grape{
    height: 70px;
    right: -8%;
    bottom: -6%;
  }

  .cherry{
    width: 110px;
  }

  .coins{
    right: -17%;
    bottom: -7%;
  }

  .coin-3{
    width: 80px;
    left: 80%;
    top: 38%;
  }

  .coin-2{
    left: -5%;
    width: 80px;
  }

  .coin-1{
    left: 1%;
    top: 5%;
    width: 80px;
  }

  .button-1{
    padding: 10px 42px;
    font-size: 18px;
  }
}