@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Montserrat", sans-serif;
}

body {
    background-color: #f4f4f9;
    color: #333;
    line-height: 1.6;
}


nav {
    background: #2286B8;
    height: 80px;
    width: 100%;
    z-index: 1000;
}

label.logo img {
    vertical-align: middle;
    height: 50px;
    width: auto;
    margin: 15px;
}

nav ul {
    float: right;
    margin-right: 20px;
}

nav ul li {
    display: inline-block;
    line-height: 80px;
    margin: 0 10px;
}

nav ul li a {
    color: white;
    font-size: 16px;
    text-transform: uppercase;
    text-decoration: none;
    padding: 7px 10px;
    border-radius: 5px;
    transition: background 0.3s;
}

nav ul li a:hover {
    background: #18638A;
}

.checkbtn {
    font-size: 22px;
    color: white;
    float: right;
    line-height: 80px;
    margin-right: 30px;
    cursor: pointer;
    display: none;
  }
  
  #check {
    display: none;
  }


  .culture-content {
    padding: 40px 20px;
    background: #fff;
    text-align: center;
}

.culture-content h1 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 20px;
}

.culture-list {
    margin: 20px auto;
    max-width: 1200px;
    background: #ecf0f1;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: left;
}

.culture-list ul {
    list-style: disc;
    padding: 10px 20px;
}

.culture-list li {
    font-size: 1.2rem;
    margin: 10px 0;
}

.image-gallery {
    padding: 40px 20px;
    background-color: #f9f9f9;
    text-align: center;
}

.image-gallery h2 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 20px;
}

.image-container {
    display: flex;
    justify-content: center; /* Center the images */
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    gap: 20px; /* Add spacing between images */
}

.gallery-image {
    width: 30%; /* Set each image to occupy 30% of the container */
    max-width: 300px; /* Limit max image width */
    height: auto; /* Maintain aspect ratio */
    border-radius: 10px; /* Rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Add shadow effect */
    transition: transform 0.3s ease;
}

.gallery-image:hover {
    transform: scale(1.05); 
}


@media (max-width: 1024px) {
    .gallery-image {
        width: 45%; 
    }
}

@media (max-width: 768px) {
    .gallery-image {
        width: 90%; 
    }
}



@media (max-width: 768px) {
    .causes-content h1 {
        font-size: 2rem;
    }

    .causes-list li {
        font-size: 1rem;
    }
}


@media (max-width: 890px) {
    .checkbtn {
      display: block;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }
    .card-container {
        flex-direction: column;
        align-items: center;
    }
    label.logo {
      font-size: 22px;
    }
    nav {
      width: 100vw;
    }
    nav ul {
      position: fixed;
      width: 100%;
      height: 100vh;
      background: #2c3e50;
      top: 80px;
      left: -100%;
      text-align: center;
      transition: all .5s;
      z-index: 10000;
    }
  
    nav ul li {
      display: block;
      margin: 50px 0;
      line-height: 30px;
    }
  
    nav ul li a {
      font-size: 20px;
    }
  
  
  
    #check:checked~ul {
      left: 0;
    }
  }
