:root {
    --main-color: #eeeeee;
    --selector-color: #d85454;
    --select-color-dark: #926321;
    --font-color: rgb(33, 37, 41);
    scroll-behavior: smooth;
    scroll-padding-top: var(--marg-nav);
    scrollbar-color: black var(--main-color);
    --marg-nav: 80px;
    --color-buttons: #e61414;
    --liner-border-backgroun: linear-gradient(to right, red 50%, blue 50%);
}
/* make the scroll  */
::selection {
    background-color: var(--selector-color);
    color: white;
}
.container-a {
    width: 95%;
    margin: 0 auto;
}
img {
    display: block;
    width: 100%;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

ul {
    list-style-type: none;
}

a {
    text-decoration: none;
    color: black;
}
/* font-family: "Amatic SC", sans-serif; */

body {
    font-family: "Assistant", sans-serif;
    color: var(--font-color);
}
h1,
h2,
h3 {
    font-family: "Inter", sans-serif;
}
p {
    font-family: "Assistant", sans-serif;
    color: rgb(79, 79, 90);
}
button {
    white-space: nowrap;
}
/* navbar*/

nav {
    background-color: white;
    position: fixed;
    right: 0;
    left: 0;
    top: 0;
    z-index: 999;
    box-shadow: 0 0 10px 0.001px rgba(0, 0, 0, 0.144);
}
nav .container-a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* background-color: #aaa; */
    height: var(--marg-nav);
}
nav .container-a h2 {
    position: relative;
    font-size: 1.85rem;
    font-weight: 700;
    margin: auto;
    color: rgb(33, 37, 41);
    font-family: "Inter", sans-serif;
}

nav h2::after {
    content: "";
    background-color: var(--selector-color);
    width: 5px;
    height: 5px;
    border-radius: 50%;
    position: absolute;
    left: 100%;
    top: 60%;
}

/* links nav section */
nav .links {
    display: none;
    position: fixed;
    background-color: #ffffff;
    top: 0;
    bottom: 0;
    right: 0;
    transition: all 1s;
    left: 30%;
}
nav .links > a {
    display: block;
    text-align: end;
    margin: 20px 50px 20px 0;
}
nav .links li {
    margin: 20px 0;
}

nav .links a {
    display: block;
    width: 95%;
    margin: auto;
    font-size: 1.2rem;
    color: #aaa;
    transition: all 0.3s;
}
nav .links a:hover {
    color: rgb(0, 0, 0);
}

nav .icons i {
    font-size: 25px;
    margin-left: 15px;
}

nav button {
    border: none;
    background-color: transparent;
}

nav .links ul li:first-child {
    margin-left: auto;
    text-align: end;
}

/* header */
header {
    background-color: var(--main-color);
}
header .container-a {
    display: flex;
    flex-wrap: wrap;
    padding: var(--marg-nav) 0 50px;
    align-items: center;
    justify-content: center;
}

header .sec-2 {
    order: -1;
    margin: 50px auto;
}

header .sec-2 img {
    /* background-color: #926321; */
    filter: drop-shadow(3px 0px 7px black);
}
header .sec-2:hover img {
    animation-name: dishmove;
    animation-duration: 0.5s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
}
header .sec-1 {
    text-align: center;
}
header .sec-1 h2 {
    font-family: "Amatic SC", sans-serif;
    font-size: 4rem;
    margin: 1.5rem auto;
}
header .sec-1 p {
    margin: 1.5rem auto;
}
header .btn {
    display: flex;
    width: 80%;
    justify-content: center;
    margin: auto;
}
header .sec-1 .btn button {
    border-radius: 25px;
    background-color: transparent;
    border: none;
    transition: all 0.3s;
    padding: 0;
    margin: 0 20px;
    width: 150px;
}
header a:hover {
    background-color: #e61414;
}
header button a {
    color: white;
    background-color: #ce1212;
    width: 100%;
    height: 100%;
    padding: 0;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 30px;
    transition: all 0.3s;
}
header .btn-yout a {
    background-color: transparent;
    transition: all 0.3s;
    color: black;
}
header .btn-yout i {
    border-radius: 50%;
    transition: all 0.3s;
    text-align: center;
    background-color: white;
    width: 20px;
    height: 20px;
    padding: 25px;
    color: black;
    margin-right: 5px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url(../svg/play-solid.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 12px;
    background-clip: border-box;
}
.btn-yout i::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: transparent;
    border-radius: 50%;
    border: 8px solid #e61414;
    clip-path: polygon(0% 0%, 50% 0%, 50% 100%, 0% 100%);
}
.btn-yout i::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: transparent;
    border-radius: 50%;
    border: 8px solid var(--main-color);
    clip-path: polygon(50% 0, 100% 0, 100% 100%, 50% 100%);
}
.btn-yout svg {
    width: 1rem;
    transition: all 0.3s;
}

header .btn-yout:hover a,
.btn-yout:hover svg {
    fill: var(--color-buttons);
    color: var(--color-buttons);
}
header .btn-yout a i {
    transition: all 0.5s;
}
header .btn-yout:hover a i {
    background-image: url(../svg/play-solid-hover.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 12px;
    background-clip: border-box;
}
/* Chefs section */

.Chefs .container-a {
    text-align: center;
    padding: 50px 0;
}
.container-a h2 {
    font-family: "Amatic SC", sans-serif;
    font-size: 3.125rem;
    font-weight: 400;
    margin: 10px auto 40px;
}
.container-a h2 span {
    color: #ce1212;
}

.Chefs .parent-item-0 {
    /* background-color: gray; */
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}
.parent-item-0 .item-0 {
    background-color: white;
    border-radius: 10px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    /* filter: drop-shadow(0px 0px 3px black); */
    box-shadow: 1px 2px 5px rgba(170, 170, 170, 0.575);
}

.item-0 img {
    /* for image radius */
    border-radius: 10px 10px 0 0;
    position: relative;
}

.item-0 .picture {
    position: relative;
    border-radius: 10px 10px 0 0;
    overflow: hidden;
}

.item-0 .icons-item-0 {
    background-color: #e0d7d0;
    position: absolute;
    top: 40px;
    right: 10px;
    padding: 10px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 50px;
    border-radius: 5px;
    transform: translateX(120%);
    transition: transform 0.3s 0s;
}

.item-0:not(:first-child, .item-0:nth-child(2)) .icons-item-0 {
    background-color: rgba(215, 206, 198, 0.35);
}
.item-0:not(:first-child, .item-0:last-child) .icons-item-0 {
    background-color: rgba(255, 255, 255, 0.2);
}
.icons-item-0 i {
    display: block;
    width: 100%;
    background-color: transparent;
    margin: 10px 0;
    color: rgb(155, 150, 149);
    transition: all 0.5s;
    font-size: large;
}
.icons-item-0 a {
    display: block;
    width: 100%;
}

.item-0 .picture::before {
    content: "";
    position: absolute;
    bottom: -5px;
    right: 0;
    left: 0;
    background-image: url(../svg/wave.svg);
    background-size: contain;
    background-position: bottom;
    background-repeat: repeat-x;
    /* width: 100%; */
    height: 100px;
    z-index: 1;
    border: none;
    /* background-color: white; */
}

.item-0 h3 {
    margin: 5px auto;
}
.item-0 p {
    margin: 10px auto;
}

.item-0 p:last-child {
    font-style: italic;
}

.parent-item-0 .item-0:hover {
    transform: scale(1.05);
}
.item-0:hover .icons-item-0 {
    transform: translateX(0);
    transition: transform 0.3s 0.5s;
}
.item-0 .icons-item-0 i:hover {
    color: rgb(33, 37, 41);
}
.item-0 .content-card {
    padding: 5px 20px;
}
/* gallery */

.Gallery {
    background-color: var(--main-color);
    text-align: center;
    padding: 50px 0;
}

.Gallery .container-a > p,
.Gallery .container-a > h2 {
    text-transform: uppercase;
}

.Gallery .gallery-parent {
    background-color: transparent;
}

.gallery-parent > div {
    position: relative;
    /* margin: 10px auto; */
    overflow: hidden;
    border: 5px solid white;
    /* object-fit: scale-down; */
}

.gallery-parent .content {
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    align-content: center;
    transform: translateY(110%);
    transition: all 0.5s;
    padding: 25px;
}
.gallery-parent .content > * {
    width: 100%;
}
.content h3 {
    font-size: 1.5rem;
}
.content p {
    color: rgb(221, 221, 221);
    font-size: 1rem;
}
.gallery-parent img {
    transition: all 0.5s;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.gallery-parent > div:hover .content {
    transform: translateY(0);
}
.gallery-parent > div:hover img {
    transform: scale(1.1);
}

/* Contact */

.Contact {
    text-align: center;
}
.Contact .container-a {
    padding: 50px 0;
}

.Contact .Contact-map iframe {
    width: 100%;
}

.Contact .Contact-social {
    margin: 20px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.Contact-social .item-1 {
    background-color: var(--main-color);
    width: 100%;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}
.item-1 i {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 3.3rem;
    height: 3.3rem;
    border-radius: 50%;
    background-color: #ce1212;
    margin-right: 10px;
    font-size: 1.125rem;
    color: white;
}
.item-1 .cont-card {
    background-color: transparent;
    text-align: start;
}

.item-1 h3 {
    color: rgb(125, 125, 125);
    font-size: 1.25rem;
    font-weight: 700;
    margin: 5px 0;
}
.item-1 .cont-card p {
    font-size: 1rem;
    color: rgb(33, 37, 41);
    margin: 5px 0;
}
.item-1 p span {
    font-weight: 700;
    color: rgb(33, 37, 41);
}
/* form-sec */
.form-sec {
    background-color: gray;
}

.form-sec form {
    background-color: white;
    padding-top: 10px;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    box-shadow: 0 0 2rem 10px rgba(0, 0, 0, 0.08);
}

.form-sec input,
.form-sec form textarea {
    width: 95%;
    margin: 5px auto;
    border: 2px solid #e8e3e3;
    padding: 20px;
    resize: vertical;
}
.form-sec form textarea {
    display: inline-block;
    height: 100px;
}
.form-sec input:focus,
.form-sec textarea:focus {
    border-radius: 0;
    border: none;
    outline: 2px solid #e61414;
}

.form-sec form button {
    background-color: #ce1212;
    padding: 10px 30px;
    border: none;
    border-radius: 20px;
    margin: 30px auto 20px;
}
.form-sec button a {
    color: white;
}
form button:hover {
    background-color: var(--color-buttons);
}
/* footer */

footer {
    background-image: url(../Images/textured-metal-background.jpg);
    background-position: center;
    background-repeat: repeat-y;
    background-size: cover;
    color: white;
    padding: 50px 0;
}
footer p {
    color: white;
    margin: 10px 0;
    line-height: 20px;
    font-family: "Inter", sans-serif;
}

footer .sec-1 h2 {
    display: inline-block;
    position: relative;
    transform: translateX(60px);
    font-family: "Inter", sans-serif;
    font-size: 1.875rem;
    font-weight: 700;
    margin: 20px auto;
}
footer .sec-1 h2::before {
    content: "";
    /* background-color: green; */
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-image: url("../Images/favicon.png");
    background-position: -1px center;
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    left: -60px;
    top: -7px;
}

footer .sec-1 h2::after {
    content: "";
    background-color: var(--selector-color);
    width: 5px;
    height: 5px;
    border-radius: 50%;
    position: absolute;
    left: 100%;
    top: 60%;
}
footer .sec-1 h3 {
    text-align: center;
    margin: 10px;
}

footer .sec-1 .icons {
    display: flex;
    justify-content: space-around;
}

footer .sec-1 .icons a {
    color: white;
    flex-shrink: 0;
}
footer .sec-1 i {
    font-size: x-large;
    margin: 20px;
}

footer .sec-2 h3 {
    margin: 10px 0;
}
.sec-2 input[id="mail"] {
    width: 100%;
    border: 2px solid #e8e3e3;
    padding: 10px;
    margin: 5px 0;
    border-radius: 2px;
}
.sec-2 input[id="mail"] {
    border: none;
    outline: none;
}
footer .sec-2 button {
    background-color: rgb(206, 18, 18);
    color: white;
    width: 100%;
    border: none;
    margin: 5px 0;
    padding: 5px 10px;
    transition: all 0.5s;
}
footer .sec-2 button:hover {
    background-color: var(--color-buttons);
}
footer button a {
    color: white;
    width: 100%;
    height: 100%;
    display: inline-block;
    margin-top: 7px;
}

footer .quick-links .links-list {
    display: flex;
    justify-content: space-between;
}
.quick-links .links-list ul {
    flex: 0 0 48%;
}
.quick-links li {
    margin: 5px 0;
    padding: 5px;
    transition: all 0.5s;
}
.quick-links li:hover {
    transform: translateX(10px);
    background-color: #222;
}
.quick-links li a {
    color: white;
}
footer .quick-links i {
    margin-right: 5px;
}

footer .sec-3 {
    margin-top: 10px;
    overflow: auto;
}
footer .sec-3 h3 {
    margin: 10px 0;
}
footer .sec-3 li {
    margin: 20px 10px;
}
footer .sec-3 i {
    color: rgb(206, 18, 18);
    margin-right: 10px;
}
.sec-3 li:first-child a {
    margin-right: 5px;
    line-height: 35px;
}
.sec-3 a {
    color: white;
}
/* responsive */

@media screen and (min-width: 640px) {
    .container-a {
        width: 85%;
    }
    /* nav */

    /* footer */
    footer .sec-3 {
        margin-top: 0;
    }
    footer .sec-2 form {
        display: flex;
        justify-content: space-between;
        gap: 5px;
    }
    footer form input {
        flex: 0 1 80%;
    }
    footer form button {
        flex: 0 1 20%;
    }
}
@media screen and (min-width: 768px) {
    .container-a {
        width: 90%;
    }
    /* nav */
    /* header */
    /* Chefs */
    .Chefs .parent-item-0 {
        justify-content: space-between;
    }
    .parent-item-0 .item-0 {
        flex: 0 0 47%;
    }
    /* Gallery */
    .gallery-parent {
        display: grid;
        grid-template-areas:
            "m1 m1 m1 m5 m5 m5"
            "m1 m1 m1 m5 m5 m5"
            "m2 m2 m2 m5 m5 m5"
            "m2 m2 m2 m5 m5 m5"
            "m3 m3 m3 m5 m5 m5"
            "m3 m3 m3 m6 m6 m6"
            "m3 m3 m3 m6 m6 m6"
            "m3 m3 m3 m7 m7 m7"
            "m3 m3 m3 m7 m7 m7"
            "m3 m3 m3 m7 m7 m7"
            "m4 m4 m4 m7 m7 m7"
            "m4 m4 m4 . . . ";
        gap: 20px;
    }
    .gallery-parent .meal-1 {
        grid-area: m1;
    }
    .gallery-parent .meal-2 {
        grid-area: m2;
    }
    .gallery-parent .meal-3 {
        grid-area: m3;
    }
    .gallery-parent .meal-4 {
        grid-area: m4;
    }
    .gallery-parent .meal-5 {
        grid-area: m5;
    }
    .gallery-parent .meal-6 {
        grid-area: m6;
    }
    .gallery-parent .meal-7 {
        grid-area: m7;
    }
    /* Contact */
    .Contact-social {
        justify-content: space-between;
    }
    .Contact-social .item-1 {
        flex: 1 0 40%;
    }
    .Contact-social .item-1 i {
        flex-shrink: 0;
    }
    /* form-sec */
    .form-sec .nam-mail {
        width: 95%;
        margin: auto;
        display: flex;
        gap: 10px;
    }

    .form-sec input[id="user-name"],
    .form-sec input[id="mail"] {
        margin: 0;
        flex: 1 0 45%;
    }
    /* footer */

    footer .container-a {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
    }
    footer .container-a .sec-1,
    footer .container-a .sec-3 {
        flex: 1 0 45%;
    }
    footer .container-a .sec-2 {
        order: 3;
        flex: 1 0 100%;
        flex-grow: 2;
    }
    footer form input {
        flex: 1 0 80%;
    }
    footer form button {
        flex: 0 0 15%;
    }
}
@media screen and (min-width: 1024px) {
    .container-a {
        width: 80%;
    }
    /* nav */
    nav .icons #nav-btn {
        display: none;
    }
    nav .container-a {
        position: relative;
    }
    nav .links {
        display: block;
        /* width: 100%; */
        align-self: start;
        position: absolute;
        left: 35%;
        right: 35%;
        height: 100%;
    }
    nav .links ul li:first-child {
        display: none;
    }
    nav .links ul {
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: 100%;
        text-align: center;
        position: absolute;
        left: 0;
        right: 0;
    }
    nav .links a {
        font-weight: 600;
        font-size: 1.0625rem;
        transition: all 0.3s;
        position: relative;
    }
    nav .links a::after {
        transition: all 0.3s;
    }
    nav .links a:hover::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        transition: all 0.3s;
        bottom: -5px;
        height: 2px;
        background-color: var(--color-buttons);
    }

    nav .links li {
        margin-right: 10px;
    }
    /* link */
    body:not(body:has(:target)) li a[href="#home"],
    body:has(.home:target) li a[href="#home"],
    body:has(.Contact:target) li a[href="#contact"],
    body:has(.Gallery:target) li a[href="#gallery"],
    body:has(.Chefs:target) li a[href="#chefs"] {
        color: #000;
        transition: all 0.3s;
    }
    body:not(body:has(:target)) li a[href="#home"]::after,
    body:has(.home:target) li a[href="#home"]::after,
    body:has(.Chefs:target) li a[href="#chefs"] ::after,
    body:has(.Contact:target) li a[href="#contact"]::after,
    body:has(.Gallery:target) li a[href="#gallery"]::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        transition: all 0.3s;
        bottom: -5px;
        height: 2px;
        background-color: var(--color-buttons);
    }
    /* header */
    header .container-a {
        flex-wrap: nowrap;
        justify-content: space-between;
    }
    header .sec-1 {
        text-align: start;
        width: 45%;
    }
    header .btn {
        justify-content: start;
        margin: 0;
    }
    header .btn button:first-child {
        margin: 0;
    }

    header .sec-1 .btn button:first-child a {
        border-top-left-radius: 0;
    }
    header .sec-2 {
        width: 45%;
        order: 0;
        margin: 50px 0;
    }
    /* Chefs */
    .Chefs .parent-item-0 {
        justify-content: space-between;
    }
    .parent-item-0 .item-0 {
        width: 31%;
    }
    /* Gallery */
    .gallery-parent {
        display: grid;
        grid-template-areas:
            "m1 m1 m1 m5 m5 m5 m2 m2 m2"
            "m1 m1 m1 m5 m5 m5 m2 m2 m2"
            "m1 m1 m1 m5 m5 m5 m2 m2 m2"
            "m1 m1 m1 m5 m5 m5 m2 m2 m2"
            "m3 m3 m3 m5 m5 m5 m6 m6 m6"
            "m3 m3 m3 m5 m5 m5 m6 m6 m6"
            "m3 m3 m3 m5 m5 m5 m6 m6 m6"
            "m3 m3 m3 m5 m5 m5 m6 m6 m6"
            "m3 m3 m3 m5 m5 m5 m7 m7 m7"
            "m3 m3 m3 m4 m4 m4 m7 m7 m7"
            ". . . m4 m4 m4 m7 m7 m7"
            ". . . m4 m4 m4 . . .";
    }
    /* footer */
    footer .container-a {
        flex-wrap: nowrap;
    }
    footer .container-a .sec-1 {
        flex: 1 1 20%;
    }
    footer .container-a .sec-2 {
        flex: 1 0 50%;
        order: 0;
    }
    footer .container-a .sec-3 {
        flex: 1 1 20%;
        overflow-wrap: break-word;
    }
}
@media (min-width: 1280px) {
    .container-a {
        width: 90%;
    }
}
/* animbation */
@keyframes dishmove {
    0% {
        transform: rotate(2deg) translateY(1.5px);
    }
    30% {
        transform: translateY(-1.5px);
    }
    50% {
        transform: rotate(0deg) translateX(-1.5px);
    }
    75% {
        transform: translateX(1.5px);
    }
    100% {
        transform: rotate(-2deg) translate(0);
    }
}
