/* Layout Reset, Bugfixes, and baseline */

html, body, address, blockquote, div,
form, fieldset, caption,
h1, h2, h3, h4, h5, h6,
hr, ul, li, ol, ul, dl, dt, dd,
table, tr, td, th, p, img {
    margin: 0;
    padding: 0;
}

img, fieldset {
    border: none;
}

*,
*:after,
*:before {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

html, body {
    height: 100%;
}

hr {
    display: none;
}

button, label {
    cursor: pointer;
}

body, button, input, table, textarea, select {
    font-family: var(--font-family-default);
    font-size: var(--font-size-default);
    line-height: var(--line-height-default);
}

ul {
    list-style: none;
}

/* End of CSS Resets */


body {
    background: var(--body-background);
    color: var(--body-color);
    direction: rtl;
    text-align: right;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    position: relative;
}

body#page-home {
    background: rgb(51, 33, 29);
}

#page-home #hero {
    color: #fff;
    min-height: 100vh;
    margin-top: -8em;
    display: flex;
    justify-content: center;
    align-items: center;
}

#page-home #hero::after {
    position: absolute;
    content: "";
    width: 100vw;
    height: 100vh;
    left: 0;
    top: 0;
    z-index: -1;
    background: var(--background-image) no-repeat;
    background-size: cover;
    background-position-x: center;
    filter: blur(3px);
    -webkit-filter: blur(3px);
    opacity: 0.7;
}

#page-home #hero > .content {
    display: flex;
    flex-direction: column;
    gap: 2em;
    margin-top: 3em;
}

#page-home #hero > .content > p {
    font-size: 4em;
    text-align: center;
    text-shadow: 2px 2px 10px #000, -2px -2px 10px #000;
    line-height: 2;
    user-select: none;
}

#page-home #hero > .content > #hero-text {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

#page-home #hero > .content > p > .highlight {
    color: #da9f5b;
    flex: 100%;
}

main {
    display: flex;
    flex-direction: column;
    padding: 0 var(--wrapper-width);
    flex-grow: 1;
}

header, footer {
    flex: 0 0 auto;
}

header {
    position: relative;
    display: flex;
    justify-content: center;
    text-align: center;
    padding: var(--header-padding);
    color: var(--header-color);
    z-index: 9;
}

#page-home > header {
    /*position: fixed;*/
}

#page-menu > header {
    background: var(--header-background), url(../images/coffee-bg.jpg);
    background-position: top;
    background-repeat: repeat;
    background-size: 30em;
}

#page-menu > header::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 15px;
    left: 0;
    z-index: 1;
    bottom: -1px;
    background-image: url(../images/overlay-bottom.png);
}

#menu {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: var(--menu-gap);
    height: 100%;
    align-items: center;
    font-size: 1.4em;
}

header > h1 {
    font-size: 3em;
}

header > h1 > a,
#menu li a {
    display: inline-block;
    text-decoration: none;
    color: var(--menu-color);
    transition: all 0.5s;
}

header > h1 > a:hover,
#mainMenu li a:focus,
#menu li a:hover,
#menu li a.active {
    color: var(--menu-hover-color);
}

#menu-button {
    display: flex;
    align-items: center;
    justify-content: center;
}

#menu-button > a:hover {
    background: #fff;
    color: var(--body-color);
}

#menu-button > a {
    text-decoration: none;
    color: #fff;
    display: inline-block;
    font-size: 1.8em;
    border: 1px solid #fff;
    padding: 0.4em 1em;
    border-radius: 0.3em;
    transition: all 0.3s;
    font-weight: bold;
}

footer {
    position: relative;
    text-align: center;
    padding: var(--footer-padding);
    color: var(--footer-color);
}

#contact-info {
    list-style: none;
    display: flex;
    gap: 1.5em;
    justify-content: space-evenly;
    flex-wrap: wrap;
    margin-top: 4em;
    flex-direction: column;
}

#contact-info > li {
    display: flex;
    gap: 0.7em;
    align-items: center;
}

#contact-info > li::before {
    display: inline-block;
    vertical-align: middle;
}

#contact-info > #contact {
    display: flex;
    flex-direction: column;
    gap: 0.8em;
    justify-content: center;
    align-items: center;
}

#contact-info > #socials {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.4em;
    gap: 2em;
}

#contact-info li#phone > a::before {
    content: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="%23ffffff" d="M160.2 25C152.3 6.1 131.7-3.9 112.1 1.4l-5.5 1.5c-64.6 17.6-119.8 80.2-103.7 156.4 37.1 175 174.8 312.7 349.8 349.8 76.3 16.2 138.8-39.1 156.4-103.7l1.5-5.5c5.4-19.7-4.7-40.3-23.5-48.1l-97.3-40.5c-16.5-6.9-35.6-2.1-47 11.8l-38.6 47.2C233.9 335.4 177.3 277 144.8 205.3L189 169.3c13.9-11.3 18.6-30.4 11.8-47L160.2 25z"/></svg>');
    width: 1.4em;
    height: 1.4em;
}

#contact-info li#address > a::before {
    content: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"><path fill="%23ffffff" d="M0 188.6C0 84.4 86 0 192 0S384 84.4 384 188.6c0 119.3-120.2 262.3-170.4 316.8-11.8 12.8-31.5 12.8-43.3 0-50.2-54.5-170.4-197.5-170.4-316.8zM192 256a64 64 0 1 0 0-128 64 64 0 1 0 0 128z"/></svg>');
    width: 1.3em;
    height: 1.5em;
}

#contact-info li#whatsapp > a::before {
    content: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="%23ffffff" d="M380.9 97.1c-41.9-42-97.7-65.1-157-65.1-122.4 0-222 99.6-222 222 0 39.1 10.2 77.3 29.6 111L0 480 117.7 449.1c32.4 17.7 68.9 27 106.1 27l.1 0c122.3 0 224.1-99.6 224.1-222 0-59.3-25.2-115-67.1-157zm-157 341.6c-33.2 0-65.7-8.9-94-25.7l-6.7-4-69.8 18.3 18.6-68.1-4.4-7c-18.5-29.4-28.2-63.3-28.2-98.2 0-101.7 82.8-184.5 184.6-184.5 49.3 0 95.6 19.2 130.4 54.1s56.2 81.2 56.1 130.5c0 101.8-84.9 184.6-186.6 184.6zM325.1 300.5c-5.5-2.8-32.8-16.2-37.9-18-5.1-1.9-8.8-2.8-12.5 2.8s-14.3 18-17.6 21.8c-3.2 3.7-6.5 4.2-12 1.4-32.6-16.3-54-29.1-75.5-66-5.7-9.8 5.7-9.1 16.3-30.3 1.8-3.7 .9-6.9-.5-9.7s-12.5-30.1-17.1-41.2c-4.5-10.8-9.1-9.3-12.5-9.5-3.2-.2-6.9-.2-10.6-.2s-9.7 1.4-14.8 6.9c-5.1 5.6-19.4 19-19.4 46.3s19.9 53.7 22.6 57.4c2.8 3.7 39.1 59.7 94.8 83.8 35.2 15.2 49 16.5 66.6 13.9 10.7-1.6 32.8-13.4 37.4-26.4s4.6-24.1 3.2-26.4c-1.3-2.5-5-3.9-10.5-6.6z"/></svg>');
    width: 1.6em;
    height: 1.6em;
}

#contact-info li#instagram > a::before {
    content: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="%23ffffff" d="M224.3 141a115 115 0 1 0 -.6 230 115 115 0 1 0 .6-230zm-.6 40.4a74.6 74.6 0 1 1 .6 149.2 74.6 74.6 0 1 1 -.6-149.2zm93.4-45.1a26.8 26.8 0 1 1 53.6 0 26.8 26.8 0 1 1 -53.6 0zm129.7 27.2c-1.7-35.9-9.9-67.7-36.2-93.9-26.2-26.2-58-34.4-93.9-36.2-37-2.1-147.9-2.1-184.9 0-35.8 1.7-67.6 9.9-93.9 36.1s-34.4 58-36.2 93.9c-2.1 37-2.1 147.9 0 184.9 1.7 35.9 9.9 67.7 36.2 93.9s58 34.4 93.9 36.2c37 2.1 147.9 2.1 184.9 0 35.9-1.7 67.7-9.9 93.9-36.2 26.2-26.2 34.4-58 36.2-93.9 2.1-37 2.1-147.8 0-184.8zM399 388c-7.8 19.6-22.9 34.7-42.6 42.6-29.5 11.7-99.5 9-132.1 9s-102.7 2.6-132.1-9c-19.6-7.8-34.7-22.9-42.6-42.6-11.7-29.5-9-99.5-9-132.1s-2.6-102.7 9-132.1c7.8-19.6 22.9-34.7 42.6-42.6 29.5-11.7 99.5-9 132.1-9s102.7-2.6 132.1 9c19.6 7.8 34.7 22.9 42.6 42.6 11.7 29.5 9 99.5 9 132.1s2.7 102.7-9 132.1z"/></svg>');
    width: 1.6em;
    height: 1.6em;
}

#contact-info li > a {
    text-decoration: none;
    color: inherit;
    display: flex;
    gap: 0.5em;
}

#copyright {
    font-size: 0.9em;
}

#page-menu > footer {
    background: var(--footer-background), url(../images/coffee-bg.jpg);
    background-position: top;
    background-repeat: repeat;
    background-size: 50em;
}

#page-menu > footer::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 15px;
    left: 0;
    z-index: 1;
    top: -1px;
    background-image: url(../images/overlay-top.png);
}

/* End of basic styles */

#menu-page > h2 {
    font-size: 3em;
    margin: 1em 0 0;
    text-align: center;
    display: none;
}

#menu-page .category {
    margin: 5em 0;
    scroll-margin-top: 12em;
}

#menu-page .category > .inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2em;
}

#menu-page .card {
    display: flex;
    justify-content: space-between;
}

#menu-page .card .content {
    padding: 1em;
    flex: 1 0;
    display: flex;
    flex-direction: column;
    gap: 1em;
}

#menu-page .card picture img {
    border-radius: var(--card-radius);
    display: block;
    height: 10em;
}

#menu-page .card .content .price {
    margin-top: auto;
    font-weight: bold;
    font-size: 1.1em;
}

#menu-page .category h3.header {
    font-size: 2.2em;
    display: flex;
    align-items: center;
    gap: 0.5em;
    margin-bottom: 1em;
}

#menu-page .card .content h4.header {
    font-size: 1.5em;
    display: flex;
    align-items: center;
    gap: 0.5em;
}

#menu-page span.separator {
    font-size: 0.7em;
}

#menu-page .header > .second-name {
    font-size: 0.8em;
    display: block;
}

#menu-page .card {
    display: flex;
    justify-content: space-between;
    background: rgb(51 33 29 / 6%);
    border: 1px solid rgb(51 33 29 / 8%);
    border-radius: var(--card-radius);
    flex-direction: row-reverse;
    gap: 1em;
    height: 10em;
}

.card > .content > .header > h4 {
    font-size: 1.6em;
}

.category-list {
    padding-top: 1em;
    position: sticky;
    top: 0;
    background: #fffbf2;
    border-bottom: 1px solid #c8c3ba;
}

.category-list > ul {
    display: flex;
    align-items: center;
    list-style: none;
    overflow-x: auto;
    padding-bottom: 1em;
    justify-content: space-evenly;
}

.category-list > ul > li {
    flex: 1;
}

.category-list > ul > li > a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1em;
    text-decoration: none;
    color: var(--body-color);
    min-width: 7.5em;
}

.category-list > ul > li > a > span.name,
.category-list > ul > li > a > img {
    transition: all 0.3s;
}

.category-list > ul > li > a > img {
    width: 3em;
}

.category-list > ul > li > a.active > span.name {
    font-weight: bold;
    font-size: 1.1em;
}

.category-list > ul > li > a.active > img {
    transform: rotate(-15deg);
}

@media (max-width: 1000px) {
    #menu-page .category > .inner {
        grid-template-columns: 1fr;
        gap: 2em;
    }

    #menu-page .category {
        margin: 5em max(1.5em, calc((100% - 48em) / 2));
    }
}

@media (max-width: 900px) {
    #page-home #hero > .content > p {
        font-size: 3em;
    }
}

@media (max-width: 600px) {
    .category-list > ul {
        justify-content: flex-start;
    }

    #page-home #hero > .content > p {
        font-size: 2em;
    }

    #menu-page .category {
        font-size: 0.9em;
        margin: 5em max(0em, calc((100% - 48em) / 2));
    }

    #menu-page .card .content {
        padding: 0.5em;
        gap: 0.5em;
    }
}

@media (max-width: 500px) {
    #menu-page .category {
        font-size: 0.8em;
    }
}