@font-face {
    font-family: "Proxima Nova";
    src: url(../fonts/proximanova-regular-webfont.woff);
    font-weight: 400;
}

@font-face {
    font-family: "Proxima Nova";
    src: url(../fonts/proximanova-light-webfont.woff);
    font-weight: 300;
}

@font-face {
    font-family: "Proxima Nova";
    src: url(../fonts/proximanova-bold-webfont.woff);
    font-weight: 600;
}

body {
    padding: 0;
    margin: 0;
    font-family: "Proxima Nova", sans-serif;
    color: #2e2d2c;
}

a {
    color: inherit;
}

header {
    background: #eeeeee;

    img {
        max-width: 30vw;
    }
}

#submit {
    background: #eee;

    p {
        margin-bottom: 0;
    }
}

iframe {
    max-width: 100%;
}

.intro {
    max-width: 800px;
    margin: 0 auto;

    h3 {
        margin-top: 20px;
    }
}

ul {
    text-align: left;
    margin: 0 auto;
    display: inline-block;
}

p {
    max-width: 800px;
    margin: 0 auto;
    margin-bottom: 10px;
}

h1, h2, h3 {
    margin-top: 0;
    font-weight: 300;
}

h1 {
    text-transform: uppercase;
    font-size: 38px;
}

h2, h3 {
    font-size: 24px;
}

header, footer, section {
    padding: 2rem;
    text-align: center;
}

footer {
    background: black;
}

header, footer {
    color: white;

    p {
        margin: 0 auto;
    }
}

section {
    &.alt {
        background: #eee;

        p {
            margin-bottom: 0;
        }
    }
}

img {
    max-width: 100%;
}

input, select, textarea {
    display: block;
    margin: 0 auto;
    border: 0;
    font-size: 20px;
    padding: 20px;
    width: 250px;
    border: 1px solid #999;
}

textarea {
    height: 70px;
}

label, legend, .field-info {
    width: 250px;
    display: block;
    margin: 0 auto;
}

.field-info {
    margin-top: 10px;
}

input[type=submit] {
    background-color: #95c11f;
    color: white;
    padding: 15px 30px;
    border-radius: 100px;
    font-weight: 600;
    margin-top: 1em;
    cursor: pointer;
    border: 0;

    &[disabled] {
        background-color: #ddd;
        cursor: default;
    }
}

input[type=checkbox] {
    display: inline-block;
    width: auto;
}

#affected-check {
    p {
        font-size: 20px;
    }

    a {
        text-decoration: none;
        font-weight: bold;
        font-size: 120%;
    }
}

#affected-true {
    form {
        text-align: left;
    }

    input, select, textarea {
        padding: 10px;
        font-size: 14px;
    }

    .error {
        font-size: 18px;
        font-weight: 600;
    }
}

#affected-false, #already-entered {
    .success {
        margin-top: 20px;
    }
}

p.error, p.success {
    background: white;
    padding: 15px;
    border-left: 2px solid red;
}

p.success {
    border-left-color: #95c11f;
    font-size: 22px;
    font-weight: bold;
}

fieldset {
    margin-top: 20px;
    border: 0;

    legend {
        font-weight: bold;
        font-size: 18px;
    }
}

form {
    p {
        margin-top: 10px;
    }
}

[readonly] {
    background: #ddd;
    color: #666;
    cursor: default;
}

.checkbox-container {
    max-width: 250px;
    display: flex;

    label, input {
        width: auto;
        display: inline-block;
    }

    input {
        margin-left: 1rem;
    }
}

iframe {
    margin-bottom: 25px;
}

h5 {
    font-size: 18px;
}