/**
        Brett Jenaway
        TAFE WA
        Certificate IV: Web Development
        Digital Design Cluster
        Semester 1, 2026
**/

:root {
    --font-headings-h1: "Faustina";
    --font-headings-h2: "Caveat";
    --font-headings-menu: "Roboto";
    --font-body: "Poppins";
    --background-color: "FFF";
    --feature-color: "C96A3D";
}

* {
    font-family: var(--font-body), sans-serif;
    font-size: 16px;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

#wrapper {

    min-height: 100vh;
    margin: 0 auto;
    width: 100%;
    /** grid **/
    display: grid;
    grid-template-areas:
        "header"
        "navbar"
        "main"
        "footer";
    grid-template-columns: 1fr;
    grid-template-rows: 120px 80px minmax(500px, auto) minmax(100px, auto);
}

.button {
    background-color: var(--background-color);
    color: var(--feature-color);
    font-weight: bold;
    padding: 0.5em;
    border-radius: 10px;
    border: 4px solid var(--feature-color);
    text-decoration: none;
}

.button:hover {
    background-color: #ebe5e0;
    color: #915110;
    font-weight: bold;
    padding: 0.5em;
    border-radius: 10px;
    border: 4px solid #915110;

}

/**************** Header *******************/

header {
    grid-area: header;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #F4F1ED;
}

/**************** Navigation Menu *******************/

nav {
    grid-area: navbar;
    font-weight: bold;
    font-size: 1.2em;
    width: 100%;
    min-height: 80px;
    background-color: #ca6600;
}

nav ul {
    font-family: var(--font-headings-menu), sans-serif;
    list-style-type: none;
    /** flex-box **/
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    height: 100%;


}

nav a {
    text-decoration: none;
    color: #fff;
    font-size: 1.1em;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 1em 2em;

}

nav a:hover {
    color: #000;
}


/**************** Footer *******************/

footer {
    grid-area: footer;
    background-color: #332F2B;
    color: #fff;

    width: 100%;
    min-height: 100px;
}

footer ul {
    list-style-type: none;
}

#social-links {
    display: flex;
    flex-direction: row;
    justify-content: center;
    padding: 2em;
}

#social-links img {
    padding: 0 1em;
}



#footer-menu-links ul {
    display: flex;
    flex-direction: row;
    justify-content: center;
    padding-bottom: 2em;
}

#footer-menu-links a {
    text-decoration: none;
    color: #fff;
    padding: 0 1.5em;
    font-size: 0.9em;
}

#footer-copyright {
    background-color: #201E1D;
    text-align: center;
    padding: 0.5em 0;
}

#footer-copyright p {
    font-size: 0.8em;
}

/**************** Main Body *******************/

main {
    grid-area: main;
    margin: 0 auto;
    max-width: 1000px;
    min-width: 400px;
    margin: 0 auto;
}

h1 {
    font-family: var(--font-headings-h1), sans-serif;
    font-size: 2.5em;
    text-align: center;
    padding-top: 0.5em;
}

h2 {
    font-family: var(--font-headings-h2), sans-serif;
    font-size: 2em;
}

/**************** Home Page *******************/

#home-page img {
    max-width: 100%;
}

#home-page h1 {
    font-size: 2.5em;
    text-align: center;
    padding-top: 0.5em;
}

#home-page h2 {
    font-family: var(--font-headings-h2), sans-serif;
    font-size: 2em;
}

#home-page article {
    text-align: center;
    width: 80%;
    margin: 0 auto 30px auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1em;
}

#home-page p {
    text-align: center;
    width: 100%;
    max-width: 600px;
}

#home-page .button {
    display: inline-block;
    margin-top: 1em;
}

/**************** Recipes Page *******************/
.recipe {
    background-color: #dbd3cb;
    padding-bottom: 2em;
    margin: auto;
}

#recipes-page aside {
    display: flex;
    flex-direction: row;
    background-color: #d3c2b1;
    margin-bottom: 30px;
    align-items: center;
}

#recipes-page .recipe-title {
    font-family: var(--font-headings-h1), sans-serif;
    width: 100%;
    font-size: 4em;
    text-align: center;
    padding: 0.5em;
}

#recipes-page h3 {
    font-family: var(--font-headings-h2), sans-serif;
    font-size: 2em;
}

#recipes-page article {
    text-align: center;
    width: 100%;
    margin: 0 auto 30px auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1em;
}

#recipes-page p,
#recipes-page ul,
#recipes-page ol {
    text-align: left;
    width: 60%;

}


/**************** About Page *******************/
#about-page aside {
    display: flex;
    flex-direction: row;
    background-color: #d3c2b1;
    margin-bottom: 30px;
    align-items: center;
}

#about-page article {
    text-align: center;
    width: 100%;
    margin: 0 auto 30px auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1em;
}

#about-page p {
    text-align: left;
    width: 80%;

}

#about-page ul {
    text-align: left;
    width: 50%;
}

/**************** Privacy Page *******************/

#privacy-policy {
    max-width: 80%;
    margin: 0 auto;
}


#privacy-policy h1 {
    font-size: 3em;
    text-align: center;
    padding: 0.5em;
}

#privacy-policy p {
    padding: 1em 0;
    text-wrap: wrap;
}

/**************** Tools Page *******************/
#tools-page h1 {
    font-size: 3em;
    text-align: center;
    padding: 0.5em;
}

table {
    width: 90%;
    margin: 5%;
    border-collapse: collapse;
    table-layout: fixed;
}

td {
    border: 1px black solid;
    text-align: center;
    padding: 2px;
}

thead th {
    border: 1px black solid;
    background-color: #332F2B;
    height: 50px;
    color: #fff;
}

/************** Contact Page *****************/

#contact-page {
    max-width: 80%;
}

#contact-page h1 {
    font-size: 4em;
    text-align: center;
    padding: 0.5em;

}

label,
input,
select,
textarea {
    width: 80%;
    margin: 1em auto;
    display: flex;
}

textarea {
    height: 150px;
}

#terms {
    width: auto;
    display: inline-block;
}

#terms+#terms-label {
    display: inline-block;
}

#terms-and-conditions {
    width: 80%;
    margin: 1em auto;
    text-align: center;
}

fieldset {
    border-radius: 1em;
    margin: 2em 0;
    background-color: #e9e2da;
}

#terms-label {
    font-style: italic;
}


#contact-form {}

/************** Mobile Responsive *****************/

@media (max-width: 768px) {
    nav ul {

        /** flex-box **/
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        height: 100%;


    }

    nav a {
        text-decoration: none;
        color: #fff;
        font-size: 1.1em;
        display: flex;
        flex-direction: row;
        align-items: center;
        padding: 1.5vw;

    }

    #footer-menu-links ul {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding-bottom: 2em;
    }

    #about-page aside {
        display: flex;
        flex-direction: column;
        background-color: #fff;
    }

    #recipes-page aside {
        display: flex;
        flex-direction: column;
        padding-top: 0;
        margin: 30px 0;
    }

    #about-page h1 {
        font-family: "Faustina", sans-serif;
        font-size: 4em;
        text-align: center;
        padding: 0.5em;
    }
}