@import url(https://fonts.googleapis.com/css?family=Titillium+Web:400,700,200,200italic,300,300italic,400italic,600,600italic,700italic,900);
body {
    line-height: 1.618;
    font-family: 'Titillium Web', sans-serif;
    background: #fafafa;
}

h1,
h2,
h3 {
    font-weight: 700;
    margin: 0.75em 0 0.5em;
}

h1 {
    font-size: 4em;
    font-weight: 900;
    line-height: 1.2;
}

a {
    text-decoration: none;
}

.content {
    margin: 0 auto;
    max-width: 50em;
    position: relative;
}

.subfeature {
    margin: 0 1% 1em;
    width: 31%;
    float: left;
    height: 8.5em;
    position: relative;
    padding: 0;
    display: block;
    overflow: hidden;
    background-size: 120%;
    background-position: top center;
    background-repeat: no-repeat;
    -moz-transition: all 0.25s;
    -o-transition: all 0.25s;
    -webkit-transition: all 0.25s;
    transition: all 0.25s;
}

.subfeature:first-of-type {
    width: 64%;
    height: 18em;
    background-size: 150%;
}

.subfeature:first-of-type h3 {
    font-size: 2.5em;
    word-wrap: break-word;
}

.subfeature:hover h3 {
    top: -10em;
    -moz-transition: all 0.5s;
    -o-transition: all 0.5s;
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
}

.subfeature h3 {
    z-index: 1;
    display: block;
    position: absolute;
    line-height: 1;
    font-size: 1.25em;
    margin: 0;
    -moz-transition: all 0.25s;
    -o-transition: all 0.25s;
    -webkit-transition: all 0.25s;
    transition: all 0.25s;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
    padding: 0 0.1em;
    color: rgba(255, 255, 255, 0.55);
    text-decoration: uppercase;
    line-height: 1;
}

@media (max-width: 40em) {
    body {
        padding: 1em;
    }
    .subfeature {
        width: 48%;
        background-size: 100%;
    }
    .subfeature:first-of-type {
        width: 48%;
        height: 8.5em;
        background-size: 100%;
    }
    .subfeature:first-of-type h3 {
        font-size: 1.25em;
    }
}

@media (max-width: 30em) {
    .subfeature {
        width: 100%;
        float: none;
    }
    .subfeature:first-of-type {
        width: 100%;
    }
}
