/* Basic Font Styles
----------------------------------------------*/

body {
    font: 18px/24px;
    color: #1f1b0c;
    letter-spacing: .06em;
}

header img {
	width: 100%;
	height: 100%;
}

h1,h2 {
    font-weight: normal;
}

h1 {
    margin: 0;
    color: #fbf7e7;
    font-size: 6em;
    line-height: 1em;
    letter-spacing: -.1em;
}

h2 { text-shadow: 0 0 10px rgba(31, 27, 12, .3); }

h2 {
    margin: 0 0 .5em;
    font-size: 2.75em;
    line.height: 1em;
    letter-spacing: -.08;
}

form p {
    margin: 0 0 1em;
    padding: 0;
    font-size: 1.375em;
    text-align: center;
}

label {
    font-size: 0.75em;
    line-height: 1.25em;
    letter-spacing: .04em;
}

input {
    color: #fbf7e7;
    background-color: #1f1b0c;
    border-radius: 6px;
    border: none;
    font-size: 1.75em;
    line-height: 1em;
    letter-spacing: -.08em;
    text-shadow: 0 0 10px rgba(31, 27, 12, .3);
}

label input {
    font-size: 1.75em;
    letter-spacing: .08em;
    color: #1f1b0c;
    background-color: #fff;
}

a {
    color: #e06f00;
    text-decoration: none;
}

a:active,a:hover,a:focus {
    text-decoration: underline;
    outline: none;
}

/* Layout
----------------------------------------------*/

html { background-color: #ff7f27; }

body { margin: 0; }

header {
    -webkit-box-shadow: 0 0 10px rgba(31, 27, 12, .3);
            box-shadow: 0 0 10px rgba(31, 27, 12, .3);
}

header {
    margin-bottom: 3em;
    padding: 3em 0 2em;
}

header h1 {
    width: 550px;
    margin: 0 auto;
    padding: 0;
}

header h1 { margin-bottom: .25em; }

section {
    width: 960px;
    margin: 0 auto;
    overflow: hidden;
}

form {
    float: left;
    width: 460px;
    text-align: center;
}

label {
    display: block;
    width: 430px;
    margin: 0 auto 1em;
    text-indent: 2px;
    text-align: left;
}

input {
    margin: .25em 0 0;
    padding: .375em .875em;
}

label input {
    display: block;
    width: 400px;
    margin: 0;
    padding: .375em 15px;
    border: 2px solid #1f1b0c;
    -webkit-border-radius: 6px;
            border-radius: 6px;
    -webkit-box-shadow: inset 2px 2px 14px rgba(31, 27, 12, .3);
            box-shadow: inset 2px 2px 14px rgba(31, 27, 12, .3);
}

/* Media queries
----------------------------------------------*/

@media screen and (max-width: 960px)
{
    header h1 { width: 350px; }

    header { padding: .75em 0 1.2em; }

    section { width: 740px; }

    p { margin: 0 0 2em; padding: 0; }

    header>p, section>p { font-size: .875em; }

    form { width: 340px; padding: 0 8px; }

    form p { font-size: 1em; }

    label { width: 100%; }

    input { font-size: 1.5em; }

    label input { width: 91%; }
}

@media screen and (max-width: 768px)
{
    header h1, header p, section {
        text-align: center;
        width: 80%;
    }

    header img {
        width: 100%;
        height: 100%;
    }

    header { padding-bottom: .75em; }

    header h1 { font-size: 3.4em; }

    form {
        float: none;
        width: 80%;
        margin: 0 auto 3em;
    }

    form p { font-size: 1.75em; }

    label input { width: 88%; font-size: 1.6em; }
}