/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    overflow-y: auto;
    width: 100%;
    height: 100%;
}

body {
    width: 100%;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    background-image: url('https://i.postimg.cc/vZJFq0mc/fire-killed-trees.jpg');
    background-size: cover;
    background-position: center;
}

/* Navigation Menu */
.nav-menu {
    position: fixed;
    left: 2vw;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.nav-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.nav-menu li {
    margin: 0;
    background-color: rgba(0, 0, 0, 0.7);
    outline-style: groove;
    outline-color: red;
}

.nav-menu a {
    color: lime;
    text-decoration: none;
    font-family: 'UnifrakturMaguntia', cursive;
    font-size: 2rem;
    font-weight: bold;
    transition: all 0.3s ease;
    display: inline-block;
    padding: 0.5rem;
    min-width: 150px;
    position: relative;
}

.nav-menu a:hover {
    color: #00ff00;
    text-shadow: 0 0 10px lime;
    transform: translateX(5px);
}

/* Music menu item styling */
#music-toggle {
    cursor: pointer;
}

#music-toggle.playing::after {
    content: ' ♪';
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Music player */
.music-player {
    position: fixed;
    bottom: 2vh;
    right: 2vw;
    transform: none;
    z-index: 100;
    width: 22%;
    height: auto;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.music-player.active {
    opacity: 1;
    pointer-events: auto;
}

.music-player iframe {
    width: 100%;
    display: block;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.3);
}

/* Mobile styles */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: 50% !important;
        top: 2vh !important;
        transform: translateX(-50%) !important;
        flex-direction: row !important;
        gap: 0.5rem;
        padding: 0.8rem;
        width: 95%;
        max-width: 95%;
        overflow-x: auto;
    }
    
    .nav-menu ul {
        flex-direction: row !important;
        gap: 0.5rem;
        flex-wrap: nowrap;
        width: 100%;
        justify-content: center;
    }
    
    .nav-menu li {
        flex-shrink: 0;
    }
    
    .nav-menu a {
        font-size: 2rem;
        padding: 0.3rem 0.5rem;
        text-align: center;
        min-width: auto;
        white-space: nowrap;
    }
    
    .nav-menu a:hover {
        transform: translateY(-3px);
    }
    
    .music-player {
        width: 90% !important;
        max-width: 90% !important;
        bottom: 1vh !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
    }
}

    /* Separator - repeat any PNG across width at fixed height */
    .separator {
        width: 100%;
        height: 48px; /* reasonable fixed height, adjust as needed */
        background-repeat: repeat-x;
        background-position: center;
        background-size: auto 100%;
        display: block;
        margin: 2rem 0;
        border: none;
        padding: 0;
    }
        .separator.overlay-bottom {
            position: absolute;
            left: 0;
            bottom: 0;
            width: 100%;
            height: 48px;
            pointer-events: none;
            z-index: 2;
        }
