*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Aldrich';
    font-size: 25px;
    letter-spacing: 2px;
    line-height: 2;
}
body{
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background-color: #17a2b8;
}
.container{
    width: 1000px; /*800*/
    padding: 35px;
    position: relative;
    border-radius: 10px;
    background-color: azure;
    text-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 10pz rgba(0, 0, 0, 1);
}
.container .input-field{
    z-index: -9;
    opacity: 0;
    position: absolute;
}
.container .content-box{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 20px 0px;
    border: 1px solid #17a;
    border-radius: 10px;
}

.typing-text p{
    font-size: 25px;
    text-align: justify;
    letter-spacing: 1px;
    word-break: break-all;
}
.typing-text p span{
    position: relative;
}
.typing-text p span.correct{
    color: rgb(86, 150, 79);
}
.typing-text p span.incorrect{
    color: rgb(203, 52, 57);
    background: rgb(255, 192, 203);
    outline: 1px solid #ffffff;
    border-radius: 4px;
}
.typing-text p span.active{
    color: #17a2b8;
}
.typing-text p span.active::before{
    content: "";
    opacity: 0;
    height:  2px;
    width: 100%;
    left: 0;
    bottom: 0;
    position: absolute;
    background: #17a2b8;
    animation: underline 1s ease-in-out infinite;
}
@keyframes underline {
    50%{
        opacity: 1;
    }
}
.typing-text::-webkit-scrollbar{
    width: 0;
}
.content-box .typing-text{
    max-height: 250px;
    overflow-y: auto;
}
.content-box .info-bar{
    display: flex;
    position: absolute;
    left: 97%;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 15%;
    line-height: 30px;
}
.info-bar .result-detailes{
    list-style: none;
    display: block;
    padding: 15px;
    color: azure;
    border-radius: 10px;
    background: linear-gradient(160deg, rgb(255, 69, 113),rgb(138, 37, 63));
    text-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 10px rgba(0, 0, 0, 1);
}
.info-bar .result-detailes li{
    border-bottom: 1px solid azure;
    font-size: 17px;
    font-weight: 600;
}
.info-bar .result-detailes li:last-child{
    border-bottom: none;
}

.container button{
    width: 70%;
    height: 20%;
    left: 15%;
    top: 95%;
    position: absolute;
    border: none;
    border-radius: 10px;
    font-size: 20px;
    color: azure;
    cursor: pointer;
    background: linear-gradient(160deg, rgb(255, 69, 113),rgb(100, 34, 51));
    transition: transform 0.3s;
}
.container button:hover{
    background: rgb(255, 69, 113);
}
.container button:active{
    transform: scale(0.97);
}

