.menubox{
    border: 1px solid black;
    background-color: var(--background);
    font-family: "Sprat";
    text-align: center;
    position: absolute;
    color: black;
    z-index: 0;
   }
   .menubox:hover{
       z-index: 2;
   }
   #menucontact {
   width: auto;
   height: 14vh;
   top: 10vh;
   left: 3%;
   font-size: 2.5vw;
   padding: 1.5vh 1vw;
   animation: initmove 1.4s ease;
   }
   #menulivre {
   width: auto;
   height: 19vh;
   top: 18vh;
   left: 13vw;
   font-size: 4vw;
   padding: 1.5vh 1.5vw;
   animation: initmove 1.6s ease;
   }
   #menugallerie {
   width: auto;
   height: 30vh;
   top: 30vh;
   left: 24vw;
   font-size: 5vw;
   padding: 2vh 2vw;
   animation: initmove 1.8s ease;
   }
   #menumusee {
   width: auto;
   height: 35vh;
   top: 46vh;
   left: 51vw;
   font-size: 6.3vw;
   padding: 4vh 3.5vw;
   animation: initmove 2s ease;
   }
   @keyframes initmove{
   0%{
      transform: translateY(100vh);
      opacity: 0%;
   }
   
   100%{
       transform: translateY(0vh);
       opacity: 100%;
   }
   }
   @media screen and (max-height:900px) and (orientation: landscape) {

    #menulivre{
        top: 19vh;    font-size: 2.6em;}
    #menucontact{
        font-size: 2em;    }
}
   @media screen and (max-device-width:900px), (max-width:900px)  {

    #menumusee{
        left: 32vw;
        font-size: 4.3em;
        top: 44vh;
    }
    #menugallerie{
        font-size: 3.3em;
        left: 24vw;
    }
    #menulivre{
        left: 17vw;
        font-size: 3.1em;
    }
    #menucontact{
        font-size: 2.5em;
    }
}



   @media screen and (max-device-width:568px), (max-width:568px)  {
    #menucontact{
        font-size: 1.6em;
        top:11vh;
    }
    #menulivre{
        font-size: 2em;
        padding: 2vw 2vh;
        top:19vh;
    }
    #menugallerie{
        font-size: 2.3em;
        top:29vh;
        height: 27vh;
    }
    #menumusee{
        top: 40vh;
        font-size: 2.85em;
        height: 27vh;
    }
    .menubox{
        padding: 2vw 1vh!important;
        left: 0!important;
        right: 0!important;
        width: fit-content!important;
        margin-inline: auto;
    }
}
@media screen and (max-height:568px) and (orientation: landscape) {
    #menucontact {
        font-size: 1.5em;
        left: 2vw;
    }
    #menulivre {
        left: 19vw;
        font-size: 1.9em;
        top: 21vh;
    }
    #menugallerie {
        font-size: 2.2em;
        left: 31vw;
        top: 34vh;
        padding: 1.5vh 1.5vw;
    }
    #menumusee {
        left: 53vw;
        font-size: 2.8em;
        top: 50vh;
        padding: 1.2vh 3.5vw;
    }
}
@media screen and (max-width: 360px){
    #menucontact{
         font-size: 1.3em;
         top:11vh;
     }
     #menulivre{
         font-size: 1.7em;
         padding: 2vw 2vh;
         top:19vh;
     }
     #menugallerie{
         font-size: 2em;
         top:29vh;
         height: 27vh;
     }
     #menumusee{
         top: 40vh;
         font-size: 2.3em;
         height: 27vh;
     }
 }


