/* Variables */

:root {
    --main_color: #0B74C2;
    --clr_rubriqueCM: #7A0077;
    --clr_rubriqueDP: #C442F8;
    --clr_rubriqueDC: #8964C2;
    --clr_rubriqueCR: #37BBA1;
    --clr_rubriqueGPB: #9A6636;
    --clr_rubriqueEA: #CEA12A;
    --clr_rubriqueCS: #FFC000;
    --clr_rubriqueBEN: #FD955D;
    --clr_rubriqueEOA: #B83F68;
}



/* Structure */

* {
    box-sizing: border-box;
    font-family: Corbel, Verdana, "Bitstream Vera Sans", sans-serif;
}

body {
    margin: 0;
    padding: 0;
}



/* Classes réutilisables */

.flex_center {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}



/* NavBar */

#navbar_container {
    width: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    padding-bottom: 30px;
}

#logo_nav {
    max-height: 100%;
    height: 100%;
    width: 430px;
    display: flex;
    justify-content: left;
    align-items: center;
    object-fit: contain;
}

#logo_nav > img {
    max-height: 100px;
    height: 80%;
    max-width: 100%;
    transition: .3s;
}

#logo_nav:hover > img {
    max-height: 110px;
}

nav {
    height: 100%;
    margin-right: 30px;
    margin-top: 30px;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 1em;
    height: 100%;
}

nav ul li {
    margin: 0 30px;
    min-width: 75px;
}

nav ul li a {
    text-decoration: none;
    color: rgb(39, 39, 39);
    transition: .3s;
}

nav ul li a:hover {
    color: #3999e2;
}

.current_link {
    color: var(--main_color);
}

@media (min-width: 1000px) {

    #navbar_container {
        justify-content: space-between;
        align-items: center;
        padding-bottom: 0;
    }

    nav {
        margin-top: 0;
    }

}




#head_img {
    width: 100%;
    height: 25vh;
    object-fit: cover;
}

#h1_formations {
    text-align: center;
    margin: 5vh 0;
}

#container_contact {
    width: 90%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2em;
}

#container_contact > div {
    width: 100%;
    text-align: center;
    font-size: 1.5em;
}

#container_contact > div > * {
    width: 100%;
}







footer {
    background: #333;
    padding: 0;
    margin: 10vh 0 0 0;
    color: white;
}

#container_footer {
    height: 100%;
    margin: 0 150px;
    padding: 20px 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(18em, 1fr));
    grid-gap: 2.5em;
}

@media (max-width: 500px) {
    #container_footer {
        margin: 0 5%;
    }
}

.columns_footer {  
    width: 100%;
}

.columns_footer > *:not(h5) {
    margin: 0;
    padding: 0;
    list-style: none;
}

#SAO_infos_footer {
    text-align: justify;
}

#horaires-contact_footer {
    font-size: 1.3em;
    display: flex;
    justify-content: space-evenly;
    align-items: flex-start;
    flex-wrap: wrap;
}

#links_footer {
    font-size: 1.5em;
}

#links_footer ul li {
    margin: .75em 0;
}

#links_footer ul li a {
    color: white;
    text-decoration: none;
    transition: .3s;
}

#links_footer ul li a:hover {
    color: #258edf;
    font-size: 1.2em;
}

#rs_footer {
    font-size: 1.3em
}

#rs_footer > h4 {
    margin-bottom: 2em;
}

#rs_footer > a {
    color: white;
    text-decoration: none;
    transition: .3s;
}

#rs_footer > a:hover {
    font-size: 1.1em;
}

#rs_footer > a > div {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 2em;
}

#rs_footer > a > div > img {
    width: 3em;
    height: 3em;
}

#horaires-contact_footer * {
    width: 100%;
    padding: 0;
    list-style: none;
}

#horaires-contact_footer address span {
    font-size: .9em;
}

#imgs_footer {
    background: #fff;
    border-radius: 15px;
    height: 10rem;
    max-width: 100%;
    display: flex;
    justify-content: space-around;
    overflow: hidden;
}

#imgs_footer img {
    max-height: 100%;
}

.title {
    color: var(--main_color);
    font-size: 1.8rem;
    margin: 0;
}