* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;

    ::selection {
        background-color: hsl(0 62.9% 58.8%);
        color: var(--white);
    }
}

:root {
    --background1: #eeeeee;
    --background2: #ffffff;
    --white: #ffffff;
    --DarkDarkDarkGrey: #212529;
    --darkDarkGray: #37373f;
    --gray: #4f4f5a;
    --lightGrey: #7f7f90;
    --liightLightGray: #f5f5f5;
    --darkRed: #ce1212;
    --red: #e61414;

    .Contact {

        .contactForm form {
            background-color: #ffffff;
        }
    }
}

:root:has(.dark-mode-toggle:checked) {
    --background1: #252525;
    --background2: #202020;
    --white: #ffffff;
    --DarkDarkDarkGrey: #ffffff;
    --darkDarkGray: #ffffff;
    --gray: #9f9f9f;
    --liightLightGray: #0d0d0d;
    --lightGrey: #9f9f9f;
    --darkRed: #c17e1f;
    --red: #d78c23;

    .Contact .contactForm form {
        background-color: #171717;
    }

    .Chefs .container .chef .content {
        background-color: #0d0d0d;
    }

    .Chefs .container .chef {
        .chefImage::before {
            background-image: url(images/team-shape-dark.svg);
        }

        .content {
            background-color: #161616;
        }
    }

    .Home .navBar .container .darkmode label {
        .fa-sun {
            display: inline-block;
            color: white;
            font-size: 25px;
        }

        .fa-moon {
            display: none;
        }
    }

    .Home .navBar .container .hamburger {
        color: white;
    }

    .Home .navBar {
        background-color: #171717;
    }
}

.header {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-bottom: 20px;

    h2 {
        color: var(--darkDarkGray);
        font-family: "Amatic SC", sans-serif;
        font-weight: 400;
        font-size: 50px;

        .PROFESSIONAL {
            color: var(--darkRed);
        }

        .OUR-GALLERY {
            color: var(--darkRed);
        }

        .CONTACT-US {
            color: var(--darkRed);
        }
    }

    p {
        color: var(--lightGrey);
        font-family: "Open Sans", sans-serif;
    }
}

.Home {
    .navBar {
        position: fixed;
        top: 0;
        z-index: 900;
        width: 100%;
        box-shadow: 0px 0px 21px 0px hsla(0 0% 0% / 0.16);
        background-color: var(--background2);
        height: fit-content;

        .container {
            width: 88%;
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-family: "Open Sans", sans-serif;

            .logo {
                width: 16%;
                padding: 25px 25px 25px 15px;
                font-size: 30px;
                font-weight: 700;
                color: var(--DarkDarkDarkGrey);
                display: flex;
                justify-content: flex-start;

                .dot {
                    color: var(--darkRed);
                }
            }

            .menu {
                width: 40%;
                display: flex;
                padding-left: 65px;

                li {
                    display: inline-block;
                    padding: 20px 10px 13px 15px;
                    text-align: center;
                    overflow: hidden;
                    cursor: default;

                    a {
                        width: 200px;
                        font-weight: 600;
                        font-size: 17px;
                        width: 25%;
                        text-decoration: none;
                        color: var(--lightGrey);
                        position: relative;
                    }

                    a:hover {
                        color: var(--DarkDarkDarkGrey);
                    }

                    a::after {
                        content: "";
                        height: 2.5px;
                        width: 95%;
                        margin: auto;
                        background-color: var(--darkRed);
                        position: absolute;
                        left: -80px;
                        bottom: -8px;
                        transition: all 0.5s;
                    }

                    a:hover::after {
                        left: 0;
                    }
                }
            }

            .darkmode {
                width: 3%;
                display: flex;
                align-items: center;


                input {
                    display: none;
                }

                label {
                    cursor: pointer;
                    font-size: 25px;
                    color: black;
                }

                .fa-moon {
                    display: inline-block;
                }

                .fa-sun {
                    display: none;
                }
            }

            body:has(.dark-mode-toggle:checked) .fa-moon {
                display: none;
            }

            body:has(.dark-mode-toggle:checked) .fa-sun {
                display: inline-block;
            }

            .hamburger {
                display: none;
                font-size: 30px;
                cursor: pointer;
                color: black;
            }

        }
    }

    .homePage {
        background-color: var(--background1);

        .container {
            width: 88%;
            margin: auto;
            padding-bottom: 50px;
            padding-top: 145px;
            height: 100vh;
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            align-items: center;

            .homeImage {
                width: 50%;
                padding-right: 0;
                display: flex;
                justify-content: end;

                img {
                    width: 79%;
                }

                img:hover {
                    animation: move 0.5s;
                    animation-iteration-count: infinite;
                }
            }

            .homeContent {
                align-content: center;
                width: 50%;
                padding-left: 15px;

                h1 {
                    font-family: "Amatic SC", sans-serif;
                    font-weight: 700;
                    font-size: 64px;
                    color: var(--darkDarkGray);
                    padding-right: 170px;
                    padding-top: 10px;
                    padding-bottom: 10px;
                }

                p {
                    margin-right: 60px;
                    padding: 10px 0;
                    font-family: "Open Sans", sans-serif;
                    color: var(--gray)
                }

                .buttons {
                    display: flex;
                    align-items: center;
                    justify-content: flex-start;
                    margin-top: 20px;

                    #btn1 {
                        margin-right: 30px;
                        margin-left: 0px;
                        font-size: 14px;
                        padding: 14px 26px;
                        border: none;
                        background-color: var(--darkRed);
                        color: var(--white);
                        border-radius: 900px;
                        border-top-left-radius: 0px;
                        cursor: pointer;
                        transition: all 0.5s;
                    }

                    #btn1:hover {
                        background-color: var(--red);
                    }

                    #btn2 {
                        width: 200px;
                        height: 50px;
                        border: none;
                        padding-top: 0;
                        background-color: transparent;
             
                        a {
                            text-decoration: none;
                            display: flex;
                            justify-content: center;
                            align-items: center;
                        }

                        .border {
                            display: inline-block;
                            width: 10%;
                            height: 54px;
                            width: 29px;
                            background-color: var(--darkRed);
                            border-top-left-radius: 100% 50%;
                            border-top-right-radius: 0;
                            border-bottom-left-radius: 100% 50%;
                            border-bottom-right-radius: 0;
                            position: relative;

                            .whiteCircle {
                                position: relative;
                                left: 7px;
                                top: 7px;
                                height: 40px;
                                width: 40px;
                                background-color: var(--background2);
                                border-radius: 50%;
                                z-index: 3;
                            }

                            i {
                                position: absolute;
                                top: 19px;
                                left: 22px;
                                font-size: 16px;
                                color: var(--DarkDarkDarkGrey);
                                z-index: 5;
                                transition: all 0.5s;
                            }
                        }

                        .contenttttt {
                            display: inline-block;
                            width: 80%;

                            p {
                                font-size: 14px;
                                font-weight: 600;
                                color: var(--DarkDarkDarkGrey);
                                margin-right: 0;
                                transition: all 0.5s;
                                
                            }

                        }
                    }

                    #btn2:hover {
                        p {
                            color: var(--darkRed);
                        }

                        i {
                            color: var(--darkRed);
                        }
                    }
                }
            }
        }
    }
}

.Chefs {
    padding: 50px 0;
    background-color: var(--background2);

    .container {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        align-content: center;
        justify-content: space-between;
        width: 85%;
        margin: auto;
        height: auto;
        position: relative;

        .chef {
            box-shadow: 0px 0px 21px 0px #0003;
            border-radius: 6px;
            width: 30%;
            position: relative;
            transition: all 0.5s;
            overflow: hidden;
            text-align: center;

            .content {
                padding: 20px 10px;
                font-family: "Open Sans", sans-serif;
                background-color: white;

                h2 {
                    color: var(--darkDarkGray);
                    padding: 4px;
                    font-size: 20px;
                }

                h5 {
                    color: var(--lightGrey);
                    padding: 4px 0px;
                    font-weight: 400;
                    font-style: normal;
                    font-size: 14px;
                }

                p {
                    color: var(--lightGrey);
                    padding: 4px 4px 0px 4px;
                    font-style: italic;
                }
            }

            .chefImage {
                img {
                    width: 100%;
                    position: relative;
                }
            }

            .chefImage::before {
                content: "";
                position: absolute;
                bottom: -1;
                left: 0;
                background-image: url(images/team-shape.svg);
                background-repeat: repeat-x;
                width: 100%;
                height: 260px;
                z-index: 90;
            }
        }

        .sidebar {
            background-color: hsla(0 0% 100% / 0.28);
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            height: 170px;
            width: 50px;
            border-radius: 6px;
            position: absolute;
            top: 10%;
            right: -50px;
            padding-top: 15px;
            transition: right 0.5s 0.3s;

            i {
                font-size: 18px;
                color: hsl(69 10% 60.8%);
            }

            i:hover {
                color: hsl(228 3.3% 29.6%);
            }

            .x {
                height: 25%;
            }

            .facebook {
                height: 25%;
            }

            .instagram {
                height: 25%;
            }

            .linkedin {
                height: 25%;
            }
        }

        .chef:hover {
            transform: scale(1.05);

            .sidebar {
                right: 17px;
            }
        }
    }
}

.Gallery {
    background-color: var(--background1);
    padding: 50px 0;

    .container {
        width: 85%;
        margin: auto;
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        height: 1200px;
        align-content: space-between;

        img {
            width: 100%;
            overflow: hidden;
            transition: all 0.5s;
        }



        .one {
            width: 33%;

            .inner1 {
                position: relative;
                overflow: hidden;
                border: 4px solid white;

                .pizza:hover {
                    .layer {
                        top: -4px;
                        left: -4px;
                    }

                    img {
                        transform: scale(1.1);
                    }
                }
            }

            .inner2 {
                margin-top: 20px;
                position: relative;
                overflow: hidden;
                border: 4px solid white;

                .levitation-pizza:hover {
                    .layer {
                        top: -4px;
                        left: -4px;
                    }

                    img {
                        transform: scale(1.1);
                    }
                }
            }
        }

        .two {
            width: 33%;


            .inner3 {
                position: relative;
                overflow: hidden;
                border: 4px solid white;

                .beef:hover {
                    .layer {
                        top: -4px;
                        left: -4px;
                    }

                    img {
                        transform: scale(1.1);
                    }
                }
            }

            .inner4 {
                margin-top: 20px;
                position: relative;
                overflow: hidden;
                border: 4px solid white;

                .frittata:hover {
                    .layer {
                        top: -4px;
                        left: -4px;
                    }

                    img {
                        transform: scale(1.1);
                    }
                }
            }
        }

        .three {
            width: 33%;

            .inner5 {
                position: relative;
                overflow: hidden;
                border: 4px solid white;

                .burger:hover {
                    .layer {
                        top: -4px;
                        left: -4px;
                    }

                    img {
                        transform: scale(1.1);
                    }
                }
            }

            .inner6 {
                margin-top: 20px;
                position: relative;
                overflow: hidden;
                border: 4px solid white;

                .crispy:hover {
                    .layer {
                        top: -4px;
                        left: -4px;
                    }

                    img {
                        transform: scale(1.1);
                    }
                }
            }

            .inner7 {
                margin-top: 20px;
                position: relative;
                overflow: hidden;
                border: 4px solid white;

                .kebab:hover {
                    .layer {
                        top: -4px;
                        left: -4px;
                    }

                    img {
                        transform: scale(1.1);
                    }
                }
            }
        }


        .layer {
            width: 100%;
            height: 100%;
            background-color: #00000088;
            margin: 4px;
            position: absolute;
            top: 100%;
            left: 0;
            transition: all 0.5s;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
            padding: 0 30px;
            font-family: "Open Sans", sans-serif;
            font-size: 18px;
            color: var(--white);
        }
    }
}

.Contact {
    padding: 50px 0;
    background-color: var(--background2);

    .container {
        width: 85%;
        margin: auto;

        .map iframe {
            width: 100%;
            height: 350px;
        }

        .contactInfo {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            align-content: space-between;
            height: 225px;
            margin: 20px 0;
            line-height: 25px;

            h3 {
                color: hsl(0 0% 44.3%);
                font-family: "Open Sans", sans-serif;
            }

            p {
                color: var(--DarkDarkDarkGrey);
                font-family: "Open Sans", sans-serif;

                .bold {
                    font-weight: 700;
                }
            }

            .icon {
                align-items: center;
                justify-content: center;
                width: 10%;
                padding-right: 20px;

                .background {
                    content: "";
                    position: relative;
                    height: 50px;
                    width: 50px;
                    background-color: var(--darkRed);
                    border-radius: 50%;
                    z-index: 3;
                }

                i {
                    position: absolute;
                    top: 12px;
                    left: 13px;
                    color: var(--white);
                    z-index: 5;
                    font-size: 25px;
                }
            }

            .content {
                align-content: center;
                width: 805px;
            }

            .address {
                background-color: var(--liightLightGray);
                width: 49%;
                display: flex;
                padding: 25px;
            }

            .email {
                background-color: var(--liightLightGray);
                width: 49%;
                padding: 25px;
                display: flex;
            }

            .phone {
                background-color: var(--liightLightGray);
                width: 49%;
                padding: 25px;
                display: flex;

            }

            .worktime {
                background-color: var(--liightLightGray);
                width: 49%;
                padding: 25px;
                display: flex;
            }
        }

        .contactForm form {
            box-shadow: 0px 0px 21px 0px hsla(0 0% 0% / 0.16);
            padding: 20px;
            display: flex;
            flex-wrap: wrap;
            height: 400px;
            justify-content: space-between;
            align-content: space-between;

            .name {
                width: 49%;
            }

            .email {
                width: 49%;
            }

            .subject {
                width: 100%;
            }

            .message {
                width: 100%;
            }

            input {
                width: 100%;
                height: 50px;
                border: 2px hsl(0 9.8% 90%) solid;
            }

            textarea {
                width: 100%;
                height: 120px;
                border: 2px hsl(0 9.8% 90%) solid;
                resize: both;
                overflow: auto;
            }

            input::placeholder {
                padding: 10px 8px;
                font-size: 14px;
            }

            textarea::placeholder {
                padding: 10px;
                font-size: 14px;
                font-family: "Open Sans", sans-serif;
            }

            .btn {
                display: flex;
                justify-content: center;
                align-items: center;
                width: 100%;
            }

            .btn button {
                align-content: center;
                color: var(--white);
                background-color: var(--darkRed);
                font-size: 14px;
                padding: 15px 35px;
                border: none;
                border-radius: 100px;
                cursor: pointer;
            }

            .btn:hover button {
                background-color: var(--red);
            }
        }
    }
}

.Footter {

    .background {
        position: relative;
        height: fit-content;
        background-size: cover;
        background-image: url(images/textured-metal-background.jpg);
        background-position: center;
        display: flex;
        justify-content: center;
        align-items: center;

        .container {
            width: 87%;
            margin: auto;
            height: fit-content;
            display: flex;
            flex-wrap: nowrap;

            .Mealify {
                width: 24%;
                color: var(--white);
                margin: 40px 5px;
                z-index: 2;

                .head {
                    display: flex;
                    align-items: center;

                    .one {
                        width: 13%;

                        img {
                            width: 43px;
                        }
                    }

                    .two {
                        h2 {
                            width: 83%;
                            font-size: 30px;
                            font-family: "Open Sans", sans-serif;
                            color: var(--white);
                            margin-left: 10px;

                            .dot {
                                color: var(--darkRed);
                            }
                        }
                    }
                }

                p {
                    font-family: "Open Sans", sans-serif;
                    font-size: 15px;
                    padding: 10px 0;
                }

                #social {
                    width: 50%;
                    margin: auto;
                    padding: 10px;
                    font-family: "Open Sans", sans-serif;
                    font-size: 20px;
                }

                .line {
                    width: 100%;
                    height: 1.5px;
                    margin: 5px auto;
                    background-color: #585858;
                }

                ul {
                    margin: auto;
                    display: flex;
                    flex-direction: row;
                    align-items: center;
                    padding: 0;
                    width: 100%;
                    height: 50px;

                    li {
                        list-style: none;
                        display: flex;
                        justify-content: center;
                        width: 25%;
                        padding: 10px;

                        a {
                            text-decoration: none;
                            color: var(--white);

                            i {
                                font-size: 22px;
                            }
                        }
                    }
                }
            }

            .subscribe {
                z-index: 2;
                font-family: "Open Sans", sans-serif;
                color: var(--white);
                width: 49%;
                margin: 40px 10px;

                h2 {
                    font-size: 20px;
                }

                p {
                    padding-top: 10px;
                }

                .btn {
                    display: flex;
                    justify-content: space-between;
                    margin-top: 10px;

                    input {
                        width: 79.5%;
                        height: 40px;
                    }

                    input::placeholder {
                        padding: 10px;
                    }

                    button {
                        width: 20%;
                        height: 40px;
                        border: none;
                        border-radius: 2px;
                        background-color: var(--darkRed);
                        color: var(--white);
                        font-size: 16px;
                        cursor: pointer;
                    }
                }

                button:hover {
                    background-color: var(--red);
                }

                h3 {
                    font-size: 18px;
                    margin-top: 10px;
                }

                ul {
                    padding: 0;
                    display: flex;
                    flex-wrap: wrap;
                    flex-direction: column;
                    list-style: none;
                    width: 100%;
                    height: 100px;
                    margin: 12px 0;

                    li {
                        padding: 5px;
                        height: 33%;
                        width: 50%;
                        transition: all 0.3s;

                        a {
                            text-decoration: none;
                            color: var(--white);
                        }
                    }

                    li:hover {
                        transform: scale(1.05);
                        transform: translate(10px, 0px);
                        background-color: rgba(39, 36, 36, 0.9);
                    }
                }

                ul li::before {
                    content: ">  ";
                }
            }

            .contactus {
                z-index: 2;
                width: 24%;
                font-family: "Open Sans", sans-serif;
                color: var(--white);
                margin: 40px 5px;


                h2 {
                    font-size: 18px;
                }

                ul {
                    padding: 0;
                    display: flex;
                    flex-direction: column;
                    justify-content: flex-start;

                    li {
                        list-style: none;
                        display: flex;
                        padding: 10px;
                    }

                    #last {
                        padding-top: 20px;
                    }

                    i {
                        width: 12%;
                        font-size: 22px;
                        color: var(--darkRed);
                        display: flex;
                        justify-content: center;
                        align-items: center;
                    }

                    p {
                        width: 85%;
                    }
                }
            }
        }
    }

    .background::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.593);
        z-index: 1;
    }
}

@keyframes move {
    0% {
        transform: translate(1px, 1px) rotate(0deg);
    }

    10% {
        transform: translate(-1px, -2px) rotate(-1deg);
    }

    20% {
        transform: translate(-3px, 0px) rotate(1deg);
    }

    30% {
        transform: translate(3px, 2px) rotate(0deg);
    }

    40% {
        transform: translate(1px, -1px) rotate(1deg);
    }

    50% {
        transform: translate(-1px, 2px) rotate(-1deg);
    }

    60% {
        transform: translate(-3px, 1px) rotate(0deg);
    }

    70% {
        transform: translate(3px, 1px) rotate(-1deg);
    }

    80% {
        transform: translate(-1px, -1px) rotate(1deg);
    }

    90% {
        transform: translate(1px, 2px) rotate(0deg);
    }

    100% {
        transform: translate(1px, -2px) rotate(-1deg);
    }
}