@charset "UTF-8";
/* CSS Document */


    .thumbnail {
    
      cursor: pointer;
      transition: opacity 0.3s ease;
    }

    .thumbnail:hover {
      opacity:0.8;
    }

    /* Modal Overlay */
    .modal {
      display: none;
      position: fixed;
      z-index: 1001;
      top: 0;
      left: 0;
      width: 100vw;
      height: 100vh;
      background-color: rgba(0, 0, 0, 0.85);
      justify-content: center;
      align-items: center;
      padding: 0;
    }

    .modal-content {
      height:inherit;a
		width: auto;
	max-width: 90vw;
      max-height: 90vh;
      object-fit: contain;
     
		display: block;
  		margin: 0 auto; /* Fallback-Zentrierung */
    }

   .close {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  cursor: pointer;
  z-index: 1001;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.close-icon {
  stroke: white;
  transition: stroke 0.4s ease; /* sanfte Farbänderung */
}

.close:hover .close-icon {
  stroke: grey;
}

@media (max-width: 600px) {
  
	modal-content {
	max-width: 100vw;
      max-height: 100vh;
	}
	.close {
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
  }

  .close-icon {
    width: 24px;
    height: 24px;
  }
}
      