@font-face {
    font-family: 'OpenDyslexic';
    src: url('fonts/OpenDyslexic-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'OpenDyslexic';
    src: url('fonts/OpenDyslexic-Bold.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'OpenDyslexic';
    src: url('fonts/OpenDyslexic-Italic.woff2') format('woff2');
    font-weight: normal;
    font-style: italic;
}

body {
    font-family: 'OpenDyslexic', sans-serif;
    margin: 0;
    background: #f5f5f5;
    color: #333;
    text-align: center;
}

header {
    background-color: #974DFF; /* or your preferred green */
    color: white;
    padding: 1em;
    text-align: center;
    width: 100vw;
    box-sizing: border-box;
    margin: 0;
}

.video-section {
    margin: 2em 0;
}

.album {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
    justify-content: center;
    padding: 1em;
    max-width: 100%;
    box-sizing: border-box;
}

.album img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    transition: 0.3s;
}

.album img:hover {
    border-color: #974DFF;
}

#lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    z-index: 1000;
}

#lightbox.hidden {
    display: none;
}

#lightbox-img {
    max-width: 90%;
    max-height: 80%;
    margin: 20px 0;
}

button {
    background: #974DFF;
    color: white;
    border: none;
    padding: 10px;
    margin: 5px;
    cursor: pointer;
    font-size: 1.2em;
}

button:hover {
    background: #357ABD;
}

.spinner {
    border: 8px solid #f3f3f3;
    border-top: 8px solid #974DFF;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
    position: absolute;
}

@keyframes spin {
    0% { transform: rotate(0deg);}
    100% { transform: rotate(360deg);}
}

.download-all {
    margin: 2em;
}

.download-all a {
    color: #974DFF;
    text-decoration: none;
    font-size: 1.2em;
}

.download-all a:hover {
    text-decoration: underline;
}
.lightbox-controls {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.lightbox-controls button {
    font-size: 1.2em;
    padding: 10px 20px;
}

.video-container {
    aspect-ratio: 16 / 9;
    width: 100%;
    max-width: 800px;
    margin: 1em auto;
}

.video-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.download-all {
    margin-top: 3rem;   /* space from video above */
    margin-bottom: 0.5rem; /* small space before gallery */
    text-align: center;
    font-size: 1.2rem;
}

.download-all a {
    display: inline-block;
    background-color: #974DFF;
    color: white;
    padding: 0.75em 1.5em;
    text-decoration: none;
    border-radius: 8px;
    transition: background-color 0.3s;
}

.download-all a:hover {
    background-color: #6130A6;
}

