/* GENERAL--START */
body{
  background-color: #4b4b4c;
  background-image: url("data:image/svg+xml,%3Csvg width='64' height='64' viewBox='0 0 64 64' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8 16c4.418 0 8-3.582 8-8s-3.582-8-8-8-8 3.582-8 8 3.582 8 8 8zm0-2c3.314 0 6-2.686 6-6s-2.686-6-6-6-6 2.686-6 6 2.686 6 6 6zm33.414-6l5.95-5.95L45.95.636 40 6.586 34.05.636 32.636 2.05 38.586 8l-5.95 5.95 1.414 1.414L40 9.414l5.95 5.95 1.414-1.414L41.414 8zM40 48c4.418 0 8-3.582 8-8s-3.582-8-8-8-8 3.582-8 8 3.582 8 8 8zm0-2c3.314 0 6-2.686 6-6s-2.686-6-6-6-6 2.686-6 6 2.686 6 6 6zM9.414 40l5.95-5.95-1.414-1.414L8 38.586l-5.95-5.95L.636 34.05 6.586 40l-5.95 5.95 1.414 1.414L8 41.414l5.95 5.95 1.414-1.414L9.414 40z' fill='%236e6d6f' fill-opacity='0.28' fill-rule='evenodd'/%3E%3C/svg%3E");
}

.border{
  box-shadow:
    inset 0 0 7px #fff,
    inset 0 0 10px #fff,
    inset 0 0 21px #fff,
    inset 0 0 30px #bc13fe;
}

.p1img{
  /* box-shadow: inset 0px 0px 8px 0px #BC13FE; */
  box-shadow:
    0 0 7px #fff,
    0 0 10px #fff,
    0 0 21px #ffffff,
    0 0 27px #bc13fe;
}

.gift-vector{
  position: absolute;
  width:55px;
  height:60px;
  opacity: 0.5;
  z-index: -1;
}

/* GENERAL--END */

/* PAGE1--START */

.next, .prev {
    text-shadow:
      0 0 7px #fff,
      0 0 10px #fff,
      0 0 21px #fff,
      0 0 60px #bc13fe;
  }

  #countdown{
      width: 70%;
      height: 60px;
      text-align: center;
      background-color: #3f3f3f;
      border-radius: 20px;
      display: flex;
      justify-content: center;
      align-items: center;
      text-shadow:
      0 0 7px #fff,
      0 0 10px #bc13fe,
      0 0 16px #bc13fe,
      0 0 20px #bc13fe;
      border: 1px solid #111;
      border-radius: 5px;
      margin: auto;
      padding: 18px 0;
      position: relative;
    top: 15px; bottom: 0; left: 0; right: 0;
  }

  @media screen and (max-width:429px) {
    #countdown{
      width: 76%;
    }
  }

  #countdown:before{
      content:"";
      width: 8px;
      height: 25px;
      background: #2b2b2b;
      border: 1px solid #2b2b2b;
      border-top-left-radius: 6px;
      border-bottom-left-radius: 6px;
      display: block;
      position: absolute;
      top: 48px; left: -10px;
  }

  #countdown:after{
      content:"";
      width: 8px;
      height: 25px;
      background: #2b2b2b;
      border: 1px solid #2b2b2b;
      border-top-right-radius: 6px;
      border-bottom-right-radius: 6px;
      display: block;
      position: absolute;
      top: 48px; right: -10px;
  }

  #countdown #tiles{
      position: relative;
      z-index: 1;
  }

  #countdown #tiles > span{
      width: 50px;
      max-width: 92px;
      text-align: center;
      color: #ffffff;
      background-color: #040404;
      border-top: 1px solid #040404;
      border-radius: 3px;
      box-shadow: 0px 0px 12px rgba(0, 0, 0, 0.7);
      margin: 0 7px;
      padding: 8px 0;
      display: inline-block;
      position: relative;
  }

  #countdown #tiles > span:before{
      content:"";
      width: 50px;
      height: 13px;
      background: #bc13fe;
      display: block;
      padding: 0 3px;
      position: absolute;
      top: 41%; left: -3px;
      z-index: -1;
  }

  #countdown #tiles > span:after{
      content:"";
      width: 100%;
      height: 1px;
      /* background: #eee;
      border-top: 1px solid #333; */
      display: block;
      position: absolute;
      top: 48%; left: 0;
  }

  #countdown .labels{
    left: 3.5%;
    display: inline-flex;
      width: 92%;
      height: 19px;
      text-align: center;
      position: absolute;
      bottom: 8px;
  }

  #countdown .labels li{
      width: 100px;
      color: #e6a5ff;
    font-weight: 500;
      text-shadow: 1px 1px 0px #000;
      text-align: center;
      text-transform: uppercase;
      display: inline-block;
  }

  .glitch-text h4 {
    display: inline-flex;
      position: relative;
      margin: 10px;
      margin-bottom: 20px;
      font-size: 22px;
      font-weight: 900;
      line-height: 1;
      color: #fff;
  }

  .glitch-text h4::before,
  .glitch-text h4::after {
      content: attr(data-text);
      position: absolute;
      /* left: 0; */
      top: 0;
      opacity: .8;
  }
  .glitch-text h4::before {
      z-index: -1;
      color: #17f8f8;
      transform: translate(0, 0);
      filter: contrast(200%);
      animation: wiggles 1s ease-in-out infinite;
  }
  .glitch-text h4::after {
      z-index: -2;
      color: #ff2575;
      transform: translate(0, 0);
      filter: contrast(200%);
      animation: wiggles .8s .4s ease-in-out infinite;
  }
  @keyframes wiggles {
      0%, 30%, 60%, 90%, 100% {
          transform: translate(0, 0);
      }
      15% {
          transform: translate(-1.5%, -3%);
      }
      45% {
          transform: translate(1.5%, 3%);
      }
      75% {
          transform: translate(-1%, -2%);
      }
  }

  .page1_gift{
    position: relative;
    right: 5%;
    background: rgba( 0, 0, 0, 0.5 );
    box-shadow: 0 8px 32px 0 rgba( 31, 38, 135, 0.37 );
    backdrop-filter: blur( 4px );
    -webkit-backdrop-filter: blur( 4px );
    border-radius: 10px;
    border: 1px solid rgba( 255, 255, 255, 0.18 );
    margin-bottom: 15%;
    border-radius: 5px;
    height: 8vh;
    width: 65%;
    color: aliceblue;
  }

  @media screen and (min-height: 1000px){
    .game, .game_box, .border{
      overflow: hidden;
      height: 800px;
      width: 500px;
    }
    .page1_gift{
      height: 5vh;
    }
  }

  .slideshow-container {
    margin-top: 18px;
    position: relative;
}

.mySlides {
    display: none;
    padding-top: 0;
    padding-bottom: 80px;
    text-align: center;
}

  .prev, .next {
    cursor: pointer;
    position: absolute;
    top: 49%;
    width: auto;
    margin-top: -75px;
    padding: 16px 16px 6px 16px;
    color: #f5f5f5dc;
    font-weight: bold;
    font-size: 20px;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

.next, .prev {
  padding: 16px 16px 5px 16px;
}

  .next {
    position: absolute;
    right: 1px;
    border-radius: 3px 0 0 3px;
  }
  .prev {
    position: absolute;
    left: 1px;
    border-radius: 3px 0 0 3px;
  }

  .prev:hover, .next:hover {
    background-color: rgba(0,0,0,0.8);
    color: white;
  }

  #submit_btn_disabled{
    display: none;
  }

  .page2{
    display: none;

  }
  .page4{
    display: none;
  }
  /* PAGE1--END */

  /* PAGE2--START */
  .message_box, .message_box2 {
    margin-top: 10%;
    margin-right: 10%;
    z-index: 0;
    padding: 15px;
    border-radius: 0.5rem;
    position: relative;
    width: 72%;
    height: 280px;
    max-height: 300px;
    line-height: 1.75;
    text-align: center;
    color: #ffffff;
    background-color: black;
    box-shadow:
    0 0 7px #fff,
    0 0 10px #fff,
    0 0 21px #fff,
    0 0 42px #bc13fe;
 }
 .message_box2{
  height: 150px;
 }

 .message_box:after, .message_box2:after {
    position: absolute;
    content: "";
    top: 2vw;
    left: 0;
    right: 0;
    z-index: -1;
    height: 100%;
    width: 100%;
    margin: 0 auto;
    transform: scale(0.75);
    -webkit-filter: blur(5vw);
    -moz-filter: blur(5vw);
    -ms-filter: blur(5vw);
    filter: blur(5vw);
    background: linear-gradient(270deg, #ffffff, #ff00f7, #b545ff, #1ef8ff);
    background-size: 200% 200%;
    animation: animateGlow 10s ease infinite;
 }
  @keyframes animateGlow {
    0% {
      background-position: 0% 50%;
   }
    50% {
      background-position: 100% 50%;
   }
    100% {
      background-position: 0% 50%;
   }
 }

  /* @keyframes textColor {
    0% {
      color: #b545ff;
   }
    25% {
      color: #ff00f7;
   }
    50% {
    color: #f7baff;
  }
    75% {
      color: #1ef8ff;
   }
    100% {
    color: #b545ff;
 }

 } */

 @media screen and (max-width: 810px) {
    .message_box:after {
      -webkit-filter: blur(15vw);
      -moz-filter: blur(15vw);
      -ms-filter: blur(15vw);
      filter: blur(15vw);
  }
 }

  .page2_btn{
    cursor: pointer;
    position: relative;
    top: 145px;
    color: white;
    display: flex;
    justify-content: space-between;
  }

  .page2_btn a{
    position: relative;
    display: flexbox;
    border: solid 4px #ffffff;
    color: white;
    text-decoration: none;
    font-weight: 500;
    margin: 5px;
    margin-bottom: 5px;
    height: 2rem;
    width: 8rem;
    padding: 10px;
  }

  #back_id, #back_id_2, #back_id_3{
    left: 2%;
    border-top-left-radius: 2rem;
    border-bottom: 0;
    border-right: 0;
  }

  #next_id, #next_id_2, #next_id_3{
    right: 2%;
    border-top-right-radius: 2rem;
    border-bottom: 0;
    border-left: 0;
  }

  .page2_btn a:hover{
    background-color: #0000007b;
    /* text-shadow: 
    0 0 7px #fff,
    0 0 10px #fff,
    0 0 21px #fff,
    0 0 42px #bc13fe; */
    box-shadow:
    0 0 7px #fff,
    0 0 10px #fff,
    0 0 21px #fff,
    0 0 42px #bc13fe;
  }

  .page3{
    display: none;
  }
  /* PAGE2--END */

  /* PAGE3--START */

  .p3_rules{
    text-align: right;
    margin-top: 0;
  }

  .p3_rules p{
    font-size: small;
    line-height: 1;
  }

  .p3_rules h4{
    margin: 0;
    text-shadow: 0 0 2px #4a007b,
    0 0 3px #bc13fe,
    0 0 4px #bc13fe,
    0 0 6px #bc13fe;
    font-size: medium;
  }

  .phone_box_container{
    position: relative;
    right: 5%;
    text-align: right;
    color: white;
}

.phone_box_container p{
    text-shadow: 1px 1px 2px black;

}

.phone_box_container i{
    color: #ffffff;

}

.phone_box{
    display: flex;
    align-items: center;
    justify-content: center;

  }

.phone_box input{
    position: relative;
    left: 48px;
    direction: ltr;
    padding-left: 50px;
  }

.phone_box span{
    position: relative;
    color: inherit;
    font: inherit;
    border: 0;
    outline: 0;
    padding: 0;
    margin-right: -85px;
  }
  ::placeholder {
    direction: rtl;
    color: white;
    font-size: 1rem;
    font-weight: 500;
    float: right;
    padding-right: 5px;
    padding-top: 10px;
}

.phone_input{
    width: 70%;
    height: 2.5rem;
    background: none;
    border: 4px solid rgba(255, 255, 255, 0.904);
    border-radius: 1rem;
    color: white
}

.phone_input:focus{
  stroke: none;
  box-shadow:
    0 0 7px #ffffff,
    0 0 10px #292929,
    0 0 15px #bc13fe;
}

.verify_code {
  position: relative;
  right: 12%;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, .1);
  max-width: 300px;
  background: transparent;
}

#code_container {
    direction: ltr !important;
}

.verify_code .form-control {
  border: solid;
  color: white;
  background-color: transparent;
  border-radius: 5px;
  display: flexbox;
  height: 22px;
  width: 22px;
  margin-right: 0.35rem;
  text-align: center;
  font-size: 1.25rem;
  min-width: 0;
}

@media screen and (max-width: 429px) {
  .verify_code{
    right: 8%;
  }
  .phone_box_container{
    font-size: small;
  }
}
.finall_box, .finall_box1{
  position: relative;
  top: 25px;
  width: 200px;
  color: white;
  text-shadow: 0 0 2px #909090,
    0 0 3px #bc13fe,
    0 0 4px #bc13fe,
    0 0 6px #bc13fe;
  padding: 10px;
  font-weight: bolder;
  /* background-color: #17f8f8; */
}

/* 
.code_box{
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    
}

.code_box input{
    display: block;
    border: none;
    padding: 0;
    width: 9ch;
    background: repeating-linear-gradient(90deg, rgb(255, 255, 255) 0, rgb(247, 247, 247) 1ch, transparent 0, transparent 1.5ch) 0 100%/10ch 2px no-repeat;
    font: 5ch droid sans mono, consolas, monospace;
    letter-spacing: 0.5ch;
    direction: ltr;
    box-shadow: 2px 2px 10px 10px rgba(190, 233, 235, 0.903);
    display: none;
    
  }
.code_box input:focus {
    outline: none;
    color: rgb(228, 229, 231);
  } */

  #submit_btn{
    margin-top: 15%;
  }

  .page3_rule_box{
    width: 80%;
    height: 22vh;
    margin: 1rem;
    margin-top: 2rem;
    border-radius: 10px;
    background-color: rgba(0, 0, 0, 0.411);
    color: white;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.411);
    font-size: large;
    text-align: right;
    padding: .5rem;

  }
  /* PAGE3--END */

  /* PAGE4--START */
  .page4_form{
    margin-top: 5%;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    height: 80vh;
    text-align: center;
  }

  .page4_form form{
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    display: grid;
  }

  .page4_form input{
    padding: 0px 12px;
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 1rem;
    margin-right: auto;
    margin-left: auto;
    background-color: rgba(0, 0, 0, 0.432);
  }

  .page4_form select{
    cursor: pointer;
    width: 78%;
    height: 3rem;
    padding-right: 15px;
    font-weight: 500;
    margin-bottom: 1rem;
    margin-right: auto;
    margin-left: auto;
    background-color: rgba(0, 0, 0, 0.432);
    font-size: 1rem;
  }

  .page4_form button{
    margin-right: auto;
    margin-right: auto;
  }
  /* Button 18 */
#button-18 .knobs:before,
#button-18 .knobs span {
  content: "آقا ♂";
  position: absolute;
  top: 4px;
  left: 4px;
  color: #fff;
  font-size: 15px;
  font-weight: bold;
  text-align: center;
  line-height: 1;
  background-color: #03a9f4;
  border-radius: 2px;
}

#button-18 .knobs:before {
  top: 50%;
  left: 8px;
  width: 40px;
  height: 10px;
  margin-top: -5px;
  background-color: transparent;
  z-index: 2;
}

#button-18 .knobs span {
  width: 40px;
  height: 10px;
  padding: 9px 4px;
  transition: 0.3s ease all, left 0.3s cubic-bezier(0.18, 0.89, 0.35, 1.15);
  z-index: 1;
}

#button-18 .checkbox:active + .knobs:before {
  left: 10px;
  width: 80px;
  height: 4px;
  color: transparent;
  margin-top: -2px;
  background-color: #0095d8;
  transition: 0.3s ease all;
  overflow: hidden;
}

#button-18 .checkbox:active + .knobs span {
  width: 90px;
}

#button-18 .checkbox:checked:active + .knobs:before {
  width: 70px;
  left: auto;
  right: 10px;
  background-color: #d8009e;
}

#button-18 .checkbox:checked:active + .knobs span {
  width: 80px;
  margin-left: -40px;
}

#button-18 .checkbox:checked + .knobs:before {
  width: 50px;
  content: "خانم ♀";
  left: 65px;
}

#button-18 .checkbox:checked + .knobs span {
  width: 40px;
  left: 67px;
  background-color: #f436de;
}

#button-18 .checkbox:checked ~ .layer {
  background-color: #200c0c6f;
}
  /* PAGE4--END */

  .buttons{
    display: inline-flex;
  }


  #confetti, .finall_box, .finall_box1{
    position: absolute;
  }

  .finall_box{
    top: 200px;
    right: 22%;
  }

  .finall_box1{
    top: 150px;
    right: 22%;
  }

@media screen and (max-width: 429px) {
  .finall_box, .finall_box1{
    right: 18%;
  }
}

#lottery{
  top: 200px;
}

.contact{
  top: 200px !important;
}

.leaderboard {
  top: 200px !important;
  /* #EFEA6E */
}

.leaderboard a{
  text-shadow: 0 0 2px #fff,
    0 0 3px #4a4d04,
    0 0 4px #646702,
    0 0 6px #f6fe13 !important;
    box-shadow:
    0 0 7px #fff,
    0 0 20px #EFEA6E !important;
    animation: flickering2 5s infinite !important;
}

@keyframes flickering2 {
  0% {
      border-color: transparent;
      opacity: 0.2;
 }
  2% {
      border-color: #EFEA6E;
      opacity: 1;
 }
  4% {
      border-color: transparent;
      opacity: 0.2;
 }
  8% {
      border-color: #EFEA6E;
      opacity: 1;
 }
  28% {
      border-color: #EFEA6E;
      opacity: 1;
 }
  30% {
      border-color: transparent;
      opacity: 0.2;
 }
  36% {
      border-color: #EFEA6E;
      opacity: 1;
 }
  100% {
      border-color: #EFEA6E;
      opacity: 1;
 }
}


.circle-progress-value {
	stroke-width: 6px;
	stroke: #bc13fe;
	stroke-dasharray: 4 1;
}
.circle-progress-circle {
	stroke-width: 6px;
	stroke: #eee;
}
.circle-progress-text {
	font-weight: bold;
  font-size: 20px;
  fill: white;
  text-shadow:
      0 0 7px #a8a8a8,
      0 0 10px #bc13fe,
      0 0 14px #bc13fe;
}

.viral{
  position: relative;
  color: white;
  margin-top: 130px;
}

.viral{
  position: relative;
}

.viral p{
  font-size: smaller;
}

.viral a.pushpull{
  background-image: linear-gradient(to right, rgb(247, 0, 255), rgb(255, 113, 241), #ECB512 50%, white 50%);
  background-position: 100% 0%;
  background-size: 200% 100%;
  transition: all .5s ease-out;
}

.viral a:hover {
  background-position: 0% 100%;
}
.viral a:before {
  content: "";
  background: linear-gradient(to right, #ECB512, rgb(255, 113, 241),  rgb(247, 0, 255));
  display: block;
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 5px;
  transition: all .5s ease-out;
}
.viral a:hover::before {
  width: 100%;
}

.viral a {
  font-weight: 900;
  display: inline-block;
  padding: 5px 0;
  position: relative;
  -webkit-background-clip: text;

  text-decoration: none;
  background-size: 100% 200%;
}

.gift{
  position: absolute;
  width: 200px;
  height: 200px;
  margin: 0;
  top: 100px;
  z-index: -1;
}

.gift-left{
  right: 240px;
}

.gift-right{
  left: 240px;
}

.gift1{
  position: absolute;
  width: 150px;
  height: 150px;
  margin: 0;
  top: 65%;
  z-index: -1;
  left: 268px;
}

@media screen and (max-width: 1200px) {
  .gift1{
    top: 59%;
    left: 235px;
  }
  .gift-left{
    right: 210px;
  }
  .gift-right{
    left: 210px;
  }
}