/* Basic Styling */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

/* Navigation Bar */
.topnav {
    background-color: #333;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
}

/* Main Logo and Navigation Links */
.topnav a {
    color: white;
    text-decoration: none;
    font-size: 20px;
    padding: 10px 15px;
}

/* Hamburger Button */
.icon {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

/* Dropdown Menu (Hidden by Default) */
#myLinks {
    display: none;
    flex-direction: column;
    background-color: #04AA6D;
    position: absolute;
    top: 50px; /* Adjust based on navbar height */
    left: 0;
    width: 100%;
}

/* Dropdown Items */
#myLinks a {
    color: white;
    padding: 10px 15px;
    text-decoration: none;
}

/* Hover Effect */
#myLinks a:hover {
    background-color: #ddd;
    color: black;
}

/* Ensure Responsiveness for Images */
.responsive {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Ensure Responsiveness */
@media (min-width: 600px) {
    .topnav {
        justify-content: flex-start;
    }

    #myLinks {
        display: flex !important; /* Always visible on larger screens */
        position: static;
        background: none;
        flex-direction: row;
    }

    .icon {
        display: none; /* Hide hamburger on desktop */
    }
}

/* Center alignment for audio and video */
.center {
    text-align: center; /* Centers inline and inline-block elements */
}

/* Audio controls styling */
.audio-controls {
    width: 250px;
    height: 30px;
    display: block; /* Ensures the audio element is block-level for centering */
    margin: 0 auto; /* Centers the audio element horizontally */
}

/* Video embed styling */
.video-embed {
    width: 95%; /* Stretch to full width of the container */
    height: auto; /* Maintain aspect ratio */
    aspect-ratio: 16 / 9; /* Set aspect ratio to 16:9 (common for YouTube videos) */
    display: block; /* Ensures the iframe is block-level for proper sizing */
    margin: 0 auto; /* Centers the iframe horizontally */
}