


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

    :root{

        --header-height:140px;
        scroll-padding-top: calc(var(--header-height) - 3%);
        }
        



/* -------------------- HEADER Style -----------------------*/


.header{

    width: 100%;
    position: sticky;

}


.nav-menu{
    padding-left: 2%;
    margin-bottom: 2%;
}



.nav-projets li {

    font-size: 0.95em;
 

}

/* -------------------- GENERAL -----------------------*/


h2{

    padding: 3.5% 0 3.5% 0;
    margin-bottom: 4%;
    line-height: 1.3em;

}



h3{

    margin: 3% 0%;

}



h4, h5{
    margin-bottom: 2%;
}

/* -------------------- Galerie Style -----------------------*/



.txt-intro {
    padding: 1% 6% 4% 4%;
}

.legende{
    padding: 1% 6% 3% 4%;

}


/* -------------------- Sliders -----------------------*/

.web-s{
    width: 90%;
    align-items: center;
    margin-left: 4%;
   
}



.phone{
    display: flex;
}

.titre h2{

    font-size: 5vw;
    flex-wrap: wrap;
    font-weight: 800;

}


.titre h3{

    font-size: 5vw;
    flex-wrap: wrap;
    font-weight: 800;
    line-height: 1.12em;
    text-align: right;
}


/* -------------------- détails -----------------------*/


#section-memoire h4{
    margin-bottom: 0.5%;
}


}








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

    body{
        overflow-x: hidden;
    }

    .titre-section{

        font-size: 1.5em;
        position: sticky;
        height: 50px;
        top: 0;
        background-color: #ffffff;
        width: 100%;
        margin: 0;
        border-bottom: 2px solid black;
        z-index: 10;
    }


    .sous-titre-section{
        top: 50px;
    }

    .section-header{

        flex-direction: column !important;
    }

    
}


/*------------MOBILE-----------*/



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

.full-content{
flex-direction: column;
overflow-x: hidden;
max-width: 100%;
}

.mobile-header{
    padding: 1%;
    display: flex;
    position: fixed;
    top: 0;
    border-bottom: 4px dotted rgb(74, 74, 74);
    flex-direction: column;
    width: 100%;
    gap: 0.5vh;
    background-color: white;
    z-index: 40;
}

#mobile-title{
    display: flex;
    justify-content: space-between;
font-weight: 500;
  font-style: normal;
  font-size: 1.2rem;
  line-height: 1.8rem;
  align-items: center;
  margin-top: 1%;
}

.mobile-nav-projets{        
    display: flex;
    flex-direction: row;
    margin: 0 1%;
    width: 96%;
    margin-bottom: 2%;
    font-size: 0.8em;
    gap: 5px;
    justify-content: space-between;
    align-items: last baseline;
    flex-wrap: no-wrap;


    ul{
        padding: 0;
        margin: 0;
    }
}

.hello-bis{
    min-width: auto;

}

html body div.full-content div.mobile-header div.mobile-icons div a img{

    max-width: 23px;
}


#index{
    margin: 0;
    padding: 0;
    font-weight: 500;
}

.mobile-icons{
position: relative;
margin-bottom: 1vh;
width: 98%;
margin: 0 1%;
font-size: 0.8em;
    display: flex;
    width: 96%;
    gap: 5px;

    div{
        margin-bottom:0.5vh;
    }
    
    a{
        text-decoration: none;
    }

    a:hover{
        text-decoration: none;
    }
}

.socials{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    max-width: 40px;
    gap:1.2vw;
    margin-top: 1%;
}

.socials div:hover{
    opacity: 0.6;
}


.introw{
    width: 90%;
    p{
        width: 90%;
    }
}

.apropos{
    margin-top: 21vh;
}

.all-right{
    margin-top: 21vh;
}

header{
    display: none;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    flex-basis: 10%;
    max-height: 20vh;
    border-bottom: 4px dotted rgb(74, 74, 74);
    border-right: none;
}

.header{
display: none !important;
padding: 1%;
flex-direction: row !important;
flex-wrap: nowrap;
flex-basis: 100% !important;

}

.mobicons{
    display: flex !important;
    flex-direction: row;
    flex-wrap: nowrap;
    max-width: 60px;
    gap:1.2vw;
}

.nav-menu{
    padding: 0;
    display: flex;
    flex-direction: row;
}

.nav-projets{
    padding: 0;
    display: flex;
    flex-direction: row;
}


.left{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
}

.projets li{
    display: flex;
    flex-direction: row;
    gap: 2vh;
}

.icons{
    display: none;

}

.projets{
    display: flex;
}



.all-sections{


    width: 98%;
    margin: auto;


}



.section-header-lirelaville{

flex-direction: column !important;

}

}
