.gridContainer{
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    grid-template-rows: repeat(8, minmax(3rem, auto));
    grid-auto-flow: row;
    gap: 20px;
    margin: 10px;
}

.subHeading{
    text-align: center;
}


/*GESCHICHTE*/

.img img{
    object-fit: contain;
    object-position: 50% 0;
    /* oder doch einfach object-fit: cover*/
}

#imgTxtBlock{
    grid-column: 1 / 11;
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    grid-template-rows: repeat(fit-content(100%));
    grid-auto-flow: row;
    gap: 20px;
}

    #imgTxtBlock .txt {
        grid-column: 5 / 10;
    }

    #imgTxtBlock .img {
        grid-column: 2 / 5;
        padding-right: 10%;
    }



#txtImgBlock{
    grid-column: 1 / 11;
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    grid-template-rows: repeat(fit-content(100%));
    grid-auto-flow: row;
    gap: 20px;
}

    #txtImgBlock .txt {
        grid-column: 2 / 7;
    }

    #txtImgBlock .img {
        grid-column: 7 / 10;
        padding-left: 10%;
    }

#imgBlock{
    grid-column: 2 / 10;  
    display: flex;
    flex-direction: column;
}

    #imgBlock .img{
        width: 100%;
        margin-bottom: 1rem;
    }

    #imgBlock .txt{
        width: 100%;
    }

#txtBlock{
    grid-column: 2 / 10;  
    display: flex;
    flex-direction: column;
}

    #imgBlock .txt{
        width: 100%;
    }


.active{
    display: grid !important;
}

.inactive{
    display: none !important;
}


section{
    grid-column: 1/11;
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    grid-template-rows: repeat(10, minmax(3rem, auto));
    grid-auto-flow: row;
    gap: 20px;
}

.quoteContainer {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;
  }

  .quoteClass {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 1s ease-in-out;
    width: 100%;
  }



.preloader-div{
    display: flex;
    height: 100vh;
    width: 100vw;
    position: sticky;
    top: 0;
    left: 0;
    z-index: 99;
    background-color: white;
    justify-content: center;
    align-items: center;
    padding: 50px 0;
}



video{
    position: relative;
}

@media only screen and (max-width: 800px) {
    video{
        width: 90%;
    }

    #imgTxtBlock .txt {
        grid-column: 2 / 10;
    }

    #imgTxtBlock .img {
        grid-column: 2 / 10;
        padding-right: 0px;
    }

    #txtImgBlock .txt {
        grid-column: 2 / 10;
    }

    #txtImgBlock .img {
        grid-column: 2 / 10;
        padding-left: 0px;
    }

    .quoteContainer{
        height: 275px;
    }
    
}
