@media(max-width: 900px) {
    /*mobile*/

    body{
        overflow-x: hidden!important;
    }
    
        .typo-grand{
            font-size: 40px;
            line-height: 35px;
        }

        .typo-moyen{
            font-size: 22px;
        }
    
        .typo-petit{
            font-size: 9px;
        }
        
    

           /* MENU */
    .toptop{
        display: none;
    }

        .titre{
         display: none;
        }

    header{
        display: flex;
        height: 45px;
        width: 100%;
        padding: 15px;
    }

    .lien{
        font-size: 22px;
        padding-right: 15px;
    }

    .image:hover{
        outline: solid 1.5px blue;
    }

        .home{
            grid-template-columns: 1fr auto 1fr;
            padding: 0 15px;
        }

    .bottom{
        bottom: 0;
    }

    header.bottom {
        top: auto;
        bottom: 0;
    }

    header.bottom ~ header.bottom {
        display: none;
    }

    .refresh{
        margin-left: 15px;
    }

    .home__center .titre{
        display: none;
    }

        /* MENU FIN */

        /* PROJET PROJET PROJET !!!!!! */

        main{
            padding-left: 0px;
            padding-right: 0px;
        }

        .Portfoliotexte{
            left: 20px;
            line-height: 20px;
            grid-template-columns: auto;
            margin-bottom: 10vh;
        }

    .carrousel{
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 0 15px;
        height: auto;
    }

    .projetTrop{
        display: block;
    }

    .projet,
    .projetTrop {
        width: 100%;
    }

    .projetimage{
        width: 100%;
    }

    .projet{
        height: auto;
    }

    .projetimage{
        aspect-ratio: 1 / 1;
        height: auto;
        padding: 0px;
    }

    .projet1{
        height: 100%;
    }

    .projettexte{
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 16px;
        line-height: 9px;
    }

    .PROJETvid2{
        height: 50vh;
    }

    .infoprojet{
        top: 15px;
        bottom: 15px;
        left: 15px;
        column-gap: 22px;
    }

    /* FOOTERMFOOTER FOOTER  */

    .banner{
        border:solid black 0.7px;
    }

    .bannermove{
        font-size: 40px;
    }
    
      footer{
        bottom: 45px!important;
        left: 20px;
        column-gap: 22px;
    }

    .mailinsta{
        outline: 0.7px solid black;
        display: flex;
        height: 50px;
        width: 100%;
        padding-top: 10px;
        padding-left: 20px;
        margin-bottom: 120px;
    }


/* Nav flèches : doublon du header, 3px au-dessus du header bas */
    .prochain {
        top: auto;
        bottom: 45px; /* header 45px + 3px */
        left: 15px;
        right: 15px;
        width: auto;
        padding: 3px 15px;
        justify-content: space-between;
        border-radius: 999px;
    }

    .prochain .fleche--prev {
        display: flex;
    }

    .prochain .fleche--prev img {
        transform: scaleX(-1);
    }

    .prochain .fleche img {
        width: 30px;
    }

    .Portfoliotexte{
        line-height: 20px;
        display: grid;
        grid-template-columns: 1fr;
    }

    .Portfoliotexte .texte-spacer{
        display: none;
    }

}

    #curseur{
        display: none;
    }
/* fin mobile */