*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body{
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(#007acc, #6dd5fa, #ffffff);
}

.wrapper{
    width: 750px;
    background: #1e1e1e;
    padding: 30px;
    border-radius: 10px;
    border: 4px solid #007acc;
}

/* HIDE INPUT FIELD */
.input-field{
    opacity: 0;
    position: absolute;
    z-index: -999;
}

/* TEXT AREA */
.typing-text{
    max-height: 250px;
    overflow-y: auto;
    margin-bottom: 20px;
}

.typing-text p{
    font-size: 20px;
    color: #646669;
    letter-spacing: 1px;
    line-height: 1.6;
    word-wrap: break-word;
}

/* CHARACTER STATES */
.typing-text p span.correct{
    color: #d1d0c5;
}

.typing-text p span.incorrect{
    color: #ca4754;
    background: rgba(255,0,0,0.2);
}

.typing-text p span.active{
    border-bottom: 2px solid #007acc;
}

/* BOTTOM PANEL */
.content{
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 2px solid #007acc;
    padding-top: 15px;
}

/* RESULT DETAILS */
.result-details{
    display: flex;
    gap: 20px;
    color: white;
    list-style: none;
}

.result-details li{
    display: flex;
    align-items: center;
    gap: 5px;
}

/* BUTTON */
button{
    border: 2px solid #007acc;
    background: none;
    color: #007acc;
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
}

button:hover{
    background: white;
}