* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

/* Fade-in animation */
.fade-in {
    opacity: 0;
    animation: fadeIn 1s ease-in-out forwards;
}

.fade-in-delayed {
    opacity: 0;
    animation: fadeIn 1s ease-in-out 0.3s forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #666666;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    padding: 40px 0;
    text-align: center;
}

h1 {
    font-family: "Abril Fatface", serif;
    font-style: normal;
    font-size: 4rem;
    font-weight: 400;
    color: black;
    text-transform: uppercase;
}

p {
    margin-bottom: 20px;
}

.introduction {
    /*font-family: 'Helvetica', Arial, sans-serif;*/
    font-family: 'Baskerville Old Face', serif;
    padding: 40px 0;
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
    color: white;
    font-size: 1.2rem;
    /*line-height: 1.5;*/
    padding: 8% 0 5% 0;
}

.hidden {
    display: none;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 60px 0;
}

.gallery-item {
    cursor: pointer;
    position: relative;
    overflow: hidden;
    background-color: #666666;
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: contain;
    object-position: center;
}

.gallery-link {
    display: inline-block;
    color: white;
}

.back-to-top {
    font-family: 'Baskerville Old Face', serif;
    font-size: 1.2rem;
    color: white;
    text-decoration: none;
    display: inline-block;
    padding: 10px 20px;
    transition: opacity 0.3s ease;
}

.back-to-top:hover {
    opacity: 0.7;
}

.modal-close-hint {
    position: fixed;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 40px;
    color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    user-select: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
    z-index: 1003;
    padding: 10px;
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    .gallery {
        grid-template-columns: 1fr;
        padding: 40px 0;
    }
    
    .navbar {
        padding: 10px 15px;
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }
    
    .navbar-title {
        font-size: 1.2rem;
    }
    
    .navbar-separator {
        display: none;
    }
    
    .navbar-gallery {
        font-size: 1rem;
    }
    
    body {
        padding-top: 100px;
    }
}