/* Base Styles */
htnml, body {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    font-family: Arial, sans-serif;
    background-image: url('https://www.shorenewsnetwork.com/wp-content/uploads/2023/04/dreamstime_m_192626754.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative; /* Needed for the overlay */
    /*overflow: hidden;  Prevents overflow on smaller screens */
}

body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Adjust the color and opacity as desired */
    z-index: 1;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;
    position: relative;
    z-index: 2; /* Bring content above the overlay */
    padding: 20px; /* Add padding for mobile layout */
    max-width: 100%;
    box-sizing: border-box;
}

.sound-button {
    width: 175px;
    height: 175px;
    border-radius: 50%;
    background-color: #007bff;
    color: #ffffff;
    border: none;
    font-size: 20px;
    cursor: pointer;
    outline: none;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease;
    overflow: hidden; /* Ensure image stays within the circle */
    display: flex;
    align-items: center;
    justify-content: center;
}

.sound-button:active {
    background-color: #0056b3;
}

h1 {
    font-size: 2em;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    text-align: center;
    margin-bottom: 20px;
    font-family: 'Playwrite GB S';
}

body {
    font-family: 'Playwrite GB S', sans-serif;
}

h1, h2, h3, p {
    font-family: 'Playwrite GB S', sans-serif;
}

#tramButton img, #wildwoodButton img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    aspect-ratio: 1 / 1; /* Ensures a square aspect ratio */
}

/* Mobile Styles */
@media (max-width: 600px) {
    body {
        background-size: auto; /* Scale down background for smaller screens */
    }

    h1 {
        font-size: 1.5em; /* Reduce title size */
        margin-bottom: 30px; /* Increase space below title */
    }

    .sound-button {
        width: 125px; /* Adjust button size */
        height: 125px;
    }

    .container {
        gap: 60px; /* Increase space between buttons */
        padding: 30px; /* Add extra padding for breathing room */
    }

    #tramButton img, #wildwoodButton img {
        aspect-ratio: 1 / 1; /* Maintain square aspect ratio */
    }
}

.footer {
    text-align: center;
    padding: 25px;
    border-radius:  0px 0px 20px 20px;
    -moz-border-radius: 0px 0px 20px 20px;
    background-color: none;
    color: #ffffff;
}

.footer a {
    color: #ffffff; /* Set link color to white */
    text-decoration: none; /* Remove underline */
    transition: color 0.3s ease; /* Smooth color transition */
}

.footer a:hover {
    color: #007bff; /* Change color on hover (choose any color you prefer) */
}
