.grid-modal{
    z-index:3;
    display:none;    
    position:fixed;
    left:0;top:0;
    width:100%;height:100%;
    overflow:auto;
}

.seite-grid-modal {
    display:grid;
    grid-template-columns: 1fr;
    grid-template-rows: 5% 85% auto;
    height: 98%;
    text-align: center;  
    gap: 8px;   
}

.seite-grid-modal img {
object-fit: contain;
max-width:100%;
max-height:100%;
height:auto; 
}

.modal-text {
    
   
    
    font-size: calc(20px );
    line-height: 23px;
    letter-spacing: 0.25em;
   padding-left: 0px;
    font-weight: normal;
   
    margin:inherit;padding: 10px;z-index:99;color:#171717;


}
   
@media screen and (max-width: 660px) {
    .seite-grid-modal {     
        grid-template-rows: 15% 75% auto;       
        
    }   
}

/* grid für modal01 */
.gallery-lightbox-controls {
    position: absolute;
    display: flex;
    justify-content: space-between;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    box-sizing: border-box
}

.gallery-lightbox-control {
    display: flex;
    flex-grow: 1;
    flex-shrink: 0;
    align-items: center;
    justify-content: flex-start;
    z-index: 2;
    pointer-events: auto;
}

.btn-weiter {    
    cursor: url(../Pictures/arrowrightblack.svg),auto;
}

.btn-zurueck {
    cursor: url(../Pictures/arrowleftblack.svg),auto; 
}

/* -TESTEN FÜR ANIMATON------------------------------------------------------------------------------------------ */

@-webkit-keyframes fade-in {
    0% {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

@keyframes fade-in {
    0% {
        opacity: 0
    }

    to {
        opacity: 1;
       
    }
}

.fade-in {
    -webkit-animation-name: fade-in;
    animation-name: fade-in;
	transition: opacity 400ms cubic-bezier(.2,.6,.3,1);
    animation-duration: 400ms;
    animation-fill-mode: both;
  
}

.modal-opacity {
    background-color: rgba(255, 255, 255, 0.95);
    
}
/* scgiebt  transform: translatex(10%);