/* The Modal (background) */

.modal {

  display: none;

  /* Hidden by default */

  position: fixed;

  /* Stay in place */

  z-index: 9999;

  /* Sit on top */

  left: 0;

  top: 0;

  width: 100%;

  /* Full width */

  height: 100%;

  /* Full height */

  overflow: auto;

  /* Enable scroll if needed */

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

  /* Black w/ opacity */

}



/* Modal Content */

.modal-content {

  position: relative;

  margin: auto;

  display: block;

  max-width: 60%;

  /* Adjust max-width as needed */

}



/* The Close Button */

.close {

  color: #fff;

  position: absolute;

  top: 15px;

  right: 35px;

  font-size: 30px;

  font-weight: bold;

}



.close:hover,

.close:focus {

  color: #999;

  text-decoration: none;

  cursor: pointer;

}



/* Add Animation */

.modal-content {

  animation: zoom 0.6s;

}



@keyframes zoom {

  from {

    transform: scale(0);

  }



  to {

    transform: scale(1);

  }

}



/* Add more styling as needed */
.photo img{
  object-fit: cover;
  width: 160px;
  height: 160px;
}