/* General Body Styling */
body {
    font-family: Arial, sans-serif;
    color: #7a2820;
    margin: 0;
    padding: 0;
    background-color: #7a2820;
    ;
}
html, body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #b7a09e;
}

header, nav, ul {
    border: none;
}
/* Header Styling */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

hr.divider {
    display: none; /* Completely hides the divider */
    margin: 0;
    padding: 0;
}

header {
    background-color: #7a2820; /* Red background */
    color: #fff; /* White text */
    text-align: center;
    padding: 70px 20px;
    margin: 0;
    margin-bottom: 0;
}

header .logo img {
    width: 700px;
    margin-bottom: 5px;
    margin-top: 40px;
}

header h1 {
    font-size: 3rem;
    margin-bottom: 5px;
    font-weight: bold;
}

header p {
    font-size: 1.5rem;
    margin: 0;
    line-height: 1.8;
}

/* Divider Styling */
.divider {
    display: none;
    margin: 0;
    padding: 0;
}
/* Section Styling */
section {
    padding: 20px;
    margin: 0 auto;
    max-width: 800px;
    background-color: #fff; /* White background */
    color: #333;
    border-radius: 10px;
    margin-top: 0;
}
section h2 {
    text-align: center;
    font-size: 1.8rem;
    color: #7a2820;
}
section p {
    font-size: 1rem;
    line-height: 1.5;
}
/* Row and Column Layouts */
.row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
}
.column {
    flex: 1;
    padding: 10px;
}
/* History and Ideas Images */
.history-image, .ideas-image {
    width: 100%;
    border-radius: 10px;
    object-fit: cover;
}
.history h2, .ideas h2 {
    text-align: center; 
    font-size: 1.8rem;
    text-transform: uppercase;
    font-family: "Georgia", serif;
    margin-bottom: 15px;
    color: #7a2820;
}

.history p, .ideas p {
    line-height: 1.8;
    text-align: justify;
    font-size: 1rem;
    font-family: "Georgia", serif;
}
/* Gallery Styling */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); /* Responsive columns */
    gap: 15px;
    padding: 20px;
}
.gallery img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
/* Navigation Styling */
nav {
    display: flex;
    justify-content: center;
    background-color: #7a2820;; /* Matches white background */
    padding: 0px;
    margin: 0;
    border: none;
    list-style: none;
    gap: 20px;
    margin-bottom: 20px;
}
nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
    padding: 0;
    margin: 0;
}
nav a {
    text-decoration: none;
    color: #fff; /* White text */
    font-size: 1.2rem;
    font-weight: bold;
}
nav a:hover {
    color: #7a2820; /* Red on hover */
}
/* Buttons */
button {
    background-color: transparent;
    border: 2px solid #333;
    color: #7a2820;
    font-size: 1rem;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 30px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 30px;
}

button:hover {
    background-color: #333;
    color: #fff;
}
/* Media Queries for Responsive Design */
@media screen and (max-width: 768px) {
    .row {
        flex-direction: column;
    }
    .gallery {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}
.social-icons {
    position: absolute; /* Allows precise placement */
    font-size: 1.5rem;
    top: 20px; /* Adjust distance from the top */
    right: 20px; /* Adjust distance from the right */
    display: flex; /* Aligns icons horizontally */
    gap: 10px; /* Spacing between icons */
    transition: transform 0.2s ease-in-out;
    color: #fff;
}

.social-icons a {
    font-size: 1.5rem; /* Size of emojis/icons */
    text-decoration: none; /* Remove underline */
    color: #fff; /* Adjust the color to match your theme */
    transition: transform 0.2s ease-in-out;
}

.social-icons a:hover {
    transform: scale(1.2); /* Slight zoom effect on hover */
    color: #7a2820; /* Change color on hover to match your theme */
}

.social-icons {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}
.social-icons a {
    text-decoration: none;
    color: #fff;
    font-size: 24px;
}
.social-icons a:hover {
    color: #f39c12; /* Highlight color on hover */
}
.video-container {
    display: flex; /* Arrange videos side by side */
    gap: 20px; /* Space between videos */
    justify-content: center; /* Center videos */
    flex-wrap: wrap; /* Wrap to the next line on smaller screens */
    margin-top: 20px;
}

.video-item {
    text-align: center; /* Center-align text and videos */
    max-width: 400px; /* Optional: Limit the width of each video item */
}
.video-item h2 {
    margin-bottom: 10px; /* Add spacing between the title and the video */
    font-size: 18px; /* Adjust font size for better readability */
    color: #fff; /* Use white text to match the red background */
}
.video-item video {
    width: 400px; /* Ensure all videos are the same size */
    height: 225px; /* Maintain a 16:9 aspect ratio */
    border: 2px solid #000; /* Optional: Add a border */
    border-radius: 8px; /* Optional: Add rounded corners */
}

video {
    width: 100%; /* Make the video responsive within its container */
    height: auto; /* Maintain aspect ratio */
    border: 2px solid #000; /* Optional: Add a border for better visibility */
    border-radius: 8px; /* Optional: Add rounded corners */
}
.video-section {
    margin-top: 20px;
    text-align: center; /* Center-align the video */
}
.video-section video {
    max-width: 800px; /* Limit the maximum width of the video */
    border: 2px solid #000; /* Optional: Add a border */
    border-radius: 8px; /* Optional: Add rounded corners */
}
.module-classes {
    display: none; /* Hide by default */
    padding-left: 20px;
    list-style-type: none;
  }
  
  .module.open .module-classes {
    display: block; /* Show when parent has 'open' class */
  }
  
  .module-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    padding: 10px;
    background-color: #f7f7f7;
    border: 1px solid #ddd;
    border-radius: 6px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    white-space: normal;
    overflow: visible;
    text-overflow: unset;

    /* New: Adjust max-width */
    max-width: calc(100% - 20px); /* Account for padding */
}

  /* Layout Styling */
.layout {
        display: flex; /* Create a flex container */
        align-items: flex-start; /* Align items at the top */
        gap: 20px;
    }
  
  /* Sidebar Menu */
  .menu {
    width: 100%; /* Allow full width usage */
    flex: 0 0 auto;
    max-width: 500px; /* Restrict maximum width for a cleaner look */
    margin: 0; /* Remove auto-centering */
    padding: 10px; /* Add padding inside the menu */
    box-sizing: border-box; /* Include padding in width/height calculations */
    position: relative; /* Position the menu relative to its container */
    left: 0; /* Align it to the left */
    background-color: transparent; /* Transparent background to blend in */
    z-index: 1;
}

  .module {
    background-color: #fff; /* White background for each module */
    padding: 15px;
    border-radius: 8px; /* Rounded corners */
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1); /* Optional shadow */
    box-sizing: border-box; 
    margin-bottom: 15px; /* Spacing between modules */
    width: 100%;
    margin: 0 auto;
    width: 100%;
    max-width: 500px;
  }
  
  /* Main Content */
  .main-content {
    flex-grow: 1; /* Take the remaining space */
    padding: 20px;
    background-color: #f7f7f7; /* Light background for content */
    border-radius: 8px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1); /* Optional shadow */
  }
  
  /* Module Header */
  .module-header {
    display: flex;
    justify-content: space-between; /* Distribute text and status evenly */
    align-items: center; /* Vertically align content */
    font-weight: bold;
    cursor: pointer;
    background-color: #f7f7f7; /* Light header background */
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #ddd;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    white-space: nowrap; /* Prevent text wrapping */
    overflow: hidden; /* Hide overflowing text */
    text-overflow: ellipsis; /* Add ellipsis for long text */
    max-width: 100%; /* Ensure it doesn't exceed the menu's width */
    box-sizing: border-box; /* Include padding in width */
}
.module-header span {
    flex-grow: 1; /* Allow the span to grow and occupy available space */
    margin-right: 10px; /* Add space between the text and completion status */
    min-width: 0; /* Prevent shrinking issues */
    white-space: nowrap; 
    overflow: hidden; 
    text-overflow: ellipsis;
}

  /* Module Classes */
  .module-classes {
    display: none;
    padding-left: 20px;
    list-style: none;
    margin-top: 10px;
  }
  .module-classes {
    display: none;
    padding-left: 20px;
    list-style: none;
    margin-top: 10px;
  }
  
  .menu {
    position: relative; /* Ensure the menu is positioned correctly over the background */
    z-index: 1; /* Make sure the menu stays on top of the background */
  }
  
  .image-container {
    position: absolute; /* Make it stretch behind the menu */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0; /* Place it behind the menu */
    background: url('logored.PNG') no-repeat center center; /* Set the image */
    background-size: cover; /* Ensure it covers the entire area */
    opacity: 0.2; /* Make it translucent */
    pointer-events: none; /* Prevent the image from blocking clicks on the menu */
  } 
  
  .image-container img {
    max-width: 100%; /* Ensure the image doesn't overflow */
    height: auto; /* Maintain aspect ratio */
    border-radius: 8px; /* Optional: Add rounded corners */
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* Optional: Add a shadow */
  }