@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 300;
    src: url('../fonts/open-sans-v40-latin-300.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* open-sans-regular - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/open-sans-v40-latin-regular.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* open-sans-700 - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/open-sans-v40-latin-700.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}


html {
    font-family: sans-serif;
    /* 1 */
    -ms-text-size-adjust: 100%;
    /* 2 */
    -webkit-text-size-adjust: 100%;
    /* 2 */
    height: 100%;
    width: 100%;
    overflow: hidden;
}

body {
    margin: 0;
    overflow: hidden;
    font-family: 'Open Sans', sans-serif;
    font-weight: 300;
    /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#402727+0,6b5556+100 */
    background: #402727;
    /* Old browsers */
    background: -moz-linear-gradient(45deg, #402727 0%, #6b5556 100%);
    /* FF3.6-15 */
    background: -webkit-gradient(linear, left bottom, right top, color-stop(0%, #402727), color-stop(100%, #6b5556));
    /* Chrome4-9,Safari4-5 */
    background: -webkit-linear-gradient(45deg, #402727 0%, #6b5556 100%);
    /* Chrome10-25,Safari5.1-6 */
    background: -o-linear-gradient(45deg, #402727 0%, #6b5556 100%);
    /* Opera 11.10-11.50 */
    background: -ms-linear-gradient(45deg, #402727 0%, #6b5556 100%);
    /* IE10 preview */
    background: linear-gradient(45deg, #402727 0%, #6b5556 100%);
    /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#402727', endColorstr='#6b5556', GradientType=1);
    /* IE6-9 fallback on horizontal gradient */
    height: 100%;
    width: 100%;
}

a {
    background: transparent;
    text-decoration: none;
}

b,
strong {
    font-weight: 700;
}



@keyframes backgroundSlide {
    from: {
        background-position: 0;
    }

    to: {
        background-position: -365px;
    }
}

.backgroundImage {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: .02;
    background-image: url(../img/bg-tile.png);
    background-size: cover;
    z-index: 1;
}

.logo,
.main {
    position: absolute;
    bottom: 2em;
    left: 2em;
    right: 2em;
    z-index: 9999;
}

.mainContent h1 {
    font-size: 2.3em;
    line-height: 1;
    font-weight: 300;
    color: #FFF;
}

.logo {
    bottom: 0;
    top: 2em;
    animation-name: logoSlideMobile;
    animation-duration: 1.25s;
    max-width: 340px;
}

@keyframes logoSlideMobile {
    from {
        top: -300px;
    }

    to {
        top: 2em;
    }
}

@keyframes logoSlide {
    from {
        top: -300px;
    }

    to {
        top: 5em;
    }
}

.main {
    animation: contentSlideMobile;
    animation-duration: 1.25s;
}

@keyframes contentSlideMobile {
    from {
        bottom: -300px;
    }

    to {
        bottom: 2em;
    }
}

@keyframes contentSlide {
    from {
        bottom: -300px;
    }

    to {
        bottom: 5em;
    }
}

@media screen and (min-width: 625px) and (min-height: 480px) {
    .logo {
        top: 5em;
        left: 5em;
        max-width: none;
        animation: logoSlide;
        animation-duration: 1.25s;
    }

    .main {
        bottom: 5em;
        left: 5em;
        animation: contentSlide;
        animation-duration: 1.25s;
    }

    .mainContent h1 {
        font-size: 3em;
    }
}



.mainContent h1 span {
    display: block;
    font-size: .5em;
    margin-bottom: .35em;
}

.mainContent h1 span b {
    font-weight: 400;
}

.mainContent h1 i {
    font-style: normal;
    font-weight: 100;
    letter-spacing: 0;
}

.mainContent h1 strong {
    display: block;
    font-size: 1.35em;
    text-transform: uppercase;
}

.mainContent p {
    font-size: 1.25em;
    color: #fff;
    margin-top: .9em;
}

.mainContent a {
    color: #FFF;
    font-size: .9em;
    display: inline-block;
    margin-right: 1em;
}




@keyframes animate {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
        border-radius: 0;
    }

    100% {
        transform: translateY(-1000px) rotate(720deg);
        opacity: 0;
        border-radius: 50%;
    }
}

.background {
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    margin: 0;
    padding: 0;

    overflow: hidden;
}

.background li {
    position: absolute;
    display: block;
    list-style: none;
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.04);
    animation: animate 24s linear infinite;
}




.background li:nth-child(0) {
    left: 5%;
    width: 96px;
    height: 96px;
    bottom: -96px;
    animation-delay: 1s;
}

.background li:nth-child(1) {
    left: 50%;
    width: 69px;
    height: 69px;
    bottom: -69px;
    animation-delay: 4s;
}

.background li:nth-child(2) {
    left: 58%;
    width: 98px;
    height: 98px;
    bottom: -98px;
    animation-delay: 6s;
}

.background li:nth-child(3) {
    left: 70%;
    width: 41px;
    height: 41px;
    bottom: -41px;
    animation-delay: 13s;
}

.background li:nth-child(4) {
    left: 69%;
    width: 92px;
    height: 92px;
    bottom: -92px;
    animation-delay: 17s;
}

.background li:nth-child(5) {
    left: 38%;
    width: 32px;
    height: 32px;
    bottom: -32px;
    animation-delay: 1s;
}

.background li:nth-child(6) {
    left: 42%;
    width: 88px;
    height: 88px;
    bottom: -88px;
    animation-delay: 30s;
}

.background li:nth-child(7) {
    left: 65%;
    width: 64px;
    height: 64px;
    bottom: -64px;
    animation-delay: 27s;
}

.background li:nth-child(8) {
    left: 69%;
    width: 97px;
    height: 97px;
    bottom: -97px;
    animation-delay: 2s;
}

.background li:nth-child(9) {
    left: 37%;
    width: 91px;
    height: 91px;
    bottom: -91px;
    animation-delay: 23s;
}

.background li:nth-child(10) {
    left: 71%;
    width: 97px;
    height: 97px;
    bottom: -97px;
    animation-delay: 2s;
}

.background li:nth-child(11) {
    left: 26%;
    width: 81px;
    height: 81px;
    bottom: -81px;
    animation-delay: 37s;
}

.background li:nth-child(12) {
    left: 67%;
    width: 34px;
    height: 34px;
    bottom: -34px;
    animation-delay: 30s;
}

.background li:nth-child(13) {
    left: 59%;
    width: 96px;
    height: 96px;
    bottom: -96px;
    animation-delay: 1s;
}

.background li:nth-child(14) {
    left: 56%;
    width: 78px;
    height: 78px;
    bottom: -78px;
    animation-delay: 57s;
}

.background li:nth-child(15) {
    left: 69%;
    width: 41px;
    height: 41px;
    bottom: -41px;
    animation-delay: 27s;
}

.background li:nth-child(16) {
    left: 31%;
    width: 36px;
    height: 36px;
    bottom: -36px;
    animation-delay: 35s;
}
