@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600&family=Roboto:wght@300;500;700;900&display=swap');

body {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: stretch;
  -webkit-align-items: stretch;
  -ms-flex-align: stretch;
  align-items: stretch;
  position: relative;
  text-align: center;
  word-break: break-word;
  color: #ffffff;
  min-height: 100vh;
  font-family: 'Roboto', sans-serif;
  background-image: url(../img/main.jpg);
  background-repeat: no-repeat;
  background-position: bottom center;
  background-size: cover;
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.content {
  max-width: 1310px;
  width: 100%;
  margin: auto;
  padding: 0 10px;
}

.header {
  padding-top: 3vh;
  padding-bottom: 3vh;
}

.header__logo img {
  height: 11vh;
  max-height: 120px;
  -webkit-filter: drop-shadow(0px 0px 4px #000000);
  filter: drop-shadow(0px 0px 4px #000000);
}

.main {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-flex: 1;
  -webkit-flex: 1 1 auto;
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  position: relative;
}

.wheel {
  overflow: hidden;
  position: relative;
}

.general-title {
  margin: 10px auto 16px;
  height: 11vh;
  max-height: 135px;
  -webkit-animation: title-animation 2.5s infinite alternate;
  animation: title-animation 2.5s infinite alternate;
}

@-webkit-keyframes title-animation {
  0% {
    -webkit-filter: saturate(100%);
    filter: saturate(100%);
  }
  50% {
    -webkit-filter: saturate(182%);
    filter: saturate(182%);
  }
  100% {
    -webkit-filter: saturate(100%);
    filter: saturate(100%);
  }
}

@keyframes title-animation {
  0% {
    -webkit-filter: saturate(100%);
    filter: saturate(100%);
  }
  50% {
    -webkit-filter: saturate(182%);
    filter: saturate(182%);
  }
  100% {
    -webkit-filter: saturate(100%);
    filter: saturate(100%);
  }
}

.wheel__content {
  display: inline-block;
  position: relative;
  padding: 0 32px 32px;
}

.wheel__shadow {
  position: absolute;
  top: -85px;
  left: 0;
}

.wheel__wrap {
  max-width: 527px;
  margin: 34px auto 0;
  position: relative;
  z-index: 1;
}

.wheel__wrap::after {
  content: '';
  position: absolute;
  width: calc(100% + 36px + 36px);
  height: calc(100% + 36px + 36px);
  bottom: -36px;
  left: -36px;
  background: url('../img/wheel-shadow.png') no-repeat center center / contain;
}

.wheel__image {
  position: relative;
  z-index: 1;
  -webkit-animation: wheel-idle 90s linear infinite forwards;
  animation: wheel-idle 90s linear infinite forwards;
}

.wheel__stopper {
  position: absolute;
  z-index: 10;
  top: -36px;
  left: 50%;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
  margin: auto;
  max-width: 68px;
}

.wheel__button {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-transition: all 0.6s;
  -o-transition: all 0.6s;
  transition: all 0.6s;
}

.wheel__button:hover,
.wheel__button:focus {
  -webkit-transform: scale(1.1);
  -ms-transform: scale(1.1);
  transform: scale(1.1);
}

@-webkit-keyframes wheel-idle {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@keyframes wheel-idle {
  0% {
    -webkit-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

.wheel__image.first-spin {
  -webkit-animation: wheel-spin 5s cubic-bezier(0.13, 0.55, 0.24, 1) 1 forwards;
  animation: wheel-spin 5s cubic-bezier(0.13, 0.55, 0.24, 1) 1 forwards;
}

.wheel__image.second-spin {
  -webkit-animation: wheel-spin2 5s cubic-bezier(0.13, 0.55, 0.24, 1) 1 forwards;
  animation: wheel-spin2 5s cubic-bezier(0.13, 0.55, 0.24, 1) 1 forwards;
}

.wheel__image.last-spin {
  -webkit-animation: wheel-spin3 5s cubic-bezier(0.13, 0.55, 0.24, 1) 1 forwards;
  animation: wheel-spin3 5s cubic-bezier(0.13, 0.55, 0.24, 1) 1 forwards;
}

@-webkit-keyframes wheel-spin {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(1640deg);
    transform: rotate(1640deg);
  }
}

@keyframes wheel-spin {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(1640deg);
    transform: rotate(1640deg);
  }
}

.wheel__button {
  position: absolute;
  top: calc(50% - 180px / 2);
  right: calc(50% - 180px / 2);
  margin: auto;
  min-width: 180px;
  min-height: 180px;
  background: url('../img/wheel-button-background.png') no-repeat center center /
    contain;
  border-radius: 50%;
  z-index: 1;
  -webkit-box-shadow: 0px 10px 30px rgba(0, 0, 0, 1),
    0px 0px 25px 0px rgba(250, 0, 50, 1);
  box-shadow: 0px 10px 30px rgba(0, 0, 0, 1),
    0px 0px 25px 0px rgba(250, 0, 50, 1);
  -webkit-animation: button-glow 2s ease-in-out infinite forwards;
  animation: button-glow 2s ease-in-out infinite forwards;
  -webkit-transition: all 0.6s;
  -o-transition: all 0.6s;
  transition: all 0.6s;
}

.wheel__button:hover {
  -webkit-animation-play-state: paused;
  animation-play-state: paused;
}

@-webkit-keyframes button-glow {
  0% {
    -webkit-box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.5),
      0px 0px 25px 0px rgba(250, 0, 50, 1);
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.5),
      0px 0px 25px 0px rgba(250, 0, 50, 1);
  }
  50% {
    -webkit-box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.5),
      0px 0px 70px 25px rgba(250, 0, 50, 1);
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.5),
      0px 0px 70px 25px rgba(250, 0, 50, 1);
  }
  100% {
    -webkit-box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.5),
      0px 0px 25px 0px rgba(250, 0, 50, 1);
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.5),
      0px 0px 25px 0px rgba(250, 0, 50, 1);
  }
}

@keyframes button-glow {
  0% {
    -webkit-box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.5),
      0px 0px 25px 0px rgba(250, 0, 50, 1);
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.5),
      0px 0px 25px 0px rgba(250, 0, 50, 1);
  }
  50% {
    -webkit-box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.5),
      0px 0px 70px 25px rgba(250, 0, 50, 1);
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.5),
      0px 0px 70px 25px rgba(250, 0, 50, 1);
  }
  100% {
    -webkit-box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.5),
      0px 0px 25px 0px rgba(250, 0, 50, 1);
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.5),
      0px 0px 25px 0px rgba(250, 0, 50, 1);
  }
}

/* FOOTER  */
.footer {
  margin: 0 auto;
  padding: 3vh 28px;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  width: 100%;
  max-width: 1550px;
  text-align: center;
}

.footer__icon {
  -webkit-box-flex: 0;
  -webkit-flex: 0 0 65px;
  -ms-flex: 0 0 65px;
  flex: 0 0 65px;
}

.footer__icon img {
  display: block;
  -o-object-fit: contain;
  object-fit: contain;
  -o-object-position: center;
  object-position: center;
}

.footer__desc {
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  color: #ffffff;
  text-align: left;
  line-height: 1.4;
  letter-spacing: -0.42px;
}

.footer__payment {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.footer__payment li {
  margin: 0 10px;
}

.footer__payment img {
  display: block;
  -o-object-fit: contain;
  object-fit: contain;
  max-height: 40px;
}

/* POPUP */
.popup {
  background: rgba(0, 0, 0, 0.8);
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10;
  -webkit-transform: scale(0);
  -ms-transform: scale(0);
  transform: scale(0);
  -webkit-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
  overflow: auto;
}

.popup.active {
  -webkit-transform: scale(1);
  -ms-transform: scale(1);
  transform: scale(1);
}

.popup__content {
  padding: 160px 130px;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  position: fixed;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 1140px;
  min-height: 710px;
  font-family: 'Roboto', sans-serif;
  overflow: hidden;
  -webkit-filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
  filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
}

.popup__content::after {
  content: '';
  position: absolute;
  width: 1140px;
  height: 710px;
  top: 0;
  left: 50%;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
  background-image: url(../img/popup-background.png);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  z-index: -10;
}

.popup__text {
  margin-bottom: 12px;
  font-family: 'Roboto', sans-serif;
  font-style: normal;
  font-weight: 900;
  font-size: 48px;
  line-height: 1;
  text-transform: uppercase;
  color: #fec882;
  text-fill-color: transparent;
  -webkit-filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
  filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
}

.popup__text.popup__text-first {
  margin-bottom: 24px;
}

.popup__text.small-text {
  font-size: 36px;
  line-height: 1.2;
  font-weight: 500;
}

.popup__text.contrast-text {
  color: #ffffff;
  font-weight: 900;
}

.popup__button {
  margin-top: 30px;
  padding: 16px 25px;
  position: relative;
  width: 100%;
  max-width: 320px;
  font-family: 'Poppins', sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 24px;
  line-height: 1.3;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  color: #322e2f;
  background: -o-linear-gradient(top, #fec882 0%, #ff9f6c 100%);
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    from(#fec882),
    to(#ff9f6c)
  );
  background: linear-gradient(180deg, #fec882 0%, #ff9f6c 100%);
  border-radius: 5px;
}

.popup__button:hover {
  -webkit-transform: scale(1.1);
  -ms-transform: scale(1.1);
  transform: scale(1.1);
}

.main__audio {
  width: 0;
  opacity: 0;
  position: absolute;
  z-index: -100;
}
