/* Reset CSS */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  background: url('assets/leaves.webp') no-repeat center center fixed;
  background-size: cover;
  padding: 20px;
  color: #333;
  position: relative;
}

/* Add overlay for better text visibility */
body::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4); /* Dark overlay */
  z-index: -1;
}

header {
  background-color: rgba(108, 122, 137, 0.8);
  color: #fff;
  padding: 20px;
  text-align: center;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

header h1 {
  margin-bottom: 10px;
  font-size: 2.5em;
}

nav ul {
  list-style: none;
  padding: 0;
}

nav ul li {
  display: inline;
  margin-right: 20px;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease, background-color 0.3s ease;
}

nav ul li a:hover {
  color: #FFD700;
  background-color: rgba(108, 122, 137, 0.6);
  padding: 5px;
  border-radius: 5px;
}

section {
  background-color: rgba(209, 232, 226, 0.8);
  margin-bottom: 20px;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

section h2 {
  margin-bottom: 10px;
  font-size: 2em;
  color: #333;
}

footer {
  background-color: rgba(108, 122, 137, 0.8);
  color: #fff;
  text-align: center;
  padding: 10px 0;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

img {
  display: block;
  margin: 20px auto;
  border-radius: 50%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

blockquote {
  font-style: italic;
  color: #555;
  border-left: 5px solid rgba(108, 122, 137, 0.8);
  padding-left: 10px;
  margin: 20px 0;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  header h1 {
      font-size: 2rem;
  }

  nav ul li {
      display: block;
      margin-right: 0;
      margin-bottom: 10px;
  }

  section {
      padding: 15px;
  }

  blockquote {
      font-size: 1rem;
  }
}
