@import url('https://fonts.googleapis.com/css?family=Roboto:400,700');

.mwp-progress-container{
  display: flex;
  justify-content: center;
  margin-top: -15px;
}

.mwp-progress-container progress{
  width: 95%;
  height: 8px;
}

#winner {
  color: white;
  font-size: 100px;
  z-index: 3;
  visibility: hidden;
  opacity: 0;
  position: fixed;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  will-change: opacity;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

#winner.open {
  visibility: initial;
  opacity: 1;
  transition: opacity 0.5s ease 1.5s, visibility 0.5s ease 1.5s;
}

#close {
  height: 25px;
  visibility: hidden;
  opacity: 0;
  position: absolute;
  transition: opacity 0.5s ease, visibility 0.5s ease;
  will-change: opacity;
  top: 40px;
  right: 40px;
  z-index: 4;
  cursor: pointer;
}

#close.open {
  visibility: initial;
  opacity: 1;
  transition: opacity 0.5s ease 2.5s, visibility 0.5s ease 2.5s;
}

#world {
  margin: 0;
  padding: 0;
  width: 100vw;
  /* Use viewport width */
  height: 100vh;
  /* Use viewport height */
  overflow: hidden;
  background: rgba(0, 0, 0, 0.95);
  position: fixed;
  z-index: 2;
  top: 0;
  /* Position from top */
  left: 0;
  /* Position from left */
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.5s ease, visibility 0.5s ease;
  will-change: opacity, visibility;
}

#world.open {
  visibility: initial;
  opacity: 1;
  transition: opacity 1.5s ease, visibility 0.5s ease;
}

.background {
  width: 100%;
  height: 100vh;
  min-height: 700px;
  /* background: linear-gradient(to bottom right, #FF8B57, #FB5656); */
  padding: 20px;
}



.namepicker {
  padding: 40px 35px;
  background: linear-gradient(45deg,
      #999 5%,
      #fff 10%,
      #ccc 30%,
      #ddd 50%,
      #ccc 70%,
      #fff 80%,
      #999 95%);
  border-radius: 10px;
  box-shadow: 0px 0px 40px rgba(0, 0, 0, 0.15);
  display: block;
  animation: fadeIn 0.75s forwards 0s ease;
}

.namepicker p {
  color: #585858;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 15px;
}

.namepicker input {
  width: 420px;
  color: #898989;
  font-size: 20px;
  font-weight: normal;
  background-color: white;
  box-shadow: 0px 0px 40px rgba(0, 0, 0, 0.08);
  border-radius: 5px;
  padding: 20px;
  border: 0;
  margin-bottom: 10px;
}

.namepicker input::placeholder {
  color: #D9D9D9;
}

.namepicker input:focus {
  outline: none;
}

.namepicker h2 {
  color: #6E6E6E;
  font-size: 48px;
  font-weight: medium;
  letter-spacing: 1px;
  text-align: center;
  margin-bottom: 55px;
}

.namepicker a {
  color: white;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 1px;
  text-decoration: none;
  padding: 21px;
  background: linear-gradient(to right, #FF8757, #FC5F56);
  box-shadow: 0px 0px 40px rgba(0, 0, 0, 0.15);
  border-radius: 1000px;
  display: block;
  margin: auto;
}

@keyframes fadeIn {
  0% {
    transform: scale(0.5);
    transform: skewY(25deg);
    opacity: 0;
    box-shadow: none;
  }

  100% {
    transform: scale(1);
    transform: skewY(0deg);
    opacity: 1;
    box-shadow: 0px 0px 40px rgba(0, 0, 0, 0.15);
  }
}

#raffle-selection {
  border-radius: 20px;
  margin-bottom: 10px;
  font-size: 35px;
  text-align: center;
  box-shadow: inset 2px 0px 10px rgb(206 74 74 / 50%);
}

#raffle-selection:focus {
  outline: none;
}

#winning-ticket-input {
  border-radius: 20px;
  transition: opacity 1.5s ease, visibility 0.5s ease;
  font-size: 35px;
  text-align: center;
  color:#333;
  box-shadow: inset 2px 0px 10px rgb(206 74 74 / 50%);
}

#find-winner {
  text-decoration: none;
  text-align: center;
  transition: opacity 1.5s ease, visibility 0.5s ease;
  background: #9f229a;
  background-image: linear-gradient(90deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.5) 39%,
      rgba(255, 255, 255, 0) 75%),
    linear-gradient(45deg,
      transparent 45%,

      #9f229a 62%,
      transparent 62%);
}

#find-winner::after {
  color: #DDD;
  background: #222;
  background-image:
    linear-gradient(90deg,
      rgba(255, 255, 255, 0) 5%,
      rgba(255, 255, 255, 0.5) 40%,
      rgba(255, 255, 255, 0) 70%),
    linear-gradient(45deg,
      transparent 45%,
      #2ac 45%,
      #248 65%,
      transparent 65%);
}


#find-winner:hover {
  color: white;

}

.genie-button {
  position: relative;
  display: inline-block;
  font-size: 16px;
  background-color: #ffcc00;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  overflow: hidden;
}

.genie-button::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300px;
  /* Adjust the width of the genie effect */
  height: 300px;
  /* Adjust the height of the genie effect */
  background: radial-gradient(circle, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 0.3) 70%, rgba(255, 255, 255, 0.5) 80%, rgba(255, 255, 255, 0.8) 90%, rgba(255, 255, 255, 0.9) 95%, rgba(255, 255, 255, 0.95) 100%);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  animation: genie-animation 2s linear infinite;
}



.roll {
  position: relative;
  width: 100%;
  height: 150px;
  overflow: hidden;
  border: 3px solid #5151514f;

  border-radius: 1000px;
  margin-bottom: 15px;
}

.roll ul {
  position: absolute;
  top: 0;
  left: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  width: 100%;
}

.roll ul li {
  font-size: 50px;
  line-height: 150px;
  font-weight: bold;
  text-align: center;
  width: 100%;
  box-shadow: 14px -19px 100px 10px rgba(0, 0, 0, 0.2);
  background: #fff;
}


@keyframes roll {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(calc(-100% + 150px));
  }
}

@keyframes genie-animation {
  0% {
    transform: translate(-50%, -50%) scale(0);
  }

  50% {
    transform: translate(-50%, -50%) scale(1.2);
  }

  100% {
    transform: translate(-50%, -50%) scale(0);
  }
}