
/*Allgemeine Einstellungen*/
body{
    background-image: url('img/background_img.JPG');
    background-size: cover; /* Bild passt sich an, um den Container auszufüllen */
    background-position: center; /* Bild wird zentriert */
    background-repeat: no-repeat; /* Wiederholung wird deaktiviert */
    width: 100%; /* Nimmt die gesamte Breite ein */
    min-height: 100vh; /* Nimmt die gesamte Höhe des Viewports ein */
    overflow: auto;
    font-family: sans-serif;
    position: relative;
    margin: 0;
    padding: 0;
}
main{
    margin-top: 5vh;
    margin-bottom: 5vh;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}



.overall-container{
    width: 1000px;
    max-width: 90%; /* Verhindert, dass der Container bei kleinen Bildschirmen breiter als der Bildschirm wird */
    height: 650px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    overflow: hidden;
    border-radius: 1rem;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/*Linker container*/
.left-container{
    width: 50%;
    height: 650px; 
    padding: 2rem;
}
.left-container-languages-copyright p{
    margin: 0;
}
.left-container-languages{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.left-container-inner-languages{
    padding: 0.5rem;
    border: 1px solid black;
    border-radius: 0.5rem;
}
.left-container-inner-languages p{
    margin: 0;
}
.en{
    text-decoration: underline;
}
.en:hover,
.de:hover{
    cursor: pointer;
}

.left-container-header{
    margin: 0;
    margin-bottom: 4rem;

}
.left-container-header h1{
    font-size: 2rem;
}
.left-container-info{
    font-size: 1.25rem;
}
.left-container-redirections{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: left;
}
.left-container-redirections p{
    color: blue;
    text-decoration: underline;
    font-size: 1.2rem;
}
.left-container-redirections p:hover,
.left-container-redirections img:hover{
    cursor: pointer;
}
.left-container-redirections img{
    width: 25%;
    border-radius: 1rem;
    overflow: hidden;
}


/*Rechter container*/
.right-container{
    width: 50%;
    height: 650px;
    margin: 0;
    gap: 0;
    background-color: rgba(47, 47, 55, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: white;
    display: flex; /* Flexbox für Inhalt */
    flex-direction: column; /* Inhalte untereinander */
    justify-content: flex-start; /* Gleichmäßige Verteilung zwischen Top und Bottom */
}
.right-container-top{
    width: 100%;
    margin: 0;
}
.show-mobile-img{
    display: none;
    }
    .hide-mobile-img{
    display: block;
    }
.right-container-top img{
    width: 100%;
    margin: 0;
    
}
.right-container-bottom{
    width: 100%;
    margin: 0;
    margin-top: 3rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}
.right-container-bottom-img{
    width: 30%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}
.right-container-bottom-img img{
    border-radius: 0.5rem;
    overflow: hidden;
    margin: 0.5rem;
    width: 100%;
    transition: transform ease 0.3s;
}
.right-container-bottom-img img:hover{
    cursor: pointer;
    transform: scale(1.1);
}
.right-container-bottom-text{
    width: 50%;
    font-size: 1rem;
}
.certificates{
    font-size: 1.1rem;
}
.lern-more{
    font-weight: bold;
}

/*Lightbox Container*/
.lightbox-container{
    display: none; /* Versteckt, bis aktiviert */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}
.close{
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 2rem;
    color: white;
    text-decoration: none;
    transition: 0.3s;
}
.close:hover{
    color: rgb(55, 2, 2);
    cursor: pointer;
}
.ils-content{
    display: none;
    align-items: center;
    justify-content: center;
    width: 300px;
}
.ils-content img{
    width: 100%;
    transition: transform ease 0.3s;
}
.ils-content img:hover{
    transform: scale(1.1);
    cursor: pointer;
}

.harvard-content{
    display: none;
    align-items: center;
    justify-content: center;
    width: 300px;
}
.harvard-content img{
    width: 100%;
    transition: transform ease 0.3s;
}
.harvard-content img:hover{
    transform: scale(1.1);
    cursor: pointer;
}

@media only screen and (max-width:1100px){
    .overall-container{
        width: 800px;
        height: 520px;
    }
    
    /*Linker container*/
    .left-container{
        height: 520px;
        padding: 1.5rem;
    }
    
    .left-container-header{
        margin-bottom: 2rem;
        
    }
    .left-container-header h1{
        font-size: 1.7rem;
    }
    .left-container-info p{
        font-size: 1.1rem;
        margin-top: 0;
    }
    .left-container-redirections p{
        font-size: 1.1rem;
        margin: 0;
    }
    .left-container-redirections img{
       display: none;
    }


    /*Rechter container*/
    .right-container{
        height: 520px;
    }
    .right-container-bottom{
        margin-top: 0.5rem;
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
    }
    .right-container-bottom-img img{
        border-radius: 0.5rem;
        overflow: hidden;
        margin: 0.5rem;
        width: 100%;
    }
    .right-container-bottom-text{
        width: 55%;
    }
    .certificates{
        font-size: 1.1rem;
    }
}

@media only screen and (max-width:880px){
    .overall-container{
        width: 700px;
        height: 520px;
    }
    
    /*Linker container*/
    .left-container{
        height: 520px;
        padding: 1.5rem;
    }
    
    .left-container-header{
        margin-bottom: 2rem;
        font-size: 1.7rem;
    }
    .left-container-header h1{
        font-size: 1.7rem;
    }
    .left-container-info p{
        font-size: 1rem;
    }
    .left-container-redirections p{
        font-size: 1.1rem;
        margin: 0;
    }
    .left-container-redirections img{
       display: none;
    }


    /*Rechter container*/
    .right-container{
        height: 520px;
    }
    .right-container-bottom{
        margin-top: 0.5rem;
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .right-container-bottom-img{
        width: 100%;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-evenly;
    }
    .right-container-bottom-img img{
        border-radius: 0.5rem;
        overflow: hidden;
        margin: 0;
        width: 35%;
    }
    .right-container-bottom-text{
        order: -1;
        width: 80%;
    }
    .certificates{
        font-size: 1rem;
    }
}
@media only screen and (max-width:700px){
    .overall-container{
        width: 700px;
        height: 580px;
    }
    
    /*Linker container*/
    .left-container{
        height: 580px;
        padding: 1.5rem;
    }

    /*Rechter container*/
    .right-container{
        height: 580px;
    }
    .right-container-top{
        height: 35%;
    }
    .right-container-bottom{
        height: 50%;
    }
}

@media only screen and (max-width:650px){
    .overall-container{
        width: 600px;
        height: 700px;
    }
    
    /*Linker container*/
    .left-container{
        height: 700px;
        padding: 1.5rem;
    }
    
    .left-container-header{
        margin-bottom: 2rem;
    }
    .left-container-header h1{
        font-size: 1.5rem;
    }
    .left-container-info p{
        font-size: 1.15rem;
    }
    .left-container-redirections p{
        font-size: 1.1rem;
        margin: 0;
    }
    .left-container-redirections img{
       display: none;
    }


    /*Rechter container*/
    .right-container{
        height: 700px;
    }
    /* .right-container-top{
        height: 40%;
    } */
    .show-mobile-img{
    display: block;
    }
    .hide-mobile-img{
    display: none;
    }
    .right-container-top{
        height: auto;
    }
    .right-container-bottom{
        margin-top: 0rem;
        padding-top: 0rem;
        padding-bottom: 0rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .right-container-bottom-img{
        width: 100%;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-evenly;
    }
    .right-container-bottom-img img{
        border-radius: 0.5rem;
        overflow: hidden;
        margin: 0;
        width: 40%;
    }
    .right-container-bottom-text{
        order: -1;
        width: 80%;
    }
}

@media only screen and (max-width:600px){
    .overall-container{
        width: 600px;
        height: 700px;
    }
    
    /*Linker container*/
    .left-container{
        height: 700px;
        padding: 1.5rem;
    }
    
    .left-container-header{
        margin-bottom: 2rem;
        
    }
    .left-container-header h1{
        font-size: 1.5rem;
    }
    .left-container-info p{
        font-size: 1rem;
    }
    .left-container-redirections p{
        font-size: 1rem;
        margin: 0;
    }
    .left-container-redirections img{
       display: none;
    }


    /*Rechter container*/
    .right-container{
        height: 700px;
    }
    /* .right-container-top{
        height: 40%;
    } */
    .show-mobile-img{
    display: block;
    }
    .hide-mobile-img{
    display: none;
    }
    .right-container-top{
        height: auto;
    }
    .right-container-bottom{
        margin-top: 0rem;
        padding-top: 0rem;
        padding-bottom: 0rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .right-container-bottom-img{
        width: 100%;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-evenly;
    }
    .right-container-bottom-img img{
        border-radius: 0.5rem;
        overflow: hidden;
        margin: 0;
        width: 40%;
    }
    .right-container-bottom-text{
        order: -1;
        width: 80%;
    }
    .lern-more{
        display: none;
    }
}

@media only screen and (max-width:520px){
    .right-container-bottom{
        margin-top: 1rem;
        padding-top: 0rem;
        padding-bottom: 0rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .right-container-bottom-img{
        width: 100%;
        display: flex;
        align-items: center;
        flex-direction: column;
        justify-content: space-evenly;
    }
    .right-container-bottom-img img{
        border-radius: 0.5rem;
        overflow: hidden;
        margin-top: 0.5rem;
        width: 70%;
    }
    .right-container-bottom-text{
        order: -1;
        width: 90%;
        text-align: center;
    }
    .certificates{
        font-size: 0.9rem;
    }
}


@media only screen and (max-width:500px){
    body{
        background-image: url('img/right_top_mobile.JPG');
    }
    .overall-container{
        width: 90%;
        height: auto;
        flex-direction: column;
    }
    
    /*Linker container*/
    .left-container{
        width: 90%;
        height: 100%;
        padding: 1rem;
    }
    
    .left-container-header{
        margin-bottom: 2rem;
        
    }
    .left-container-header h1{
        font-size: 1.7rem;
    }
    .left-container-info p{
        font-size: 1rem;
    }
    .left-container-redirections p{
        font-size: 1.1rem;
        margin: 0;
    }
    .left-container-redirections img{
       display: none;
    }

    /*Rechter container*/
    .right-container{
        width: 100%;
        height: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: transparent;
        color: black;
    }
    .right-container-top{
        width: 95%;
    }
    .hide-mobile-img{
        display: block;
        border-radius: 0.5rem;
        overflow: hidden;
    }
    .show-mobile-img{
        display: none;
    }
    .right-container-bottom{
        margin-top: 0rem;
        padding-top: 0rem;
        padding-bottom: 0rem;
        height: 100%;
    }
    .right-container-bottom-img{
        width: 80%;
        flex-direction: row;
    }
    .right-container-bottom-img img{
        border-radius: 0.5rem;
        overflow: hidden;
        margin: 0.5rem;
        width: 40%;
    }
    .right-container-bottom-text{
        width: 90%;
    }
}
