* {
    box-sizing: border-box;
}

body,
html {
    margin: 0;
    padding: 0;
    height: 100vh;
    overflow: hidden;
    touch-action: manipulation;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    font-family: 'book' !important;
    font-size: 12.5px !important;
    line-height: 1.2 !important;
}

::selection {
    background-color: rgba(0, 0, 0, 0.25);
    color: white;
}

::-moz-selection {
    background-color: rgba(0, 0, 0, 0.25);
    color: white;
}

ol,
ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    cursor: crosshair;
}

a:hover {
    color: white;
}

a :hover {
    z-index: 10000000;
}

.hidden {
    opacity: 0;
}

p {
    display: inline-block;
}

.carousel {
    z-index: 10;
    height: 100vh;
    width: 100%;
    counter-reset: css-counter 0;
    top: 0;
}

.container {
    top: 0;
    position: absolute;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
}

.carousel-cell {
    background: rgb(230, 230, 230);
    height: 100%;
    margin-left: 10px;
    opacity: 100%;
}

img.carousel-cell {
    animation: images_intro 3.5s cubic-bezier(.6, .15, .16, 1.01) 1;
    position: absolute;
}

video.carousel-cell {
    animation: images_intro 3.5s cubic-bezier(.6, .15, .16, 1.01) 1;
    position: absolute;
}

.height-6 {
    height: 60% !important;
}

.height-4 {
    height: 45% !important;
}

.height-1 {
    height: 15% !important;
}

.caption {
    color: rgba(255, 255, 255, 0.8);
    left: 50%;
    transform: translate3d(-50%, 0, 0);
    width: 20%;
    overflow: auto;
    position: absolute;
    top: 0;
    padding: 10px;
    margin: 10px;
    border-radius: 7px;
    transition: all 0.4s cubic-bezier(.6, .15, .16, 1.01);
    z-index: 888;
    -webkit-backdrop-filter: blur(30px);
    backdrop-filter: blur(30px);

    animation: header_intro_content 4s cubic-bezier(.6, .15, .16, 1.01) 1;
}

.headerDescription {
    display: inline-block;
    height: 0;
    transition: 0.5s cubic-bezier(.6, .15, .16, 1.01);
    overflow: scroll;
    width: 100%;
}

.headerDescription.active {
    height: 100%;
}

.flickity-slider {
    display: flex;
    align-items: center;
}

.flickity-button {
    background: transparent !important;
}

.flickity-prev-next-button {
    width: 30% !important;
    height: 100vh !important;
    border-radius: 0 !important;
}

.flickity-prev-next-button.previous:hover {
    cursor: w-resize;
}

.flickity-prev-next-button.next:hover {
    cursor: e-resize;
}

.typesetter {
    height: 100%;
    width: 100%;
}

.typesetter#universite:after {
    content: ' ';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 180px;
    width: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 1.00) 60%);
    z-index: 100;
    pointer-events: none;
}

.typesetter p {
    width: 100%;
    text-align: center;
}

.universite_width_100 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0 auto;
    text-align: center;
    width: 1200px;
    font-family: Universite;
    font-variant-ligatures: normal;
}

.universite_width_20 {
    width: 22%;
}

.universite_width_50 {
    width: 50%;
}

hr {
    width: 95%;
    margin-bottom: 20px;
    margin-top: 30px;
    border: 1px solid white;
}

.universite_XL {
    font-size: 600px;
}

.universite_L {
    font-size: 185px;
    line-height: 90%;
}

.universite_M {
    font-size: 135px;
    line-height: 85%;
}

.universite_S {
    font-size: 80px;
    line-height: 100%;
    font-variant: oldstyle-nums;
}

.universite_XS {
    font-size: 20px;
    text-align: left !important;
    margin-left: 20px;
}

.tab {
    display: inline-block;
    width: 30px;
}

.service {
    font-family: Service;
    font-size: 15vh;
    line-height: 75%;
}

.header {
    transform: translate3d(-50%, 0, 0);
    left: 50%;
    position: absolute;
    height: 45px;
    bottom: 0;
    margin: 10px;
    border-radius: 7px;
    width: 20%;
    color: rgba(255, 255, 255, 0.8);
    padding: 8px 5px 10px 10px;
    transition: all 0.4s cubic-bezier(.6, .15, .16, 1.01);
    z-index: 999;
    -webkit-backdrop-filter: blur(30px);
    backdrop-filter: blur(30px);

    animation: header_intro 3s cubic-bezier(.6, .15, .16, 1.01) 1;
}


.header:hover {
    opacity: 90%;
    bottom: 5px;
}

.headerCurrent {
    animation: header_intro_content 3.5s cubic-bezier(.6, .15, .16, 1.01) 1;
}

.headerCurrent:hover {
    cursor: pointer;
}

.header.active {
    background-color: black;
    height: calc(100% - 65px - 30px);
    color: white;
}

.header.active:hover {
    opacity: 100%;
    bottom: 0;
}

.dataline {
    width: 100%;
}

.col {
    float: left;
}

.span-1 {
    width: 10%;
}

.bloc {
    padding-bottom: 15px;
    height: 100%;
}

.span-3 {
    width: 25%;
}

.span-7 {
    width: 75%;
}


@font-face {
    font-family: book;
    src: url("../fonts/Book.otf") format("opentype");
}

@font-face {
    font-family: Universite;
    src: url("../fonts/Universite-Regular.woff2");
}

@font-face {
    font-family: Service;
    src: url("../fonts/ServiceMono-ExtraLight.woff2");
}

@media only screen and (max-width : 2300px) {
    .caption {
        width: 30%;
    }

    .header {
        width: 30%;
    }

}

@media only screen and (max-width : 1400px) {

    * {
        -webkit-animation: none !important;
        -moz-animation: none !important;
        -ms-animation: none !important;
        animation: none !important;
    }

    .caption {
        width: 60%;
    }

    .header {
        width: 60%;
    }

    .span-3 {
        width: 25%;
    }

    .span-7 {
        width: 75%;
    }

    .flickity-prev-next-button {
        width: 20% !important;
    }

    .universite {
        line-height: 95%;
        font-size: 10cqh;
    }

    .service {
        font-size: 12cqh;
        line-height: 90%;
    }

}

@media only screen and (max-width : 700px) {

    * {
        -webkit-animation: none !important;
        -moz-animation: none !important;
        -ms-animation: none !important;
        animation: none !important;
    }

    body {
        font-size: 10px !important;
        line-height: 1.2 !important;
    }

    .caption {
        width: calc(100% - 20px);
    }

    .header {
        width: calc(100% - 20px);
    }

    .span-3 {
        width: 30%;
    }

    .span-7 {
        width: 70%;
    }

    .tab {
        width: 10%;
    }

    .flickity-prev-next-button {
        width: 25% !important;
    }

    .carousel {
        height: 90vh;
    }

    .carousel-cell {
        height: auto;
        width: 100%;
    }

    .universite {
        line-height: 95%;
        font-size: 7cqh;
    }

    .service {
        font-size: 8cqh;
        line-height: 95%;
    }

    .header {
        background-color: black;
        color: white;
        left: 0;
        transform: inherit;

    }

    .header.active {
        height: calc(100% - 65px - 20px);
    }

    .caption {
        background-color: black;
        color: white;
        left: 0;
        transform: inherit;

    }

    .height-1,
    .height-2,
    .height-4,
    .height-6 {
        height: auto !important;
    }

    .typesetter {
        height: 100% !important;
    }

}

@media only screen and (max-width : 1200px) {
    .universite_width_100 {
        width: 98vw;
        overflow-y: hidden;
    }

    .universite_L {
        font-size: 15vw;
    }

    .universite_M {
        font-size: 11vw;
    }

    .universite_S {
        font-size: 7vw;
    }

    .universite_XS {
        font-size: 2.5vw;
    }

    .universite_XL {
        font-size: 55vw;
    }

    hr {
        border: 0.5px solid white;
        width: 95%;
        margin-bottom: 3vw;
        margin-top: 4vw;
    }
}

@keyframes header_intro {
    0% {
        width: 10%;
        bottom: 50%;
    }

    70% {
        width: 10%;
        bottom: 50%;
    }

    90% {
        width: 10%;
        bottom: 0;
    }

}

@keyframes header_intro_text {
    0% {
        opacity: 100%;
    }

    90% {
        opacity: 100%;
    }
}

@keyframes header_intro_content {
    0% {
        opacity: 0%;
    }

    90% {
        opacity: 0%;
    }
}

@keyframes images_intro {
    0% {
        -webkit-filter: contrast(0%) opacity(20%);
    }

    90% {
        -webkit-filter: contrast(0%) opacity(20%);
    }
}


#intro_title {
    animation: header_intro_text 2s cubic-bezier(.6, .15, .16, 1.01) 1;
    opacity: 0%;
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 90%;
    height: 60%;
    pointer-events: none;
}
/* 
.resize-animation-stopper * {
    animation: none;
} */