:root {
  --clr1: #42001B;
  --clr2: #FF0B4B;
  --clr3: #FFE4B2;
  --font-family-base: "Roboto", sans-serif;
}

html {
  font-size: 62.5%;
  min-height: 100vh;
}
@media (max-width: 500px) {
  html {
    font-size: 2.2vw;
  }
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: inherit;
  /*   border: 2px solid red; */
}

body {
  box-sizing: border-box;
}

img {
  display: block;
  max-width: 100%;
  border-style: none;
}

ul {
  list-style: none;
  text-decoration: none;
}

a {
  background-color: transparent;
  text-decoration: none;
  color: inherit;
}

button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

button,
input {
  /* 1 */
  overflow: visible;
}

button,
select {
  /* 1 */
  text-transform: none;
}

button,
[type=button],
[type=reset],
[type=submit] {
  appearance: button;
  -webkit-appearance: button;
  outline: none;
  border: none;
}

button::-moz-focus-inner,
[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

button:-moz-focusring,
[type=button]:-moz-focusring,
[type=reset]:-moz-focusring,
[type=submit]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

@font-face {
  font-family: "Roboto";
  src: url("../fonts/Roboto-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: "Roboto";
  src: url("../fonts/Roboto-Black.woff") format("woff");
  font-weight: 900;
  font-style: normal;
}
body {
  font-family: var(--font-family-base), sans-serif;
  font-weight: 900;
  font-size: 5.2rem;
  line-height: 6rem;
  cursor: default;
  color: #fff;
  background: url(../img/bg.jpg) no-repeat top center/cover;
  height: 100%;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  text-transform: uppercase;
}

.spinner {
  max-width: 93rem;
  margin: auto;
  padding: 2.5rem 0 4rem;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.spinner__amount {
  display: inline-flex;
  font-size: 3rem;
  font-weight: 400;
  line-height: 4rem;
  text-transform: uppercase;
  background: var(--clr1);
  border: 0.4rem solid var(--clr2);
  border-radius: 0.825rem;
  padding: 0.1rem 1rem;
  margin-bottom: 11.4rem;
}
.spinner__amount-title {
  font-weight: 400;
}

.wheel {
text-align: center;
  position: relative;
  overflow: hidden;
}
.wheel__balance {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 4rem;
  width: 100%;
}
.wheel__balance-title {
  font-size: 5.2rem;
  line-height: 6rem;
  margin-bottom: 0.5rem;
}
.wheel__balance-count {
  font-size: 5.2rem;
  line-height: 6rem;
  background: var(--clr1);
  border: 0.6rem solid var(--clr2);
  max-width: 47rem;
  width: 100%;
  padding: 0.1rem 3rem;
  border-radius: 1.2rem;
  text-align: center;
}
.wheel__picture {
  position: relative;
}
.wheel__inside {
  position: relative;
}
.wheel__arrow {
  margin: 0 auto -11rem;
  z-index: 1;
  position: relative;
}

.wheel__picture {
  transform-origin: center;
}
.wheel-picture__wrap {
  position: relative;
}
.wheel__inside-light  {
  position: absolute;
  left: 0;
  right: 0;
  margin: auto;
  top: 26rem;
  opacity: 0;
}


.wheel__inside-light.has-light {
  opacity: 0.5;
}


.wheel__btn {
    text-transform: uppercase;
    color: #fff;
    font-weight: 900;
    font-size: 5.2rem;
    background: var(--clr1);
    border: solid 1.6rem var(--clr3);
    outline: solid 0.8rem var(--clr2);
    outline-offset: -0.8rem;
    border-radius: 6.8rem;
    margin: 7rem auto 0;
    padding: 2.2rem 17rem;
    display: inline-block;
    position: relative;
    z-index: 2;
    cursor: pointer;
    transition: all 0.3s;
}
.wheel__btn:hover,.wheel__btn:active {
  background: var(--clr2);
}

.final {
   
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 5;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1rem;
}
.final:before {
  content: "";
  position: absolute;
  width: 100%;
    height: 100%;
     background: #000000;
    opacity: 0.5;
    filter: blur(100px);
    left: 0;
}

.final__inner {
  max-width: 75rem;
  width: 100%;
  position: relative;
  z-index: 4;
}

.final__text {
  border-radius: 3.3rem;
      background: var(--clr1);
    border: 0.6rem solid var(--clr2);
    padding: 3rem;
    text-align: center;
    margin-bottom: 2rem;
}

.final__text  h2{
  font-size: 8rem;
  line-height: 8rem;
}

.final__btn {background: linear-gradient(180deg, #42f583 -13.58%, #238D00 100%);border: 6.32463px solid rgb(106 237 97 / 81%);border-radius: 40.4776px;max-width: 55rem;width: 100%;display: inline-block;font-size: 5rem;}

.final__btn:hover,.final__btn:active {
  background: linear-gradient(180deg, #22954c -13.58%, #238D00 100%);
    border: 6.32463px solid #22954c;
}

.final__time {
  color: #E7D5A6;
  font-weight: 400;
  font-size: 1.8rem;
  line-height: 2.4rem;
  padding: 0.5rem;
  text-transform: none;
  background: rgba(0, 0, 0, 0.61);
border: 1.26493px solid #FFC400;
border-top: none;
border-radius: 0 0 12px 12px;
max-width: 34rem;
margin: auto;
}

.content {
  padding: 0 1rem;
}
.footer {
  margin-top: auto;
  padding: 4rem 0;
}
.footer__list {
  display: flex;
  align-items: center;
  gap: 2rem;
  justify-content: center;
  padding: 0 1rem;
}

@media (max-width: 926px) {
  .spinner__amount {
    margin-bottom: 12vw;
    font-size: 5vw;
  }
  .wheel__arrow {
    width: 14vw;
    margin: 0 auto -11vw;
  }
  .wheel__btn {
    margin: 5vw auto 0;
       padding: 2vw 18vw;
       font-size: 5.5vw;
  }
  .wheel__inside-light {
    width: 56vw;
  }
}

@media (max-width: 767px) {
  .final__text {
    padding: 3vw;
  }
  .final__text h3 {
    font-size: 7.5vw;
    line-height: 8vw;
  }
  .final__btn {
    max-width: 40rem;
    font-size: 4.5rem;
  }
  .wheel__balance-count {
    font-size: 4.8rem;
  }
  .final__text h2 {
    font-size: 10vw;
    line-height: 12vw;
  }
}