#sec2{
  position: relative;
  z-index: 1;
  width: 100%;

  
}

.gallery{

  overflow: hidden;
  border-radius: 20px;

  box-shadow: 0 0 4px inset black;

  margin: 0 3vh 4vh 3vh;
  padding: 2vh;

  display: flex;
  flex-wrap: wrap;

  gap: 1vw;
}

.gallery img{
  
  flex: 1;

  /* width: 30%; */

  max-width: 30vw;
  max-height: 30vh;
  object-fit: cover;

  transition: transform 0.2s linear;
}

.gallery img:hover{
  transform: scale(1.02);
}

.popup{

  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;

  background-color: rgba(89, 89, 89, 0.8);

  z-index: 100;

  display: none;
  
}

.popup span{
  position: absolute;
  
  top: 5vh;
  right: 5vw;

  font-weight: bold;
  font-size: 6vh;

  color: white;

}

#selectedImage{
  
  position: absolute;

  top: 50%;
  left: 50%;

  transform: translate(-50%, -50%);
  
  max-width: 80%;
  max-height: 90%;

  object-fit: cover;
  border: 4px solid rgb(255, 255, 255);
  border-radius: 20px;
}