body {
    margin: 0;
    font-family: 'Quando', serif;
    /* font-family: 'Arial', sans-serif; /* Set a default font for the page */
    background-color: #000; /* Black background */
    color: #fff; /* White text */
}

/* Styles the main scrollbar for the whole page in WebKit browsers */
html {
    scrollbar-width: thin; /* Optional for consistency in settings between Firefox and WebKit */
    scrollbar-color: #2c0876 #000000; /* Optional for Firefox */
}

/* Customizing the scrollbar track */
html::-webkit-scrollbar {
    width: 12px; /* Adjust the width of the scrollbar */
    height: 12px; /* Needed for horizontal scrollbars, if applicable */
}

/* Customizing the scrollbar thumb (the part that you drag) */
html::-webkit-scrollbar-thumb {
    background-color: #2c0876; /* Color of the thumb */
    border-radius: 6px; /* Rounded corners of the scrollbar thumb */
    border: 3px solid #2c0876; /* Optional: Adds a border around the thumb */
}

/* Customizing the scrollbar track */
html::-webkit-scrollbar-track {
    background-color: #000000; /* Color of the track */
}


.container {
    max-width: 1200px; /* Maximum width of the container */
    width: 100%; /* Make the container width 100% */
    margin: 0 auto; /* Center the container */
    padding: 20px; /* Padding around the content */
    box-sizing: border-box;
    background-color: #000; /* Black background for the container if needed */
    color: #fff; /* White text for content within the container */
}

.container * {
    font-family: 'Quando', serif;
    /* font-family: 'Open Sans', sans-serif; /* Specific font for everything inside the container */
}

@media (max-width: 768px) {
    .container {
        padding: 10px; /* Smaller padding for smaller devices */
    }
}

a {
    color: #611AEF;
    text-decoration: none;
}
  
a:hover {
    text-decoration: underline;
}

.navigation {
    background-color: rgb(0, 0, 0);
    color: white;
    padding: 10px;
    text-align: center;
}

.navigation a {
    color: white;
    padding: 80px;
    text-decoration: none;
}

.intro-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row; /* Ensures the children are laid out in a row */
}

h2 {
    position: relative;
    font-size: 2rem;       
    color: white;          
    text-shadow:
      0.25em 0.25em 0 #2c0876;   
  }

.image-container {
    flex-basis: 30%; /* Takes up 40% of the intro section */
    padding: 10px;
}

.image-container img {
    width: 100%; /* Ensures the image scales with the container */
    height: auto; /* Maintain aspect ratio */
    min-width: 0; /* Prevents the image from forcing a larger width */
}


.text-container {
    flex-basis: 70%; /* Takes up 60% of the intro section */
    padding: 20px;
    text-align: justify;
}

.general-content {
    padding: 20px;
    text-align: left;
}

@media (max-width: 768px) {
    .intro-section {
        flex-direction: column;
    }

    .image-container, .text-container {
        flex-basis: 100%; /* Stack on top of each other on smaller screens */
    }
}

.horizontal-scroll-gallery {
    display: flex; /* Aligns children (gallery-item) in a row */
    overflow-x: auto; /* Enables horizontal scrolling */
    /* white-space: nowrap; /* Prevents items from wrapping to the next line */
    align-items: flex-start;
    padding: 20px 0; /* Adds some vertical padding */
}

.gallery-item {
    display: inline-block; /* Prevents items from growing or shrinking */
    margin-right: 20px; /* Adds space between items */
    text-align: center; /* Centers the text below the image */
    width: auto;  /* Adjusts the width to fit the content, may need specific values */
    position: relative;  /* Establishes positioning context for the caption */
}

.gallery-item img {
    /* max-width: 100%; /* Ensures images are fully visible within their container */
    display: block;
    height: 500px; /* Maintains the aspect ratio */
    width: auto; /* Ensures width is adjusted to maintain aspect ratio */
    object-fit: cover; /* Ensures the image covers the area, may crop */
}

.caption {
    color: #fff; /* White text for captions */
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black background */
    padding: 10px; /* Padding around the text */
    position: absolute; /* Absolute position within the relative container */
    bottom: 0; /* Aligns the caption to the bottom of the image */
    left: 0;
    right: 0;
    font-size: 12px;
    text-align: center; /* Ensures the caption stretches across the image width */
}

/* For Webkit (Chrome, Edge, Safari) */
.horizontal-scroll-gallery::-webkit-scrollbar {
    height: 12px;  /* Height of the horizontal scrollbar */
    background-color: rgb(0, 0, 0);  /* Background of the scrollbar track */
}

.horizontal-scroll-gallery::-webkit-scrollbar-thumb {
    background-color: #2c0876;  /* Color of the scrollbar itself */
    border-radius: 12px;  /* Optional: round corners for the scrollbar thumb */
    border: 12px solid #2c0876;  /* Optional: adds some border around the thumb */
}

/* For Firefox */
.horizontal-scroll-gallery {
    scrollbar-color: #2c0876 #000000;  /* thumb and track colors */
    scrollbar-width: thin;  /* Can be 'auto', 'thin', or 'none' */
}

/* === YouTube highlight rows === */

.video-highlight {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    max-width: 1500px;
    margin: 2.5rem auto;
  }
  
  /* Left/normal text */
  .video-highlight .video-text {
    flex: 1 1 45%;
    font-size: 0.95rem;
    line-height: 1.6;
    text-align: left;
  }
  
  /* YouTube iframe */
  .video-highlight .video-embed {
    flex: 1 1 55%;
  }
  
  .video-highlight .video-embed iframe {
    width: 100%;
    aspect-ratio: 16 / 9;   /* keeps proper video shape */
    border: 0;
  }
  
  /* Reversed layout: video right, text right-aligned */
  .video-highlight--reverse {
    flex-direction: row-reverse;
  }
  
  .video-highlight--reverse .video-text {
    text-align: right;
  }
  
  /* Mobile: stack vertically, keep text left-aligned for sanity */
  @media (max-width: 768px) {
    .video-highlight,
    .video-highlight--reverse {
      flex-direction: column;
      width: 100%;              /* ensure container spans full width */
    }
  
    .video-highlight .video-embed,
    .video-highlight--reverse .video-embed {
      width: 100%;              /* allow embed wrapper to expand */
    }
  
    .video-highlight .video-embed iframe,
    .video-highlight--reverse .video-embed iframe {
      width: 100% !important;   /* force iframe to full width */
      height: auto;
      aspect-ratio: 16 / 9;     /* maintain YouTube aspect ratio */
    }
  
    .video-highlight--reverse .video-text {
      text-align: left;
    }
  }   

footer {
    padding: 20px;
    text-align: center;
    background-color: #000000;
    color: #ffffff;
    font-size: 11px;
}
footer a {
    color: #2c0876;
    text-decoration: none;
}
footer a:hover {
    text-decoration: underline;
}