@font-face {
    font-family: OpenSans;
    font-weight: 300;
    font-style: normal;
    src: url('fonts/OpenSans-Light.woff') format('woff');
}

@font-face {
    font-family: OpenSans;
    font-weight: 400;
    font-style: normal;
    src: url('fonts/OpenSans-Regular.woff') format('woff');
}

@font-face {
    font-family: OpenSans;
    font-weight: 700;
    font-style: normal;
    src: url('fonts/OpenSans-Bold.woff') format('woff');
}

body {
    margin: 0;
    padding: 0;
    color: #333;
    font-size: 16px;
    font-family: OpenSans, 'sans-serif';
}

article {
    min-height: 100vh;
}

.bg {
    position: absolute;
    z-index: -1;
    top: 0;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    -webkit-transform: translateX(-50%);
            transform: translateX(-50%);
}

.flexible {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.centered {
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}

.column {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
}

header {
    position: relative;
    -webkit-box-flex: 3;
        -ms-flex: 3 1 auto;
            flex: 3 1 auto;
    padding: 1.5em;
    overflow: hidden;
    box-shadow: inset 0 -2px 21px rgba(0, 0, 0, .2);
}

header .title {
    font-size: 1.75em;
    font-weight: bold;
    color: #0090d4;
}

header p {
    margin: 15px 0;
}

.panel {
    position: relative;
    width: 100%;
    max-width: 500px;
    padding: 2em 1em;
    text-align: center;
    background: rgba(255, 255, 255, .8);
    box-shadow: 0 2px 4px rgba(1, 4, 21, .4);
}

.panel:after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    margin: auto;
    width: 65%;
    height: 4px;
    background: #ffcc00;
}

footer {
    -webkit-box-flex: 1;
        -ms-flex: 1 1 auto;
            flex: 1 1 auto;
    -webkit-box-pack: end;
        -ms-flex-pack: end;
            justify-content: flex-end;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    text-align: center;
    padding: 2em;
    overflow: hidden;
}

footer p {
    font-size: 0.75em;
    font-weight: 300;
}

@media (max-width: 600px) {
    body {
        font-size: 13px;
    }
}