.gallery-container
{
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(0px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: flex;
  align-items: center; /* vertical centering */
  justify-content: center; /* optional: horizontal */
  animation: showContainer 0.6s cubic-bezier(0.075, 0.82, 0.165, 1) forwards;
}

@keyframes showPhoto {
  from {    transform: scale(1%);}
  to {transform: scale(100%);}
}
@keyframes showContainer {
  from {    background-color: rgba(0, 0, 0, 0);}
  to {background-color: rgba(0, 0, 0, 0.6);}
}
.gallery-container img{
    height: 80%;
    border-radius: 6px;
    animation: showPhoto 0.6s cubic-bezier(0.075, 0.82, 0.165, 1) forwards;
}