﻿/* Copyright Katherine Townsend */

.container {
    background: #eae7e5 url("../img/stone.png") repeat;
    height: unset;
}

.serving {
    margin: 0;
    font-size: 1rem;
}

main {
    display: flex;
    flex-flow: column nowrap;
    width: 95%;
    justify-content: center;
    align-items: center;
    padding-bottom: 1rem;
    margin: 0 auto;
}

h3 {
    color: #6c3416;
    padding: 1em;
    font-size: 2rem;
    text-align: center;
}

.contactInfo {
    background-color: rgba(43,34,29,.7);
    color: #eae7e5;
    font-size: 1.15rem;
    padding: 1rem 2rem;
    margin-bottom: .75rem;
    display: flex;
    flex-flow: column nowrap;
    justify-content: space-around;
    height: 13rem;
    border-radius: 4px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

form {
    padding: 1em;
    background-color: rgba(234, 231,229,.85);
    border-radius: 3px;
    border: groove 2px /*#6c3416*/ rgba(43,34,29,.7);
}

label {
    display: inline-block;
    padding-top: 1.5em;
}

    label:first-of-type {
        padding-top: .5em;
    }

    label:last-of-type {
        padding-bottom: 1em;
    }

input[type=text] {
    width: 100%;
    padding: 1em;
    box-sizing: border-box;
    border: none;
    border-bottom: 2px solid #6c3416;
    background: transparent;
}

    
textarea {
    width: 100%;
    height: 12em;
    padding: 1em;
    border: 2px solid #6c3416;
    border-radius: 4px;
    background-color: transparent;
    resize: none;
}

    input[type=text]:focus, textarea:focus {
        background-color: #eae7e5;
        outline: none;
        border-bottom: 2px solid #6c3416;
    }

#submit {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem 0 .5rem 0;
}

input[type=submit] {
   width: unset;
   padding: 0 1rem;
   display: flex;
}

.response {
    font-style: italic;
    text-align: center;
    padding: .5rem;
}

footer {
    position: relative;
    bottom: 2px;
    opacity: 1;
    padding-top: 1em;
    text-align: center;
}

@media only screen and (min-width: 1110px) {

.container {
    display: flex;
    flex-flow: column nowrap;
    height: 100vh;
}

 .container::after {
        display: flex;
        flex-flow: column nowrap;
        position: absolute;
        top: 0;
        left: 0;
        content: "";
        background: transparent url("../img/res13a.png") no-repeat bottom left;
        height: 100%;
        width: 100%;
        }

header {z-index: 1000;}

.serving {
    font-size: 1.1rem;
    margin-top: -3rem;
}

main {
    flex-flow: row nowrap;
    height: 100%;
} 

h3 {
    font-size: 2.5rem;
    text-align: center;
    padding-top: 1rem;
}

.emptyInfo, 
.leftContactInfo, 
.formInfo {
    display: flex;
    width: 33%;
}

    .leftContactInfo {
        flex-flow: column nowrap;
        height: 100%;
        justify-content: flex-start;
        z-index: 1000;
    }

    .formInfo {
        justify-content: center;
    }

    .contactInfo {
        width: 64%;
        margin: 0 auto;
        margin-top: -.75rem;
    }


    form {
        display: flex;
        flex-flow: column nowrap;
        box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
        height: 100%;
        z-index: 1000;
    }

    label {
        padding-top: .5em;
    }

label:first-of-type {
        padding-top: .5em;
    }

    textarea {
        height: 6em;
    }

    footer {
        position: fixed;
        bottom: 1%;
        left: 1%;
        background: transparent;
    }

    }



