html{ height: 100%; overflow:auto; }
body{ height: 100%;}


.vidHandler{
    /* Division qui maximise la taille de la vidéo et fait en sorte qu'elle ne dépasse pas*/
    height: 40vh;
    width: 100%;
    max-height: 100vh;
    z-index: -1;
    overflow: hidden;
    object-fit: contain;
    position: relative;
    margin-top: 20vh;
    .vidRaw {
        /* Vidéo même */
        height: 100vh;
        max-height: 100vh;
        object-fit: cover;
        min-width: 100%;
        background-color: black;
        position: absolute;
    }
}


.vidTitleHandler{
    position: absolute;
    top: 5% !important;
    left: 0;
    width: 100vw;
    height: 100vh;
    max-height: 100vh;
    z-index: -1;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    .vidTitle{
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: 10vh 10vh 15vh;
        align-items: center;
        align-content: center;
        justify-items: center;
        h1{
            text-shadow: 1px 1px 5px black;
            color: snow;
            text-align: center;
            font-size: 5vw;
            font-family: AppleGothic, sans-serif;
        }
        p {
            color: snow;
            text-align: center;
            font-size: 2.5vw;
            font-family: 'American Typewriter';
            text-shadow: 1px 1px 5px black;
        }
        button {
            width: 30%;
            align-self: center;
            border-radius: 2vw;
        }
    }
}


@media screen and (min-width: 1000px) {
    .vidTitle{
        top: 35vw;
    }
}

.lang-active{
    opacity: 1 !important;
}
.lang-inactive{
    opacity: 0.5 !important;
}

.mainBox {
    margin-top: 10%;
    display: grid;
    grid-template-columns: 60% 40%;
    grid-template-rows: 1fr;
    margin-left: 5%;
    max-height: 20vw;
    align-content: center;
    .imgOverlay{
        img {
            align-self: center;
            max-height: 20vw;
            position: absolute;
            max-width: 30vw;
            z-index: -1;
            height: 20vw;
            margin-right: 5%;
        }
    }
    .mainDesc {
        font-size: 2vw;
        text-align: center;
        margin-top: 4%;
    }

    .descOverlay {
        width: 100%;
        height: 20vw;
        max-height: 20vw;
        border-radius: 4% 0 0 4%;
        padding: 2vw;
        box-shadow: 0.2px 0.2px 5px 5px rgba(0,0,0,0.4);
    }
}

/* Animations du boutton en savoir plus.*/
@keyframes colorChange {
    0% {
        background-color: white;
        color: black;
    }
    50% {
        background-color: black;
        color: white;
    }
    100% {
        background-color: white;
        color: black;
    }
}
.active-button {
    animation: colorChange 2s ease-in-out;
}

.lang-active{
    opacity: 1 !important;
}
.lang-inactive{
    opacity: 0.5 !important;
}


#numberPartnersContainer{
    .numberPartners{
        margin-top: 10%;
        font-size: 5vw;
        font-family: AppleGothic, sans-serif;
        font-weight: 600;
        color: darkred;
    }
    a {
        text-decoration: none;
    }
    .needs-to-grow{
        background: linear-gradient(to bottom, currentColor 0%, currentColor 0%)
        bottom left/
        var(--underline-width, 0%) 0.1em
            no-repeat;
        color: #cc9900;
        text-decoration: none;
        transition: background-size 0.5s;
    }
    .needs-to-grow:hover{
        --underline-width: 100%;
    }
}



#partners{
    margin-top: 30%;
    h1{
        text-align: center;
    }
    #partners-logo{
        display: grid;
        grid-template-columns: 1fr;
        grid-auto-rows: 10vh;
        justify-items: center;
        gap: 5vh;
        align-items: center;
        margin-top: 10vh;
        .black {
            color: black;
            background-color: black;
            width: 10vw;
            height: 10vh;
        }
        .partners-logo-columnImpair{
            justify-items: center;
            align-items: center;
            overflow: hidden;
            height: 100%;
            width: 100%;
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            grid-template-rows: 10vh;
            margin-right: 13vw;
        }
        .partners-logo-columnPair{
            justify-items: center;
            align-items: center;
            overflow: hidden;
            height: 100%;
            width: 100%;
            display: grid;
            margin-left: 12vw;
            grid-template-columns: repeat(4, 1fr);
            grid-template-rows: 10vh;
        }
    }
}

#paragDescEntreprise{
    #paragDescOverlay{
        display: grid;
        grid-template-rows: 1fr;
        grid-template-columns: 30% 70%;
        #paragDescLogo{
        }
        #paragDesc{
            width: 50vw;
            p {
                white-space: pre-line;
            }
        }
    }
}