:root {
    --white: #f2f2f2;
    --accent: #dca530;
    --hover: #fcc650;
    --dark: #181413;
    --pop: #684551;
}


/* Universal Styles */

body {
    background-color: var(--white);
    font: 1rem/1.5 "Lato", Arial, sans-serif;
}

.inner-container h1 {
    font-size: 4rem;
}


/* Utility Classes */

.btn {
    display: inline-block;
    background-color: var(--accent);
    padding: 0.5rem 1rem;
    color: var(--dark);
    letter-spacing: 0.1rem;
    text-decoration: none;
    text-transform: lowercase;
}

.btn:hover {
    background-color: var(--hover);
    transition: 0.4s all ease-in-out;
}

.flex {
    display: flex;
    align-items: center;
}

.parallax p {
    background-color: rgba(0, 0, 0, 0.379);
}

.flex ul li {
    font-size: 3rem;
    padding: 0 2rem;
}

.inner-container {
    max-width: 1024px;
    margin: auto;
}

.sr-only {
    position: absolute;
    top: -9999px;
    left: -9999px;
}


/* Typography */

h1 {
    font-family: "Hurricane", cursive;
    color: var(--white);
    font-size: 4rem;
    font-weight: 400;
    line-height: 1;
    text-align: center;
}

.tagline {
    color: var(--white);
    letter-spacing: 0.2rem;
    text-align: center;
    text-transform: uppercase;
}

nav a {
    color: var(--white);
    white-space: nowrap;
    text-decoration: none;
}

nav a:not(.btn):hover {
    text-decoration: underline;
}

.sign-in {
    margin: 0 auto;
}


/* Header */

header {
    background-color: var(--pop);
    padding: 0.5rem;
    position: sticky;
    top: -4.5rem;
    z-index: 1;
}

nav {
    justify-content: space-between;
    padding-top: 1rem;
}

nav ul {
    margin: 0;
    padding: 0;
}

.sign-in .btn {
    margin-right: 1rem;
}

.menu {
    color: var(--white);
    cursor: pointer;
}


/* Hero Banner */

main section:first-of-type {
    color: whitesmoke;
    background: url(../img/new.webp) center / cover;
    height: 85vh;
}

main section:first-of-type .inner-container {
    min-height: calc(100vh - 10rem);
    flex-flow: column nowrap;
    justify-content: center;
}

main section:first-of-type h2 {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 5rem;
    font-weight: 400;
    line-height: 1;
    margin-bottom: 3rem;
}

main section:first-of-type h2 span {
    display: block;
    padding-left: 4rem;
}

main section:first-of-type p {
    font-size: 1.4rem;
    line-height: 1.2;
    max-width: 40ch;
    padding: 1rem;
    margin-bottom: 2rem;
}

.news {
    width: 100%;
    display: flex;
    margin: 0 auto;
    padding: 0 1rem;
}

.news-images {
    margin: 1rem 0;
}

.news-link {
    font-size: 1.3rem;
    padding-left: 0.5rem;
    color: var(--accent);
    font-weight: 900;
}

.news-heading {
    font-size: 2rem;
    color: var(--pop);
    margin: 2rem 0;
    text-align: center;
}

.news-images-flex {
    display: flex;
    gap: 1rem;
    margin: 1rem 0;
}

.image1-flex,
.image2-flex {
    width: 50%;
}

.news-article p {
    font-size: 1.2rem;
}


/* Parallax */

.parallax {
    background: url(../img/italian_herb_garlic.webp) center / cover no-repeat;
    padding: 1rem;
    background-attachment: fixed;
    font-size: 1.4rem;
    font-weight: 700;
    color: white;
}

.parallax .inner-container {
    min-height: 100vh;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: flex-end;
}

.parallax .inner-container * {
    width: 60%;
    padding: 0.5rem 1rem;
}

.parallax h2 {
    font-size: 3.4rem;
    font-weight: bolder;
    line-height: 1.2;
    color: white;
}


/*  Recipe Page*/

.all-recipes h3 {
    font-size: 1.5rem;
    padding: 0 1rem;
    margin-top: 2rem;
}

.all-recipes {
    margin: 1.4rem;
}

.all-recipes p {
    padding: 1rem;
    font-size: 18px;
    line-height: 1.7;
}

.all-recipes h2 {
    text-align: center;
    font-size: 2.4rem;
    color: var(--pop);
    padding: 3rem 0;
}

.recipe-1,
.recipe-2 {
    margin-left: 1rem;
}

.recipe-1 img,
.recipe-2 img {
    height: 80vh;
    margin: 0 auto;
}


/* Footer */

footer {
    background-color: var(--pop);
    color: var(--white);
    padding: 3rem 2rem;
}

footer .inner-container div * {
    margin-bottom: 1rem;
}

form input[type="email"] {
    flex: 1 0 auto;
    height: 2.25rem;
    padding: 0.25rem;
    border: none;
    margin: 0;
}

form input[type="submit"] {
    height: 2.25rem;
    background-color: var(--accent);
    padding: 0 0.5rem;
    border: none;
}

form input[type="submit"]:hover {
    background-color: var(--hover);
    transition: 0.4s all ease-in-out;
    cursor: pointer;
}

footer nav {
    padding: 2rem 0;
}

footer nav h3 {
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

footer>p {
    width: 100%;
    margin-top: 2rem;
    font-size: 0.8rem;
    text-align: center;
}


/* all content */

.first-banner a img,
.second-banner a img {
    margin: 0 auto;
    margin-bottom: 3rem;
}

.first-banner {
    margin-top: 2rem;
    padding: 0 1rem;
}

.box-1 img {
    height: 35vh;
    width: 100%;
}

.box-1 {
    padding: 1rem;
}

.first-section {
    padding: 1rem;
}


/* .box-1 .image-container {
    margin-top: -13px;
} */

.box-1 h2,
.box-2 h2,
.box-3 h2 {
    padding: 1rem 0;
    font-size: 3rem;
    color: var(--accent);
    text-align: center;
}

.first-section h2 {
    text-align: center;
    font-size: 2rem;
    color: var(--accent);
    margin-top: 3rem;
}

.first-section p {
    padding: 1rem;
    font-size: 1.6rem;
    padding: 2rem 0;
}

.box-1 p,
.box-2 p,
.box-3 p {
    padding: 1rem;
    font-size: 1.5rem;
}

.box-3 {
    margin-bottom: 4rem;
}

@media screen and (min-width: 64rem) {
    .parallax {
        background: url(../img/italian_herb_garlic.webp) center / cover no-repeat;
        background-attachment: fixed;
    }
    .flex ul li {
        font-size: 1.5rem;
    }
    footer div.inner-container {
        display: flex;
        align-items: center;
    }
    footer .inner-container>div,
    footer form {
        width: 48%;
    }
    .menu {
        display: none;
    }
    .all-recipes {
        display: flex;
    }
    .all-recipes h3 {
        font-size: 1.5rem;
        padding: 0 1rem;
        margin-top: 2rem;
    }
    .all-recipes {
        margin: 1.4rem;
    }
    .box-1 img {
        height: 50vh;
        width: 100%;
    }
    .all-recipes p {
        padding: 1rem;
        font-size: 18px;
        line-height: 1.7;
    }
    .all-recipes h2 {
        text-align: center;
        font-size: 2.4rem;
        color: var(--pop);
        padding: 3rem 0;
    }
    .recipe-1,
    .recipe-2 {
        width: 50%;
        border: 4px solid var(--pop);
        margin-left: 1rem;
    }
    .recipe-1 img,
    .recipe-2 img {
        height: 80vh;
        margin: 0 auto;
    }
    .container h1 {
        font-size: 5rem;
        color: var(--accent);
        margin-top: 3rem;
        font-weight: 500;
    }
    .box {
        display: flex;
        margin: 0 5rem;
    }
    .box-1 {
        width: 50%;
        margin: 1rem;
    }
    .box-1 p {
        font-size: 1.2rem;
    }
    .box-1 h2 {
        font-size: 2rem;
    }
    .first-section h2 {
        text-align: center;
        font-size: 2rem;
        color: var(--accent);
        margin-top: 0rem;
    }
    .all-about {
        margin-bottom: 6rem;
    }
    .first-section p {
        font-size: 1.2rem;
        padding: 1rem 8rem;
    }
    .news {
        width: 35%;
        display: flex;
        margin: 0 auto;
    }
    .news-images {
        margin: 1rem 0;
    }
    .news-link {
        font-size: 1.3rem;
        padding-left: 0.5rem;
        color: var(--accent);
        font-weight: 900;
    }
    .news-heading {
        font-size: 2rem;
        color: var(--pop);
        margin: 2rem 0;
        text-align: center;
    }
    .news-images-flex {
        display: flex;
        gap: 1rem;
        margin: 1rem 0;
    }
    .image1-flex,
    .image2-flex {
        width: 50%;
    }
    .news-article p {
        font-size: 1.2rem;
    }
}