    @font-face {
        font-family: 'Dashiell Text';
        src: url('./fonts/DashiellText-Medium.otf') format('opentype');
        font-weight: 500;
        font-style: normal;
    }

    @font-face {
        font-family: 'Superior Title';
        src: url('./fonts/SuperiorTitle-Bold.otf') format('opentype');
        font-weight: 700;
        font-style: normal;
    }

    body {
        font-family: 'Dashiell Text', sans-serif;
        position: fixed;
        width: 100%;
        height: 100%;
        overflow: hidden;
    }

    .h1-text {
        font-family: 'Superior Title', serif;
    }
    
    /* The CSS for your background image */
    .background-image {
        background-image: url('./images/background.jpeg');
        background-size: cover;
        background-position: center;
    }

    .pill-button {
        border-radius: 9999px;
        padding: 0.25rem 1rem;
        font-weight: 500;
    }

    .nav-link {
        transition: color 0.3s ease;
    }

    .dashiell-text {
        font-family: 'Dashiell Text', sans-serif;
    }

    .modal {
        display: none; /* Hidden by default */
        position: fixed;
        z-index: 100;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        overflow: auto;
        /* This is the subtle black overlay */
        background-color: rgba(0, 0, 0, 0);
        transition: background-color 0.5s ease;
    }
    
    .modal.active {
        display: flex; /* Use flex to center */
        background-color: rgba(0, 0, 0, 0.2);
        justify-content: center; /* Center horizontally */
        align-items: center; /* Center vertically */
    }

    .modal-content {
        position: relative;
        /* This is the color of the pop-up window itself */
        background-color: #A0BBA8;
        padding: 20px;
        border-radius: 1rem;
        max-width: 90%;
        max-height: 90vh;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.08);
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.6s cubic-bezier(0.65, 0.05, 0.36, 1), transform 0.6s cubic-bezier(0.65, 0.05, 0.36, 1);
    }
    
    /* Correct positioning for the modal window */
    #video-modal .modal-content {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, calc(-50% + 3rem));
        width: 80%; /* Updated width */
        height: auto;
        max-width: none;
        max-height: 75vh;
    }
    
    /* Video aspect ratio container */
    .video-container {
        position: relative;
        width: 100%;
        padding-top: 42.55%; /* (1 / 2.35) * 100 */
    }
    
    .video-container video {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

/* Header section */
#contact-modal .modal-content .header {
    position: sticky;
    top: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    color: #174C38;
    margin-bottom: 15px;
}

#contact-modal .modal-content .close:hover {
    transform: scale(1.2);
}

/* Contact info section */
#contact-modal .contact-info-section {
    margin-top: 20px; /* space below header */
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

    #photo-modal .modal-content {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, calc(-50% + 3rem));
        width: 70%;
        height: 75vh;
        max-width: none;
        max-height: none;
        display: flex;
        flex-direction: column;
    }

    #photo-modal .modal-content .header {
        position: sticky;
        top: 0;
        background-color: #A0BBA8;
        padding: 20px 20px 0;
        z-index: 10;
    }
    
    #photo-modal .gallery-container {
        flex-grow: 1;
        overflow-y: hidden; /* Prevent scrolling on the main container */
        padding: 0 20px 20px;
    }

    @media (min-width: 768px) {
        .modal-content {
            width: 66.67%;
            height: 75vh;
        }
        #contact-modal .modal-content {
            width: 95%;
            padding: 15px;
        }
    }

    .modal.active .modal-content {
        opacity: 1;
        transform: translateY(0);
    }

    .close-button {
        color: #174C38;
        font-size: 28px;
        font-weight: bold;
        line-height: 1;
    }

    .close-button:hover,
    .close-button:focus {
        color: black;
        text-decoration: none;
        cursor: pointer;
    }
