*{
    margin: 0%;
    padding: 0%;
    box-sizing: border-box;
}

body{
    min-height: 100vh;
    width: 100%; 
    background-image: url(./menupc.jpg);
    background-size: cover ;
    background-repeat: no-repeat;
    background-position: center;
}
header{
    height: 20%;
    width: 100%;
    display: flex;
    gap: 40%;
    /* background-color: aqua; */
    background-color: black;
}

header img{
    height: 70px;
    width: 150px;
    margin-left: 40px; 
    background-color: aliceblue; 
}


nav ul{
    width: 400px;
    display: flex;
    justify-content: space-evenly;
    gap: 15%;
    /* background-color: brown; */
    margin-top: 20px;
}

nav a{
    text-decoration: none;
    color: white;
    font-weight: bolder;
}
nav li{
    list-style-type: none;
}

.welcome_text{
  font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
  font-size: 42px;
  color: white;
  margin-top: 20px;
  text-align: center;
}

.Delicious_line{
    color: white;
    margin-top: 20px;
    text-align: center;
    font-size: 45px;
}

.tags{
    display: flex;
    justify-content: center;
    /* align-items: center; */
    gap: 20px;
    /* margin-top: 20px; */

}

.menu1{
    background-color: orange;
    color: white;
}

.menu1,.menu2,.menu3,.menu4{
    /* color: white; */
    border-radius: 50px;
    /* margin-left: 45%; */
    margin-top: 20px;
    padding: 12px 30px;
    border: none;
    outline: none;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    /* margin-left: 90px; */
}

.all{
    width: 900px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 15px;
    margin-top: 30px;
    margin-bottom: 50px;
}

.all img{
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
}

.all img:hover{
    transform: scale(1.05);
    transition: 0.3s;
    cursor: pointer;
}


.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background: rgba(0, 0, 0, 0.7);

    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
}


.popup:target {
    opacity: 1;
    visibility: visible;
}


.popup-content {
    background: white;
    width: 300px;
    /* margin: 15% auto; */
    padding: 20px;
    text-align: center;
    border-radius: 10px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}


.close {
    float: right;
    font-size: 22px;
    text-decoration: none;
    color: black;
}

@media (max-width: 768px){

    
    header{
        flex-direction: column;
        align-items: center;
        gap: 10px;
        height: auto;
        padding: 10px 0;
    }

    header img{
        margin-left: 0;
    }

    nav ul{
        width: 100%;
        flex-direction: column;
        align-items: center;
        gap: 10px;
        margin-top: 10px;
    }

    
    .welcome_text{
        font-size: 28px;
        padding: 0 10px;
    }

    .Delicious_line{
        font-size: 30px;
        padding: 0 10px;
    }

    
    .tags{
        flex-wrap: wrap;
        gap: 10px;
        padding: 0 10px;
    }

    .menu1, .menu2, .menu3, .menu4{
        padding: 8px 16px;
        font-size: 13px;
    }

    
    .all{
        width: 95%;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .all img{
        height: 150px;
    }

    
    .popup-content{
        width: 90%;
        padding: 15px;
    }
}