/* Styling for gallery */
.gallery-container {
  display: flex;
  flex-wrap: wrap;
}

.album {
  margin: 20px;
}

.album-section {
  margin: 20px;
  padding: 20px;
  background-color: rgb(25, 25, 25);
  box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.2);
  box-sizing: border-box;
}

.album-images {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px;
}

.image-wrapper {
  width: 300px;
  height: 300px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.album-images img {
  height: 100%;
  cursor: pointer;
  transition: all ease-in-out 0.2s;
  display: block;
}

.album-images img:hover {
  transform: scale(1.05);
}

.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(25, 25, 25, 0.8);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.popup img {
  height: 80%;
  max-height: 800px;
}

.popup-controls {
  margin: 10px;
  height: 50px;
  width: 50px;
  font-size: 16pt;
  border-radius: 0px;
  border: 10px solid rgb(21, 63, 50);
  background-color: rgb(21, 63, 50);
  box-shadow: 0px 0px 15px rgba(21, 63, 50, 0.5);
  color: white;
  box-sizing: border-box;
  transition: all ease-in-out 0.2s;
}

.popup-controls:hover {
  border: 5px solid rgb(21, 63, 50);
  background-color: white;
  box-shadow: 0px 0px 15px rgba(21, 63, 50, 0.9);
  color: rgb(21, 63, 50);
}

@media screen and (max-width: 1023px) {
  .image-wrapper {
    width: 150px;
    height: 150px;
    overflow: hidden;
    border: 10px solid white;
  }
}
