@media (min-width: 576px) {}

@media (min-width: 768px) {
    .container {
        width: 720px;
    }

    .chefs .cards {
        display: flex;
        flex-wrap: wrap;
    }

    .chefs .cards .card {
        width: 50%;
        padding-right: 20px;
    }

    .gallery .gallery-body {
        display: flex;
        flex-wrap: wrap;
        flex-direction: column;
        height: 1405px;
    }

    .gallery .gallery-body .img-container {
        width: 50%;
        padding: 0 10px;
    }

    .contact .contact-box .box {
        width: calc((100% - 20px) / 2);
    }

    .footer .subscribe .subscribe-bnt{
        flex-direction: row;
    }

    .footer .subscribe input{
        width: 80%;
    }

    .footer .subscribe button{
        width: 20%;
    }

    .footer .social,
    .footer .subscribe,
    .footer .touch {
        padding-inline: 20px;
        margin-bottom: 20px;
    }

    .footer .container {
        display: flex;
        flex-wrap: wrap;
    }

    .footer .social,
    .footer .touch {
        width: 50%;
    }

    .footer .subscribe {
        order: 3;
    }

    .footer .touch h3 {
        margin-top: 0;
    }

    .footer .touch ul li p {
        font-size: 15px;
    }
}

@media(min-width: 992px) {
    .container {
        width: 960px;
    }

    .nav .container .links {
        position: static;
        background-color: transparent;
        color: var(--text-main);
        font-size: 17px;
        font-weight: 600;
        transform: translateX(0);
    }

    .nav .container .links .xmark {
        display: none;
    }

    .nav .container .links ul {
        display: flex;
    }

    .nav .container .links ul a {
        padding: 10px 20px;
        position: relative;
    }

    .nav .container .links ul a::before {
        content: '';
        position: absolute;
        bottom: 3px;
        width: 0%;
        height: 2px;
        background-color: var(--color-main);
        transition: width 0.5s ease;
    }

    .nav .container .links ul a:hover::before {
        width: 60%;
    }

    body:has(#Home:target) .home-link::before,
    body:has(#Chefs:target) .chefs-link::before,
    body:has(#Gallery:target) .gallery-link::before,
    body:has(#Contact:target) .contact-link::before {
        width: 60% !important;
    }

    .nav .bars {
        display: none;
    }

    .home {
        padding-block: 30px;
    }

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

    .home .container .first {
        order: 3;
        width: 40%;
    }

    .home .container .second {
        margin-top: 40px;
        text-align: left;
        width: 60%;
    }

    .home .container .second h1 {
        margin: 0;
    }

    .home .container .second p {
        width: 70%;
    }

    .home .container .second .btn-group {
        display: flex;
        justify-content: left;
    }

    .home .container .second .btn-group .book {
        border-radius: 0 20px 20px 20px;
    }

    .chefs .cards .card {
        width: 33%;
    }

    .gallery .gallery-body {
        height: 850px;
    }

    .gallery .gallery-body .img-container {
        width: 33.333%;
        padding: 0 10px;
    }

    .order-1 {
        order: 1;
    }

    .order-2 {
        order: 2;
    }

    .order-3 {
        order: 3;
    }

    .order-4 {
        order: 4;
    }

    .order-5 {
        order: 5;
    }

    .order-6 {
        order: 6;
    }

    .order-7 {
        order: 7;
    }

    .contact .contact-form .form-group .form-input {
        width: calc((100% - 20px) / 2);
    }
}

@media(min-width: 1200px) {
    .container {
        width: 1140px;
    }

    .home {
        display: flex;
        align-items: center;
    }

    .gallery .gallery-body {
        height: 1006px;
    }

    .footer .social,
    .footer .touch {
        width: 25%;
    }

    .footer .subscribe {
        width: 50%;
        order: 0;
    }
}

@media(min-width: 1400px) {
    .container {
        width: 1320px;
    }

    .gallery .gallery-body {
        height: 1210px;
    }
}