/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #000; /* Black background */
    color: #fff; /* White text */
}

/* Splash Screen */
#splash {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background-color: #000; /* Black background for the splash */
}

#splash img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: auto;
    transform: translate(-50%, -50%);
    opacity: 0.8; /* Slight transparency */
}

#splash-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff; /* White text */
    text-align: center;
    background-color: rgba(255, 0, 0, 0.8); /* Semi-transparent red background */
    padding: 10px;
    border-radius: 10px;
}

#splash-title h1 {
    font-size: 3rem;
    margin: 0;
    letter-spacing: 1px; /* Slight spacing */
}

/* Navigation Bar */
nav {
    background-color: #000; /* Black background */
    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: #fff; /* White text */
    text-decoration: none;
    font-size: 1.2rem;
    padding: 5px 10px;
    transition: background-color 0.3s ease;
}

nav ul li a:hover {
    text-decoration: none;
    background-color: #ff0000; /* Red background on hover */
    border-radius: 5px; /* Slight rounding */
}

/* Main Content */
#content {
    padding: 20px;
    text-align: center;
    background-color: #000; /* Black background */
}

#content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #ff0000; /* Red headings */
}

#content p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #fff; /* White text */
}

/* Photo Gallery */
.photo-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 10px;
    margin-top: 20px;
}

.photo-gallery img,
.photo-gallery video {
    width: 100%;
    height: 100%;
    object-fit: cover;  /* Crop images to fit the container */
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 2px solid #ff0000; /* Red border */
}

.photo-gallery img:nth-child(even),
.photo-gallery video:nth-child(even) {
    border-color: #fff; /* Alternate white border */
}

.photo-gallery img:hover,
.photo-gallery video:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(255, 255, 255, 0.2); /* White shadow */
}

/* Video Element */
.video {
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    border: 2px solid #ff0000; /* Red border around the video */
    border-radius: 8px;
    overflow: hidden;
}

.photo-gallery img.preview video{
    width: 300px; /* Set a fixed width */
    height: 200px; /* Set a fixed height */
    object-fit: cover; /* Ensure the image covers the entire container */
    object-position: center; /* Center the image within the container */
    border-radius: 8px; /* Optional: Add some styling like rounded corners */
    display: block; /* Ensure the images are block-level elements */
}

