#typing-test-section {
    padding: 60px 0;
}

#typing-test {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
    background-color: #f9f9f9;
    border-radius: 8px;
    text-align: center;
}

#typing-test h1 {
    font-size: 2.8rem;
    font-family: 'Orbitron', sans-serif;
    margin-bottom: 15px;
}

#widget {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 30px;
}

#stats {
    display: flex;
    justify-content: space-around;
    font-size: 1.5rem;
    font-weight: 600;
    font-family: 'Share Tech Mono', monospace;
}

#text-display {
    font-size: 1.6rem;
    line-height: 1.8;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background-color: #ffffff;
    height: 180px;
    overflow-y: auto;
    text-align: left;
}

#text-input {
    font-size: 1.6rem;
    padding: 15px;
    border: 2px solid #ccc;
    border-radius: 8px;
    resize: none;
    transition: border-color 0.3s;
}

#text-input:focus {
    outline: none;
    border-color: #007bff;
}

#start-btn, #restart-btn {
    padding: 15px 30px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    border-radius: 5px;
    background-color: #007bff;
    color: white;
    transition: background-color 0.3s;
}

#start-btn:hover, #restart-btn:hover {
    background-color: #0056b3;
}

#best-wpm {
    font-weight: 600;
}

.correct {
    color: #28a745;
}

.incorrect {
    color: #dc3545;
    text-decoration: underline;
}

.content-section {
    padding: 40px 0;
}

.content-section h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 30px;
}

.content-section .container {
    max-width: 800px;
    margin: 0 auto;
}

.content-section p, .content-section ul, .content-section ol {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.content-section ul, .content-section ol {
    padding-left: 40px;
}

.content-section ul li, .content-section ol li {
    margin-bottom: 10px;
}

.content-section h2 + p, .content-section h2 + ul, .content-section h2 + ol {
    margin-top: -15px;
}

.content-section nav {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

.content-section nav a {
    text-decoration: none;
    color: #007bff;
}

.content-section nav a:hover {
    text-decoration: underline;
}

.content-section table {
    margin: 20px 0;
}

.cta-box {
    background-color: #e9f5ff;
    border: 1px solid #bce0ff;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    margin-top: 30px;
}

.cta-box p {
    margin: 0;
}

.faq-item {
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.faq-item p:first-child {
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.next-steps-container {
    text-align: center;
    margin-top: 30px;
}

.next-steps-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}
