/* General Body and Font Styles */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100;300;400;700&display=swap');

/* CSS Reset and Box Sizing */
* {
    box-sizing: border-box;
}
.boxshadow200px {
  box-shadow: none !important;
}
body {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    background-color: #FFF;
    color: #000;
    font-size: 16px;
    margin: 0;
    padding: 0;
    text-align: center;
    line-height: 1.6;
}

/* Font Weight Classes */
.thin {
    font-weight: 100;
}

.light {
    font-weight: 300;
}

.bold {
    font-weight: 700;
}

/* Container */
#container {
    max-width: 1200px;
    margin: 0 auto;
    background: #FFFFFF;
    text-align: left;
   /* box-shadow: 4px 4px 20px rgba(50, 50, 50, 0.5);
    padding: 1rem;*/
}

/* Header and Navigation */
#header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background-color: #fff;
    border-bottom: 1px solid #ddd;
    flex-wrap: wrap;
    position: relative;
}

.logo img {
    max-width: 250px;
    height: auto;
    width: 100%;
}

.hamburger-menu {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    order: 3;
}

.hamburger-menu span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 5px 0;
    transition: all 0.3s ease-in-out;
}

#main-nav {
    display: none;
    width: 100%;
    background-color: #f8f8f8;
    order: 4;
    max-width: 100%;
    overflow: hidden;
}

#main-nav.active {
    display: block;
}

#main-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

#main-nav ul li a {
    display: block;
    padding: 15px;
    text-decoration: none;
    color: #333;
    border-bottom: 1px solid #ddd;
    font-size: 14px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

#main-nav ul li a:hover {
    background-color: #ddd;
}

/* Desktop Navigation - Show horizontal menu on larger screens */
@media (min-width: 768px) {
    .hamburger-menu {
        display: none;
    }
    
    #main-nav {
        display: block !important;
        width: auto;
        background-color: transparent;
        order: 2;
        max-width: calc(100% - 280px);
    }
    
    #main-nav ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-end;
        width: auto;
    }
    
    #main-nav ul li {
        margin-left: 0;
    }
    
    #main-nav ul li a {
        padding: 8px 10px;
        border-bottom: none;
        border-right: 1px solid #ddd;
        white-space: nowrap;
        font-size: 11px;
    }
    
    #main-nav ul li:last-child a {
        border-right: none;
    }
    
    #main-nav ul li a:hover {
        background-color: #f0f0f0;
    }
}

/* For larger screens, allow slightly more space */
@media (min-width: 1024px) {
    #main-nav ul li a {
        font-size: 12px;
        padding: 10px 12px;
    }
    
    #main-nav {
        max-width: calc(100% - 300px);
    }
}

/* Main Content */
#mainContent {
    padding: 1rem;
}

/* Content Sections */
.content-section {
    margin-bottom: 2rem;
}

.center-content {
    text-align: center;
}

/* Responsive Images */
.responsive-img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Video Container */
.video-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 20px auto;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}

.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Funders Section */
.funders-section {
    margin: 40px 0;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
}

.funders-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.funder-logo {
    max-height: 80px;
    max-width: 150px;
    height: auto;
    width: auto;
    object-fit: contain;
}

.logo-img {
    max-height: 60px;
    max-width: 120px;
    height: auto;
    width: auto;
    object-fit: contain;
    margin: 10px auto;
}

/* Funders Text */
.funders-text {
    text-align: center;
    font-size: 14px;
    color: #666;
    margin-top: 20px;
    line-height: 1.4;
}

/* Figure and Caption Styles */
figure {
    margin: 20px 0;
    text-align: center;
}

figcaption {
    font-style: italic;
    font-size: 14px;
    color: #666;
    margin-top: 8px;
}

/* Typography */
h1 {
    color: #101363;
    font-weight: 700;
    margin: 30px 0 20px 0;
}

h2 {
    color: #101363;
    font-weight: 400;
    margin: 25px 0 15px 0;
}

p {
    margin: 15px 0;
    line-height: 1.6;
}

/* Links */
a {
    color: #0066cc;
    text-decoration: underline;
}

a:hover {
    color: #004499;
}

/* Horizontal Rules */
hr {
    border: none;
    border-top: 2px solid #ddd;
    margin: 30px 0;
}

/* Special Text Styles */
.style17 {
    font-weight: 700;
    color: #333;
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .funders-grid {
        gap: 15px;
    }
    
    .funder-logo {
        max-height: 60px;
        max-width: 120px;
    }
    
    #container {
        padding: 0.5rem;
    }
    
    #header {
        padding: 0.5rem;
    }
}
/*Remove box shadows */
.boxshadow200px {
  box-shadow: none !important;
}

#container {
  padding-bottom: 40px;
}
@media (max-width: 768px) {
  #container {
    padding-bottom: 20px;
  }
}