@keyframes button {
  from {
    box-shadow: 0 0 10px #ea5b0c;
  }
  to {
    box-shadow: 0 0 40px #ea5b0c;
  }
}

* {
  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 bottom 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: 46em;
  margin-left: 10%;
  margin-bottom: 8%;
}

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

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

.main__bonus-text{
  color: #FAD514;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 56px;
  line-height: 72px;
  text-align: center;
  width: 100%;
}

.main__bonus-text__2{
  color: white;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 32px;
  line-height: 62px;
  text-align: center;
}

.queen{
  position: absolute;
  right: 1%;
  bottom: 0;
  z-index: 1;
}

.coins{
  display: none;
  z-index: 5;
}

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

.logo img {
  width: 212px;
}

.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(198, 56, 90, 0.7);
}

.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 Light", sans-serif;
  font-weight: 100;
  font-size: 12px;
  line-height: 1.67;
  text-align: center;
  color: #ffffff;
  background: rgba(198, 56, 90, 0.7);
  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;
  animation: button 0.7s ease-in-out infinite alternate;
}

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

.button-2 {
  font-family: "Roboto Light", sans-serif;
  color: #ffffff;
  font-weight: 100;
  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);
}

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

@media (max-height: 1310px) {

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

@media (max-width: 1620px) {

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

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

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

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

  .logo img {
    width: 150px;
  }

  .logo{
    margin-top: 0;
  }
}

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

  .elvis{
    height: 450px;
  }

  .star{
    width: auto;
  }
}

@media (max-width: 1440px) {

  .queen{
    height: 700px;
  }
}

@media (max-width: 1025px) {

  .wrapper{
    background: url(../images/Back.png) 72% center no-repeat;
    background-size: cover;
  }

  .popup__terms {
    width: 500px;
  }

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

  .queen{
    height: 550px;
    right: -8%;
  }

  .main{
    margin-left: 5%;
    margin-bottom: 25%;
  }

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

  .main__bonus-text__2{
    font-size: 22px;
    line-height: 40px;
  }

  .main__title{
    font-size: 18px;
  }
}

@media (max-width: 768px) {

  .wrapper{
    justify-content: center;
    align-items: flex-start;
    background-position: 100%;
    transition: 0.5s;
    min-height: 100vh;
  }

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

  .queen{
    height: 500px;
    right: 16%;
    bottom: -11%;
  }

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

  .main__title-box{
    display: none;
  }

  .main__title-box-phone{
    display: flex;
    margin-top: 6%;
    width: 50%;
  }

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

  .get-code{
    width: 100%;
  }

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

  .get-code__2{
    width: 50%;
  }

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

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

@media (max-width: 500px) {

  .wrapper {
    background: url(../images/Back-mob.png) center bottom no-repeat;
    background-size: cover;
  }

  .coins{
    display: block;
    position: absolute;
    bottom: 0;
    width: 100%;
  }

  .get-code {
    margin: 0;
  }

  .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: rgba(198, 56, 90, 0.3);
  }

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

  .logo {
    margin-top: 18px;
  }

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

  .main{
    width: 100%;
    transition: 0.5s;
    height: 34em;
  }

  .queen{
    height: 400px;
    z-index: 4;
    right: -3%;
  }

  .main__bonus-text-box{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    height: 8em;
  }

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

  .main__bonus-text{
    width: 80%;
  }

  .main__bonus-text__2{
    width: 90%;
    font-size: 18px;
    line-height: 24px;
  }
}

@media (max-width: 375px) {

  .popup__terms{
    width: 350px;
    margin-top: -12%;
  }

  .get-code__2{
    width: 80%;
  }

  .queen{
    height: 400px;
    right: -5%;
  }
}

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

  .queen{
    right: 0;
  }

  .get-code__2{
    width: 70%;
  }

  .main__bonus-text-box{
    height: 6em;
  }

  .popup__terms{
    width: 390px;
  }
}

@media (max-width: 375px) and (max-height: 670px){

  .queen{
    height: 350px;
    right: 2%;
  }

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

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

  .logo img{
    width: 120px;
  }

  .main__bonus-text-box{
    height: 7em;
  }

  .main{
    height: 28em;
  }

  .popup__terms{
    width: 350px;
  }
}

@media (max-width: 330px) {

  .get-code__1__1,
  .get-code__1__2 span {
    font-size: 17px;
  }

  .get-code__2{
    width: 75%;
  }

  .get-code__3{
    margin-top: 10px;
  }

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

  .main{
    height: 26em;
  }

  .main__bonus-text{
    width: 80%;
    font-size: 25px;
  }

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

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

  .queen{
    height: 260px;
    right: 8%;
  }
}