* {
    margin: 0;
    padding: 0;
    list-style: none;
    text-decoration: none;
    color: black;
}

header {
    height: 20vh;
    width: 100vw;
}

.navbar {
    position: absolute;
    padding: 50px;
    display: flex;
    justify-content: space-between;
    width: 100%;
    box-sizing: border-box;
    align-items: center;
}

.navbar .logo {
    font-size: 2em;
    font-weight: bold;
}

.navbar .nav-links ul {
    display: flex;
}

.navbar .nav-links ul li {
    margin: 0 25px;
}

.navbar .menu-burger {
    display: none;
    position: absolute;
    top: 50px;
    right: 50px;
    width: 35px;
}

.navbar .shopping-bag {
    display: none;
    position: absolute;
    top: 52px;
    right: 95px;
    width: 30px;
}

.search {
    position: absolute;
    width: 80%;
    top: 100px;
    left: 10%;
    height: 30px;
}

.button {
    position: absolute;
    width: 30px;
    height: 30px;
    top: 103px;
    right: 10%;
    
}

input[type="text"], input[type="search"] {
    border: 2px solid black;
    border-radius: 5px;
    outline: none; 
    box-shadow: none; 
}

.product {
    margin: 30px; 
    display: inline-block; 
    transition: border 0.3s ease;
    border: 1px solid white;
    transition: transform 0.3s;
}

.product:hover {
    border: 1px solid whitesmoke;
    border-radius: 7px;
    transform: translateX(0) scale(1.1);
}

.product-container {
    display: flex;
    flex-wrap: wrap; 
    gap: 5px; 
    justify-content: center;
    align-items: center;
}

.price {
    color: green;
}

.img {
    height: 350px;
    width: 300px;
}

footer {
    background-color: rgb(153, 146, 146);
    margin-bottom: 0;
    padding: 10px;
}


.chiant {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.imgfooter {
    display: flex;
    justify-content: center;
}

.imgfooter img {
    height: 50px;
    width: 50px;
    object-fit: contain;
    display: block;
}


@media screen and (max-width: 800px) {
    .navbar {
        padding: 0;
    }

    .navbar .logo {
        position: absolute;
        top: 50px;
        left: 50px;
    }

    .nav-links .logo a {
        color: black;
    }
    .navbar .menu-burger{
        display: block;
    }
    .navbar .shopping-bag {
        display: block;
    }

    .nav-links{
        top: 0;
        left: 0;
        position: absolute;
        background-color: rgba(254, 254, 254, 0.507);
        width: 100%;
        height: 100vh;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-left: -100%;
        transition: all 0.5s ease;
    }

    .mobile-menu {
        margin-left: 0;
    }

    .nav-links ul {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .navbar .nav-links ul li {
        margin: 25px 0;
        font-size: 1.2em;
    }
}