/* Basic styles for the page */
body {
    font-family: Arial, sans-serif;
    text-align: center;
    margin: 0;
    padding: 0;
    height: 100vh;
    background-image: url('lines.png'); /* Replace with your image path */
    background-size: cover; /* This makes the image cover the full viewport */
    background-position: bottom; /* Center the image in the viewport */
    background-repeat: no-repeat; /* Prevent the image from repeating */
    background-attachment: fixed; /* Make the background static */
}

/* Title styles */
header {
    background-color: #ffffff;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #ddd;
}

h1 {
    margin: 0;
    font-size: 2em;
    color: #333;
}

/* Style for the logo in the header */
.header-logo {
    width: 100px;
    height: auto;
    margin-right: 15px;
}

/* Thumbnail gallery styles */
.gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.thumbnail {
    width: 275px;
    height: 175px;
    object-fit: cover;
    cursor: pointer;
    margin: 5px; /* This adds space around each thumbnail */
    transition: transform .3s ease;
}

.thumbnail:hover {
    transform: scale(1.1);
}

/* Full-Size Media Container - aligned to the bottom of the page */
.media-container {
    display: none;
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    border: 2px solid #fff;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 10px;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.3);
}

/* Full-size image settings */
.full-image {
    max-width: 80vw;
    max-height: 80vh;
    width: auto;
    height: auto;
    display: none;
}

/* Full-size video settings */
.full-video {
    max-width: 80vw;
    max-height: 80vh;
    width: auto;
    height: auto;
    display: none;
}

/* Full-size website settings */
.full-website {
    width: 80vw;
    height: 80vh;
    display: none;
}

/* Wrapper for media and overlay text */
.media-overlay {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Close button styles (Square) */
.close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 30px;
    color: red;
    background: white;
    border: 2px solid red;
    cursor: pointer;
    padding: 5px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 101;
}

/* Overlayed text directly at the bottom center of the media */
.media-text {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 18px;
    font-weight: bold;
    background-color: rgba(0, 0, 0, 0.6);
    padding: 10px;
    border-radius: 5px;
    display: inline-block;
    max-width: 90%;
    word-wrap: break-word;
    text-align: center;
}


/* Navigation button styles */
.nav-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 30px;
    background: rgba(255, 255, 255, 0.7);
    border: 2px solid #ddd;
    cursor: pointer;
    padding: 10px;
    z-index: 102;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}



