* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  background-color: #ffffff;
  color: #000;
  font-family: Atkinson-Hyperlegible, Arial, sans-serif;
}
p {
    margin: 20px 40px;
}
@font-face {
  font-family: Atkinson-Hyperlegible;
  src: url(fonts/Atkinson-Hyperlegible-Regular-102a.woff2);
  font-weight: 400;
}
@font-face {
  font-family: Atkinson-Hyperlegible;
  src: url(fonts/Atkinson-Hyperlegible-Bold-102a.woff2);
  font-weight: 700;
}
header {
  background-color: #446336; /* Dark background color */
  color: white; /* White text */
  padding: 20px 40px; /* Adjusted padding for spacing */
  display: flex; /* Flexbox layout */
  justify-content: space-between; /* Space between logo and nav */
  align-items: center; /* Center-align vertically */
}

/* Logo style */
header .logo h1 {
  font-family: Atkinson-Hyperlegible, Arial, sans-serif; /* Use your custom font */
  font-size: 30px; /* Adjusted font size for the header */
  font-weight: 700; /* Bold weight for the logo */
}

/* Style for the navigation bar */
nav ul {
  list-style: none; /* Remove default list styling */
  display: flex; /* Display the list items in a row */
}

/* Style for each navigation link */
nav ul li {
  margin-left: 20px; /* Space between links */
}

nav ul li a {
  text-decoration: none; /* Remove underline from links */
  color: white; /* White text color */
  font-family: Atkinson-Hyperlegible, Arial, sans-serif; /* Custom font for links */
  font-size: 18px; /* Font size for links */
  font-weight: 400; /* Regular font weight for links */
  padding: 8px 15px;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

/* Hover effect for links */
nav ul li a:hover {
  background-color: #555; /* Darker background on hover */
}

/* Responsive Design */
@media (max-width: 768px) {
  header {
    flex-direction: column; /* Stack the logo and nav vertically on smaller screens */
    text-align: center;
  }

  nav ul {
    flex-direction: column; /* Stack the links vertically */
    margin-top: 10px;
  }

  nav ul li {
    margin: 10px 0; /* Space between vertical nav items */
  }
}
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 equal columns */
  gap: 20px; /* Space between items */
  padding: 20px;
  justify-items: center; /* Center the items in each grid cell */
}

/* Individual Gallery Item */
.gallery-item {
  position: relative;
  overflow: hidden;
  border: 4px solid #446336;
  margin-bottom: 20px;
}

/* Image Container for Text Overlay */
.image-container {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

/* Image Style */
.gallery-item img {
  width: 100%;
  height: 300px; /* Fixed height to ensure images are consistent */
  object-fit: cover; /* Ensure the image covers the entire area */
}

/* Text Style (on top of the image) */
.gallery-item h3 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* Center text */
  color: white;
  font-size: 24px;
  font-weight: bold;
  background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
  padding: 10px;
  margin: 0;
  width: 100%;
  text-align: center;
}

/* Hover Effect */
.gallery-item:hover {
  transform: scale(1.05); /* Slightly zoom the item on hover */
}

.gallery-item:hover img {
  opacity: 0.7; /* Slight fade on image when hovering */
}

/* Responsive Layout for Small Screens */
@media (max-width: 768px) {
  .gallery {
    grid-template-columns: repeat(2, 1fr); /* 2 columns on medium screens */
  }
}

@media (max-width: 480px) {
  .gallery {
    grid-template-columns: 1fr; /* 1 column on small screens */
  }
}
