body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
}

.folders-container {
  white-space: nowrap;
}

.folders {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    grid-gap: 10px;
}

.navigation {
    font-size: 1.2rem;
    padding: 10px 0;
}

.navigation a {
    text-decoration: underline;
    color: inherit;
}


.album {
  display: inline-block;
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
}

.image img,
.album img,
.subalbum img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.album .image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 5px; /* Padding for the text inside the overlay */
    background-color: rgba(0, 0, 0, 0.5); /* This adds a semi-transparent black overlay */
    display: flex;
    align-items: center;
    justify-content: center;
}


.album .image-overlay h2 {
    color: white;
    font-size: 0.8rem; /* Adjust this to make the title size smaller or larger */
    text-align: center;
    margin: 0;
    padding: 10px;
}

.modal {
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
background-color: rgba(0, 0, 0, 1); 
}

.modal-content {
  background-color: #fff;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 500px;
  text-align: center;
}

#acceptBtn {
  background-color: #4CAF50;
  color: white;
  padding: 10px 20px;
  margin: 20px 0;
  border: none;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
}




.album h2 {
  text-align: center;
}

.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.8);
}

.lightbox.hidden {
  display: none;
}

.lightbox-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.lightbox-img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
}

.lightbox-prev,
.lightbox-next,
.lightbox-close {
  position: fixed;
  font-size: 2rem;
  color: white;
  background: transparent;
  border: none;
  cursor: pointer;
}

.lightbox-prev {
  top: 50%;
  left: 1rem;
  transform: translateY(-50%);
}

.lightbox-next {
  top: 50%;
  right: 1rem;
  transform: translateY(-50%);
}

.lightbox-close {
  top: 1rem;
  right: 1rem;
}

.lightbox-prev:focus,
.lightbox-next:focus,
.lightbox-close:focus {
  outline: none;
}