body {
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start; /* Changed from center to start */
    height: 100vh;
    background-color: #f0f0f0;
    overflow: auto; /* Added to allow scrolling */
    margin: 0; /* Remove default margin */
}

h1 {
    margin-bottom: 20px;
}
.soundboard {
    display: flex;
    flex-direction: column;
    gap: 10px; /* Optional: Adds space between buttons */
    flex-wrap: wrap;
    justify-content: center;
}
.button {
    background-color: #007BFF;
    color: white;
    border: 12px solid black;
    padding: 20px;
    margin: 10px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s, border-color 0.3s;
}
.button:hover {
    background-color: #0056b3;
}
.button.active {
    background-color: #28a745; /* Green color when active */
}
.green-border {
    border-color: green;
}
audio {
    display: none;
}

/* Style for the footer */
#footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #e9bd52; /* Dark background color */
    padding: 10px 0; /* Padding for height */
    text-align: center; /* Center the button */
    box-shadow: 0px -2px 10px rgba(0, 0, 0, 0.3); /* Shadow to make the footer stand out */
    z-index: 1000; /* Ensure the footer stays on top of other elements */
}

/* Style for the stop button */
#footer #stopButton {
    background-color: #ff4c4c; /* Red background */
    color: #ffffff; /* White text color */
    border: none; /* Remove default border */
    padding: 10px 20px; /* Padding for size */
    font-size: 16px; /* Text size */
    border-radius: 5px; /* Rounded corners */
    cursor: pointer; /* Pointer cursor on hover */
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    transition: background-color 0.3s ease, box-shadow 0.3s ease; /* Smooth transition */
}

#footer #stopButton:hover {
    background-color: #ff1a1a; /* Darker red on hover */
    box-shadow: 0px 6px 8px rgba(0, 0, 0, 0.15); /* Stronger shadow on hover */
}

#footer #stopButton:active {
    background-color: #e60000; /* Even darker red when clicked */
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1); /* Lower shadow on click */
}

#footer #stopButton:focus {
    outline: none; /* Remove default outline */
    box-shadow: 0px 0px 0px 3px rgba(255, 76, 76, 0.5); /* Add focus ring */
}