body, html{
    height: 100%;
}

h1{
    display: none;
}

html{
    scroll-behavior: smooth;
}

.bg{
    background-image: url("../img/background-paint.webp");

    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: scroll;
}
body{

    margin: 0;
    font-family: Gabriola, sans-serif;
    font-size: 3vh;

}

main{
    margin-top: 10vh;
    padding: 5vw 5vw 0;
}

.centre_plume{
    display: flex;
    justify-content: center;
    margin-top: 4vh;
}

.plume{
    width: 6vw;
}

p{
    margin: 0 1vh;
}

.pcote{
    margin-bottom: 2vh;
}

.menu-items{
    display: none;
}


nav {
    margin: 0;
    padding: 0;
    overflow: hidden;
    position: fixed;
    top: 0;
    z-index: 1000;
    height: 15vh;
    width: 100vw;
    background-color:#FFFFFF;
}

nav ul {
    display: flex;
    justify-content: space-around;
    align-items: center;
    list-style: none;
    margin: 0;
    height: 100%;
    padding: 0 5vw;
}

.navtext{
    text-decoration: none;
    padding: 1vh;
    font-size: 4vh;
    font-weight: bold;
    color: #89b0fa;
}

.navtext:hover{
    color: #477bff;
}

nav img{
    height: 11vh;
    margin-top: 1vh;
}

.grid_neuro {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 5vh;
}

.grid_neuro>img{
    border-radius: 1vw;
    width: 35vw;
    justify-self: center;
    align-self: center;

}

.grid_neuro p {
    text-align: justify;
}

.cadre{
    background-color: #FFFFFF;
    padding: 2vw;
    margin-bottom: 7vh;
    border-radius: 2vw;
    scroll-margin-top: 17vh;
    box-shadow: 0.5vw 0.5vw 1vw 0 rgba(0,0,0,0.37);
}

.cadre header{
    display: flex;!important;
    flex-direction: column;
    align-items: center;
}
.cadre header span{
    font-weight: bold;
}


.envaleur{
    color: #c384fa;
    font-weight: bold;
}

#intro #portrait{
    height: 25vh;
    float: left;
    border-radius: 1vw;
    margin-right: 2vw;
}

.check_icon{
    fill: #c384fa;
    height: 1em;
}

#grid_accomp {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

#grid_accomp img{
    align-self: center;
    justify-self: center;
}

#crise{
    border-radius: 1vw;
    width: 10vw;
}

.burn_out_pic{
    width: 17vw;
}

.little_purple{
    color: #c384fa;
    font-weight: bold;
}




.bioflex{
    display: flex;
}

.writtingfeather{

    height: 15vw;
}

/*formation*/
#formations h4{
    text-align: center;
}
#formations>p{
    text-align: center;
}

#list_formations{
    display: flex;
    justify-content: space-around;
}

#list_formations ul{
    list-style: none;
    border-radius: 1vw;
    box-shadow: 5px 5px 10px 3px rgba(0,0,0,0.28);
    width: 34vw;
    padding: 3vh 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-image: url("../img/background_pastel2.webp");

    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: scroll;
    text-align: center;
}


#grid_valeur {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    justify-items: center;
}

#grid_valeur span{
    color: #c384fa;
    font-size: 3vh;
    font-weight: bold;
}

.valimg{
    width: 10vw;
}



.tarif{
    background-color: #FFFFFF;
    bottom: 0;
    border-radius: 2vw 2vw 0 0;
    margin-bottom: 0;
}

.centtarif{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mention{
    font-size: 2.5vh;
}


@media only screen and (max-width: 600px) {

    html, body {
        font-size: 2.5vh;
    }

    main {
        margin-top: 0;
        padding: 5vw 5vw 0;
    }

    nav ul {
        padding: 0;
    }

    .navtext {
        font-size: 3vh;
    }
    .cadre{
        margin-top: 5vh;
    }
    #intro #portrait {
        height: auto;
        width: 50%;
        max-width: 300px;
        margin: 0 auto;
        border-radius: 2vh;
        float: none;
        display: block;
    }

    #grid_accomp {
        grid-template-columns: 1fr;
        gap: 10px;
    }



    .grid_neuro{
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .writtingfeather {
        width: 40%;
    }

    #list_formations ul {
        width: 100%;
    }

    #grid_valeur {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .valimg {
        width: 50%;
    }

    .centtarif {
        text-align: center;
    }

    .mention {
        font-size: 2vh;
    }

    #list_formations {
        flex-direction: column;
    }

    #list_formations ul {
        width: 100%;
        margin-bottom: 20px;
    }

    .bioflex {
        flex-direction: column;
        align-items: center;
    }

    .bioflex div {
        order: 1;
    }

    .writtingfeather {
        height: auto;
        width: 20%;
        margin-bottom : 1vh;
    }

    .navbar{
        display: none;
    }

    .container {
        max-width: 1050px;
        width: 100%;
    }

    .navbar-mobile {
        width: 100%;
        box-shadow: 0 1px 4px rgb(146 161 176 / 15%);
        position: fixed;
    }

    .nav-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        background-color: #FFFFFF;
    }

    .navbar-mobile .menu-items {
        display: flex;
        background-color: #FFFFFF;
        height: fit-content !important;
    }

    .navbar-mobile .nav-container li {
        list-style: none;
    }

    .navbar-mobile .nav-container a {
        text-decoration: none;
        color: #89b0fa;
        font-weight: 500;
        font-size: 1.2rem;
        padding: 0.7rem;
    }

    .navbar-mobile .nav-container a:hover{
        font-weight: bolder;
    }

    .nav-container {
        display: block;
        position: relative;
        height: 6.5vh;
    }

    .nav-container .checkbox {
        position: absolute;
        display: block;
        height: 32px;
        width: 32px;
        top: 20px;
        left: 20px;
        z-index: 5;
        opacity: 0;
        cursor: pointer;
    }

    .nav-container .hamburger-lines {
        display: block;
        height: 26px;
        width: 32px;
        position: absolute;
        top: 17px;
        left: 20px;
        z-index: 2;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .nav-container .hamburger-lines .line {
        display: block;
        height: 4px;
        width: 100%;
        border-radius: 10px;
        background: #89b0fa;
    }

    .nav-container .hamburger-lines .line1 {
        transform-origin: 0% 0%;
        transition: transform 0.4s ease-in-out;
    }

    .nav-container .hamburger-lines .line2 {
        transition: transform 0.2s ease-in-out;
    }

    .nav-container .hamburger-lines .line3 {
        transform-origin: 0% 100%;
        transition: transform 0.4s ease-in-out;
    }

    .navbar-mobile .menu-items {
        padding-top: 1vh;
        box-shadow: inset 0 0 2000px rgba(255, 255, 255, .5);
        height: 100vh;
        width: 100%;
        transform: translate(-150%);
        display: flex;
        flex-direction: column;
        margin-left: -40px;
        padding-left: 50px;
        transition: transform 0.5s ease-in-out;
        text-align: center;
    }

    .navbar-mobile .menu-items li {
        margin-bottom: 1.2rem;
        font-size: 1.5rem;
        font-weight: 500;
    }
    h1{
        margin: 0;
        display: block ;
        text-align: center;
        padding-top: 15px;
        font-size: 20px;
        color: #89b0fa;

    }

    .nav-container input[type="checkbox"]:checked ~ .menu-items {
        transform: translateX(0);
    }

    .nav-container input[type="checkbox"]:checked ~ .hamburger-lines .line1 {
        transform: rotate(45deg);
    }

    .nav-container input[type="checkbox"]:checked ~ .hamburger-lines .line2 {
        transform: scaleY(0);
    }

    .nav-container input[type="checkbox"]:checked ~ .hamburger-lines .line3 {
        transform: rotate(-45deg);
    }

    .nav-container input[type="checkbox"]:checked ~ .logo{
        display: none;
    }

}

@media only screen and (max-width: 500px){
    h1{
        padding-top: 15px;
        font-size: 15px;
    }
}