body, html {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f0f0f0;
    div{
        align-items: center;
    }
    .metronome {
    margin: auto;
    text-align: center;
    border: 5px solid #000;
    padding: 100px;
    background-color: #fff;
}

#bpm-display {
    position: top;
    transform: translateX(-50%);
    font-size: 24px; /* Initial font size */
    font-weight: bold;
    margin-top: 20px;
}
.slider-container {
    display: flex; /* Use flexbox for layout */
    align-items: center; /* Center-align items vertically */
    justify-content: center; /* Center-align items horizontally */
    gap: 10px; /* Space between the slider and buttons */
}

.horizontal-slider {
    width: 200px; /* Adjust the width of the slider */
    margin: 10px 10px; /* Space around the slider */
}

.control-button {
    font-size: 24px; /* Adjust icon size */
    gap: 10px; /* Space between the icon and text */
    border: none;
    background-color: transparent;
    cursor: pointer;
    outline: none;
}

.tap-tempo-button {
    border: none;
    gap: 10px; /* Space between the icon and text */
    background-color: #f0f0f0; /* Light grey background */
    font-size: 16px; /* Adjust based on preference */
    padding: 10px;
    cursor: pointer;
    outline: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px; /* Adjust based on preference */
    height: 40px; /* Adjust based on preference */
    border-radius: 50%; /* Circular buttons */
}

.tap-tempo-button:hover {
    background-color: #e0e0e0; /* Darker grey on hover */
}

.metronome-pattern {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
}
.sound-selection {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
}
.restore-button {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
}