* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background-color: #f5f5f5;
}

.navbar {
    height: 100px;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  padding: 1rem 2rem;
  background-color: #c8a7c4;
}

.logo-image {
  height: 100px;
}

nav a {
  margin: 0 1rem;
  text-decoration: none;
  color: #000;
  font-weight: bold;
}

.hero-banner {
  background-color: #e0e0e0;
  padding: 10rem;
  text-align: center;
  background-image: url("/assets/img/banner-image-1.webp");
  object-fit: cover;
  background-repeat: no-repeat;
  background-size: cover; /* Ensures the image covers the entire div */
  background-position: center; /* Centers the image */
}

.resources-heading {
  padding: 0.5rem;
  width: 80%;
  max-width: 400px;
  border: 1px solid #ddd;
  border-radius: 8px;
  opacity: 0.5;
}

.resources-heading h2 {
  font-size: 50px;
  color: snow;
}

/* Resources Section */
.resources-section {
  padding: 2rem;
  background-color: #f5f5f5;
  margin: 0 100px 100px 100px;
}

.resources-section h2 {
  font-size: 2rem;
  text-align: center;
  color: #333;
  margin-bottom: 1.5rem;
}

/* Grid Layout for Resources Cards */
.resources-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.articles-section,
.media-section {
  background-color: #fff;
  padding: 2rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  color: #555;
  text-align: center;
}

.articles-section h2,
.media-section h2 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
  color: #333;
}

@media (max-width: 1024px) {
  .resources-heading h2 {
    font-size: 40px;
  }
}


@media (max-width: 600px){
  .resources-heading{
    min-width: 300px;
  }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: center;
  }

  .navbar a {
    display: none;
    padding: 10px 0;
    font-size: 1.2rem;
  }

  .resources-cards {
    grid-template-columns: 1fr;
  }

  .logo {
    margin: 0 auto 15px;
    display: block;
  }

  .resources-heading h2 {
    font-size: 30px;
  }
}
