
@media screen and (max-width: 600px){
    #nav {
        height: auto;
        padding: 1rem;
        width: 100%;
        position: fixed;
        z-index: 999;
        gap: 0;
        display: grid;
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }

    #nav .menu{
        padding: 1rem;
    }

    .page1 h1{
        font-size: 7rem;
    }
    .about,.foodandmess{
        flex-direction: column;
        height: auto;
    }
    .about .about-detail{
        width: 90vw;
    }
    .foodandmess{
        padding-top: 10vh;
    }
    .foodandmess .foodandmess-detail{
        width: 90%;
        margin-bottom: 20px;
    }
    .imgcontainer{
        max-width: 90vw;
    }
    .page3 .banner{
        z-index: 15;
        height: 18vh;
        background-image:linear-gradient(to right top,#c1931e,#b3f54f);
        display: flex;
        align-items: center;
        justify-content: center;
        margin-top: 2rem;
    }
    .page3 .banner h1{
        font-size: 7.5vw;
    }
    .elem-container{
        display: flex;
        justify-content: space-between;
        padding: 0 1rem;
        flex-direction: column;
        align-items: center;
        position: absolute;
        gap: 1rem;
        top: 9vh;
    }
    .page4 h1 {
        font-size: 15vw;
        top: -1%;
        opacity: 1;
        font-weight: 900;
        color: #000000;
        -webkit-text-stroke: 0.8px #8cce35;
        transition: all ease 0.5s ;
    }
    .page4:hover h1{
        opacity: 1;
        top: -1%;
    }

    .elem{
        width: 100%;
    }
    .elem h2{
        font-size: 9vw;
        color: #fff;
        background-color: transparent;
        backdrop-filter: blur(0px);
    }
    .elem:hover img {
        scale: 1.4;
      }
    
    .elem:hover img {
        scale: 1;
    }
    .img-gallery .popup-img img{
        width: 90%;
    }
}