/* style.css */
/* RESET CSS */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* ROOT */
:root {
    /* ITALIC */
    --italic: #585858;

    /* BODY */
    --background: #ffffff;
    
    /* SECTION */
    --section-bg-lighter: #ffffea;
    --section-bg-gray: #f1f1f1;

    /* NAVIGATION */
    --nav-bg: rgba(73, 57, 10, 0.4);

    /* FOOTER */
    --footer-bg: #664d00;
    --footer-text: #ffffff;
    --footer-icon-border: white;

    /* LINK */
    --link: #ffcc00;
    --link-hover: #ffe033;
    --link-active: #e6b800;

    /* BUTTON */
    --button-bg: #e6ac00;
    --button-hover: #ffbf00;
    --button-active: #cc9900;
    --button-text: #0c0c0c;

    /* TEXT DEFAULT */
    --text-dark: #0c0c0c;
    --text-light: #fafafa;

    /* HERO */
    --hero-link: rgba(255,255,255,0.4);

    /* FEATURED DISHES */
    --featured-dishes-color: #fff5ea;
    --featured-dishes-light: #fcfcfc;
}

/* ERROR/SUCCESS */
#error {
    word-spacing: 0;
    letter-spacing: 0;
    font-weight: 700;
    color: red;
}

/* SPLIT SECTION */
.split-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    flex-wrap: nowrap;
    align-items: center;
}

.split-section h1 {
    padding-bottom: 0.4rem;
    font-size: 3rem;
}

.split-section p {
    font-size: 1rem;
    margin-bottom: 2rem;
    text-align: center;
    width: 80%;
    margin: 0 auto;
}

.split-section hr {
    border: none;
    height: 1px;
    background: linear-gradient(to right, rgb(255,255,255,0.3), rgba(0,0,0, 0));
}

@media (max-width: 768px) {
    .split-section p {
        width: 90%;
    }
}

@media (max-width: 480px) {
    .split-section p {
        width: 100%;
    }
}

/* FONT */
@font-face {
    font-family: 'Font';
    src: url('../fonts/BebasNeue-Regular.ttf-VariableFont_wght.ttf') format('ttf');
    font-weight: normal;
    font-style: normal;
}

/* SECTION */
section {
    padding: 4rem 0;
}

/* Italic*/
i {
    color: var(--italic);
}

/* LINK COLOR */
a {
    color: var(--link);
    transition: color 0.3s ease-in-out;
    text-decoration: none;
}

a:hover {
    cursor: pointer;
    color: var(--link-hover);
}

a:active {
    color: var(--link-active)
}

button:hover {
    cursor: pointer;
}

/* MAIN */
* {
    font-family: "Font", sans-serif;
}

body {
    margin: 0; padding: 0;
    color: var(--text);
    background: var(--background);
}

/* ROW */
.row {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
}

/* NAVIGATION */
nav {
    max-width: 100%;
    right: 0; left: 0;
    position: fixed;
    z-index: 99999;
    text-transform: uppercase;
    backdrop-filter: blur(6px);
    --webkit-backdrop-filter: blur(6px);
    background: var(--nav-bg);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    flex-direction: row;
    justify-content: center;
}

nav a {
    color: var(--footer-text);
}

nav .logo {
    width: min-content;
    padding: 1rem 4rem;
    flex: 1 1 auto;
}

nav .logo img {
    height: 2rem;
    width: auto;
}

nav .links {
    padding: 1rem 4rem;
    display: flex;
    gap: 1.6rem;
    align-items: center;
    font-size: 1.2rem;
    flex-wrap: wrap;
    justify-content: center;
}

@media (max-width: 824px) {
    nav {
        justify-content: center;
    }

    nav .logo {
        padding: 0;
        padding-top: 1rem;
        padding-bottom: 0.2rem;
        text-align: center;
        flex: 1 1 100%;
    }

    nav .logo img {
        width: auto;
        height: 1.6rem;
    }

    nav .links {
        display: flex;
        justify-content: center;
        font-size: 1rem;
        flex-wrap: wrap;
        padding: 0;
        padding-top: 0.2rem;
        padding-bottom: 0.6rem;
        gap: 0rem;
        align-content: center;
        flex-direction: row;
        align-items: center;
    }

    nav .links a {
        padding: 0.2rem 0.6rem;
    }
}

/* FOOTER */
footer {
    padding: 2rem 4rem;
    color: var(--footer-text);
    background: var(--footer-bg);
}

footer .top-bar {
    width: 100%;
    text-align: center;
    margin-top: 0.6rem;
    margin-bottom: 3rem;
}

footer .wrapper {
    width: 100%;
    margin-bottom: 1rem;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    flex-direction: row;
    justify-content: space-between;
    gap: 1rem;
}

footer .wrapper a {
    font-size: 1.2rem;
}

footer .wrapper .container {
    display: flex;
    flex-direction: column;
    text-transform: uppercase;
    flex-grow: 1;
    flex-basis: 0;
    min-width: 200px;
    text-align: center;
}

footer .wrapper #useful-links {
    align-items: flex-start;
}

footer .wrapper #social-media {
    align-items: center;
}

footer .wrapper #social-media h2 {
    font-weight: 100;
    margin-bottom: 0.4rem;
    word-spacing: 0.4rem;
    letter-spacing: 0.1rem;
}

footer .wrapper #social-media img {
    width: 2rem;
    height: auto;
    padding: 0.4rem;
    margin-top: 0.2rem;
    border: 1px solid var(--footer-icon-border);
}

footer .wrapper #social-media .inner {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

footer .wrapper #social-media #instagram,
footer .wrapper #social-media #portfolio {
    width: 1.6rem;
    padding: 0.6rem;
}

footer .wrapper #policy {
    text-align: right;
}

footer .split-section hr {
    width: 100%;
    border: none;
    height: 1px;
    background-color: var(--footer-icon-border);
    margin: 1rem 0;
}

footer .credits {
    text-align: center;
    font-size: 0.9rem;
}

footer .credits a {
    color: var(--link);
    text-decoration: none;
}

/* RESPONSIVENESS */
@media (max-width: 768px) {
    footer .wrapper {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
    }

    footer .wrapper .container {
        text-align: center;
        align-items: center;
    }

    footer .wrapper #useful-links,
    footer .wrapper #policy {
        text-align: center;
    }
}

@media (max-width: 480px) {
    footer .wrapper a {
        font-size: 1rem;
    }

    footer .credits {
        font-size: 0.8rem;
    }
}