body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f6f6e8;
  color: #4f5e53;
}

#lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

#lightbox.visible {
  display: flex;
}


/* Shared button styles */
button, #lightbox button {
  border: none;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  border-radius: 20px;
  transition: background-color 0.3s;
}

/* Global button styles */
button {
  padding: 10px 20px;
  font-size: 1rem;
  color: #f6f6e8;
  background-color: #778678;
  max-width: 200px; /* Example max-width */
  width: auto; /* Adjust based on content up to max-width */
}

/* Lightbox button styles */
#lightbox button {
  padding: 8px 16px;
  font-size: 0.9rem;
  color: #f6f6e8;
  background-color: #505950;
  max-width: 150px; /* Example max-width for lightbox buttons */
  width: auto;
}

/* Prev button */
#prev {
    left: 35px;
}

/* Next button */
#next {
    right: 35px;
}


/* Global button hover */
button:hover {
  background-color: rgba(255, 255, 255, 0.8);
}

/* Lightbox button hover */
#lightbox button:hover {
  background-color: #6b7a75; /* Slightly different hover effect for lightbox buttons */
}


.sidebar {
  position: fixed;
  top: 0;
  bottom: 0;
  width: 200px;
  background-color: #778678;
  color: #f6f6e8;
  padding: 20px;
  transform: translateX(-90%);
  transition: transform 0.3s ease-in-out;
  z-index: 3;
}

.sidebar-indicator {
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%) translateX(-50%);
  cursor: pointer;
  font-size: 24px;
  width: 40px;
  height: 40px;
  background-color: #f6f6e8;
  color: #778678;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  border: 2px solid #778678;
  box-shadow: 0 0 8px rgba(0,0,0,0.2);
  transition: transform 0.5s ease-in-out;
}

.sidebar-indicator.open {
  transform: translateY(-50%) translateX(-50%) rotate(-180deg);
}

.sidebar-indicator::after {
  content: '>';
  position: relative;
  left: 2px;
  top: -4px;
}

.sidebar-indicator:hover {
  background-color: #778678;
  color: #f6f6e8;
}

.sidebar ul {
  list-style: none;
  padding: 0;
}

.sidebar ul li a {
  color: #f6f6e8;
  text-decoration: none;
  display: block;
  padding: 10px;
  border-radius: 5px;
  transition: background-color 0.3s ease-in-out;
}

.sidebar ul li a:hover {
  background-color: #b5cbba;
}

.content {
  margin-left: 20px;
  padding: 20px;
}

.card {
  background-color: #aeb89d;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 8px;
}

.image-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}

.image-wrap {
  width: 24%;
  margin: 0.5%;
  height: 200px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Base style for .image-checkbox */
.image-checkbox {
  width: 32px; /* Default size */
  height: 32px; /* Adjust base size as needed */
  position: absolute;
  top: 7px;
  left: 7px;
  visibility: hidden;
  z-index: 2;
}

.no-scroll {
  overflow: hidden;
  height: 100%;
}

/* Responsive Styles */
@media (max-width: 1200px) {
  .image-checkbox {
    width: 24px;
    height: 24px;
  }
  
  button {
    padding: 8px 16px; /* Smaller padding */
    font-size: 0.9rem; /* Slightly smaller font size */
    max-width: 150px;
  }
  

}

@media (max-width: 600px) {


  .image-wrap {
    width: 48%; /* Adjust for smaller screens */
  }

  .image-checkbox {
    width: 16px;
    height: 16px;
  }
  
  button {
    padding: 6px 12px;
    font-size: 0.8rem;
    max-width: 100px;
  }
  

}