@font-face {
  font-family: 'iranfa';
  src: url('/IRANYekanBoldFaNum.ttf');
}

html {
  direction: rtl;
  font-family: "iranfa";

}
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "iranfa";
}
body {
  height: 100vh;
  background: linear-gradient(135deg, #929bf3, #0032a0);
}
.wrapper {
  width: 90%;
  max-width: 34.37em;
  max-height: 100vh;
  background-color: #ffffff;
  position: absolute;
  transform: translate(-50%, -50%);
  top: 50%;
  left: 50%;
  padding: 3em;
  border-radius: 1em;
  box-shadow: 0 4em 5em rgba(27, 8, 53, 0.2);
}
.container {
  position: relative;
  width: 100%;
  height: 100%;
}
#wheel {
  max-height: inherit;
  width: inherit;
  top: 0;
  padding: 0;
}
@keyframes rotate {
  100% {
    transform: rotate(360deg);
  }
}
#spin-btn {
  position: absolute;
  transform: translate(-50%, -50%);
  top: 50%;
  left: 50%;
  height: 26%;
  width: 26%;
  border-radius: 50%;
  cursor: pointer;
  border: 0;
  background: white;
  color: #c66e16;
  text-transform: uppercase;
  font-size: 1.8em;
  letter-spacing: 0.1em;
  font-weight: 600;
}
.mer-img {
  position: absolute;
  width: 6em;
  top: 42%;
  right: -8%;
}
.spin-img {
  max-width: 126%;
  margin: -10px;
}
.pics {
  max-width: 30%;
}
.merident-img {
  max-width: 50%;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
}
#ages {
  max-height: 44px;
  min-width: 140px;
  border-color: #0032a0;
  border-radius: 8px;
  border-width: 2px;
  font-size: 16px;
}
#final-value {
  font-size: 1.5em;
  text-align: center;
  margin-top: 1.5em;
  color: #202020;
  font-weight: 500;
}
#age-range{
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  margin-top: 0px;
  padding: 4px;
  align-items: center;
  margin-inline-start: -20%;
  width: 140%;
}
@media screen and (max-width: 768px) {
  .wrapper {
    font-size: 12px;
  }
  img {
    right: -5%;
  }
}
