* {
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
}

html {
    font-size: 70%;
}

body {
    font-family: 'Oxygen', sans-serif;
    background: #fff;
}

img {
    height: auto;
    border: 0;
}

img,
object,
embed {
    max-width: 100%;
}

h1,
h2,
h3,
h4 {
    font-weight: 400;
    color: #63abc8;
    margin: 0 auto;
    line-height: 1.2;
}

p {
    font-size: 1.6rem;
    color: #666;
    line-height: 1.46;
    font-weight: 400;
    max-width: 36em;
    margin: 1em 0;
}

.bit-txt p {
    font-size: 1.45rem;
}

a {
    color: #63abc8;
}

p a {
    transition: 0.15s all ease;
}

p a:hover {
    background: #fff;
    color: #00709a;
}

.header {
    padding: 4.5em 1.5em;
    text-align: center;
}

.header h1 {
    font: 400 2.6rem/1.4 'Oxygen', serif;
    line-height: 1.2;
    padding-bottom: .75em;
}

.textglow {
    text-shadow: 1px 1px 9px rgba(255, 255, 255, .92);
}

.fourhunnert {
    font-weight: 400 !important;
}

.header h2 {
    font: 400 1.8rem/1.4 'Oxygen', serif;
    padding-bottom: 1em;
    color: #556;
}

.guts {
    padding: 4em 2.5em;
    background-color: rgba(255, 255, 255, 0.7);
}

.guts h1 {
    font-size: 3rem;
}

.guts h2 {
    font-size: 2.55rem;
    letter-spacing: -0.015em;
    padding-bottom: .5em;
}

.guts h3,
.guts h4,
.guts aside {
    font-size: 1.3rem;
    color: #99a;
}

.guts h3 {
    font-weight: bold;
    color: #667;
}

.guts h4,
.guts aside {
    padding-top: .5em;
}

aside.hello {
    font-family: 'Playball', cursive;
    font-weight: normal;
    letter-spacing: 1px;
    font-size: 11rem;
    text-align: center;
    padding-bottom: .25em;
    margin-top: -.5em;
    color: rgba(99, 171, 200, 1);
    text-shadow: 1px 1px 0 rgba(225, 182, 66, 1), -1px -1px 0 rgba(225, 182, 66, 1), 1px -1px 0 rgba(225, 182, 66, 1), -1px 1px 0 rgba(225, 182, 66, 1);
    -webkit-transform: skewY(-6deg);
    transform: skewY(-6deg);
}

p.gototop {
    text-align: center;
    font-size:1.25rem;
    max-width: 100%;
    margin: 80px auto 40px auto;
}

p.gototop a {
    text-decoration: none;
    font-weight: bold;
    border: 2px solid #dedede;
    padding: 10px 20px 10px 15px;
    border-radius: 10px;
    transition: .2s all ease
}

p.gototop a:hover {
    border-color: #6390c6;
    transform: scale(1.1, 1.1);

}

footer p {
    font-size: 1.2rem;
    color: #888;
    text-align: center;
    max-width: 100%;
    margin: 0 auto;
    padding: 20px 0;
}

.call-to-action span:before {
    content: "Tap";
}

.guts .call-to-action {
    text-align: center;
    font-size: 1.1rem;
    color: #bbb;
    padding-top: 11px;
}

.resume h3,
.contact h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: #455;
    line-height: 1;
    padding: 1em 0 .5em 0;
}

.resume p,
.contact p {
    margin: 0;
}

.locale {
    margin: 0 auto 2em auto;
}

.locale-img {
    max-width: 60px;
    float: none;
    margin: 0 auto;
}

.locale p {
    font-size: 1.6rem;
    margin: .25em 0;
}

p.name {
    font-size: 1.4rem;
    color: #e1b642
}

.locale-txt p {
    max-width: 100%;
}

.chunk {
    padding: 0 1em;
}

.chunk article {
    clear: none;
    margin-top: 6em;
}

.chunk article:nth-child(odd) {
    clear: left;
}

article h2 {
    font-size: 2.4rem;
    margin: .5em 0;
}

article p {
    font-size: 1.4rem;
    margin-bottom: 2em;
}

.bit {
    margin: 4em auto;
}

.bit:before,
.bit:after {
    content: " ";
    display: table;
}

.bit:after {
    clear: both;
}

.bit-img {
    position: relative;
}

.bit-img .overlay {
    position: absolute;
    z-index: 1;
    width: 100%;
    height: 100%;
    top: 0;
    background: no-repeat 50% 50% url(../img/zoom.png) rgba(99, 171, 200, 0);
    transition: .2s all ease;
    background-size: 0px
}

.bit-img .overlay:hover {
    background: no-repeat 50% 50% url(../img/zoom.png) rgba(99, 171, 200, .6);
    background-size: 80px;
}

.bit-img .overlay.exit {
    position: absolute;
    z-index: 1;
    width: 100%;
    height: 100%;
    top: 0;
    background: no-repeat 55% 50% url(../img/exit.png) rgba(99, 171, 200, 0);
    transition: .2s all ease;
    background-size: 0px
}

.bit-img .overlay.exit:hover {
    background: no-repeat 55% 50% url(../img/exit.png) rgba(99, 171, 200, .77);
    background-size: 100px;
}

.bit-txt {
    padding: 1em;
}

.bit-txt.continued {
    clear: left;
    width: 100%;
    margin: 0;
    padding: 0 1em;
}

.bit-txt.continued p {
    margin: 0;
}

.yellow {
    color: #e1b642 !important;
}

.lightblue {
    color: #63abc8 !important;
}

.me {
    border-radius: 51%;
    max-width: 220px;
    margin-bottom: 3em;
    transition: .2s all ease;
    border: 20px solid rgba(255, 255, 255, .25);
}

.me:hover {
    max-width: 230px;
}

.button {
    background: rgba(255, 255, 255, .4);
    font-family: 'Oxygen', sans-serif;
    letter-spacing: 1px;
    color: #63abc8;
    font-weight: bold;
    transition: all .3s ease;
    display: inline-block;
    padding-top: 8px;
    text-transform: uppercase;
    font-size: 11px;
    font-size: 1.1rem;
    text-decoration: none;
    padding: 7px 20px 7px 20px;
    border: 3px solid;
    border-color: #ccc;
    border-radius: 4px;
}

.button:hover {
    border-color: #63abc8;
    background: #fff;
}

.moves {
    overflow: hidden;
    padding-top: 0;
    padding-bottom: 0;
}

.moves span {
    display: block;
    text-align: center;
}

.moves .top {
    position: relative;
    top: 9px;
    left: 0px;
    transition: .3s all ease;
}

.moves:hover .top {
    position: relative;
    top: 80px;
}

.moves .btm {
    position: relative;
    top: -80px;
    transition: .3s all ease;
}

.moves:hover .btm {
    position: relative;
    top: -8px;
}

strong.strong {
    color: #334;
    font-size: 0.9em;
    text-transform: uppercase
}

.hr {
    padding: 2em 0 1.5em 0;
}

.modal {
    padding: 25px 30px;
    display: none;
    width: auto;
    background: #fff;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    -o-border-radius: 8px;
    -ms-border-radius: 8px;
    border-radius: 8px;
}

.modal a.close-modal {
    position: fixed;
    top: 1.8em;
    right: 1.8em;
    display: block;
    width: 41px;
    height: 41px;
    text-indent: -9999px;
    background: url(../img/close-modal-button.png) no-repeat 0 0;
    background-size: 40px 40px;
    transition: .15s all ease;
}

.modal a.close-modal:hover {
    transform: scale(1.22, 1.22);
}

.modal-container {
    height: 100%;
    overflow: scroll;
    padding: 50px 0 120px 0;
}

.yellafull {
    padding: 0 30px;
    width: 90%;
    height: 100%;
    background: transparent;
}

.yellafull img {
    display: block;
    margin: 0 auto;
}

.yellafull p {
    color: #000;
}

.pad img {
    padding: 16px;
    background: #fff;
    box-shadow: 0px 0px 12px 6px rgba(99, 171, 200, .12);
}

/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (min-width: 480px) {
    .chunk {
        padding: 0;
        margin-left: -2.5em;
    }

    .chunk article {
        width: 50%;
        float: left;
        padding: 0 0 0 2.5em;
    }

    .bit-img {
        padding-bottom: 2em;
    }

    .bit-txt {
        padding: 2em;
        padding-top: 0;
    }
}


@media only screen and (min-width: 768px) {

    .bit-img,
    .bit-txt {
        width: 50%;
        float: left;
    }

    .bit {
        width: 96%;
    }

    .bit-txt {
        padding: 2.2em;
    }

    .call-to-action span:before {
        content: "Tap or click";
    }

}


@media only screen and (min-width: 1160px) {


    .header {
        left: 0;
        padding: 8em 4em 0 8em;
        position: fixed;
        text-align: right;
        top: 0;
        width: 35%;
    }

    .guts {
        margin-left: 35%;
        max-width: 90em;
        padding: 8em 4em 4em 4em;
        width: 65%;
    }

    .bit:nth-child(even) > div {
        float: right;
    }

    aside.hello {
        text-align: left;
        margin: -1em 0 .5em;
    }

    footer {
        bottom: 0;
        left: 0;
        padding: 0 4em 4em 0;
        position: fixed;
        text-align: right;
        width: 35%;
    }

    .locale {
        float: right;
        padding-top: 4.5em;
    }

    .locale-img {
        max-width: 80px;
        float: left;
        padding-right: 1em;
    }

    .locale-txt {
        float: right;
        text-align: left;
    }

    .locale p {
        font-size: 1.4rem;
    }

    p.name {
        font-size: 1.8rem;
        margin-bottom: 3rem;
        padding-top: 16px
    }

    .me {
        margin-bottom: 4em;
    }

    footer p {
        text-align: right;
    }
}

@media only screen and (min-width: 1480px) {
    .call-to-action span:before {
        content: "Click";
    }
}

@media only screen and (min-width: 1800px) {
    html {
        font-size: 80%;
    }

    .guts {
        max-width: 112em;
    }
}

@media only screen and (max-height:910px) {
    footer {
        width: 100%;
        background-color: rgba(255, 255, 255, 0.9);
        padding: 0;
        z-index: 999;
    }

    footer p {
        text-align: center;
    }
}

@media (max-width: 1159px) {
    .intro-copy p {
        margin-left: auto;
        margin-right: auto;
    }

    .not-so-wide {
        max-width: 21em;
    }

}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.mw-900 {
    max-width: 900px;
}

.mw-1000 {
    max-width: 1000px;
}

.mw-1200 {
    max-width: 1200px;
}

::-moz-selection {
    background: #fcff00;
    text-shadow: none;
}

::selection {
    background: #fcff00;
    text-shadow: none;
}

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

