/* Import the Economica font from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Economica:wght@400;700&display=swap');

body {
    font-family: 'Economica', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #fff3b0;
    color: #5e4e37;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

header {
    background-color: #fff3b0; /* Ensure the header has a solid background color */
    text-align: center;
    padding: 20px 0;
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: height 0.3s ease, background-color 0.3s ease, padding 0.3s ease;
    height: 100vh;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Add a shadow for better visibility */
}

header.small {
    height: 60px;
    background-color: #fff3b0; /* Ensure the header has a solid background color */
    padding: 10px 0;
}

#logo {
    width: 200px;
    height: auto;
    margin-bottom: 20px;
    transition: width 0.3s ease, opacity 0.3s ease;
}

header.small #logo {
    width: 100px;
    opacity: 0;
}

header h1 {
    margin: 0;
    font-size: 5em;
    transition: font-size 0.3s ease, transform 0.3s ease;
    color: black;
}

header.small h1 {
    font-size: 1.5em;
    transform: translateY(-210%); /* Move the title up further */
}

header h2 {
    margin: 0;
    font-size: 1.5em;
    transition: font-size 0.3s ease, transform 0.3s ease;
    text-transform: none;
    color: black;
}

header.small h2 {
    font-size: 1em;
    transform: translateY(-280%); /* Move the sub-title up further */
}

.scroll-down {
    position: absolute;
    bottom: 170px;
    font-size: 2em;
    animation: bounce 2s infinite;
    display: block;
    transition: opacity 0.3s ease;
    color: black;
}

.scroll-down.hidden {
    opacity: 0;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

main {
    padding: 20px;
    margin-top: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding-bottom: 100px; /* Add empty space at the bottom of the page */
}

#gallery {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 800px;
    padding: 20px;
    box-sizing: border-box;
}

.image-container {
    width: 100%;
    margin: 10px 0;
    box-sizing: border-box;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 15px; /* Added rounded corners */
}

#zoom-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    border-radius: 15px; /* Added rounded corners */
}

.menu-box {
    width: 60%; /* Further adjusted width */
    background-color: #ffe37e;
    padding: 3px; /* Further reduced padding */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 1.5em;
    font-weight: bold;
    color: black;
    margin: 10px 0;
    box-sizing: border-box;
    text-align: center;
    border-radius: 15px; /* Added rounded corners */
    line-height: 0.8; /* Further reduced line height */
}

.marquee {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: #5e4e37;
    color: #ffe37e;
    overflow: hidden;
    white-space: nowrap;
}

.marquee-content {
    display: flex;
    animation: marquee 20s linear infinite;
}

.marquee p {
    font-size: 2em;
    text-transform: uppercase;
    margin-right: 3rem;
}

@keyframes marquee {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* Media Queries for Mobile Devices */
@media (max-width: 768px) {
    header h1 {
        font-size: 3em;
    }

    header.small h1 {
        font-size: 1.2em;
    }

    header h2 {
        font-size: 1.2em;
    }

    header.small h2 {
        font-size: 0.8em;
    }

    .scroll-down {
        font-size: 1.5em;
    }

    .marquee p {
        font-size: 1.5em;
    }

    .menu-box {
        width: 80%; /* Adjust width for smaller screens */
        font-size: 1.2em; /* Adjust font size for smaller screens */
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 2em;
    }

    header.small h1 {
        font-size: 1em;
    }

    header h2 {
        font-size: 1em;
    }

    header.small h2 {
        font-size: 0.7em;
    }

    .scroll-down {
        font-size: 1em;
    }

    .marquee p {
        font-size: 1.2em;
    }

    .menu-box {
        width: 90%; /* Adjust width for smaller screens */
        font-size: 1em; /* Adjust font size for smaller screens */
    }
}