/* Roboto google font family */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;900&display=swap');

/* General resets */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

img {
    max-width: 100%;
}

/* General styles */
body {
    font-family: Roboto, sans-serif;
    font-size: 16px;
}

/* page sizing and padding */
.container {
    width: min(1200px, 100% - (1rem * 2));
    margin-inline: auto;
}

/* hero section */
.hero {
    box-shadow: 0 .1rem 0.2rem #efefef;
}

.hero-inner {
    display: grid;
}

.hero__content {
    display: flex;
    flex-direction: column;
    row-gap: 2rem;
    align-self: center;
    grid-area: 1 / 1 / 2 / 2;
}

.hero__content h1 {
    font-size: 4rem;
    font-weight: 900;
    text-transform: capitalize;
    max-width: 9ch;
}

.hero__content p {
    font-weight: 500;
    line-height: 2;
}

.btn {
    cursor: pointer;
    width: fit-content;
    font-size: 1.1rem;
    padding: 0.5em 1.2em;
    color: #fff;
    background-color: #fb7d29;
    border: none;
    border-radius: 50vh;
    text-transform: capitalize;
}

.btn span {
    margin-left: .5rem;
}

.hero__background {
    height: 300px;
    background: no-repeat center/110% url('../images/hero.png');
    grid-area: 1 / 1 / 2 / 2;
    z-index: -1;
    align-self: center;
}

/* services section */
.services {
    margin-block-start: 2rem;
}

.services__title,
.menu__title {
    text-transform: uppercase;
    font-weight: 400;
    text-align: center;
}

.services__dishes {
    display: grid;
    gap: .5rem;
    padding-block: 2rem;
    grid-auto-rows: 288px;
}

.services__dishes div img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
}

.services__dishes div {
    position: relative;
    /* aspect-ratio: 1 / 1; */
}

.services__dishes div:not(:first-child)::after {
    content: '$26';
    position: absolute;
    left: 0;
    bottom: 0;
    font-size: 1.5rem;
    color: white;
    margin: .5rem;
}

/* menu section */
.menu__plates {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    padding-block: 2rem;
}

.menu__plates div {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #feefec;
    aspect-ratio: 1 / 1;
    border-top-left-radius: 2rem;
    position: relative;
}

.menu__plates div::before {
    content: '';
    position: absolute;
    top: .3rem;
    right: .3rem;
    width: 1.4rem;
    aspect-ratio: 1 / 1;
    background-color: white;
    border-radius: 50vw;
}

.menu__plates div::after {
    position: absolute;
    top: 0;
    right: 0;
    margin: .5rem;
    color: #4dbdcb;

    font-family: "Font Awesome 5 Free";
    font-size: 1rem;
    font-weight: 900;
    content: "\f004";
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
}

.menu__plates div:nth-child(2)::after {
    color: #d38e5c;
}

/* 320 media query to iphone 5s*/
@media (min-width: 321px) {

    .hero-inner {
        grid-template-columns: 2fr 3fr;
        grid-auto-rows: 100vh;
    }

    .hero__background {
        grid-column: 2;
        height: 100%;
        background-size: contain;
    }

    /* services large screem */
    .services__dishes {
        grid-template-columns: repeat(4, 1fr);
        /* grid-auto-rows: auto; */
    }

    .services__dishes div:first-child {
        grid-area: 1 / 1 / 3 / 3;
    }
}