body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 600px;
    margin: 20px auto 0; /* Added margin-top for spacing at the top */
    padding: 20px;
    padding-top: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

h1 {
    text-align: center;
    color: #333;
}

.metronome, .timer {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

input[type="number"],
button {
    padding: 10px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    outline: none;
    transition: background-color 0.3s ease;
}

input[type="number"] {
    width: 100px;
    margin-right: 10px;
}

button {
    cursor: pointer;
    background-color: #444;
    color: #fff;
}

button:hover {
    background-color: #333;
}

.timer {
    text-align: center;
}

#timerDisplay {
    font-size: 32px;
    margin-bottom: 20px;
    color: #333;
}
