/*****************************************/
/*****************************************/
/*****************************************/
/**************** BASE *****************/
/*****************************************/
/*****************************************/
/*****************************************/



@font-face {
    font-family: "FontMedium";
    src: url("../font/Montserrat/static/Montserrat-Medium.ttf") format("truetype");
}

@font-face {
    font-family: "FontsemiBold";
    src: url("../font/Montserrat/static/Montserrat-SemiBold.ttf") format("truetype");
}

@font-face {
    font-family: "Fontbold";
    src: url("../font/Montserrat/static/Montserrat-Bold.ttf") format("truetype");
}

* {
    margin: 0;
    padding: 0;
    list-style: none;
    box-sizing: border-box;
    text-decoration: none;
    --bleu: #1a4b7b;
    --rose: #d92e59;
    --beige: #e8a9ac;
    --blanc: #FFFFFF;
    --noir: #000000;
}


h1,
h2 {
    text-align: left;
    font-family: "FontMedium", sans-serif;
}

/* image  */

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Les goutières */

.espace {
    max-width: clamp(320px, 90vw, 1700px);
    margin: 0 auto;
    padding: 0 2rem;
}


/*****************************************/
/*****************************************/
/*****************************************/
/**************** HEADER *****************/
/*****************************************/
/*****************************************/
/*****************************************/

header {
    margin-top: 2rem;
    font-family: "FontMedium", sans-serif;
}

.header-content nav {
    display: flex;
    align-items: center;
}

.header-content nav .menu {
    width: 100%;
    display: flex;
    align-items: center;
}

.header-content nav .menu li {
    flex: 1;
    text-align: center;
}

.header-content nav .menu li a {
    position: relative;
    display: inline-block;
    color: black;
    font-size: 20px;
    transition: color 0.2s;
    padding-bottom: 4px;
    font-family: "FontMedium", sans-serif;
    /* espace pour la barre */
}

.header-content nav .menu li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    /* épaisseur de la barre */
    width: 100%;
    background: var(--bleu);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.header-content nav .menu li a:hover {
    color: var(--bleu);
    transition: 0.2s;
}

.header-content nav .menu li a:hover::after {
    transform: scaleX(1);
}

.menu-down-container {
    display: none;
}

/********************************************************/
/**************** HEADER TELEPHONE MENU *****************/
/********************************************************/


@media screen and (max-width: 1200px) {

    .menu-PC {
        display: none;
    }

    .menu-down-container {
        display: block;

    }

    .menu-down-content {
        display: flex;
        justify-content: space-between;
    }

    #burger {
        z-index: 3;
        transition: 0.9s;
    }

    #burger:hover {
        cursor: pointer;
    }

    .menu-menu {
        position: fixed;
        top: -120%;
        right: 0;
        left: 0;
        height: 100vh;
        background-color: var(--bleu);
        transition: 1s;
        /* display: grid;
        place-items: center; */
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        z-index: 2;
        gap: 3rem;
        overflow-y: auto;
    }

    .menu-menu li {
        display: inline-block;
        margin: 0 15px;
        position: relative;
    }

    .menu-menu li a {
        text-decoration: none;
        color: var(--blanc);
        font-size: 2rem;
        position: relative;
        padding-bottom: 5px;
    }

    .menu-menu li a::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        width: 0;
        height: 2px;
        background-color: var(--beige);
        transition: width 0.3s ease;
    }

    .menu-menu li a:hover::after {
        width: 100%;
    }

}

.active {
    transition: 1s;
    top: 0;
}

.rotate {
    transform: rotate(-90deg);
    transition: 0.9s;
}


/*********************************************/
/*********************************************/
/*********************************************/
/**************** Front-page *****************/
/*********************************************/
/*********************************************/
/*********************************************/

.fond {
    background-color: var(--bleu);
    margin: 2rem 0;
    position: relative;
    height: 300px;
    max-height: 300px;
    align-content: center;
}

.fond img {
    position: absolute;
    height: 300px;
    width: 300px;
    background-color: blue;
    top: 0%;
    right: 0%;
}

.parent h1 {
    color: var(--blanc);
    font-weight: normal;
    max-width: 50vw;
}

/*************************************************/
/**************** FRONT PAGE TEL *****************/
/*************************************************/


@media screen and (max-width: 767px) {
    .fond {
        display: flex;
        flex-direction: column;
        max-height: unset;
        height: unset;
    }

    .fond img {
        position: relative;
        display: none;
    }

    .parent h1 {
        max-width: unset;
        padding: 30px 0px;
    }
}

/*****************************************/
/*****************************************/
/*****************************************/
/**************** FOOTER *****************/
/*****************************************/
/*****************************************/
/*****************************************/


footer {
    background-color: var(--bleu);
    color: var(--blanc);
    font-family: "FontMedium", sans-serif;
    margin-top: 2rem;
}

footer .section {
    margin-bottom: 3rem;
}

footer a {
    display: inline-block;
    color: var(--blanc);
    margin-bottom: 0.6rem;
    width: fit-content;
}

footer .pinTexte {
    margin-bottom: 0.3rem;
    display: flex;
    gap: 0.5rem;
    align-items: baseline;
}

footer li {
    display: flex;
    flex-direction: column;
}

h3 {
    font-size: 30px;
    font-weight: bolder;
    margin-bottom: 1rem;
}

.planInfo {
    display: flex;
    justify-content: space-between;
}

.flex {
    display: flex;
    justify-content: space-between;
    padding-top: 2rem;
    gap: 1rem;
}

.droite div {
    width: 200px;
    height: 200px;
    background-color: grey;
    margin-bottom: 2rem;
}

.menu-item a {
    position: relative;
}

.menu-item a div {
    position: absolute;
    left: 0;
    bottom: -3px;
    height: 2px;
    width: 0;
    background: white;
    transition: width 0.3s ease;
}

.menu-item a:hover div {
    width: 100%;
}

.section p {
    margin-bottom: 1rem;
}

/*********************************************/
/**************** FOOTER TEL *****************/
/*********************************************/


@media screen and (max-width: 767px) {
    footer .flex {
        flex-direction: column-reverse;
        align-items: center;
    }

    .planInfo {
        flex-direction: column;
        gap: 1rem;
    }
}

/*******************************************************/
/*******************************************************/
/*******************************************************/
/**************** Psychologie du sport *****************/
/*******************************************************/
/*******************************************************/
/*******************************************************/


#croix {
    position: relative;
}

#trait {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 2px;
    height: 350px;
    padding: 0px;
    background-color: var(--beige);
}

#trait2 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 350px;
    height: 2px;
    padding: 0px;
    background-color: var(--beige);
}


/********************************************************/
/**************** Psychologie du sport TEL*****************/
/********************************************************/


@media screen and (max-width: 1200px) {

    #trait,
    #trait2 {
        display: none;
    }
}


/**************************************/
/**************** 404 *****************/
/***************************************/

.p404,
.p404a {
    display: grid;
    place-items: center;
    font-family: "FontMedium", sans-serif;
}

.p404 {
    margin-top: 2rem;
    font-size: 1.5rem;
}

.p404a {
    margin-top: 3rem;
    color: var(--blanc);
    font-size: 1.2rem;
    text-align: center;
}

.p404a div {
    background-color: var(--bleu);
    padding: 2rem 4rem;
}