@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800;900&display=swap');

*,
*::after,
*::before {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
}

/* ################ utility classes ##############  */
.container {
    max-width: 1200px;
    width: 90%;
    margin: auto;
}

.btn {
    padding: 1rem 2rem;
    font-size: 2rem;
    font-weight: 500;
    background-color: seagreen;
    border: none;
    color: white;
    border-radius: 1.2rem;
}

/* ############ navbar styling #####################  */
#navbar {
    box-shadow: 5px 5px 10px 5px #aaa;
    width: 6rem;
    opacity: .9;
    position: fixed;
    width: 100%;
    z-index: 999;
    background: rgb(255, 255, 255);
}

.navbar-container input[type="checkbox"],
.hamburger-lines {
    display: none;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    padding: .8rem 0;
}

.menu-items {
    order: 2;
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
}

.menu-items li {
    list-style: none;
    margin: 0 1rem;
    font-size: 1.9rem;
    font-weight: 500;
}

.menu-items a {
    text-decoration: none;
    color: #444;
    transition: all .3s ease-in-out;
}

.logo {
    order: 1;
    font-size: 3rem;
    font-weight: 700;
    color: black;
}

.menu-items a:hover {
    color: seagreen;
}

/* ################ showcase area ###############  */
#showcase {
    background: url(./images/header-image2.jpg);
    height: 50vh;
    background-position: center;
    background-size: cover;
}

.showcase-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.showcase-inner-conatiner {
    text-align: center;
    font-size: 1.3rem;
}

.showcase-inner-conatiner h1 {
    padding-bottom: 1rem;
}

.showcase-inner-conatiner p {
    padding-bottom: 1rem;
    font-size: 1.6rem;
}

/* ############ about styling ###############  */
#about {
    padding: 5rem 0;
    background: rgba(78, 76, 76, 0.055);
}

.about-container {
    display: flex;
}

.about-img {
    flex: 1 1 50rem;
    height: 40rem;
    animation: about-img 1s forwards ease-in-out;
}

@keyframes about-img {
    from {
        transform: translateX(200%);
    }

    to {
        transform: translateX(0%);
    }

}

.about-description {
    flex: 1 1 50rem;
    margin: auto;
    animation: about-description 1s forwards ease-in-out;
}

@keyframes about-description {
    from {
        transform: translateX(-200%);
    }

    to {
        transform: translateX(0%);
    }

}

.about-description p {
    font-size: 1.6rem;
    padding: 1rem 0;
}

.about-description h2 {
    font-size: 2rem;
    padding-bottom: 1rem;
}

.about-description .about-head {
    color: #555;
    font-weight: 600;
}

.about-img img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center;
}

/* ############ food category styling ##########  */
#food {
    padding: 5rem 0;
}

.food-header {
    text-align: center;
    font-size: 2.3rem;
    font-weight: 500;
    color: #555;
    margin-bottom: 2rem;
}

.food-name {
    margin: 0 2rem;
    position: relative;
    transition: all .3s ease-in-out;
}

.food-container {
    display: flex;
}


.food-img img {
    display: block;
    width: 100%;
    object-fit: cover;
    object-position: center;
}

.food-description {
    text-align: center;
    position: absolute;
    top: 80%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    opacity: 0;
    transition: all .5s ease-in-out;
}

.food-description h1 {
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
    padding-bottom: 1rem;
}

.food-name::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.534);
    width: 100%;
    height: 100%;
    z-index: 5;
    opacity: 0;
    transform: scaleY(0);
    transform-origin: 100% 100%;
    transition: all .5s ease-in-out;
}

.food-name:hover .food-description {
    opacity: 1;
    top: 50%;
}

.food-name:hover::after {
    opacity: 1;
    transform: scaleY(1);
}


/* ########### food menu styling #############  */
#food-menu {
    padding: 5rem 0;
}

.food-menu-header {
    text-align: center;
    font-size: 2.3rem;
    font-weight: 500;
    color: #555;
    margin-bottom: 4rem;
}

.food-menu-container {
    display: flex;
    flex-wrap: wrap;
}

.food-item {
    display: flex;
    flex: 1 1 48rem;
    padding-bottom: 4rem;
}

.food-item-description {
    margin: auto;
    padding: 0 2rem;
}

.food-item-description h2 {
    font-size: 2rem;
    font-weight: 500;
    color: #666;
}

.food-item-description p {
    font-size: 1.4rem;
    font-weight: 400;
    color: #666;
}

.food-item-description .price {
    font-weight: 600;
    color: seagreen;
}

.food-item-img img {
    display: block;
    width: 25rem;
    height: 25rem;
    object-fit: cover;
    object-position: center;
    border-radius: 50%;
}

/* ############# testimonial styling ###########  */
#testimonial {
    padding: 5rem 0;
    background: #ddd;
}

.testimonial-logo {
    text-align: center;
    font-size: 2.3rem;
    font-weight: 500;
    color: #444;
    padding-bottom: 2rem;
}

.testimonial-container {
    display: flex;
}

.person {
    text-align: center;
    padding: 0 2rem;
}

.person .star-section {
    font-size: 1.5rem;
    color: orangered;
    padding-bottom: 1rem;
}

.person-description {
    font-size: 1.6rem;
    font-weight: 400;
    color: #555;
    padding-bottom: 1rem;
}

.person-img img {
    height: 15rem;
    width: 15rem;
    object-fit: cover;
    object-position: center;
    border-radius: 50%;
    padding-bottom: .5rem;
}

.person-name {
    font-size: 1.6rem;
    font-weight: 300;
    color: #555;
}

/* ########### contact us styling ############  */
#contact {
    padding: 5rem 0;
    background: #ccc;
}

.contact-container {
    display: flex;
    background: #fff;
}

.contact-img {
    flex: 1 1 50rem;
}

.contact-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.contact-form {
    flex: 1 1 50rem;
    display: flex;
    flex-direction: column;
    padding: 1rem 1.5rem;
}

.contact-form h2 {
    font-size: 2.3rem;
    color: #555;
    font-weight: 500;
    padding-bottom: 2rem;
}

.contact-form input {
    border: none;
    border-bottom: 2px solid #666;
    font-size: 1.8rem;
    padding-top: 1.5rem;
}

.contact-form input:focus {
    outline: none;
}

.contact-form textarea {
    border: none;
    border-bottom: 2px solid #666;
    font-size: 1.8rem;
    padding-top: 1.5rem;
}

.contact-form textarea:focus {
    outline: none;
}

.contact-form button {
    margin-top: 1.5rem;
}

#trademark {
    padding: 2rem 0;
    background-color: black;
}

#trademark h2 {
    color: white;
    text-align: center;
    font-size: 2rem;
}


@media (max-width: 820px) {
    .food-container {
        flex-direction: column;
    }

    .food-name {
        margin-bottom: 4rem;
    }
}

@media (max-width: 750px) {
    .contact-container {
        flex-direction: column;
    }

    .contact-form {
        margin-bottom: -6rem;
    }

    .about-container {
        flex-direction: column;
    }

    .about-description {
        max-height: 40rem;
    }

}

@media (max-width: 660px) {
    .testimonial-container {
        flex-direction: column;
    }

    .person {
        padding-bottom: 4rem;
    }

    .menu-items li {
        list-style: none;
        margin: 0 .4rem;
        font-size: 1.6rem;
        font-weight: 500;
    }
}

@media (max-width: 537px) {
    .food-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 615px) {
    #navbar {
        height: 6rem;
    }

    .navbar-container {
        position: relative;
    }

    .navbar-container input[type="checkbox"] {
        display: block;
        position: absolute;
        height: 32px;
        width: 40px;
        top: 15px;
        left: 11px;
        z-index: 40;
        opacity: 0;
    }

    .navbar-container .hamburger-lines {
        display: block;
        position: absolute;
        height: 32px;
        width: 40px;
        top: 15px;
        left: 11px;
        z-index: 15;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .hamburger-lines .line {
        display: block;
        height: 6px;
        width: 100%;
        background: black;
        border-radius: 1.2rem;
        transition: all .3s ease-in-out;
    }

    .menu-items {
        position: absolute;
        flex-direction: column;
        justify-content: start;
        background-color: white;
        height: 100vh;
        width: 25rem;
        transform: translateX(-200%);
        padding: 0 4rem;
        padding-top: 4rem;

        transition: all .3s ease-in-out;
    }

    .navbar-container input[type="checkbox"]:checked~.menu-items {
        transform: translateX(-15%);
    }

    .menu-items li {
        margin-top: 3rem;
        font-size: 2rem;
    }

    .logo {
        position: absolute;
        top: 8px;
        right: 10px;
        z-index: 500;
    }

    .navbar-container .hamburger-lines .line1 {
        transform-origin: 0% 0%;
    }

    .navbar-container .hamburger-lines .line3 {
        transform-origin: 0% 100%;
    }

    .navbar-container input[type="checkbox"]:checked~.hamburger-lines .line1 {
        transform: rotate(45deg);
    }

    .navbar-container input[type="checkbox"]:checked~.hamburger-lines .line2 {
        opacity: 0;
    }

    .navbar-container input[type="checkbox"]:checked~.hamburger-lines .line3 {
        transform: rotate(-45deg);
    }


}