
@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');
*{
    margin:0;
    padding:0;
    box-sizing: border-box;
    font-family:'Lato';
    -webkit-tap-highlight-color: transparent;
}

body,html{
    overflow-x:hidden;
    scroll-behavior: smooth;
}

body{
    background: radial-gradient(rgb(21, 21, 21),rgb(11, 11, 11));
    min-height:100vh;
}

#menus{
    color:white;
    width:100%;
    min-height:100vh;
    max-width:800px;
    padding:50px 10px;
    margin:0 auto;
    display:flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: flex-start;
}
#menus > h1{
    width:100%;
    text-align: center;
    position:relative;
    font-weight:300;
    text-shadow:0 0 5px white;
    animation:fadeIn forwards 1s;
}

#menus > h1:before{
    content:"";
    height:3px;
    width:80%;
    position:absolute;
    left:50%;
    bottom:-30px;
    transform:translateX(-50%);
    background-color:white;
    box-shadow: 0 0 17px white;
}

#menus > a, 
#menus > p{
    position:absolute;
    font-weight:300;
    font-size:12px;
    text-shadow:0 0 1px rgb(153, 153, 153);
    color:rgb(153, 153, 153);
    opacity:0;
    animation:fadeIn 1s forwards 1s;
}
#menus > p{
    right:2vw;
    bottom:10px;
}
#menus > a{
    left:2vw;
    bottom:10px;    
    text-decoration: none;
    transition:color 0.4s;
}
#menus > a:hover{
    color:#FFD29D;
}
.menu{
    width:40%;
    margin:15px 0;
    display:grid;
    place-items: center;
    cursor: pointer;
    opacity:0;
    animation:fadeIn 1s forwards;
    transition:filter 0.3s;
}
.menu:hover{
    filter:drop-shadow(0 0 3px white);
}
.menu img{
    width:90%;
}

#menuOverlay{
    height:100vh;
    width:100vw;
    background:rgb(15,15,15);
    z-index: 2;
    position:absolute;
    left:-100%;
    top:0;
    transition:all 1s; 
    overflow-x:hidden;
    overflow-y: scroll;
    opacity:0;
}

#closeMenuOverlay{
    background-color:white;
    padding:10px 15px;
    display: inline-block;
    border-radius: 1000px;
    margin:20px;
    font-weight:400;
    box-shadow: 0 0 5px white;
    font-size:21px;
    cursor: pointer;
    position:fixed;
    top:0;
    left:0;
    z-index: 3;
    opacity: 0;
    transition: opacity 0.4s;
}
#menuOverlay:nth-child(2){
    padding-top:50px;
}

#menuOverlay > div{
    color:white;
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    padding:30px 0;
    margin:30px 0;
    cursor:pointer;
}
#menuOverlay > div > h1{
    width: 100%;
    font-weight:300;
    text-shadow: 0 0 5px white;
    cursor:pointer;
}

.dish{
    width:30%;
    padding-bottom:30%;
    background-size:cover;
    background-position: center;
    margin:40px 5px;
    position: relative;
}

.dish > p{
    position:absolute;
    left:50%;
    bottom:0;
    transform: translateX(-50%) translateY(100%);
    font-size:15px;
    text-shadow: 0 0 1px rgb(242, 242, 242);
}

#dishOverlay{
    min-height:100vh;
    width:100%;
    position:absolute;
    left:0;
    top:0;
    background:radial-gradient(rgba(23,23,23, 0.93), rgba(11,11,11, 0.93));
    display:flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition:all 1s;
    opacity:0;
    pointer-events:none;
    z-index: 4;
    color:rgb(240, 240, 240);
}
#dishOverlay h3{
    padding:0 0 50px 0;
    font-weight:300;
}
#dishOverlay img{
    width:80%;
    max-width:400px;
}
#dishOverlay h1{
    margin:10px 0;
    text-shadow:0 0 2px rgb(199, 199, 199);
    font-weight:300;
    text-shadow: 0 0 5px white;
}
#dishOverlay p{
    text-align: center;
    width:90%;
}
#dishOverlay h2{
    margin-top:10px;
    padding-bottom:50px;
    font-weight:300;
}
@keyframes fadeIn{
    0%{
        opacity:0;
    }
    100%{
        opacity:1;
    }
}