* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
html {
    height: 100%;
}
body {
    margin: 0;
    padding: 0;
    height: 100%;
    font-size: 100%;
    font-family: 'Nunito Sans', sans-serif;
    background: black url(img/photo.jpg) no-repeat 50% 30%;
    background-size: cover;
}
.container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
}
.container > div {
    padding: 0;
    text-align: center;
}
.container p {
    margin: 0 auto;
}
div.top {
    color: white;
}
div.top h1 {
    padding: 0;
    margin: 5px;
    text-shadow: 0 0 4px black;
}
div.middle {
    /*min-height: 3em;*/
    background: white;
    padding: 1em;
}
div.middle .inner {
    max-width: 800px;
    margin: 0 auto;
}
div.middle p {
    vertical-align: top;
    text-align: left;
    display: inline-block;
    width: 77%;
}
div.middle .logos {
    display: inline-block;
    text-align: left;
    width: 22%;
}
div.middle img {
    height: 2.2em;
    width: auto;
    padding-right: 0.6em;
}
div.middle img:last-child {
    padding-right: 0;
}
div.bottom {
    background: black;
    color: white;
    font-size: 0.75em;
    padding: 5px;
}


@media screen and (max-width: 680px){
    body {
        font-size: 80%;
    }
}
@media screen and (max-width: 500px){
    body {
        font-size: 60%;
    }
    div.middle .logos, div.middle p {
        width: 100%;
        text-align: center;
        padding: 0.5em 0;
    }
}

body.loading .anim {
    visibility: hidden;
    opacity: 0;
}
body.loaded .anim {
    visibility: visible;
    opacity: 1;
    transition: all 1.5s;
}
body.loading .top .anim {
    transform: translateY(-200px);
}
body.loaded .top .anim {
    transform: translateY(0);
}
body.loading .middle .anim {
}
body.loaded .middle .anim {
    transition-delay: 1s;
}
body.loading .bottom .anim {
}
body.loaded .bottom .anim {
    transition-delay: 2s;
}
