/* General body styling */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f9f9f9;
  color: #4c6b23;
  margin: 0 auto;
  padding: 20px;
  justify-content: center;
  align-items: center;
}

nav {
  position: sticky;
  top: 0;
  background-color: #182b0aff;
  display: flex;
  align-items: center;
  padding: 10px 20px;
  gap: 20px;
  margin-bottom: 20px;
  margin-top: 20px;
  justify-content: left;
 
    }

nav a, .dropbtn {
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      color: white;
      font-weight: bold;
      text-decoration: none;
      background: none;
      border: none;
      cursor: pointer;
      font-size: 16px;
    }

    .dropdown {
      position: relative;
      display: inline-block;
    }

    .dropdown-content {
      display: none;
      position: absolute;
      top: 100%;     /* Places it directly below the button */
      left: 0;       /* Aligns it with the left edge of the button */
      background-color: #253012;
      min-width: 160px;
      z-index: 1;
      border-radius: 4px;
      box-shadow: 0px 4px 8px rgba(0,0,0,0.2);
      align-items: center;
    }

    .dropdown-content a {
      display: block;
      padding: 10px;
      color: white;
      text-decoration: none;
    }

    .dropdown-content a:hover {
      background-color: #3b4a21;
    }

 footer {
      background: #182b0aff;
      font-family: 'Courier New', Courier, monospace;
      color: white;
      text-align: left;
      padding: 15px;
      margin-top: 40px auto;
    }
footer p {
  margin: 10px auto;;
  font-size: 1.1em;
}

.social-icon {
  width: 30px;
  height: 30px;
  margin: 10px auto;
  vertical-align: center;
  transition: transform 0.3s ease;
}

.article-image {
  width: 100%;
  max-width: 600px;
  height: 400px;
  display: block;
  margin: 20px auto;
  border-radius: 8px;
}

/* Headings */
h1 {
  color: #213320;
  font-family: 'Merriweather', serif;
  font-weight: bold;
  font-size: 55px;
  text-align: center;
  text-decoration: underline;
  margin: 10px auto;
}

/* Paragraphs */
p {
  font-size: 30px;
  text-align: left;
  justify-content: center;
  margin: 10px auto;
}

.p2{
  font-family: 'Merriweather', serif;
  font-weight: 200;
  font-size: 38px;
  text-align: center;
  margin: 20px auto;
}

.p1{
  justify-content: center;
  align-items: center;
  background-color: #f1ffc9;
  margin: 10px auto; /* This centers the box horizontally */
  width: 1000px;
  padding: 5px; /* Optional for spacing inside */
  border-radius: 8px; /* Optional for rounded corners */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Optional for visual depth */
  width: 90%;
  max-width: 700px;
}
