@media screen and (max-width:992px) {

    .nav .links {
        width: 20%;
        display: none;
    }

    .menu-icon {
        display: flex;
        color: #212529;
        font-size: 20px;
    }

    .menu-toggle {
        display: none;
    }

    .menu-icon {
        font-size: 26px;
        cursor: pointer;
        display: flex;
        color: rgb(0, 0, 0);
    }

    .menu-toggle {
        display: none;
    }

    .menu-toggle+.menu-icon+.nav-links {
        display: flex;
    }

    .menu-icon {
        display: flex;
    }

    .header {
        min-height: fit-content;
        flex-wrap: wrap;
        text-align: center;
    }

    .header .header-cont {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 100%;

    }

    .header-cont h2 {
        margin-top: 40px;
        font-size: 60px;
        width: 50%;
    }

    .header-cont p {

        width: 90%;
        font-size: 15px;
    }

    .header .btn {
        display: flex;
        flex-direction: row;
    }

    .header .btn .btn1 a {
        border-radius: 80px;
        font-size: 15px;
        padding: 10px 20px;
    }

    .header .btn .btn2-i {
        width: 40px;
        height: 40px;
        margin-top: 20px;
        margin-bottom: 20px;
    }

    .header .btn .btn2-i i {
        font-size: 30px;

    }

    .header .btn .btn2-a a {
        font-size: 15px;

    }

    .header .header-pic {
        margin-top: 50px;
        width: 90%;
        order: -1;
    }

    .header .header-pic img {
        width: 100%;
    }

    .chefs-header {
        min-height: fit-content;
    }

    .chefs-header h2 {
        font-size: 20px;
    }

    .chefs-header p {
        font-size: 70px;
    }

    .chefs-cards {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: flex-start;

    }

    .overlay {
        right: -100;
    }

    .overlay i {
        font-size: 20px;
        padding: 20px 20px;
    }

    .chefs-cards .card1 {
        width: 48%;
        margin-bottom: 30px;
    }

    .chefs-cards .waves {
        width: 100%;
        bottom: 110px;
        background-size: cover;
        background-repeat: repeat;
    }

    .chefs-cards .card1 .card-cont h3 {
        font-size: 15px;
    }

    .chefs-cards .card1 .card-cont {
        display: flex;
        flex-direction: column;
        align-items: center;

    }

    .chefs-cards .card1 .card-cont p {
        background-color: rgba(0, 255, 255, 0);
        line-height: 13px;
        font-size: 12px;
        width: 70%;

    }

    .chefs-cards .card1 .card-cont span {
        font-size: 10px;

    }

    .gallery {
        padding-inline: 10px;
        margin-top: 0px;
    }

    .gallery h2 {
        font-size: 20px;
    }

    .gallery p {
        font-size: 60px;
    }

    .gallery-masonry {
        
        column-count: 2;
        column-gap: 1;
    }

    .gallery-masonry .iitem {
        width: 350px;
    }
    
    .iitem .overlay-mas h2 {
        font-size: 20px;
    }

    .iitem .overlay-mas p {
        font-size: 10px;
    }

    .contact {
        margin-top: 50px;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
    }

    .contact-content h2 {
        font-size: 20px;
    }

    .contact-content p {
        font-size: 70px;
    }

    .contact-map {
        padding: 0px;
    }

    .contact-map iframe {
        width: 700px;
        height: 300px;
        margin: 0;
    }

    .contact-icon .icon1 {
        width: 43%;

    }

    .contact-icon {
        padding-inline: 0px;
    }

    .contact-icon .icon1 i {
        font-size: 20px;
        padding: 20px 20px;
    }

    .contact-icon .icon1 h3 {
        font-size: 20px;
    }

    .contact-icon .icon1 p {
        font-size: 15px;
    }

    .contact-form .form-row {
        display: flex;
        flex-direction: column;
        gap: 0px;
    }

    .input1 {
        width: 100%;
        font-size: 10px;
    }


    .whole-div .btn button {
        font-size: 15px;
        padding: 10px 30px;
        border-radius: 50px;
    }

    .footer {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
    }

    .mealify {
        order: -2;
        width: 50%;
        padding: 50px 0px;
        margin-left: 0px;
        margin-top: 0px;
    }

    .mealify h2 {
        font-size: 30px;
    }

    .mealify p {
        font-size: 15px;
    }

    .mealify h3 {
        font-size: 20px;
        margin-top: 20px;
    }

    .mealify ul {
        justify-content: space-between;
    }

    .mealify ul li i {
        font-size: 20px;
    }

    .subscribe h2 {
        margin-top: 20px;
        font-size: 20px;
    }

    .subscribe p {
        font-size: 15px;
        margin-top: 20px;
    }

    .input-subs .info {
        font-size: 15px;
        width: 70%;
        padding: 15px 15px;
    }

    .input-subs button {
        width: 20%;
        padding: 13px 13px;
        font-size: 15px;
    }

    .input-subs button i {
        font-size: 20px;
    }

    .subscribe h3 {
        margin-block: 20px;
        font-size: 20px;
    }

    .subscribe table td li {
        font-size: 20px;

    }

    .subscribe table td li i {
        font-size: 10px;
    }

    .subscribe table tr td li {
        padding-inline: 80px;
    }

    .getin {
        order: -1;
        width: 47%;
        margin-left: 15px;
        margin-right: 0;
        margin-top: 10px;
        padding-bottom: 50px;
    }

    .getin h2 {
        font-size: 20px;
    }

    .getin ul li {
        font-size: 20px;
        margin-top: 20px;
    }

    .getin ul li span {
        font-size: 15px;
    }
}

@media screen and (max-width: 768px) {

    .header {
        min-height: fit-content;
        flex-wrap: wrap;
        text-align: center;
    }

    .header .header-cont {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 100%;

    }

    .header-cont h2 {
        font-size: 120px;
        width: 70%;
    }

    .header-cont p {
        width: 80%;
        font-size: 40px;
    }

    .header .btn {
        display: flex;
        flex-direction: column;
    }

    .header .btn .btn1 a {
        border-radius: 80px;
        font-size: 30px;
        padding: 30px 50px;
    }

    .header .btn .btn2-i {
        width: 70px;
        height: 70px;
        margin-top: 20px;
    }

    .header .btn .btn2-i i {
        font-size: 55px;

    }

    .header .btn .btn2-a a {
        font-size: 30px;
    }

    .header .header-pic {
        margin-top: 50px;
        width: 90%;
        order: -1;
    }

    .header .header-pic img {
        width: 100%;
    }

    .chefs-header {
        min-height: fit-content;
    }

    .chefs-header h2 {
        font-size: 40px;
    }

    .chefs-header p {
        font-size: 120px;
    }

    .chefs-cards {
        display: flex;
        flex-direction: column;
        align-items: center;

    }

    .overlay {
        right: -100;
    }

    .overlay i {
        font-size: 40px;
        padding: 40px 30px;
    }

    .chefs-cards .card1 {
        width: 100%;
        margin-bottom: 30px;
    }

    .chefs-cards .waves {
        width: 100%;
        bottom: 295;
        background-size: cover;
        background-repeat: repeat;
    }

    .chefs-cards .card1 .card-cont h3 {
        font-size: 40px;
    }

    .chefs-cards .card1 .card-cont {
        display: flex;
        flex-direction: column;
        align-items: center;
        min-height: 150px;
    }

    .chefs-cards .card1 .card-cont p {
        background-color: rgba(0, 255, 255, 0);
        line-height: 30px;
        font-size: 30px;
        width: 70%;
        margin: 40px;
    }

    .chefs-cards .card1 .card-cont span {
        font-size: 30px;
        margin-top: 30px;
    }

    .gallery {
        padding: 150px;
        margin-top: 150px;
    }

    .gallery h2 {
        font-size: 40px;
    }

    .gallery p {
        font-size: 120px;
    }

    .gallery-masonry {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .gallery-masonry .iitem {
        width: 900px;
    }

    .iitem .overlay-mas h2 {
        font-size: 70px;
    }

    .iitem .overlay-mas p {
        font-size: 40px;
    }

    .contact {
        margin-top: 50px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .contact-content h2 {
        font-size: 40px;
    }

    .contact-content p {
        font-size: 120px;
    }

    .contact-map iframe {
        width: 900px;
        height: 900px;
        margin: 0;
    }

    .contact-icon .icon1 {
        width: 100%;

    }

    .contact-icon .icon1 i {
        font-size: 40px;
        padding: 20px 20px;
    }

    .contact-icon .icon1 h3 {
        font-size: 30px;
    }

    .contact-icon .icon1 p {
        font-size: 30px;
    }

    .contact-form .form-row {
        display: flex;
        flex-direction: column;
    }

    .input1 {
        width: 100%;
        font-size: 30px;
    }

    .whole-div .btn button {
        font-size: 35px;
        padding: 30px 60px;
        border-radius: 50px;
    }

    .footer {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .mealify {

        width: 100%;
        padding: 50px 0;
    }

    .mealify h2 {
        font-size: 60px;
    }

    .mealify p {
        font-size: 30px;
    }

    .mealify h3 {
        font-size: 40px;
        margin-top: 20px;
    }

    .mealify ul {
        justify-content: space-between;
    }

    .mealify ul li i {
        font-size: 50px;
    }

    .subscribe h2 {
        margin-top: 50px;
        font-size: 40px;
    }

    .subscribe p {
        font-size: 30px;
        margin-top: 20px;
    }

    .input-subs .info {
        font-size: 35px;
        width: 100%;
        padding: 15px 15px;
    }

    .input-subs button {
        width: 100%;
        padding: 15px 15px;
        font-size: 30px;
    }

    .input-subs button i {
        font-size: 40px;
    }

    .subscribe h3 {
        margin-block: 40px;
        font-size: 40px;
    }

    .subscribe table td li {
        font-size: 30px;

    }

    .subscribe table td li i {
        font-size: 20px;
    }

    .subscribe table tr td li {
        padding-inline: 80px;
    }

    .getin {
        width: 100%;
        margin-right: 0;
        margin-top: 20px;
        padding-bottom: 50px;
    }

    .getin h2 {
        font-size: 40px;
    }

    .getin ul li {
        font-size: 40px;
        margin-top: 20px;
    }

    .getin ul li span {
        font-size: 30px;
    }
}