/* Import Google Font - Poppins */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css?family-Poppins&display=swap');
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}


*{
    box-sizing: border-box;
}
/* body {
font-family : 'Poppins', sans-serif;
display: flex;
align-items: center;
justify-content: center;
min-height: 100vh;
margin: 0;
} */
/* button{
    background-color: burlywood;
    border: 0;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    color: #fff;
    font-size: 14px;
    padding: 10px 25px;
} */


.button-85 {
  padding: 0.8em 3em;
  border: none;
  outline: none;
  color: rgb(255, 255, 255);
  background: #111;
  cursor: pointer;
  position: relative;
  z-index: 0;
  border-radius: 10px;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}

.button-85:before {
  content: "";
  background: linear-gradient(
    45deg,
    #ff0000,
    #ff7300,
    #fffb00,
    #48ff00,
    #00ffd5,
    #002bff,
    #7a00ff,
    #ff00c8,
    #ff0000
  );
  position: absolute;
  top: -2px;
  left: -2px;
  background-size: 400%;
  z-index: -1;
  filter: blur(5px);
  -webkit-filter: blur(5px);
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  animation: glowing-button-85 20s linear infinite;
  transition: opacity 0.3s ease-in-out;
  border-radius: 10px;
}

@keyframes glowing-button-85 {
  0% {
    background-position: 0 0;
  }
  50% {
    background-position: 400% 0;
  }
  100% {
    background-position: 0 0;
  }
}

.button-85:after {
  z-index: -1;
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: #222;
  left: 0;
  top: 0;
  border-radius: 10px;
}









.modal-container{
  color: #ffffff;
    background-color: rgba(0, 0, 0, 0.392);
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    opacity: 1;
    pointer-events: auto;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
}
.modal{
    background-color: #fff;
    box-shadow: 0 0 5px 0 ; 
    background: inherit; 
    backdrop-filter: blur(10px); 
    border-radius: 10px;
    box-shadow: 0 2px 4px rgb(0, 0, 0,0.2);
    padding: 30px 50px;
    width: 600px;
    max-width: 100%;
    text-align: center;   
}
.modal{
    margin: 0;
}
.modal p{
    opacity: 0.7;
}

.modal-container.show{
    opacity: 0;
    pointer-events: none;
}






body {
  margin: 0;
  overflow: hidden;
  background: url('lv2board.jpg') no-repeat center center fixed;
  background-size: cover;
  height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
::selection{
  color: #fff;
  background: #747474;
}
.wrapper{
  width: 770px;
  padding: 35px;
  /* background: #000000; */
  border-radius: 35px;
  box-shadow: 0 10px 15px rgba(0,0,0,0.05);
  background: inherit; 
  backdrop-filter: blur(2.5px);                    /*outside boundary*/
  border-radius: 35px 35px 10px 10px;
  box-shadow: 0 60px 300px 30px #00c8ff ;
}
.wrapper .input-field{
  opacity: 0;
  z-index: -999;
  position: absolute;
}
.content-box .typing-text{
  overflow: hidden;
  max-height: 256px;
}
.wrapper .content-box {              /*inside box*/
  padding: 13px 20px 0;
  border-radius: 5px 5px 18px 18px;
  border: 4px solid #ff6b01;
  background: #0C134F;
}
.typing-text::-webkit-scrollbar{
  width: 0;
}
.typing-text p{
  font-size: 21.5px;
  text-align: justify;
  letter-spacing: 1px;
  word-break: break-all;
  color: #ffffff;
}
.typing-text p span{
  position: relative;
}
.typing-text p span.correct{
  color: #00ffff;  /*edited*/
  font-weight: 600;
}
.typing-text p span.incorrect{
  color: #cb3439;
  outline: 1px solid #fff;
  background: #ff9c7b;
  border-radius: 4px;
}
.typing-text p span.active{
  color: rgb(37, 255, 99);
  font-weight: 1000;
  outline: auto;  
}
.typing-text p span.active::before{
  position: absolute;
  content: "";
  height: 4px;
  width: 100%;
  bottom: 0;
  left: 0;
  opacity: 0;
  border-radius: 5px;
  background: rgb(61, 255, 74);
  animation: blink 1s ease-in-out infinite;
}
@keyframes blink{
  50%{ 
    opacity: 1; 
  }
}
.content-box .content{
  margin-top: 17px;
  display: flex;
  padding: 12px 0;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #bfbfbf;
}
.content button{
  outline: none;
  border: none;
  width: 105px;
  color: #fff;
  padding: 8px 0;
  font-size: 16px;
  cursor: pointer;
  border-radius: 5px;
  background: #000000;
  transition: transform 0.3s ease;
}
.content button:active{
  transform: scale(0.97);
}
.content .result-details{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  width: calc(100% - 140px);
  justify-content: space-between;
}
.result-details li{
  display: flex;
  height: 20px;
  list-style: none;
  position: relative;
  align-items: center;
}
.result-details li:not(:first-child){
  padding-left: 22px;
  border-left: 1px solid #bfbfbf;
}
.result-details li p{
  font-size: 19px;
}
.result-details li span{
  display: block;
  font-size: 20px;
  margin-left: 10px;
}
li span b{
  font-weight: 500;
}
li:not(:first-child) span{
  font-weight: 500;
}
@media (max-width: 745px) {
  .wrapper{
    padding: 20px;
  }
  .content-box .content{
    padding: 20px 0;
  }
  .content-box .typing-text{
    max-height: 100%;
  }
  .typing-text p{
    font-size: 19px;
    text-align: left;
  }
  .content button{
    width: 100%;
    font-size: 15px;
    padding: 10px 0;
    margin-top: 20px;
  }
  .content .result-details{
    width: 100%;
  }
  .result-details li:not(:first-child){
    border-left: 0;
    padding: 0;
  }
  .result-details li p, 
  .result-details li span{
    font-size: 17px;
  }
}
@media (max-width: 518px) {
  .wrapper .content-box{
    padding: 10px 15px 0;
  }
  .typing-text p{
    font-size: 18px;
  }
  .result-details li{
    margin-bottom: 10px;
  }
  .content button{
    margin-top: 10px;
  }
}









