body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow: hidden; /* Prevent scrolling */
}

header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #fff;
    z-index: 1100; /* Higher than overlay */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

header .logo {
    max-height: 100px; /* Adjust as needed */
}

#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* Semi-transparent dark overlay */
    backdrop-filter: blur(20px); /* Exaggerated blur effect for modern browsers */
    -webkit-backdrop-filter: blur(20px); /* Exaggerated blur effect for Safari */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1001; /* Ensure overlay is on top of everything else */
    opacity: 1; /* Initially visible */
    transition: opacity 0.5s ease; /* Smooth transition for opacity */
    cursor: pointer; /* Indicate it's clickable */
}

#overlay-text {
    color: white;
    font-size: 3rem;
    text-align: center;
    font-family: Arial, sans-serif; /* Ensure the text is readable */
}

.full-page-link {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; /* Ensure image is below overlay */
}

.full-page-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.container {
    position: relative; /* Ensure content appears above the overlay */
    z-index: 2;
    max-width: 800px;
    margin: 80px auto 200px; /* Adjusted top margin for header space */
    padding: 500px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    text-align: center;
}

nav a {
    margin: 200px;
    text-decoration: none;
    color: #000;
    font-weight: bold;
}

nav a:hover {
    text-decoration: underline;
}

footer {
    margin-top: 4px;
    font-size: 0.4rem;
    color: #999;
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
}

.gallery img {
    max-width: 200px;
    max-height: 200px;
    object-fit: cover;
}

/* Responsive styles */
@media only screen and (max-width: 600px) {
    /* Adjust styles for smaller screens */
    #overlay-text {
        font-size: 180px; /* Example of adjusting font size for smaller screens */
    }
    
    /* Other responsive adjustments */
    /* Add additional CSS rules here */
}



html {
    scroll-behavior: smooth;
}
