body {
    background: #f3e5cf url('../img/background.jpg');
    margin: 0;
    padding: 0;
    font: 1em Helvetica,Arial,sans-serif;
    color: #543;
}

a {
    color: #369;
}


/* --- HEADER --- */

header {
    background: #f3e5cf url('../img/header-gradient.png') top repeat-x;
    position: relative;
    z-index: 5;
}

header section {
    width: 990px;
    margin: 0 auto;
    position: relative;
    color: #369;
    animation-name: fadeIn;
    animation-iteration-count: 1;
    animation-timing-function: ease-out;
    animation-duration: 3s;
}

header section a {
    text-decoration: none;
    color: #369;
}

/* Logo */
header section h1 {
    text-align: center;
    padding: 16px 0;
    margin: 0;
    background: url('../img/spotlight.png') top center no-repeat;
}

/* Address */
header section address {
    position: absolute;
    bottom: 25px;
    left: 0;
    font-style: normal;
    font-family: Georgia,serif;
    animation-name: slideIn;
    animation-iteration-count: 1;
    animation-timing-function: ease-out;
    animation-duration: 2s;
}

/* Phone */
header section #phone {
    position: absolute;
    bottom: 25px;
    right: 0;
    font-size: 1.4em;
    font-family: Georgia,serif;
    animation-name: slideIn;
    animation-iteration-count: 1;
    animation-timing-function: ease-out;
    animation-duration: 2s;
}

header nav {
    background: #369;
    border-top: 5px solid #a00;
    box-shadow: 0 2px 10px #222;
    font-size: 0.9em;
}

header nav ul {
    margin: 0 auto;
    padding: 0;
    width: 990px;
}

header nav ul li {
    list-style-type: none;
    display: inline-block;
}

header nav ul #social {
    float: right;
}

header nav ul li a {
    color: #fff;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: bold;
    line-height: 45px;
    padding-right: 1.3em;
}

header nav ul #social li a {
    padding-right: 0;
    padding-left: 25px;
    line-height: 52px;
}

#menu-toggle {
    display: none;
}

#container {
    width: 1015px;
    background: #e2d4be;
    margin: 0 auto 20px;
    padding-bottom: 12px;
    box-shadow: 0 0 10px #745a39;
}

article {
    width: 990px;
    margin: 0 auto;
    box-shadow: 0 0 10px #745a39;
    line-height: 1.6;
    background: #f3e5cf;
}

article#main {
    min-height: 814px;
}

article img.slide {
    display: block;
    margin: 0 auto;
    padding: 0.5em 0;
}

article #page h2 {
    color: #369;
    font-family: Georgia,serif;
    font-style: italic;
    font-weight: normal;
    background: url(../img/heading-background.png) no-repeat;
    min-height: 54px;
    line-height: 50px;
    padding-left: 10px;
}

article p img {
    float: left;
    margin: 0 1.5em 0.5em 0;
    border: 0.5em solid #fff;
    box-shadow: 0 0 10px #b89e7d;
}

article #page {
    padding: 1em 2.5%;
    display: inline-block;
    width: 60%;
}

#email-form {
    padding: 0;
    float: right;
    width: 33%;
    text-align: center;
}

#email-form h4 {
    color: #369;
    font-family: Georgia,serif;
    font-style: italic;
    font-weight: normal;
    font-size: 1.3em;
}

#email-form iframe {
    overflow-x: hidden;
}
    
#email-form form input[type=submit], a.button {
    background: #369;
    color: #fff;
    margin-top: 2em;
    height: 3em;
    border-radius: 3em;
    font-size: 1em;
    cursor: pointer;
}

a.button {
  padding: 1em 2em; 
  text-decoration: none;
  font-weight: bold;
}

a.button:hover {
  text-decoration: underline;
}

#email-form input.wide, #email-form textarea {
    height: 2em;
    width: 92%;
    border-radius: 3px;
    padding: 1% 4%;
    border: 1px solid #bbb;
    margin-bottom: 1em;
}

#email-form form textarea {
    height: 7em;
    font-family: Arial,sans-serif;
    padding: 4%;
}

.clear {
    clear: both;
}

footer {
    color: #745a39;
    font: 12px Arial,sans-serif;
}

footer ul {
    margin: 20px 0 10px;
    padding-left: 24px;
}

footer ul li {
    list-style-type: none;
    display: inline-block;
    padding: 0 12px 0 0;
}

footer ul li a {
    color: #745a39;
    font-weight: bold;
    text-decoration: none;
}

footer #creds {
    float: right;
}

footer #creds li {
    padding-right: 24px;
}

@media (max-width: 1000px) {
    header {
        height: auto;
    }

    header, header section, header nav ul {
        height: auto;
        width: auto;
    }

    header section h1 {
        padding: 20px 0 30px;
        margin: 0;
    }

    header h1 img {
        width: 90vw;
    }

    header section address, header section #phone {
        position: relative;
        text-align: center;
        padding: 5px 0;
        display: block;
    }

    header nav ul li {
        display: block;
        text-align: center;
    }

    header nav ul li a {
        padding: 0;
    }

    header nav ul #social, header nav ul {
        border-top: 1px solid #024;
        padding-top: 8px;
        float: none;
    }

    header nav ul #social {
        margin-top: 8px;
    }

    header nav ul #social li {
        display: inline-block;
        width: 24%;
    }

    header nav ul #social li a {
        display: inline-block;
        padding: 0;
        width: 100%;
    }

    header nav ul {
        display: none;
    }

    #menu-toggle {
        display: block;
        color: #fff;
        text-transform: uppercase;
        text-decoration: none;
        font-weight: bold;
        line-height: 55px;
        text-align: center;
        background-image: url('../img/menu.svg');
        background-position: center;
        background-size: 20px;
        background-repeat: no-repeat;
        padding-left: 90px;
        margin-left: -70px;
    }

    #container, article {
        width: auto;
    }

    article img.slide {
        width: 100%;
        padding: 0;
    }

    article #page, #email-form {
        padding: 2%;
        display: block;
        float: none;
        width: 96%;
    }
}


/* --- animations --- */

@keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
@keyframes slideIn { 0% { transform: translateY(150%); } 100% { transform: translateY(0); } }
