.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.6);
  justify-content: center;
  align-items:flex-start;
  animation: fadeIn 0.3s ease-in-out; /* Add animation */
  overflow: scroll;
  z-index: 2000;
  backdrop-filter: blur(10px);
  cursor: zoom-out;
}

.lightbox-image {
  max-width: 100%;
  height: auto;
  margin: auto 0;
  background-color: white;
  pointer-events: none;
  padding: 10px;
}

.close {
  position: fixed;
  top: 20px;
  right: 50%;
  color: white;
  font-size: 8em;
  cursor: pointer;
  border-radius: 20px;
  font-weight: 300;
  transform: translate(50%, 0);
  background-color: orange;
  line-height: 0.6em;
  text-align: center;
  padding: 0 12px 15px 10px;
}

.close:hover {
  color: black;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@media only screen and (min-width: 1200px){
  .lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items:flex-start;
    animation: fadeIn 0.3s ease-in-out; /* Add animation */
    overflow: scroll;
    z-index: 2000;
    padding: 80px;
    backdrop-filter: blur(10px);
    cursor: zoom-out;
  }
  
  .lightbox-image {
    padding: 10px;
    border-radius: 10px;
  }

  .close {
    top: 30px;
    right: 60px;
    color: white;
    font-size: 8em;
    cursor: pointer;
    line-height: auto;
    border-radius: 20px;
    font-weight: 300;
    background: none;
  }

  .close:hover {
    color: orange;
  }

  
}