@media screen and (max-width: 640px) {
    html, body{
        max-width: 100vw !important;
        overflow-x: hidden !important;
        overflow-y: scroll;
        scroll-behavior: smooth !important;
    }
    h1, h2{
        font-size: 7vw !important;
    }
    h3{
        font-size: 5vw !important;
    }
    h4{
        font-size: 3vw !important;
    }

    #side_bar{
        display: none !important;
    }
    #nom, #horloge{
        width: 50vw !important;
        top: 2vh !important;
    }
    #menu{
        position: absolute;
        margin: 0;
        width: 90%;
        top: 0%;
        left: 5vw;
    }
    .menu_elem{
        opacity: 0;
        display: none;
        visibility: hidden;
    }
    #horloge{
        right: 5vw !important;
        text-align: right !important;
    }
    #monet{
        right: 5vw !important;
        top: 8vh !important;
        height: 50vh !important;
    }
    .info{
        position: absolute !important;
        margin-top: 0vh !important;
        opacity: 1 !important;
        top: 60vh !important;
        width: 90vw !important;
    }
    #bas{
        position: absolute !important;
        bottom: 2vh !important;
        height: 5vh !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
    }
    #bas:hover{
        animation-play-state: running !important;
    }
    #langue{
        right: 5vw !important;
        bottom: 2vh !important;
        padding: 1vh !important; 
    }
    #intro, #footer{
        height: 100% !important;
    }

    .chapeau{
        padding-left: 5vw !important;
        padding-bottom: 2vh !important;
        width: 90vw !important;
        height: auto !important;
        position: relative !important;
    }
    .slideshow{
        float:inherit !important;
        width: 100% !important;
        height: 80% !important;
        margin-bottom: 2vh !important;
        /*        max-height: 80vh !important;*/
    }
    .numeroSlide{
        opacity: 1 !important;
        bottom: 0vh !important;
        left: 0vw !important;
        background: white !important;
        padding: 1% !important;
    }
    .fleche{
        width: 35% !important;
    }
    section{
        float:inherit !important;
        width: 100% !important;
        /*        height: 60vh !important;*/
        text-align: center;
        /*        max-height: 80vh !important;*/
    }
    .titre_proj{
        margin-left: 12% !important;
        width: 88% !important;
    }
    .type{
        padding-left: 12% !important;
    }
    .bouton_{
        pointer-events: none !important;
    }
    .img_filtre{
        left: 2vw !important;
        width: 8vw !important;
        height: auto !important;
    }
    details[open]{
        height: auto !important;
    }
    canvas{
        /*        width: 100% !important;*/
        /*        height: 100% !important;*/
        /*        max-height: 80vh !important;*/
    }
    #seeyou{
        left: 5vw !important;
        top: 5vh !important;
    }
    #annexe{
        right: 5vw !important;
        top: 5vh !important;
    }
    #contact{
        left: 5vw !important;
        bottom: 9vh !important;
    }
    #copyright{
        left: 5vw !important;
        bottom: 3vh !important;
    }
    #typo{
        left: 5vw !important;
        bottom: 5vh !important;
    }
    #img_outro{
        display: none !important;
    }
    #img_outro_mobile{
        display: block !important;
    }
}