

/* Modal container */
.image-modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9); /* Black background with opacity */
    align-items: center;
    justify-content: center;
}

/* Modal content (the image) */
.image-modal .modal-content {
    max-width: 90%;
    max-height: 90%;
    margin: auto;
    display: block;
    border-radius: 8px;
}

/* Close button */
.close-modal {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 36px;
    font-weight: bold;
    color: white;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: #f1f1f1;
}


@media (max-width: 768px) {
    #facebook-video {
        height: auto; /* Remove height property on mobile */
    }
}

.intro-video-box {
    max-width: 900px; /* Limits width on larger screens */
    margin: 0 auto; /* Centers the video on the page */
    position: relative; 
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
}

.intro-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}