/* Steve Dumond 7/18/22 */
* {
    box-sizing: border-box;
}

/* START: BODY section */
body {
    font-family: Verdana, Arial, sans-serif;
    color: #3C0B07;
    background-color: #FFFFFF;
    margin: 0;
    min-width: 350px;
}
/* END: BODY section */


/* START: HEADER section */
header {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2em;
    color: #3C0B07;
    background-color: #FFFFFF;
    text-align: center;
    height: 145px;
    border-bottom: 1px solid #3C0B07;
}

    /* Display the logo with a link to the home page in the header */
    header a {
        text-decoration: none;
        color: #3C0B07;
        position: relative;
        display: block;
        width: 216px;
        height: 144px;
        margin: auto;
    }

    header span {
        display: block;
        top: 0;
        position: absolute;
        width: 216px;
        height: 144px;
        background-image: url(Images/CafeLOGOLo.jpg);
        background-repeat: no-repeat;
    }
/* END: HEADER section */


/* START: FOOTER section */
footer {
    background-color: #9B1307;
    color: #F3D0CE;
    font-size: .60em;
    font-style: italic;
    text-align: center;
    padding-bottom: 1em;
    border-right: 2px solid #3C0B07;
    border-left: 2px solid #3C0B07;
    border-top: 2px solid #3C0B07;
    border-bottom: 2px solid #3C0B07;
}

    footer address {
        color: #F4CA8B;
        font-size: 1.75em;
        font-style: normal;
        padding-bottom: .25em;
    }

    footer p {
        margin-top: .25em;
        margin-bottom: .25em;
    }

    footer a {
        padding-right: .5em;
        padding-left: .5em;
    }

        footer a:link {
            color: #FFFFFF;
        }

        footer a:visited {
            color: #F4CA8B;
        }

        footer a:hover {
            color: #3C0B07;
            background-color: #FFFFFF;
        }
/* END: FOOTER section */


/* START: NAV section */
nav {
    text-align: center;
    font-size: 1em;
    background-color: #9B1307;
}

    nav a {
        text-decoration: none;
        padding-right: 2em;
        padding-left: 2em;
        padding-top: .5em;
        padding-bottom: .5em;
    }

        nav a:link {
            color: #FFFFFF;
        }

        nav a:visited {
            color: #F4CA8B;
        }

        nav a:hover {
            color: #3C0B07;
            background-color: #FFFFFF;
        }

    nav ul {
        display: flex;
        flex-direction: column;
        list-style-type: none;
        padding: 0;
        margin: 0;
        font-size: 1.25em;
        width: 100%;
    }

        nav ul li {
            padding-top: .5em;
            padding-bottom: .5em;
            padding-left: 1em;
            padding-right: 1em;
            margin: 0;
            font-size: 1.25em;
            width: 100%;
            border-bottom: 1px solid #3C0B07;
            border-right: 1px solid #3C0B07;
            border-left: 1px solid #3C0B07;
        }
/* END: NAV section */


/* START: MAIN section */
main {
    background-color: #FFFFFF;
    display: block;
    overflow: auto;
}

    main div {
        padding-left: 1em;
        padding-right: 1em;
    }

    main p, ul {
        width: 80%;
        margin-left: 10%;
        margin-right: 10%;
        padding: 0;
    }

 /*   main img {
        display: block;
        margin-left: auto;
        margin-right: auto;
        width: 95%;
    } */
/* END: MAIN section */


/* START: Hx section */
h1 {
    font-size: 2em;
    font-family: Georgia, "Times New Roman", serif;
    color: #3C0B07;
    text-align: center;
}

h3 {
    font-size: 1.2em;
    font-family: Georgia, "Times New Roman", serif;
    color: #3C0B07;
    text-transform: capitalize;
    text-align: center;
}
/* END: Hx section */


/* START: ASIDE section */
aside {
    display: none;
}

    aside a:link {
        color: #FFFFFF;
    }

    aside a:visited {
        color: #F4CA8B;
    }

    aside a:hover {
        color: #3C0B07;
        background-color: #FFFFFF;
        padding: .5em;
    }
/* END: ASIDE section */


/* START: TABLE section */
table {
    margin: auto;
    border-spacing: 0;
    border-top: 3px solid #9B1307;
    padding-bottom: 50px;
    width: 350px;
}

    table caption {
        font-family: Verdana, Arial, sans-serif;
        font-weight: bold;
        font-size: 1.2em;
        background-color: #FFFFFF;
        color: #3C0B07;
        padding-bottom: 2px;
        padding-top: .75em;
    }

    table td {
        padding: 0.5em;
        border-style: none;
        font-family: Verdana, Arial, sans-serif;
        border-bottom: 1px solid #9B1307;
    }

    table th {
        padding: 0.5em;
        border-style: none;
        font-family: Verdana, Arial, sans-serif;
        background-color: #FFFFFF;
        color: #3C0B07;
    }

    table tr {
        background-color: #FFFFFF;
        color: #3C0B07;
    }

        table tr:nth-of-type(even) {
            background-color: #9B1307;
            color: #FFFFFF;
        }
/* END: TABLE section */

/* START: FORM section */
form {
    background-color: #FFFCFC;
    color: #3C0B07;
    border-spacing: 0;
    border: 2px solid #9B1307;
    width: 350px;
    padding: 5px;
    margin: auto;
}

label {
    display: inline;
    width: 100%;
    text-align: left;
    padding-right: 10px;
    margin-left: 10px;
    margin-top: 5px;
}

fieldset {
    margin-top: 10px;
    margin-bottom: 5px;
    margin-left: 10px;
    border: 1px solid #9B1307;
    width: 95%;
}

textarea {
    margin-top: 5px;
    margin-left: 10px;
    border: 1px solid #9B1307;
    font-family: Verdana, Tahoma, Geneva, sans-serif;
    display: block;
    width: 95%;
}

input[type="text"], input[type="email"] {
    margin-top: 5px;
    margin-bottom: 5px;
    margin-left: 0;
    border: 1px solid #9B1307;
    font-family: Verdana, Tahoma, Geneva, sans-serif;
    display: block;
    width: 100%;
}

input[type="submit"], input[type="reset"] {
    padding: 10px;
    font-size: 1.1em;
    margin-left: 10px;
    margin-bottom: 10px;
    border: 1px solid #9B1307;
    background-color: #9B1307;
    color: #FFFFFF;
}
/* END: FORM section */


/* START: ID section */
#homehero {
    height: 221px;
    background-image: url(Images/bar420.jpg);
    background-repeat: no-repeat;
    background-size: auto auto;
    margin-left: 10%;
    margin-right: 10%;
    margin-bottom: 5px;
}

#mobile {
    display: inline;
}

#desktop {
    display: none;
}

#features {
    /* This ID is a fragment identifier, it does nothing else */
}

#wrapper {
    /* The wrapper ID is not used until it turns on the grid display for screens 1024px and over */
}
/* END: ID section */


/* START: CLASS section */
.center {
    text-align: center;
}

.red {
    color: #9B1307;
    font-style: italic;
    font-weight: bold;
}

.noLeftMargin {
    margin-left: 0;
}

/* END: CLASS section */

/******** START: Media query settings for small tablets */
@media (min-width: 600px) {
    header {
        height: 241px;
        border-left: 1px solid #3C0B07;
    }

        header a {
            width: 360px;
            height: 240px;
        }

        header span {
            width: 360px;
            height: 240px;
            background-image: url(Images/CafeLOGO360.jpg);
        }

    footer address {
        color: #FFFFFF;
        font-size: 2em;
    }

    nav a {
        text-decoration: none;
        padding-right: .65em;
        padding-left: .65em;
        padding-top: .5em;
        padding-bottom: .5em;
    }

    nav ul {
        display: flex;
        flex-flow: row nowrap;
        justify-content: space-around;
    }

        nav ul li {
            padding-left: 0;
            padding-right: 0;
            border-right: 0;
            border-left: 0;
        }

    main ul {
        width: 75%;
        margin-left: 15%;
        margin-right: 10%;
        padding: 0;
    }

    h1 {
        font-size: 2.5em;
    }

    h3 {
        font-size: 1.36em;
    }

    table {
        width: 600px;
    }

        table caption {
            font-size: 1.36em;
        }

        table th {
            font-size: 1.1em;
        }

    form {
        width: 600px;
    }

    .two-col {
        overflow: hidden;
    }

    .col1, .col2 {
        width: 50%;
        padding-left: 0;
    }

    .two-col .col1 {
        float: left;
    }

    .two-col .col2 {
        float: right;
    }

    .two-col {
        display: block;
    }

    #homehero {
        height: 315px;
        background-image: url(Images/bar600.jpg);
        margin-left: 15%;
    }

    #mobile {
        display: none;
    }

    #desktop {
        display: inline;
    }
}
/******** END: Media query settings for small tablets */

/******** START: Media query settings for large tablets & laptops */
/* Two column grid display is turned on at this level */
@media (min-width: 1024px) {
    h1 {
        font-size: 3em;
    }

    h3 {
        font-size: 1.75em;
    }

    table caption {
        font-size: 1.75em;
    }

    table th {
        font-size: 1.35em;
    }

    header {
        grid-area: header;
        height: 301px;
        border-left: 0;
    }

        header a {
            width: 450px;
            height: 300px;
        }

        header span {
            width: 450px;
            height: 300px;
            background-image: url(Images/CafeLOGO450.jpg);
        }

    footer {
        grid-area: footer;
        background-color: #FFFFFF;
        color: #3C0B07;
        border: 0;
        padding-top: 0em;
    }

        footer address {
            display: none;
        }

    nav {
        grid-area: nav;
        border-right: 1px solid #3C0B07;
    }

        nav ul {
            flex-direction: column;
        }

    main {
        grid-area: main;
    }

    aside {
        display: inline;
        grid-area: aside;
        color: #FFFFFF;
        height: 301px;
        text-align: center;
        padding-top: 65px;
        font-size: 1em;
        background-color: #9B1307;
        border-right: 1px solid #3C0B07;
        border-bottom: 1px solid #3C0B07;
    }

    #homehero {
        height: 473px;
        background-image: url(Images/bar900.jpg);
    }

    #wrapper {
        display: grid;
        grid-template:
            "aside header"
            "nav    main"
            "nav footer"
            / 200px;
    }
}
/******** END: Media query settings for large tablets & laptops */

/******** Start: Media query settings for desktops */
@media (min-width: 1400px) {
    h1 {
        font-size: 3.25em;
    }

    h3 {
        font-size: 2em;
    }

    table {
        width: 1150px;
    }

        table caption {
            font-size: 2em;
        }

        table th {
            font-size: 1.5em;
        }

    #homehero {
        height: 536px;
        background-image: url(Images/bar1020.jpg);
    }
}
/******** END: Media query settings for desktops */

/******** Start: Media query settings for large monitors */
@media (min-width: 1650px) {
    #wrapper {
        max-width: 1650px;
    }
}
/******** END: Media query settings for large monitors */