/* Body styles */
body {
  font-family: Arial, sans-serif;
  background-color: #ffffff;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Header styles */
header {
  padding: 5px 20px;
  display: flex;
  align-items: center;
  background-color: #ffffff;
}

.about-header {
  background-color: #ffffff;
}

.contact-header {
  background-color: #ffffff;
}

.logo {
  width: 50px;
  height: 50px;
  margin-right: 10px;
}

h1.site-title {
  margin: 0;
  color: #556B2F;
}

/* Navigation styles */
nav {
  display: flex;
  justify-content: center;
  background-color: #556B2F;
  padding: 5px 20px;
}

.menu {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  background-color: #556B2F;
}

.menu li {
  display: inline-block;
}

.menu li a {
  display: block;
  color: white;
  text-align: center;
  padding: 10px;
  text-decoration: none;
}

.dropdown {
  margin-left: auto;
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #556B2F;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown-content a {
  float: none;
  color: #556B2F;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.dropdown-content a:hover {
  color: blue;
}

/* Main styles */
main {
  flex-grow: 1;
  padding: 20px;
}

/* Example CSS selector for the footer */
.footer {
  /* CSS styles for the footer */
}

/* Footer styles */
footer {
  background-color: #556B2F;
  padding: 20px;
  text-align: center;
  margin-top: 40px; /* Add some space above the footer */
}

footer p {
  color: #ffffff;
  margin: 0;
}

/* Boxed layout for sections */
.section {
  margin-bottom: 40px;
  border: 1px solid #556B2F;
  border-radius: 8px;
  padding: 20px;
}

.section-title {
  margin-bottom: 10px;
  position: relative;
  color: #556B2F;
  text-align: left;
}

.section-title::after {
  content: "";
  display: block;
  width: 50px;
  height: 2px;
  background-color: #556B2F;
  position: absolute;
  bottom: -8px;
  left: 0;
}

.section-content h3 {
  margin-bottom: 10px;
  color: #556B2F;
}

.section-content p {
  color: #556B2F;
}

/* Grid layout */
.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* Existing CSS rules */

/* Links inside the dropdown */
.dropdown-content a {
  float: none;
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
  margin: 5px 0;
}

/* Add your updated CSS rules here */

.resized-image {
    width: 225px;
    height: 225px;
    object-fit: cover; /* This makes sure that the image is resized to fit the container while maintaining its aspect ratio */
}

.post-image {
    width: 525px;
    height: 525px;
    object-fit: cover; /* This will ensure that the image covers the entire space, and it will be cropped if it doesn't fit the aspect ratio */
}

/* Pagination styles */
.pagination {
  display: flex;
  justify-content: center;
  margin: 20px 0; /* Add some margin to separate the pagination from the rest of the content */
}

.pagination a {
  margin: 0 5px;
  padding: 5px 10px;
  text-decoration: none;
  border: 1px solid #FFE5B4;
  border-radius: 5px;
  color: #FFE5B4;
  transition: background-color 0.3s ease;
}

.pagination a:hover {
  background-color: #FFE5B4;
  color: #ffffff;
}

.pagination .active {
  background-color: #FFE5B4;
  color: #ffffff;
}

.resized-image {
    width: 100%;
    height: auto;
    object-fit: cover; /* This will ensure that the image covers the entire space, and it will be cropped if it doesn't fit the aspect ratio */
}