html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: "Pangolin", cursive;
    color: #1d0000;
}

.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    animation: flow 7s linear infinite;
    background-image: linear-gradient(to bottom, #f7f2e8, #f1efd2, #c49780);
    background-size: 200% 200%;
}

@keyframes flow {
    0% {
        background-position: 0% 0%;
    }
    50% {
        background-position: 100% 100%;
    }
    100% {
        background-position: 0% 0%;
    }
}

header {
    width: 100%; 
    display: flex;
    flex-direction: row; /* Row direction for desktop */
    align-items: center;
    justify-content: space-between; /* Space between logo and nav */
    padding: 20px;
    box-sizing: border-box;
    background: transparent;
}

.logo {
    z-index: 1000;
    width: 180px;
    height: auto;
}

nav ul {
    list-style-type: none;
    display: flex;
    justify-content: flex-end; /* Align nav items to the right */
    margin: 0; /* Remove default margin */
    padding: 0; /* Remove default padding */
}

nav li {
    margin: 0 10px;
}

nav a {
    text-decoration: none;
    color: #530a0a;
    font-weight: bold;
    transition: color 0.3s;
}

nav a:hover {
    color: #a44138;
}

nav a.active {
    position: relative;
    font-weight: bold; 
    color: #9f4840; 
}

nav a.active::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -3px; 
    height: 5px; 
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 10 2" fill="%23b22222"><path d="M0 1 Q 2 2 5 1 T 10 1" stroke="%23b22222" fill="transparent"/></svg>') repeat-x;
    background-size: 10px 2px; 
}

.sticky-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #95624d;
    z-index: 1000;
    width: 100%;
    box-shadow: 0 -2px 4px rgba(137, 85, 85, 0.1);
    padding: 3px 0;
    text-align: center;
    color: #ffffff;
    font-size: 12px;
}

.copyright {
    font-size: 12px;
}

.menu-icon {
    font-size: 32px; /* Increased font size for mobile */
    cursor: pointer;
    display: none; /* Initially hidden */
    margin: 20px 0; /* Margin for spacing */
}

/* Media query for mobile screens */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: center; /* Center align items for mobile */
    }

    .logo {
        width: 100%;
        height: auto;
    }

    .menu-icon {
        display: block;
    }

    nav ul {
        display: flex;
        flex-direction: column;
        align-items: center; /* Center align the nav items */
        padding: 10px 0;
    }

    nav li {
        margin: 10px 0;
    }

    nav a {
        font-size: 24px; /* Increased font size for mobile */
        color: #6f1f1f;
    }

    nav {
        display: none;
    }
    
    nav.show {
        display: flex;
    }
}
