/************************************************ 
Header 
***********************************************/

#header_transparent {
    backdrop-filter: blur(8px);
    background-color: rgb(35 35 35 / 20%);
    padding: 5px;
}

.header-logo {
    width: 8rem;
}

#header-nav {
    display: flex;
}

#header-nav {
    margin-left: auto;
    margin-right: auto;
}

.header-navi-lien {
    display: inline-block;
    padding: .5rem 1rem;
    font-size: larger;
    color: var(--white-color);
}

.header-navi-lien:hover {
    text-shadow: 0 0 7px var(--white-color),
        0 0 21px var(--blue-color),
        0 0 42px var(--blue-color);

}

/************************************************************* 
VIDEO ARRIVE SUR LE SITE
*************************************************************/

.section-informations {
    /* display: flex
; */
    align-items: center;
    justify-content: center;
    height: 85vh;
    /* padding: 2rem; */
    background-size: cover;
    position: relative;
    flex-direction: column;
}


.background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.header-logo {
    z-index: 2;
}

.row-header {
    position: relative;
    z-index: 2;
}

.header-navi-lien {
    color: white;
}

/***************************************************
SLOGAN 
***************************************************/

.slogan {
    padding: 2rem;
    background-color: var(--primary-color);
    text-align: center;
}

.slogan-title {
    color: var(--yellow-color);
    font-family: 'Fraunces', sans-serif;
    font-weight: 700;
    font-size: 70px;
    display: inline;
}

/**************************************
Rajout Animation ( https://graphiste.com/blog/30-animations-de-texte-pour-surprendre-vos-visiteurs/ )
**************************************************/

.slogan-text {
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    color: var(--yellow-color);
    font-family: 'Fraunces', sans-serif;
    font-weight: 700;
    font-size: 34px;
}

.slogan-text:first-of-type {
    animation: showup 7s infinite;
}

.slogan-text:last-of-type {
    width: 0px;
    animation: reveal 7s infinite;
}

.slogan-text:last-of-type span {
    margin-left: -355px;
    animation: slidein 7s infinite;
}

@keyframes showup {
    0% {
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    80% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

@keyframes slidein {
    0% {
        margin-left: -800px;
    }

    20% {
        margin-left: -800px;
    }

    35% {
        margin-left: 0px;
    }

    100% {
        margin-left: 0px;
    }
}

@keyframes reveal {
    0% {
        opacity: 0;
        width: 0px;
    }

    20% {
        opacity: 1;
        width: 0px;
    }

    30% {
        width: 355px;
    }

    80% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        width: 355px;
    }
}

/*****************************************************************
NEWS
******************************************************************/

.news {
    background-color: var(--tertiary-color);
    text-align: center;
    padding: 3rem;
}

.news-title h2 {
    font-family: 'Fraunces', sans-serif;
    font-weight: 700;
    font-size: 40px;
    color: var(--white-color);
    padding: 0px 0px 5px 0px !important;
    margin: 0px !important;
}

.news h3 {
    font-family: 'Fraunces', sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: var(--secondary-color);
}

.article-text {
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 1rem;

}

.news-pic {
    width: 100%;
}

.container .carddeck .slide {
    width: 300px;
    height: 200px;
    transition: 0.5s;

}

.container .carddeck .slide.slide1 {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
    transition: .7s;
    transform: translateY(100px);

}

.container .carddeck:hover .slide.slide1 {
    transform: translateY(0px);
    transform: scale(1.1);

}

.container .carddeck .slide.slide2 {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
    transition: .8s;
    transform: translateY(-70px);
    background-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);

}

.container .carddeck:hover .slide.slide2 {
    transform: translateY(0);
    transform: scale(1.1);

}

.container .carddeck .slide.slide2::after {
    content: "";
    position: absolute;
    width: 30px;
    height: 4px;
    bottom: 15px;
    left: 50%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--yellow-color);
}

.news-container {
    display: flex;
    justify-content: space-around;
    padding: 2rem 2rem 4rem 2rem;
    flex-wrap: wrap;

}


/*****************************************************************
DOYEN 
*****************************************************************/

.doyen {
    background-color: var(--tertiary-color);
    text-align: center;
    padding: 3rem;
}

.doyen-text {
    font-family: 'Fraunces', sans-serif;
    color: var(--white-color);
    font-size: x-large;
}

.doyen-fill {
    display: flex;
    flex-direction: column;
    align-content: center;
    justify-content: center;
    align-items: center;
}

.doyen-signature {
    font-family: 'Mrs Saint Delafield', sans-serif;
    color: var(--yellow-color);
    font-size: 70px;
    top: -15px;
    position: relative;
}

.doyen-img,
.doyen-pic {
    width: 120px;
    border-radius: 12vh;
}

.doyen-pic {
    border: 4px solid white;
    margin-bottom: 1rem;
}

/****************************************************
ENSEIGNEMENT 
************************************************/

.enseignement {
    background-color: var(--primary-color);
    text-align: center;
    display: flex;
    padding: 1rem 2rem 4rem 2rem;
}

.enseignement h2 {
    font-family: 'Fraunces', sans-serif;
    font-weight: 700;
    font-size: 40px;
    color: var(--white-color);
}

.enseignement h3 {
    font-family: 'Fraunces', sans-serif;
    font-weight: 700;
    font-size: 40px;
    color: var(--white-color);
}

.element {
    display: inline-block;
    padding: 1rem;
    border: 7px solid var(--yellow-color);
    border-radius: 15rem;
    margin: 1.5rem;
    background-color: var(--secondary-color);
}

#science,
#art,
#book,
#doc {
    color: var(--yellow-color);
    font-size: 75px;
    padding: 20px;
}


.ens {
    display: flex;
    align-items: center;
    justify-content: center;
    align-content: center;
    flex-wrap: wrap;
    flex-direction: row;
}

.light {
    background-color: var(--secondary-color);
    /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-color) 5%, var(--secondary-color) 5%, var(--primary-color) 42%, var(--primary-color) 49%, var(--primary-color) 53%, var(--secondary-color) 59%, var(--secondary-color) 100%);


    background-repeat: no-repeat;
    background-position: 0px;
    background-size: 380%;
}

.light:hover {
    transform: scale(1.1);
    animation: light 1.3s;
}

@keyframes light {
    0% {
        background-position: -600px;
    }

    100% {
        background-position: 0px;
    }
}