@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
*{
    margin: 0;
    padding: 0;
    font-family: "Montserrat", sans-serif;
}

header{
    background-color: rgb(247, 241, 241);
    padding: 0 100px;
    /* width: 100%; */
}

.container{
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 15vh;
}

.container img{
    width: 100px;
}

.container ul{
    display: flex;
    align-items: center;
    list-style-type: none;
    gap: 48px;
    height: 100%;
}
.container ul li a{
    text-decoration: none;
    font-weight: 600;
    height: 15vh;
    padding: 6vh 1vh;
    color: #392d2f;
}
.container ul li a:hover{
    color: #392d2f7f;
}
/* OrderOnline style */
.img img{
    width: 100%;
    height: 80px;

}
.main h1{
    margin: 16px 56px;
}
.main-container{
    margin: 0px 56px;
}
.main .aside{
    padding: 56px 56px;
    /* width: 100%; */
}
.aside .img1{
    display: flex;
    justify-content: center;
    flex-direction: column;
}
.img1 .text-img{
    text-align: center;
}
.main-container{
    display: flex;
    justify-content: space-between;
    margin-top: 56px;
}
.text-img{
    row-gap: 16px;
}
#sort{
    height: 30px;
}
.aside{
    margin-top: 40px;
    /* margin-left: 42px; */
    display: grid;
    grid-template-columns: repeat(4,1fr);
    row-gap: 100px;
    /* box-sizing: border-box; */
    /* width: 100%; */
}
.img1{
    padding: 8px 8px;
    box-sizing: border-box;
    /* width: 100%; */
}
.under-img img{
    width: 100%;
    height: 300px;
}
.text-img{
    display: flex;
    flex-direction: column;
    gap: 10px;
    
}
.text-img h{
    font-weight: bold;
    font-size: larger;
    
}


/* start footer */
footer{
    background: rgb(240, 233, 233);
    width: 100%;
    padding: 50px 100px;
    padding-bottom: 100px;
    box-sizing: border-box ;
}
footer .list-footer img{
    width: 200px;
}
.footer{
    display: flex;
    margin-bottom: 50px;
    /* justify-content: space-between;
    align-items: center;  */
}
.footer .list-footer{
    /* background-color: #392D2F; */
    width: 25%;
    height: auto;
    list-style-type: none;
}
.footer .list-footer ul{
    margin-bottom: 40px;
}
.footer .list-footer ul li{
    list-style-type: none;
    line-height: 1.8;
    
}
.footer .list-footer ul li a{
    text-decoration: none;
    color: #392D2F;
    font-weight: 400;
    font-size: 14px;
}

.footer .list-footer div #frist{
    font-size: 14px;
    font-weight: 600;
}
.footer .list-footer div #second{
    font-size: 14px;
    font-weight: 400;
}
.footer .list-footer-text{
    font-size: 14px;
    color: #392D2F;
    font-weight: 500;
    width: 40%;
    line-height: 1.8;
}
footer p{
    font-size: 12px;
    line-height: 1.5;
    color: #392D2F;
}
/* end footer */



/* --- Desktop (default, already done) --- */

/* --- Tablet (768px - 1024px) --- */
@media (max-width: 1024px) {
    header {
        padding: 0 40px;
    }

    .container img {
        width: 80px;
    }

    .container ul {
        gap: 24px;
    }

    .main h1 {
        margin: 16px 20px;
        font-size: 28px;
    }

    .main-container {
        margin: 0 20px;
        flex-direction: column;
        gap: 20px;
    }

    .aside {
        grid-template-columns: repeat(2, 1fr);
        padding: 20px;
        row-gap: 60px;
    }

    .under-img img {
        height: 200px;
    }

    footer {
        padding: 40px 20px 60px 20px;
    }

    .footer {
        flex-direction: column;
        gap: 30px;
    }

    .footer .list-footer,
    .footer .list-footer-text {
        width: 100%;
    }
}

/* --- Mobile (up to 767px) --- */
@media (max-width: 767px) {
    header {
        padding: 0 20px;
    }

    .container {
        flex-direction: column;
        height: auto;
        gap: 10px;
    }

    .container img {
        width: 70px;
    }

    .container ul {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .main h1 {
        margin: 16px 10px;
        font-size: 24px;
        text-align: center;
    }

    .main-container {
        margin: 0 10px;
        flex-direction: column;
        gap: 20px;
    }

    #sort {
        width: 100%;
    }

    .aside {
        grid-template-columns: 1fr;
        padding: 10px;
        row-gap: 40px;
    }

    .under-img img {
        height: 150px;
    }

    footer {
        padding: 30px 10px 40px 10px;
    }

    .footer {
        flex-direction: column;
        gap: 20px;
    }

    .footer .list-footer,
    .footer .list-footer-text {
        width: 100%;
        text-align: center;
    }

    .footer .list-footer img {
        width: 150px;
        margin: 0 auto;
    }
}
