*,
*::before,
*::after {
    box-sizing: border-box;
    font-size: 1rem;
}
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #F2DFCE;
    color: #333;
}
header {
    background: #0a0a23;
    color: #fff;
    padding: 1rem 2rem;
    text-align: center;
}
html {
    scroll-behavior: smooth;
}
h1 {
    margin: 0;
    font-size: 2rem;
}
h2 {
    margin: 0.5rem 0;
    font-size: 1.6rem;
}
h3 {
    margin: 0.5rem;
    font-size: 1.3rem;
}
h4 {
    margin: 0.5rem;
    font-size: 1.15rem;
}
p {
    margin-left: 1.5rem;
}
ul p {
    margin-left: 0;
}
.title-link {
    color: white;
}
nav {
    background: #333;
    color: #fff;
    padding: 0.5rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
}
.menu {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
}
.menu a {
    color: #fff;
    margin: 0.5rem 1rem;
    text-decoration: none;
}
.menu a:hover {
    text-decoration: underline;
}
.menu-button {
    display: none;
    background: #444;
    color: #fff;
    padding: 0.5rem 1rem;
    border: none;
    cursor: pointer;
}
.menu-button:focus {
    outline: none;
}
.quote-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    width: 100%;
}
.quote {
    background: #333;
    color: #fff;
    padding: 0.5rem 1rem;
    font-style: italic;
    text-align: center;
    border-radius: 25px;
}
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(156px, 1fr)); /* Responsive grid */
    gap: 1rem;
    justify-content: center;
    padding: 10px;
    margin: 0 auto;
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.2), 0 3px 5px 0 rgba(0, 0, 0, 0.19);
    border-radius: 8px;
}

.gallery a {
    display: block;
    border-radius: 8px;
    overflow: hidden;
}
.gallery.single-image {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 156px;
    margin: 0 auto;
}
.gallery.single-video {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 450px;
    height: 260px;
}

.gallery img {
    /*width: 156px;*/
    height: 156px;
    object-fit: cover;
    display: block;
    border-radius: 8px;
    border: 3px solid #ffffff;
}

.video-thumb {
    width: 156px;
    height: 156px;
    object-fit: cover;
    display: block;
    border-radius: 8px;
    border: 3px solid white;
}
.video-thumb.single-video
{
    width: 429px;
    height: 240px;
}
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out;
    padding: 10px;
    box-sizing: border-box;
}

/* Show overlay when targeted */
.lightbox:target {
    opacity: 1;
    visibility: visible;
}

/* Centered image with aspect ratio maintained */
.lightbox img {
    max-width: 90%;
    max-height: 90vh;
    width: auto;
    height: auto;
    border-radius: 8px;
    border: 4px solid white;
    object-fit: contain;
    position: relative;
}

.lightbox .close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    color: white;
    text-decoration: none;
    font-weight: bold;
    background: rgba(0, 0, 0, 0.5);
    padding: 5px 10px;
    border-radius: 5px;
    z-index: 1001;
    cursor: pointer;
}
/* Close Button Inside Image Container */
.lightbox-content {
    position: relative;
    display: inline-block;
}
.lightbox .close:hover {
    color: red;
}
.youtube-preview-panel {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}
@media (max-width: 768px) {
    .menu-button {
        display: block;
        margin: 0 auto;
    }
    .menu {
        display: none;
        flex-direction: column;
        align-items: center;
    }
    .menu.expanded {
        display: flex;
    }
    .gallery.single-video {
        width: auto;
        height: auto;
    }
    .video-thumb {
        width: 100%;
        height: auto;
    }
    .video-thumb.single-video {
        width: 100%;
        height: auto;
    }
}
.gallery {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); /* More rows, smaller thumbnails */
}

.gallery img {
    height: 100px;
}

.lightbox img {
    max-width: 95%;
    max-height: 80vh;
}
.lightbox .close {
    top: 5px;
    right: 5px;
    font-size: 20px;
    padding: 8px;
}
section {
    padding: 2rem;
    margin: 1rem auto;
    max-width: 800px;
    background: #FFF1E0;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
section h2 {
    color: #0a0a23;
    margin-top: 0;
}
section img, section video {
    width: 100%;
    border-radius: 8px;
    margin: 1rem 0;
}
footer {
    text-align: center;
    padding: 1rem;
    background: #333;
    color: #fff;
}
indented {
    text-indent: 1.5rem;
}