*,
*::after,
*::before {
    box-sizing: border-box;
    margin:0;
    padding: 0;
}

html {
    background: #70cbf4;
}

a{
    text-decoration: none;
}

/* Fade effect */
.js body {
    opacity: 0;
    transition: opacity 0.3s;		
}

.js body.render {
    opacity: 1;
}


/* Fonts */
@font-face {
    font-family: 'ds-digitalnormal';
    src: url('../fonts/digi.woff2') format('woff2'),
        url('../fonts/digi.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "TUI Type";
    src: url('../fonts/tui-bold.woff2') format('woff2'),
        url('../fonts/tui-bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
}


/* Style */
body {
    font-family: "TUI Type", Calibri, Arial, sans-serif;
    font-size: 1em;
    font-weight:normal;
    height: 100vh;
    overflow: hidden;
    color: #092a5e;
    background-color: #70cbf4;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1{
    font-size:2.6em;
    margin-top:30px;
    padding:30px;
    font-weight:700;
    background-color:rgba(112,203,244,.8);
    display: inline-block;
}

canvas {
    display: block;
    position: absolute;
    left: 0;
    top: 0;
}

.logo{
    width:250px;
    margin-top:30px;
}

.content{
    position: absolute;
    left: 0;
    top: 0;
    height: 100vh;
    width:100vw;
    z-index: 1;
    text-align: center;
}

footer{
    display: block;
    position: absolute;
    left: 0;
    bottom: 30px;
    width:100vw;
    z-index: 1;
    text-align: center;
}

footer svg{
    fill:#092a5e;
    height:40px;
}

footer a{
    display: inline-block;
    vertical-align: middle;
    margin:0 10px;
}

footer a:focus svg,
footer a:hover svg{
    fill:#fff;
}

#countdown{
    font-family: 'ds-digitalnormal';
    font-size:10.7em;
    display: inline-block;
    margin-top: 20px;
}

#countdown > div{
    float: left;
    padding:40px;
    text-align: center;
    letter-spacing: 10px;
    line-height: .7em;
}

#countdown div + div{
    border-left:2px solid #092a5e;
}

.countdown__text{
    font-size:.2em;
    line-height: normal;
    font-family: "TUI Type";
    display: block;
    letter-spacing: 0;
}

/* Tablet */
@media screen and (max-width: 768px) {
    h1{
        font-size:2.5em;
    }
    #countdown{
        font-size:8em;
    }
}

/* Mobile */
@media screen and (max-width: 736px) {
    .logo{
        width:150px;
    }
    h1{
        font-size:5vw;
        margin-top: 10px;
        padding:10px;
    }
    #countdown{
        font-size:14vw;
    }
    #countdown > div{
        padding:10px;
    }
    footer{
        bottom:10px;
    }
    footer a{
        margin:0 5px;
    }
}

/* Mobile landscape */
@media screen and (max-width: 640px) and (orientation:landscape) {
    #countdown{
        display: none;
    }
}

