@font-face {
    font-family: Rebond;
    src: url('fonts/rebond/RebondGrotesque-Regular.woff2');
    font-weight: 400;
}

@font-face {
    font-family: Antarctica;
    src: url('fonts/antarctica/AntarcticaBeta-Light.woff2');
    font-weight: 300;
}

@font-face {
    font-family: Antarctica;
    src: url('fonts/antarctica/AntarcticaBeta-Medium.woff2');
    font-weight: 500;
}

html,
body {
    height: 100%;
}

body {
    font-family: Rebond, sans-serif;
    margin: 0;
    font-size: 20px;
    background-color: #EFF4EF;
    color: #0000D0;

    transition: background-color 1s;
    overflow: hidden;
}

img {
    display: block;
    width: 100%;
    height: auto;
}

/* liens ======================== */
a {
    text-decoration: none;
    color: #0000D0;
    transition: color .8s;
}

.csp a {
    color: #FF5A5A;
}

a:hover {
    color: #FF5A5A;
}

.csp a:hover {
    color: #EFF4EF;
}

/* header ======================== */
header {
    padding: 10px 15px;
    display: flex;
    justify-content: space-between;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
}


.logo {
    width: 100%;
    pointer-events: none;
    position: absolute;
    top: 35vh;
    left: 0;
    z-index: 100;
}

.logo-m-wrapper {
    padding: 5vh 0 0;
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    pointer-events: none;

    overflow: hidden;
    max-height: 50vh;
}

.logo-m {
    max-height: 50vh;
}

/* BLOB ==================== */
.morph-wrapper {
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

.scene {
    margin-top: 10vh;
    width: 100%;
    height: 80vh;
}

.fh {
    height: 100vh;
}

.scene path {
    fill: #000049;
}


/* FOOTER ==================== */
footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0 15px 30px;
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

p {
    margin: 0;
    position: relative;
}

.pres {
    max-width: 370px;
}

.coor {
    font-family: Antarctica, sans-serif;
    font-weight: 300;
    font-size: .8em;
}

.cs {
    font-family: Antarctica, sans-serif;
    line-height: .8;
}

.arrow {
    font-family: Rebond, sans-serif;
    font-size: 25px;
    line-height: .6;
}

button {
    font-size: .8em;
    text-transform: uppercase;
    font-weight: 500;
    font-family: inherit;
    padding: 0;
    margin: 0;
    border: 0 none;
    background: transparent;
    color: #FF5A5A;
    outline: 0 none;
    text-align: left;
}

button:hover {
    color: #FF5A5A;
}

.touch button {
    pointer-events: none;
}

/* COMING SOON ====================== */

.bye {
    transition: opacity 1s;
}

.csp .bye {
    opacity: 0;
}

.csp {
    background-color: #000049;
}

.wait-wrapper {
    padding: 25vh 15px 0;
    pointer-events: none;

    z-index: 1000;
    position: relative;
    opacity: 0;

    transition: opacity 1s;
}

.csp .wait-wrapper {
    opacity: 1;
}

.wait {
    max-width: 500px;
    margin: 0 auto;
    max-height: 60vh;
}



/* RESPONSIVE ===================== */

@media (max-width: 860px) {
    body {
        font-size: 15px;
    }

    .pres {
        max-width: 290px;
    }
}

@media (max-width: 666px) {

    footer {
        padding-bottom: 10px;
    }

    .pres {
        margin-bottom: 3vh;
        max-width: none;
    }

    .coor {
        width: 50%;
        margin-bottom: 2vh;
    }

    .cs {
        text-align: right;
        position: relative;
        padding-left: 50%;
    }

    .arrow,
    .cs img {
        position: absolute;
        left: 0;
        top: 0;
    }

    header {
        display: none;
    }

    .logo {
        display: none;
    }

    .logo-m-wrapper {
        display: block;
    }

    .scene {
        margin-top: 25vh;
        height: 55vh;
    }

}
