/* General styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

header {
    background-color: transparent;
    color: #000;
    padding: 5px 0;
}

.container0{
    width: 80%;
    height: 80px;
    margin: auto;
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Staatliches', Arial, sans-serif; /* Apply the Staatliches font */
}

.logo {
    
    padding: 5px;
 
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
   
    height: 50%;
  
    display: flex;
    align-items: center;
}

.logo .elephant {
    width: 55px;
    height: auto;
    margin-left: 5px;
}
.small-text {
    font-size: 20px; /* Change the size as needed */
    padding: 5px;
  }
nav {
    margin-left: auto;
}

nav ul.desktop-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

nav ul.desktop-menu li {
    margin-left: 55px;
}

nav ul.desktop-menu li a {
    color: #000;
    text-decoration: none;
    padding: 5px 10px;
}

.mobile-menu-toggle {
    display: flex; /* Display flex to arrange bars horizontally */
    background-color: transparent;
  
    cursor: pointer;
    padding: 10px; /* Adjust padding as needed */
    position: absolute;
    right: -20px; /* Adjust the right position */
    top: 50%; /* Center vertically */
    transform: translateY(-50%); /* Adjust for vertical centering */
}

.mobile-menu-toggle .bar {
    display: none; /* Inline-block to keep elements in a line */
    width: 25px; /* Width of each bar */
    height: 3px; /* Height of each bar */
    background-color: #000; /* Color of each bar */
    margin-right: 5px; /* Spacing between bars */
}

.mobile-menu-toggle .bar:last-child {
    margin-right: 0; /* Remove margin from the last bar */
}




.mobile-menu {
    display: none; /* Hide the mobile menu initially */
    list-style: none;
    margin: 0;
    padding: 10px 0;
    background-color: #f4f4f4;
    position: absolute;
    top: 60px; /* Adjust as needed */
    right: 0;
    width: 200px;
 
    z-index: 10; /* Ensure the menu appears above other content */
}

.mobile-menu li {
    text-align: center;
    margin-bottom: 10px;
}

.mobile-menu li a {
    color: #000;
    text-decoration: none;
    padding: 5px 10px;
    display: block;
}

.info-box.end{

    display: none;
}

/* Media query for mobile */
@media screen and (max-width: 480px) {
    .desktop-menu {
        display: block; /* Hide the desktop menu on small screens */
        opacity: 0;
    }
    
    .container0 {
        display: flex; /* Use flexbox for better alignment control */
        justify-content: flex-start; /* Adjust alignment for smaller screens */
        width: 100%; /* Ensure container uses full width of the screen */
        padding: 0 10px; /* Add some padding to prevent overflow */
    }
    
    .mobile-menu-toggle {
        display: flex; /* Show the mobile menu toggle button on small screens */
        justify-content: center;
        align-items: center;
        background: #ccc;
        height: 35px; /* Maintain button size for better usability */
        width: 35px; /* Ensure toggle size is fixed */
        cursor: pointer;
        position: relative;
        z-index: 100; /* Ensure the toggle button is above other content */
    }
    
    .mobile-menu-toggle .bar {
        display: inline-block; /* Inline-block to keep elements in a line */
        width: 25px; /* Width of each bar */
        height: 15px; /* Height of each bar */
        background-color: #000; /* Color of each bar */
        margin-right: 5px; /* Spacing between bars */
    }
    
    .mobile-menu {
        display: none; /* Hide the mobile menu on small screens initially */
        position: absolute;
        top: 60px; /* Adjust as needed */
        right: 10px; /* Make sure it's within the viewport */
        width: 100%; /* Set width to 100% to avoid overflow */
        max-width: 200px; /* Limit max width */
        background-color: #f4f4f4;
        z-index: 10; /* Ensure the menu appears above other content */
        transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out; /* Smooth transition for visibility */
        opacity: 0;
        transform: translateY(-10px); /* Start slightly above to slide down */
    }
    
    .mobile-menu.active {
        display: block; /* Show the mobile menu when active */
        opacity: 1;
        transform: translateY(0); /* Slide down to its position */
    }
    
    .mobile-menu li {
        text-align: center;
        margin-bottom: 10px;
    }
    
    .mobile-menu li a {
        display: block;
        padding: 10px;
        color: #000;
        text-decoration: none;
    }

    /* Left box specific styling */
    /*.info-box.left {
    display: none;
    }


    /* Right box specific styling */
    /*.info-box.right {
    display:none;
    }

    /* Left box specific styling */
    /*.info-box.other {
        display: block !important;
    }
    */
    .WazaMap{
        display:none;
    }

    .info-box.right{
        display: none
    }
    
    .info-box.end{

        display: block;
    }

}




































/* Additional CSS */
header h1 {
    margin: 0;
    display: flex;
    align-items: center;
    background-color: #6b8e23; /* Swamp green background */
    padding: 10px; /* Add some padding for spacing */

    font-family: 'Staatliches', Arial, sans-serif; /* Apply the Staatliches font */
}

header h1 .elephant {
    width: 30px;
    height: auto;
    margin: 0 10px;
}

nav ul li a {
    color: #000;
    text-decoration: none;
    padding: 5px 10px;
    position: relative;
}

nav ul li a:hover::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ccc; /* Gray background color */
    z-index: -1; /* Ensure the background appears behind the text */
}


/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body and Font Styles */
body {
    font-family: 'Staatliches', sans-serif;
    line-height: 1.6;
    background-color: #f4f4f4;
    color: #333;
    margin: 0;
    padding: 0;
}

/* Container */
.container {
    width: 85%;
    margin: 0 auto;
    padding: 20px 0;
}

.container img {
    left: 50%;
    width: 85%;
    margin: 0 auto;
   
}

/* Section Styling */
section {
    padding: 40px 0;
    background-color: #ffffff;
    margin-bottom: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Section Titles */
section h3 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #1a2d4d;
}

/* Section Text */
section p {
    font-size: 1.2rem;
    margin-bottom: 20px;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto 30px;
    color: #555;
}

/* Image Styling */
section img {
    width: 100%;
    max-width: 400px;
    margin: 20px 0;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Footer */
footer {
    background-color: #6b8e23;
    color: white;
    padding: 20px 0;
    text-align: center;
}

footer p {
    font-size: 1rem;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .container {
        width: 90%;
    }

    section img {
        width: 100%; /* Make images responsive on mobile */
    }
}


/* General Styling */
body {
    font-family: 'Staatliches', sans-serif;
    margin: 0;
    padding: 0;
}

/* Container for the info boxes and image */
.info-section {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px 0;
    position: relative;
}

/* Styling for the image */
.map-image {
    max-width: 40%;
    height: auto;
    margin: 0 10px;
    border: 2px solid #ccc;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Info box styling */
.info-box {
    width: 25%;
    padding: 15px;
 
    background-color: #f9f9f9;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    font-size: 16px;
    text-align: left;
}



/* Remove the box and adjust size for ElephantNumberCharlie */
.ElephantNumberCharlie {
    border: none; /* Remove any borders */
    box-shadow: none; /* Remove shadows */
    margin: 0; /* Remove external margins */
    padding: 0; /* Remove internal padding */
    max-width: 100%; /* Ensure it scales within the container */
    height: auto; /* Maintain aspect ratio */
    display: block; /* Prevent inline spacing issues */
    top: -1000px;
}

/* Remove the box and adjust size for ElephantNumberCharlie */
.Tusk {
    border: none; /* Remove any borders */
    box-shadow: none; /* Remove shadows */
    margin: 0; /* Remove external margins */
    padding: 0; /* Remove internal padding */
    max-width: 100%; /* Ensure it scales within the container */
    height: auto; /* Maintain aspect ratio */
    display: block; /* Prevent inline spacing issues */
    top: -1000px;
}


/* Remove the box and adjust size for ElephantNumberCharlie */
.TuskMobile {
    border: none; /* Remove any borders */
    box-shadow: none; /* Remove shadows */
    margin: 0; /* Remove external margins */
    padding: 0; /* Remove internal padding */
    max-width: 100%; /* Ensure it scales within the container */
    height: auto; /* Maintain aspect ratio */
    display: block; /* Prevent inline spacing issues */
    top: -1000px;
}



/* Ensure the parent container doesn't override the image styling */
.info-box ul {
    list-style: none; /* Remove bullets */
    padding: 0; /* Remove padding */
    margin: 0; /* Remove margins */
}

/* For better layout control */
.info-box img {
    display: block;
    max-width: 200%; /* Scale it down, adjust as needed */
    height: auto; /* Maintain aspect ratio */
    top: -40px;
}

/* Left box specific styling */
.info-box.left {
    margin-right: 10px;
}


/* Right box specific styling */
.info-box.right {
    margin-left: 10px;
}

/* Right box specific styling */
/*.info-box.other {
    display: none;
}

/* Add responsiveness */
@media (max-width: 768px) {
    .info-section {
        flex-direction: column;
        align-items: flex-start;
    }

    .map-image {
        max-width: 100%;
        margin: 10px 0;
    }

    .info-box {
        width: 100%;
        margin: 10px 0;
    }
}








.resource-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.resource-item {
  position: relative;
  width: 200px; /* adjust as needed */
  height: 150px; /* adjust as needed */
  overflow: hidden;
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.overlay-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white; /* text color */
  font-size: 1.2em;
  font-weight: bold;
  text-shadow: 1px 1px 4px black; /* makes text readable */
  text-align: center;
  pointer-events: none;
}

/* Mobile: 2 per row */
@media screen and (max-width: 768px) {
  .resource-item {
    flex: 1 1 calc(50% - 20px); /* two per row */
  }
}


.resourc2-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px; /* space between items */
  margin-bottom: 50px;

}

.resource2-item {
  flex: 1 1 calc(50% - 20px); /* two per row */
  text-align: center;
}

.resource2-item img {
  width: 100%;
  height: auto;
  display: block;
}


.Sahel {
    display: block;
    width: 100%;       /* make it take full width of the container */
    height: auto;      /* keep the aspect ratio */
    max-width: 100vw;  /* don’t overflow the screen */
    background-color: #6b8e23;
    margin-top: 10px;
}
