@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

* {
    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(135deg, #ffd7e6, #ffb3c6);
}

.wrapper {
    width: 800px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.2);
    padding: 30px;
}

.input-field {
    width: 100%;
    height: 50px;
    border: 2px solid #ffb3c6;
    border-radius: 5px;
    outline: none;
    font-size: 18px;
    padding: 10px;
    box-shadow: inset 0 5px 10px rgba(0, 0, 0, 0.1);
}

.content-box {
    margin-top: 20px;
}

.typing-text {
    background-color: #ffeef2;
    border-radius: 5px;
    padding: 20px;
    max-height: 200px;
    overflow-y: auto;
    box-shadow: inset 0 5px 10px rgba(0, 0, 0, 0.1);
}

.typing-text p {
    font-size: 18px;
    line-height: 1.5;
}

.content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.result-details {
    list-style: none;
    display: flex;
    align-items: center;
}

.result-details li {
    margin-right: 20px;
    font-size: 16px;
    color: #ff6b6b;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.result-details li p {
    margin-bottom: 5px;
    color: #333;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

button {
    background-color: #ff6b6b;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

button:hover {
    background-color: #ff4949;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
}

.typing-text p span{
    position: relative;

}

.typing-text p span.active{
    color: orange;
}

.typing-text p span.correct{
    color: green;
}

.typing-text p span.incorrect{
    color: red;
}