/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

/* Splash Screen */
#splash {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

#splash img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: auto;
    transform: translate(-50%, -50%);
}

#splash-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.5); /* Optional: Add a semi-transparent background to improve text readability */
    padding: 10px;
}

#splash-title h1 {
    font-size: 3rem;
    margin: 0;
}

/* Navigation Bar */
nav {
    background-color: #333;
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
}

nav ul li a:hover {
    text-decoration: underline;
}

/* Main Content */
#content {
    padding: 20px;
    text-align: center;
}

#content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

#content p {
    font-size: 1.1rem;
    line-height: 1.6;
}

.photo-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 10px;
    margin-top: 20px;
}

.photo-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;  /* Important: Crop images to fit the container */
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.photo-gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.photo-gallery video {
    width: 100%;
    height: 100%;
    object-fit: cover;  /* Important: Crop images to fit the container */
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.photo-gallery video:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.video {
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
}

.photo-gallery img.preview {
    width: 100px; /* or any size you prefer */
    height: auto;
    object-fit: cover;
}