.modal-window {
    position: absolute;
    background-color: rgba(0, 0, 0, 0.75);
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 999;
    /* visibility: hidden; */
    /* opacity: 0; */
    font-family: 'montserrat';
  }
  
  #congrats-modal {
    position: absolute;
    background-color: rgba(0, 0, 0, 0.85);
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 999;
    /* visibility: hidden; */
    /* opacity: 0; */
    transition: all 0.3s;
    font-family: 'montserrat';
    cursor: pointer;
  }
  .modal-window:target {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }
  #congrats-modal> div {
    min-width: 400px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 2em;
    background-color: transparent;
  }
  
  #r_spinner_tengah{
    cursor: pointer;
  }
  
  .modal-window   > div {
    min-width: 400px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 2em;
    background: white;
  }
  
  
  .modal-window header {
    font-weight: bold;
  }
  
  .modal-window h1 {
    font-size: 150%;
    margin: 0 0 15px;
    font-weight: bold;
    color: black;
  }
  
  #congrats-modal h1 {
    font-size: 2em;
    margin: 0 0 15px;
    font-weight: bold;
    color: white;
    letter-spacing: 10px;
    text-shadow: -1px -1px 1px rgba(255,255,255,.1), 1px 1px 1px rgba(0,0,0,.5), 6px 4px 4px rgba(0,0,0,0.8);
  }
  
  .modal-window input{
    width: 100%;
    border: 1px solid rgba(0,0,0,.15);
    height: 50px;
    font-size: 28px;
    letter-spacing: 5px;
    border-radius: 5px;
    padding: 10px;
    margin: 7px 0;
  }
  
  .modal-window button#input_voucher_submit{
    width: 100%;
    background-color: #1ecd97;
    border: none;
    margin-top: 20px;
    padding: 10px;
    border-radius: 5px;
    color: white;
    font-family: inherit;
    border: 1px solid #1ecd97;
    cursor: pointer;
    transition: .3s;
  }
  .modal-window button#input_voucher_submit:hover{
    color: #1ecd97;
    background-color: white;
    transition: .5s;
  }
  
  .modal-close {
    color: #aaa;
    line-height: 50px;
    font-size: 80%;
    position: absolute;
    right: 0;
    text-align: center;
    top: 0;
    width: 70px;
    text-decoration: none;
    cursor: pointer;
  }
  .modal-close:hover {
    color: black;
  }
  
  .modal-window > div {
    border-radius: 1rem;
  }
  
  #loading_gif{
    width: 100%;
    display: flex;
    justify-content: center;
    transition: .3s;
  }
  #loading_gif.hide{
    display: none;
    transition: .3s;
  }
  #loading_gif img{
    width: 50%;
  }
  
  #congrats-modal{
    text-align: center
  }
  
  #item_menang_container{
    word-wrap: anywhere;
     padding: 0 10%;
     letter-spacing: 5px;
     font-size: 4em;
     font-weight: bold;
     background-image: linear-gradient( 
                to right, 
                #f6e27a 0, 
                #cb9b51 22%, 
                #f6e27a 45%, 
                #f6f2c0 50%, 
                #f6e27a 55%, 
                #cb9b51 78%, 
                #f6e27a 100% 
      );
     color:transparent;
     -webkit-background-clip:text;
             background-clip:text;
     text-transform: uppercase;
  }
  
  #redeem-modal div{
    padding: 2rem;
    text-align: center;
  }
  #redeem-modal text{
    text-align: center;
    text-transform: uppercase;
    font-family: 'montserrat';
    font-size: 24px;
    color: rgb(0, 177, 24);
  }
  
  @media only screen and (max-width: 600px) { /* FOR MOBILE */
    .modal-window > div{
      width: 85%;
      min-width: unset;
      padding: 1em;
      border-radius: .5rem;
    }
    #congrats-modal > div{
      padding: 0;
    }
    #item_menang_container{
      font-size: 4rem;
      word-wrap: anywhere;
      padding: 0;
    }
    #congrats-modal h1{
      font-size: 2rem;
      letter-spacing: 0;
      padding: 0;
    }
    .image_pemenang{
      width: 100%;
    }
  }
  
  @media only screen and (max-width: 768px) { /* FOR DESKTOP */
    .modal-window > div{
      width: 85%;
      min-width: unset;
      padding: 1em;
      border-radius: .5rem;
    }
  }

  .popup-container{
	width: 100%;
    height: 100%;
    position: fixed;
    z-index: 1000;
    background: #080808b0;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.popup-body{
    width: 347px;
    height: 600px;
    margin: 2% auto;
    background: #313131;
    border-radius: 0px;
    color: white;
}

@media (max-width: 992px){
    .popup-body{
        margin: 10% auto;
    }
}

.popup-header{
    height: 80px;
    width: 100%;
    background: #1ecd97;
    float: left;
}

.popup-close{
    cursor: pointer;
    width: 36px;
    height: 36px;
    background: white;
    color: black;
    float: right;
    padding: 5px;
    border-radius: 100px;
    position: absolute;
    margin-top: -10px;
    margin-left: -9px;
}

.popup-container-ads{
    background-repeat: no-repeat;
    margin: 10% auto;
    border-radius: 18px;
    background-size: 100%;
}

/* width */
::-webkit-scrollbar {
  width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #888;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #555;
}
button.submit {
  margin-top: 40%;
  font-size: 22px;
  width: 30%;
  background: linear-gradient(to bottom, #1ecd97 16%, #16ac7e 44%, #1ecd97 99%);
  color:white;
  padding: 5px 15px;
  border:0px;
  box-shadow: 2px 2px 2px grey;
  border-radius: 30px;
  height: 5%;
}
th,td,h6,b{
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}
h6{
  font-size: large;
}