/* Variables */

:root {
    --main_color: #0B74C2;
    --color_formation1: #7A0077;
    --color_formation2: #C442F8;
    --color_formation3: #8964C2;
    --color_formation4: #37BBA1;
    --color_formation5: #9A6636;
    --color_formation6: #CEA12A;
    --color_formation7: #FFC000;
    --color_formation8: #FD955D;
    --color_formation9: #B83F68;
}



/* Structure */

* {
    box-sizing: border-box;
    font-family: Corbel, Verdana, "Bitstream Vera Sans", sans-serif;
}

body {
    margin: 0;
    padding: 0;
}

main {
    margin: 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;
}

.txt_intro {
    text-align: center;
}

.txt_intro:last-child {
    margin-bottom: 0;
}



#container_pullbars_formations {
    width: 90%;
    margin: 0 auto;
}

@media (min-width: 1000px) {

    #container_pullbars_formations {
        width: 70%;
    }

}

@media (min-width: 1500px) {

    #container_pullbars_formations {
        width: 60%;
    }

}

.content_container {
    width: 500px;
    padding: 0 2em;
    overflow: hidden;
    max-height: 0;
    transition: 0.3s;
    margin-bottom: 30px;
}

.item_formation > a {
    color: black;
    text-decoration: none;
    transition: .3s;
}

.item_formation > a:hover {
    color: var(--main_color);
    font-size: 1.2em;
}

.display_formation {
    max-height: none;
}

.accordeon_formation {
    height: 5em;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-wrap: nowrap;
    gap: 1.5em;
    margin-bottom: 20px;
    position: relative;
}

.accordeon_formation:first-of-type {
    margin-top: 10vh;
}

.logo_rubrique {
    max-height: 100%;
    max-width: 100%;
    aspect-ratio: initial;
}

.button_info {
    background: none;
    border: none;
    height: 100%;
    cursor: pointer;
}

.logo_info {
    max-height: 3.5em;
    margin: auto;
}

.message_info {
    display: none; 
    position: absolute;
    right: -1.5em;
    top: 5em;
    width: 7em;
    padding: .8em;
    background-color: rgb(243, 243, 243);
    border-radius: 1em;
    text-align: center;
    z-index: 2;
}

.message_info::before {
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 0;
    transform: rotate(45deg);
    width: 1em;
    height: 1em;
    background-color: rgb(243, 243, 243);
}

.display {
    display: block;
}

.pullbar {
    color: white;
    cursor: pointer;
    padding: 15px 30px;
    width: 100%;
    text-align: left;
    border: none;
    outline: none;
    transition: 0.4s;
    border-radius: 100px;
}

.pullbar_content {
    display: flex;
    justify-content: space-between;
    flex-wrap: nowrap;
    align-items: center;
    width: 100%;
    height: 100%;
    font-size: 1.4em;
}

.arrow_pullbar {
    height: 2em;
    transform: rotate(90deg);
    transition: 0.3s ease-in-out;
}

.rotate180 {
    transform: rotate(-90deg);
}

.pullbar:hover {
    background-color: #ccc;
}

#pullbar_categorie1 {
    background-color: var(--color_formation1);
}

#pullbar_categorie2 {
    background-color: var(--color_formation2);
}

#pullbar_categorie3 {
    background-color: var(--color_formation3);
}

#pullbar_categorie4 {
    background-color: var(--color_formation4);
}

#pullbar_categorie5 {
    background-color: var(--color_formation5);
}

#pullbar_categorie6 {
    background-color: var(--color_formation6);
}

#pullbar_categorie7 {
    background-color: var(--color_formation7);
}

#pullbar_categorie8 {
    background-color: var(--color_formation8);
}

#pullbar_categorie9 {
    background-color: var(--color_formation9);
}

.item_formation {
    margin-bottom: 10px;
}







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;
}