body {
  margin: 0;
  padding: 0;
  background-image: radial-gradient(circle, #cfc9aa 1px, transparent 1px);
  background-size: 40px 40px;
  user-select: none;
  font-family: Arial, sans-serif;
  background-color: #f8f6eb;
  min-height: 100vh;
  margin-bottom: -20px;
  background-position: 0px 0px;
  transition: background-position 0.1s ease;
  overflow: hidden;
}
h1 {
  margin-top: 4vh;
  text-align: center;
}
h2 {
  text-align: center;
  margin: 5vh 20%;
  font-size: 20px;
}
.gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 20px;
}
.photo {
  margin: 10px;
  text-align: center;
}
.photo img {
  max-width: 300px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.menu {
  font-size: 18px;
  color: #b35a1f;
  display: flex; /* Keep it as flex to align items */
  align-items: center; /* Center items vertically */
  position: fixed; /* Make the menu fixed to the viewport */
  top: 0; /* Position it at the top */
  left: 0; /* Position it at the left */
  background-color: #fff; /* Background color for the menu */
  z-index: 10; /* Ensure the menu is above other content */
  padding: 10px; /* Add some padding */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Optional shadow for depth */
  margin-bottom: 15px; /* Add margin to create space below the menu */
  z-index: 1100;
}
.menu-icon {
  display: flex;
  flex-direction: column; /* Stack the bars vertically */
}
.menu-text {
  margin-left: 10px;
}
.bar {
  width: 25px; /* Width for hamburger icon */
  height: 3px; /* Height for the hamburger icon */
  background-color: #b35a1f;
  margin: 2px 0; /* Space between lines */
  transition: all 0.3s ease; /* Smooth transition for hover effects */
}
.dropdown {
  display: none; /* Hide the dropdown by default */
  position: fixed;
  top: 42px; /* Position it below the menu */
  left: 0; /* Start from the left */
  width: 250px; /* Set the width of the sliding menu */
  background-color: white; /* Background color for dropdown */
  box-shadow: 2px 0 5px rgba(0, 0, 0, 0.2); /* Optional shadow */
  z-index: 999; /* Make sure it appears above other content */
}
.dropdown.show {
  z-index: 999;
  display: block; /* Show the dropdown when the class 'show' is added */
}
.dropdown .ul {
  list-style-type: none; /* Remove bullet points */
  padding: 0; /* Remove padding */
  margin: 0 auto; /* Remove margin */
  display: inline-block;
  width: 100%;
  z-index: 999;
}
.dropdown .li {
  padding: 15px; /* Add padding for each item */
  cursor: pointer; /* Change cursor to pointer on hover */
  text-align: center;
}
.dropdown .li:hover {
  background-color: #f0f0f0; /* Change background on hover */
}
.dropdown .a .li {
  text-decoration: none;
  color: #3d3d3d;
}
/* Footer 
footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  max-height: 12vh;
  background-color: #c48856;
  color: #fff;
  padding: 20px;
  text-align: center;
  clear: both;
  z-index: 1000;
  box-shadow: 2px 6px 10px #24221d, -4px -6px 10px #a3987f;
}

.footer-container {
  max-width: 1200px;
  max-height: 12vh;
  height: auto;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-left {
  flex: 1;
}
.footer-right {
  flex: 1;
}
.footer-right h3 {
  margin-bottom: 1vh;
  margin-right: 10vh;
  margin-top: -0.14vh;
}
.footer-left h3 {
  margin-top: -1vh;
  padding-bottom: 1vh;
}
.footer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr); 
  gap: 10px; 
}
*/
.footer-menu li {
  margin-bottom: 5px;
}
.footer-menu a {
  color: #fff;
  text-decoration: none;
}
.footer-menu a:hover {
  color: #ccc;
}
.gallery {
  margin: 0;
}
ul {
  display: flex;
  width: calc(80% - 2rem);
  padding: 0;
  margin: 0;
  list-style-type: none;
}
li {
  padding: 0;
}
img {
  max-width: 100%;
  width: 100%;
  object-fit: cover;
  transition: all 0.2s ease;
}
ul li:nth-child(4) {
  --active-lerp: var(--lerp-0);
  z-index: 7;
}
:root {
  --lerp-0: 1;
  --lerp-1: 0.5787037;
  --lerp-2: 0.2962963;
  --lerp-3: 0.125;
  --lerp-4: 0.037037;
  --lerp-5: 0.0046296;
  --lerp-6: 0;
}
a {
  outline-offset: 4px;
  text-decoration: none;
}
li {
  flex: calc(0.1 + (var(--active-lerp, 0) * 1));
  transition: flex 0.2s ease;
}
li:is(:hover, :focus-within) {
  --active-lerp: var(--lerp-0);
  z-index: 7;
}
li:has(+ li:is(:hover, :focus-within)),
li:is(:hover, :focus-within) + li {
  --active-lerp: var(--lerp-1);
  z-index: 6;
}
li:has(+ li + li:is(:hover, :focus-within)),
li:is(:hover, :focus-within) + li + li {
  --active-lerp: var(--lerp-2);
  z-index: 5;
}
li:has(+ li + li + li:is(:hover, :focus-within)),
li:is(:hover, :focus-within) + li + li + li {
  --active-lerp: var(--lerp-2);
  z-index: 5;
}
li:has(+ li + li + li + li:is(:hover, :focus-within)),
li:is(:hover, :focus-within) + li + li + li + li {
  --active-lerp: var(--lerp-2);
}
/* Existing CSS */

/* Responsive adjustments for small screens */
@media (max-width: 768px) {
  .gallery {
    display: flex;
    flex-direction: column; /* Stack items vertically */
    align-items: center; /* Center the items horizontally */
    padding: 10px;
  }

  .gallery .photo {
    width: 100%; /* Ensure the photo container takes up full width */
    margin-bottom: 15px; /* Add space between photos */
  }

  .photo img {
    width: 90%; /* Make images smaller for small screens */
    max-width: 400px; /* Optional max width for larger images */
    height: auto; /* Maintain aspect ratio */
    border-radius: 10px;
  }

  h1 {
    font-size: 24px; /* Reduce font size for the header */
  }

  h2 {
    font-size: 16px; /* Make text smaller */
    margin: 5vh 10%; /* Reduce margins for better fit */
    text-align: center;
  }
}
