body {
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    margin: 0;
    background-color: #f0f0f0;
}

.timer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    width: 90vw;
    max-width: 1200px;
}

.timer {
    font-size: 20vw;
    margin: 10px;
    font-weight: bold;
}

.round {
    font-size: 4vw;
    margin: 10px;
    font-weight: bold;
}

.phase {
    font-size: 5vw;
    font-weight: bold;
    margin: 10px;
    padding: 10px 20px;
    border-radius: 12px;
    text-transform: uppercase;
    width: 70%;
    text-align: center;
}

.phase.work {
    background-color: #4CAF50;
    color: white;
}

.phase.rest {
    background-color: #f44336;
    color: white;
}

.controls button {
    font-size: 2.5vw;
    margin: 8px;
    padding: 15px 30px;
    cursor: pointer;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.controls button:hover {
    background-color: #45a049;
}

button.reset {
    background-color: #f44336;  /* Red color */
}

button.reset:hover {
    background-color: #d32f2f;  /* Darker red on hover */
}

button#pause {
    background-color: #737b82;  /* Blue color */
}

button#pause:hover {
    background-color: #414549;  /* Darker blue on hover */
}

.mode {
    margin-top: 10px;
}

.mode button {
    font-size: 14px;
    margin: 4px;
    padding: 6px 12px;
    cursor: pointer;
    background-color: #2196F3;
    color: white;
    border: none;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.mode button:hover {
    background-color: #1976D2;
}

.timer.countdown-work {
    color: red;
}

.timer.countdown-rest {
    color: green;
} 