/* Google fonts */
@import 'https://fonts.googleapis.com/css?family=Montserrat:400,700';

/**
 * Eric Meyer's Reset CSS v2.0 (http://meyerweb.com/eric/tools/css/reset/)
 * http://cssreset.com
 */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}
body {
    line-height: 1.3;
}
ol, ul {
    /*list-style: none;*/
}
blockquote, q {
    quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}



/* site-specific styles */
/* layout */
html, body {
    height: 100%;
}

body {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    text-transform: uppercase;
    color: #333;
}

body > main {
    height: 100%;
    display: flex;
    flex-direction: column;
}

main > section:first-child {
    background: #333;
    color: #fff;
}

main > section {
    padding: 2em;
    height: 50%;
    box-sizing: border-box;
    display: flex;
    align-items: center;
}


/* typography */
strong {
    font-weight: 700;
}

.text-large {
    font-size: 2em;
}

.full-name {
    margin-bottom: 21px;
}

.limited {
    max-width: 550px;
}

a {
    color: inherit;
    display: inline-block;
    vertical-align: middle;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
    text-decoration: none;
}

a:hover,
a:focus,
a:active {
    text-decoration: none;
    color: inherit;
}

a:before {
    content: "";
    position: absolute;
    z-index: -1;
    left: 50%;
    right: 50%;
    bottom: -5px;
    background: #333;
    height: 3px;
    -webkit-transition-property: left, right;
    transition-property: left, right;
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-timing-function: ease-out;
    transition-timing-function: ease-out;
}

a:hover:before,
a:focus:before,
a:active:before {
    left: 0;
    right: 0;
}

/* font handling */
html {
    -webkit-font-smoothing: antialiased;
}

@media
only screen and (-webkit-min-device-pixel-ratio: 1.25),
only screen and ( min-device-pixel-ratio: 1.25),
only screen and ( min-resolution: 200dpi),
only screen and ( min-resolution: 1.25dppx)
{
    -webkit-font-smoothing: subpixel-antialiased;
}

::-moz-selection { background: #ccc; color: #fff; }
::selection { background: #ccc; color: #fff; }

/* media queries */
@media all and (min-width:960px) {
    body {
        font-size: 18px;
    }

    body > main {
        flex-direction: row;
        align-items: stretch;
    }

    main > section {
        flex-shrink: 1;
        flex-basis: 50%;
        height: 100%;
    }

    main > section:first-child {
        justify-content: flex-end;
        text-align: right;
    }
}