* {
    margin: 0;
    padding: 0;
}
html {
    font-family:'Source Sans Pro', sans-serif;
    font-size: 16px;
}
#html-mobile-background {
    position: fixed;
    z-index: -1;
    top: 0;
    left: 0;
    width: 100%;
    height: 125%; /* To compensate for mobile browser address bar space */
    background: url(/assets/img/background_mobile.jpg) no-repeat; 
    background-size: 100% 100%;
}

@media (min-width: 600px) {
    html {
        background: url(/assets/img/background.jpg) no-repeat center center fixed;
        -webkit-background-size: cover;
        -moz-background-size: cover;
        -o-background-size: cover;
        background-size: cover;
        font-family:'Source Sans Pro', sans-serif;
        font-size: 16px;
    }
    #html-mobile-background {
        display: none;
    }
}
#logo-container {
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
}
#logo-container img {
    position: absolute;
    top: 15%;
    left: 10%;
    width: 23%;
    max-width: 335px;
}
#scroll-hint {
    position: absolute;
    animation-name: slide-down;
    animation-duration: 2s;
    animation-delay: 3s;
    -webkit-animation-fill-mode:forwards;
    /*Chrome 16+, Safari 4+*/
    -moz-animation-fill-mode:forwards;
    /*FF 5+*/
    -o-animation-fill-mode:forwards;
    /*Not implemented yet*/
    -ms-animation-fill-mode:forwards;
    /*IE 10+*/
    animation-fill-mode:forwards;
    /*when the spec is finished*/
    -webkit-animation-name: slide-down;
    -webkit-animation-duration: 2s;
    -webkit-animation-delay: 3s;
    font-size: 1.2em;
    font-weight: 200;
    top:-100%;
    right:0%;
    color: white;
    background-color: rgba(0, 0, 0, 0.85);
    padding: 0.3em 0.5em 0.3em 0.5em;
    text-align: center;
}
@keyframes slide-down {
    from {
        right: 0;
        top: -10%;
    }
    to {
        right: 0%;
        top: 85%;
    }
}
@-webkit-keyframes slide-down {
    from {
        right: 0;
        top: -10%;
    }
    to {
        right: 0%;
        top: 85%;
    }
}
@media screen and (max-width:480px) {
    #logo-container img {
        width: 50%;
        left: 25%;
    }
    #scroll-hint {
        font-size: 1em;
    }
}
#page-wrap {
    position: absolute;
    top:100%;
    left:0;
    right:0;
    margin: auto;
    width: 75%;
    max-width: 700px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.9);
    -moz-box-shadow: 0 0 20px black;
    -webkit-box-shadow: 0 0 20px black;
    box-shadow: 0 0 20px black;
}
h1 {
    font-weight: 400;
    width: 90%;
    text-align: center;
    font-size: 2.2em;
    margin-top: 1em;
    margin-bottom: 1em;
    margin-left: auto;
    margin-right: auto;
}
h2 {
    font-weight: 300;
    font-size: 1.5em;
    width: 90%;
    text-align: center;
    margin-bottom: 1.5em;
    margin-left: auto;
    margin-right: auto;
}
p {
    clear: both;
    font-weight: 300;
    margin-top: 0.05em;
    margin-bottom: 0.4em;
    padding: 0.5em 0.2em 0.8em 0.2em;
    font-size: 1.2em;
}
@media screen and (max-width:480px) {
    h1 {
        font-size: 1.8em
    }
    h2 {
        font-size: 1.2em
    }
    p {
        font-size: 1em
    }
}
#team {
    padding-bottom: 0;
    margin-bottom: 0;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}
#team figure {
    float: left;
    width: 33%;
    text-align:center;
    padding:0;
    vertical-align:top;
    margin: 0 auto;
}
@media screen and (max-width:480px) {
    #team figure {
        float: center;
        width: 100%;
    }
}
figcaption {
    text-align: center;
    font-size: 1.3em;
    font-family:'Source Sans Pro', sans-serif;
    font-weight: 400;
}
figure img {
    display:block;
    margin:0 auto 10px auto;
    border-radius:50%;
    width: 90%;
    max-width: 200px;
}
@media screen and (max-width:480px) {
    figure img {
        width: 40%;
    }
}
.clearDiv {
    clear: both;
    height: 0;
    width: 0;
    padding: 0;
    margin: 0;
}
#contact {
    clear:both;
}
#here-a-story {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}
#here-a-story img {
    display: block;
    margin-top: 2em;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.5em;
    float: center;
    width: 30%;
    min-width: 150px;
}
#here-a-story a{
    text-decoration: none;
    font-weight: 400;
}
#contact {
}
#contact a{
    text-decoration: none;
}
#contact h1{
    margin-top: 0.4em;
    margin-bottom: 0.6em;
}
footer {
    margin: 0;
    padding: 0;
    background-color: rgba(0, 0, 0, 0.85);
    font-family:'Source Sans Pro', sans-serif;
    font-weight: 200;
    text-align: center;
    color: white;
}
footer p {
    font-size: smaller;
    padding: 10px;
}
footer a {
    text-decoration: none;
}
footer a:link {
    color: white;
}
footer a:visited {
    color: white;
}
footer a:hover {
    color: white;
}
a:hover {
    font-weight: 400;
}
a:link {
    color: black;
}
a:visited {
    color: black;
}
a:hover {
    color: black;
}