*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    background-color: #1a1a1a;
    font-family: sans-serif;
    color: white;
    max-width: 1360px;
    margin: auto;
    border: 1px solid #3a3a3a;
     line-height: 1.5;
    /* height: 100vh; */
}

/* navbar */
.navbar{
    padding: 10px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: brown;
    position: sticky;
    top: 0;
    z-index: 1;
}

.navbar .navlinks{
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.navbar h1{
    font-weight: 600;
    

}
.baba{
    color: rgb(208, 255, 0);
}

.navlinks a{
    text-decoration: none;
    color: white;
    font-weight: 600;
    transition: all 0.8s;
}

.navlinks a:hover{
    color: yellow;
    transform: scale(1.1);
}

/* main page */

.main{
    background-image: url("backgroundpic.png");
    background-repeat: no-repeat;
    height: 95vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 15px;
}

.main button{
    width: 150px;
    padding: 15px 20px;
    border-radius: 30px;
    border: 1px solid white;
    color: white;
    background: rgba(235, 65, 65, 0.335);
    transition: background-color 0.8s ease;
    cursor: pointer;
}

.main a{
    text-decoration: none;
    color: white;

}

.main button:hover{
    background-color: transparent;
}

/* About */
#about-container{
    padding: 30px 80px;

}
#about-container h2{
    text-align: center;
   
}
.line{
    width: 60px;
    height: 4px;
    background-color: brown;
    margin: auto;
    border-radius: 10px;
    margin-top: 2px;
}

.about{
    margin-top: 20px;
    display: flex;
    gap: 30px;
    align-items: center;


}

.about img{
    width: 250px;
    height: 250px;
    border-radius: 10px;
    object-fit: cover;
}

.about p{
    text-align: justify;
    color: rgb(160, 160, 160);
    font-size: 18px;
}


/* Menu */

#menu-container{
    padding: 20px 40px;
}
#menu-container h2{
   text-align: center;
}

.menu-grid{
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px,1fr));
    gap: 20px;
}

.card{
     box-shadow: 0px 0px 10px #3e3e3e;
    border-radius: 20px;
    overflow: hidden;
    background-color: rgba(0, 0, 255, 0.179);
    transition: transform 0.5s ease;
    cursor: pointer;
    height: 250px;
}

.card:hover{
    transform: translateY(-10px);
}

.card img{
    height: 80%;
    width: 100%;
    object-fit: cover;
}

.card p{
    margin:5px 20px;
    font-size: 18px;
    color: rgb(160, 160, 160);
}

/* Contact */

#contact-container{
    padding: 30px 40px;
}

#contact-container h2{
    text-align: center;
}

.contact-card{
    margin-top: 30px;
    gap: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.contact{
    display: flex;
    justify-content: center;
    align-items: center;
}
.contact-card a{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 20px;
    text-decoration: none;
    color: white;
    font-size: 18px;
    transition: color 0.5s ease;

}

.contact-card img{
    width: 40px;
    filter: grayscale(1) invert(0.8);

}

.contact-card a:hover{
    color: rgb(27, 190, 245);
}


/* resposive */

@media screen and (max-width:748px){
        .navbar h1{
            font-size: 0.9rem;
        }
        .navlinks{
            font-size: .8rem
        }
        .main{
            padding: 0px 30px;
            height: 90vh;
        }
        #about-container{
            padding: 30px 15px;
        }
        .about{
            flex-wrap: wrap;
            justify-content: center;
        }

        #menu-container{
            padding: 20px 10px;
        }

        .contact-card a{
            font-size: 0.8rem;
        }


}

