body {
    font-family: Arial, sans-serif;
    text-align: center;
    background-color: #253343;
    color: whitesmoke;
    margin: 0;
    padding-top: 60px; /* Ensures content isn't hidden under navbar */
}

.navbar {
    position: fixed; /* Keeps navbar at the top */
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 15px 0;
    background: #222;
    z-index: 1000; /* Ensures it stays above other content */
}

.navbar ul {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-link {
    font-size: 1.2rem;
    color: #c9d1d9;
    text-decoration: none;
    padding: 8px 16px;
    border: 1px solid transparent;
    border-radius: 5px;
    transition: all 0.3s;
}

.nav-link:hover {
    background: rgba(88, 166, 255, 0.1);
    border-color: #58a6ff;
    color: #58a6ff;
}

.soundboard {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 buttons per row */
    gap: 15px;
    justify-content: center;
    align-items: center;
    max-width: 400px;
    margin: 20px auto;
}

.sound-button, .stop-button {
    width: 100%;
    height: 60px; /* Set a fixed height for all buttons */
    font-size: 16px;
    border: none;
    cursor: pointer;
    background-color: #444;
    color: white;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Fira Sans", sans-serif;
}

.sound-button:hover {
    background-color: #666;
}

.stop-button {
    grid-column: span 3; /* Make the stop button take a full row */
    background-color: #dd1400;
}

.stop-button:hover {
    background-color: darkred;
}

/* Ensures all links, including navbar, have consistent color */
a, .nav-link {
    color: pink;
}
