/*ANIMATION D'ENTREE*/
.no-scroll {
    position: fixed;
    width: 100%;
}
#couverture {
    display: flex;
    width: 100%;
    height: 100%;
    z-index: 9998;
    background-color: rgba(5, 85, 138, 1);
    position: absolute;
    justify-content: center;
    align-items: center;
    pointer-events: none;
    transform: translateY(-100%);
    animation: name_intro 4s ease;
    overflow: hidden;
}

#intro_text {
    display: flex;
    flex-direction: column;
    color: white;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

#intro_text p {
    display: inline-flex;
    font-weight: bold;
    font-size: 2rem;
    margin: 1rem;
}

#intro_text hr {
    width: 25rem;
    height: 0.1rem;
    background-color: white;
}

#haut {
    animation: left_entry 3s ease;
}

#bas {
    animation: right_entry 3s ease;
}

#middle {
    animation: back_entry 3s ease;
}

@keyframes right_entry {
    0% {transform: translateX(75%);height: 0.1rem;}
    66% {transform: translateX(0%);height: 0.1rem;}
    75% {transform: translateX(0%);height: 0.1rem;}
    87.5% {transform: translateX(0%); height: 0.3rem;}
    100% {transform: translateX(0%); height: 0.1rem;}
}

@keyframes left_entry {
    0% {transform: translateX(-75%);height: 0.1rem;}
    66% {transform: translateX(0%);height: 0.1rem;}
    75% {transform: translateX(0%);height: 0.1rem;}
    87.5% {transform: translateX(0%);height: 0.3rem;}
    100% {transform: translateX(0%);height: 0.1rem;}
}

@keyframes back_entry {
    0% {font-size: 2rem; margin:1rem;}
    66% {font-size: 2rem; margin:1rem;}
    75% {font-size: 2rem; margin:1rem;}
    87.5% { font-size: 2.4rem; margin:0.8rem;}
    100% {font-size: 2rem; margin:1rem;}
}

@keyframes name_intro {
    0% {transform: translateY(0%);}
    75% {transform: translateY(0%);}
    100% {transform: translateY(-100%);}
}
@media (max-width: 550px) {
@keyframes back_entry {
    0% {
        font-size: 1.5rem;
        margin: 1rem;
    }

    66% {
        font-size: 1.5rem;
        margin: 1rem;
    }

    75% {
        font-size: 1.5rem;
        margin: 1rem;
    }

    87.5% {
        font-size: 2rem;
        margin: 0.8rem;
    }

    100% {
        font-size: 1.5rem;
        margin: 1rem;
    }
}
#intro_text hr {
    width: 20rem;
}
#intro_text p {
    font-size: 1.5rem;
}
#couverture {
    overflow: hidden;
}
}

/*__________PAGE__________*/

.content{
    flex : 1 0 auto;
}
html, body{
    height: 100%;
    margin : 0;

}
 body{
    display: flex;
    flex-direction: column;
 }

 header{
    display: flex;
    align-items: center;
    width: 100%;
    flex-direction: column;
 }

 .titre_header{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    font-size: 2.5rem;
    margin:0;
    flex-grow: 2;
    background-color: rgba(5, 85, 138, 0.801);
 }

 .titre_header img{
    display: flex;
    width: 8rem;
    justify-content: left;
    margin:5rem;
}

.menu{
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    width: 80%;
    height:2rem;
}

.menu a{
    font-size: 1.3rem;
    color:rgba(0, 91, 174, 1);
    margin-bottom: 0;
    text-decoration: none;
}

.menu a:hover, .menu a:focus{
    text-decoration: underline;
}

.menu_actuel{
    font-weight: bold;
}

header hr{
    width:90%;
    color:rgba(5, 85, 138, 0.801);
    height: 0.2rem;
    background-color: rgba(5, 85, 138, 0.801);
}

.fleche_menu{
    margin:0.5rem;
    height:0rem;
    overflow:hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color:rgba(0, 91, 174, 1);
    font-size:1.3rem;
}

.fleche_menu img{
    width:2rem;
    height: auto;
    margin-left: 1rem;
    margin-right: 1rem;
    rotate:180deg;
}
.fleche_menu p{
    margin-left:1rem;
}

 @media (min-width:701px) and (max-width:900px){
    .titre_header{
        flex-direction: column;
        flex-grow: 0;
        text-align: center;
        font-size: 2rem;
    }
    .titre_header img{
        margin:2rem;
    }
    .menu{
        height:0rem;
        overflow: hidden;
        flex-direction: column;
        transition: all 0.7s ease;
    }
    .menu a{
        margin-top:0.5rem
    }
    .fleche_menu{
        height:4rem;
        border-style: solid;
        border-width: 0.2rem;
        border-radius: 1rem;
        border-color: rgba(5, 85, 138, 0.8);
    }
 } 
 
 @media (max-width:700px){
    .titre_header{
        flex-direction: column;
        flex-grow: 0;
        text-align: center;
        font-size: 1.5rem;
    }
    .titre_header img{
        margin:2rem;
        width:6rem;
    }
    .menu{
        height:0rem;
        overflow: hidden;
        flex-direction: column;
        transition: all 0.7s ease;
    }
    .menu a{
        margin-top:0.5rem
    }
    .fleche_menu{
        height:4rem;
        border-style: solid;
        border-width: 0.2rem;
        border-radius: 1rem;
        border-color: rgba(5, 85, 138, 0.8);
    }
 }

 /*__________MAIN__________*/

.titre{
    display: flex;
    width: 100%;
    flex-direction: row;
    justify-content: center;
}

.titre img{
    width:6rem;
    height: auto;
}

.texte_titre{
    display: flex;
    flex-direction: column;
    align-items:center;
    text-align: center;
}

.texte_titre h1{
    font-size: 4rem;
    margin-bottom: 0;
    margin-top: 0;
}

.texte_titre p{
    font-size: 1.5rem;
    margin-top:0;
}

#temporary{
    align-items: center;
    width: 100%;
}

#temporary p{
    text-align: center;
    width: 100%;
}

@media (max-width:600px){
    .titre{
        margin-top:0.7rem;
        flex-direction: column;
        align-items: center;
    }
    .texte_titre h1{
        font-size:3rem;
    }
    .texte_titre p{
        font-size:1.7rem;
    }
}
/*__________FOOTER__________*/

.footer{
    display: flex;
    background-color: rgba(8, 129, 209, 0.6);
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.footer_content1{
    display:flex;
    width: 50%;
    margin-left: 1rem;
    flex-direction: column;
    
}

.footer_content2{
    display: flex;
    flex-direction: column;
    width: 50%;
    align-items: end;
    margin-right: 2rem;
    justify-content: right;
    
}

.footer_ligne{
    display: flex;
    align-items: center;
    margin: 0.5rem;
}

.footer_ligne img{
    display: inline-flex;
    width: 1.5rem;
    height : auto;
}

.footer_ligne p{
    display: inline-flex;
    margin: 0;
}

.footer_content2 img{
    width: 7rem;
    height: auto;
}

@media (max-width:900px){
    .footer{
        flex-direction: column;
        align-items: normal;
    }
    .footer_ligne{
        width: 90%;
    }
    .footer_content1{
        width:90%;
    }
    .footer_content2{
        width:100%;
        align-items: center;
        margin-bottom: 4rem;
        margin-top:1rem;
    }
}