.main{
    background-color: hwb(183 73% 9%);
}
.test{
    margin: 0px 20% 20px 20%;
}
.title{
        text-align: center;
}
.update{
        
        text-align: right;
}           

.controls {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 10px;
}

.control-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

select, input, button {
    padding: 8px 12px;
    border-radius: 4px;
    border: 1px solid #ddd;
    font-size: 16px;
}

button {
    background-color: #3498db;
    color: white;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #2980b9;
}

button:disabled {
    background-color: #95a5a6;
    cursor: not-allowed;
}

#paragraph-container {
    background-color: white;
    border-radius: 8px;
    padding: 20px;
    margin: 0px 0% 20px 0%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    height: 150px;
    overflow-y: auto;
    
}

#paragraph {
    font-size: 20px;
    white-space: pre-wrap;
}

.word {
    position: relative;
    margin-right: 5px;
    opacity: 1;
    transition: none;
}

.current {
    background-color: #ffeaa7;
    border-radius: 3px;
}

.correct {
    color: #27ae60;
}

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

#input {
    width:100%;
    padding: 12px;
    font-size: 20px;
    border-radius: 8px;
    border: 1px solid #ddd;
    margin-bottom: 20px;
    box-sizing: border-box;
}

.stats {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
}

.stat-card {
    background-color: white;
    border-radius: 8px;
    padding: 15px;
    flex: 1;
    min-width: 150px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    text-align: center;
}

.stat-value {
    font-size: 24px;
    font-weight: bold;
    color: #2c3e50;
    margin: 5px 0;
}

.stat-label {
    font-size: 14px;
    color: #7f8c8d;
}

.buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

#stop-btn {
    background-color: #e74c3c;
}

#stop-btn:hover {
    background-color: #c0392b;
}

.time-display {
    display: flex;
    justify-content: center;
    align-items: baseline;
}

#minutes {
    font-size: 24px;
}

#seconds {
    font-size: 18px;
    color: #7f8c8d;
}