body {
    font-family: Arial, sans-serif;
    margin: 0;
    background-color: white;
    color: black;
}

header {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding: 20px;
    background-color: white;
    overflow: hidden; /* To hide the animation overflow */
}

.header-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: moveToLeft 2s ease forwards; /* Animation to move to the left */
    position: relative;
    left: 50%; /* Start from center */
    transform: translateX(-50%); /* Center the content */
}

.logo-and-title {
    display: flex;
    align-items: flex-end;
}

.logo {
    height: auto;
    max-height: 120px; /* Adjust based on desired height of text */
    margin-right: 20px;
}

.title {
    text-align: left;
    font-family: 'NimbusSansL', sans-serif;
    color: black;
    line-height: 1.2;
}

.title-part.small {
    font-size: 14.4px; /* 40% smaller than large text, adjust as needed */
}

.title-part.large {
    font-size: 24px; /* Adjust as needed */
    text-transform: uppercase;
}

.email {
    font-family: 'NimbusSansL', sans-serif;
    font-size: 16px;
    text-transform: lowercase;
    color: black;
    opacity: 0;
    animation: fadeIn 3s forwards; /* Fade-in animation */
    margin-top: 10px; /* Space between the title and email */
}

@keyframes moveToLeft {
    0% {
        left: 50%;
        transform: translateX(-50%);
    }
    100% {
        left: 0;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

#gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 10px;
}

.gallery-item {
    border: 2px solid #b87333; /* Copper color */
    margin: 10px;
    overflow: hidden;
    position: relative;
    max-width: 200px; /* Adjust thumbnail size */
    height: 150px; /* Fixed height for landscape thumbnails */
    box-sizing: border-box;
    box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.3); /* Shadow effect */
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Adjust image to fit thumbnail box */
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: flex-start; /* Align content to the left */
    align-items: center;
    padding-left: 20px;
}

.modal-content-wrapper {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    margin: auto;
    background-color: white; /* White border around the image */
    padding: 10px;
    box-sizing: border-box;
}

.modal-content {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.modal-caption {
    margin: auto;
    display: block;
    width: 100%;
    text-align: center;
    color: black; /* Changed to black for better readability on white background */
    padding: 10px 20px;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.modal-close:hover,
.modal-close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

@media (max-width: 768px) {
    .gallery-item {
        width: 45%;
    }

    .modal-content-wrapper {
        max-width: 100%;
        max-height: 100%;
    }
}

@media (max-width: 480px) {
    .gallery-item {
        width: 90%;
    }

    .modal-content-wrapper {
        max-width: 100%;
        max-height: 100%;
    }
}
