/* General styles */
body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  background-image: url('header.png'); /* Replace with the URL of your image */
  background-size: 100% 100%; /* Stretch the background image to cover the entire header area */
  background-position: center; /* Center the background image */
  background-repeat: no-repeat; /* Prevent background image from repeating */
}

.parallax {
  min-height: 400px; /* Adjust the height of the parallax image section */
  background-image: url('placeholder.png'); /* Replace with the URL of your parallax image */
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

nav {
  background-color: #f8f9fa; /* Light background color */
}

nav ul {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0; /* Add this to remove default margin */
}

nav ul li a {
  color: #333; /* Darker text color */
  text-decoration: none;
  padding: 0.5rem 1rem;
}

nav ul li a:hover {
  color: #1e90ff; /* Change the color on hover */
}

/* Responsive navigation menu */
#navButton {
  display: none;
}

/* Add this media query to adjust header background size on smaller screens */
@media screen and (max-width: 1024px) {
  .header {
    background-size: auto 100%; /* Adjust background size */
  }
}

@media screen and (max-width: 768px) {
  .header nav ul {
    display: none;
  }

  .header nav ul.show {
    display: flex;
    flex-direction: column;
  }

  .header #navButton {
    display: inline-block;
    background-color: #1e90ff; /* Change background color */
    border: 1px solid #1e90ff;
    color: white; /* Change text color to white */
    padding: 0.5rem 1rem;
    font-size: 16px;
    cursor: pointer;
  }

  .header #navButton:hover {
    background-color: #1e6dbf; /* Change background color on hover */
  }

  .container {
    padding: 0 0.5rem; /* Adjust container padding on smaller screens */
  }
}

/* Main content */
.main {
  padding: 2rem 0;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 1.5rem;
}

/* Footer */
.footer {
  background-color: #f8f9fa;
  padding: 1rem;
  text-align: center;
}

/* Ensure the navigation menu is visible on larger screens */
@media screen and (min-width: 769px) {
  .header nav ul {
    display: flex;
  }
}
