@font-face {
    font-family: 'yorkville';
    src: url('../fonts/yorkville.eot');
    src: url('../fonts/yorkville.eot?#iefix') format('embedded-opentype'),
        url('../fonts/yorkville.woff2') format('woff2'),
        url('../fonts/yorkville.woff') format('woff'),
        url('../fonts/yorkville.ttf') format('truetype'),
        url('../fonts/yorkville.svg#yorkville') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    /* colors */
    --orange-iden: #e8ae12;
    --bleu-iden: #0d3b5b;
    --gris-clair-iden: #d5d5d5;
    --blanc-iden: #ffffff;
    /* fonts  */
    --ff-idenstudio: 'yorkville', sans-serif;
    --ff-principal: 'Montserrat', sans-serif;
    --ff-titrages: 'Roboto Serif', serif;
    --ff-menu: 'Montserrat Alternates', sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    font-size: 18px;
}

body {
    position: relative;
    margin: 0;
    height: auto;
    font-family: 'Courrier New', sans-serif;
}

body:before {
    content: "";
    display: block;
    background: linear-gradient(to right top, #60c2d4, #775ca4, #a54e98, #c41444, #d26319, #efbc0c);
    background-size: 100vw 100vh;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    z-index: -1000;

}

div.wrapper-content {
    position: relative;
    z-index: 5;
    height: auto;
    /* width: 100vw; */
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: stretch;
    justify-content: space-between;
    align-items: center;
}

div.wrapper-content {
    height: 100vh;
    overflow: auto;
}

section {
    width: 100vw;
    height: 100vh;
}

section .wrapper {
    height: 100vh;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-content: center;
    justify-content: space-evenly;
    align-items: center;
}

section#introduction .wrapper {
    justify-content: center;
}

.titre {
    font-family: var(--ff-menu);
    font-size: 2rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0);
    margin: 0 auto;
    line-height: 1.25;
    opacity: 1;
    -webkit-stroke-linejoin: round;
    -webkit-text-anchor: middle;
    -webkit-text-fill-color: rgba(255, 255, 255, 0.2);
    -webkit-text-stroke-width: 0.5px;
    -webkit-text-stroke-color: rgb(255, 255, 255);
}

.paragraphe {
    font-family: var(--ff-principal);
    font-size: 1rem;
    margin: 0 auto;
    line-height: 1.5;
    font-weight: 400;
    color: var(--blanc-iden);
}

#logo,
.svganimate {
    width: 33vw;
    height: 33vw;
}

div.logo-blanc {
    margin-bottom: 1rem;
    text-align: center;
}

/* INTRO */
#introduction div.logo-blanc h1 {
    font-family: var(--ff-idenstudio);
    font-size: 2.5rem;
    font-weight: normal;
    letter-spacing: 2px;
    margin: 0;
    color: var(--blanc-iden);
}

#introduction h2 {
    font-family: var(--ff-principal);
    text-align: center;
    font-size: 1.25rem;
    font-weight: 400;
    margin: 0;
    color: var(--blanc-iden);
}


/* FOND ANIME */
#logoanimecontainer {
    width: 100vw;
    height: 100vh;
    mix-blend-mode: soft-light;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    right: 0;
}



#parcours #pathParcours,
.svganimate path,
.svganimate rect,
.svganimate polyline,
.svganimate polygon,
.svganimate line,
.svganimate ellipse,
.svganimate circle {
    fill: none;
    stroke: var(--blanc-iden);
    stroke-width: 1px;
    stroke-linecap: round;
    stroke-linejoin: round;
}

#parcours #pathParcours {
    stroke-width: 5px;
}

div#divparcours {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    opacity: 0.33;
    mix-blend-mode: overlay;
    z-index: 5;
    display: flex;
    justify-content: center;
    overflow: visible;
}

#parcours {
    opacity: 0;
    transition: opacity 0.5s ease;
    width: 450px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: visible;
}

.cloneParcours {
    filter: blur(10px);
    stroke-width: 33px;
}



#logo-intro path.corps {
    transform-origin: center;
    stroke-width: 1px;
}

#logo-intro path.tete {
    stroke-width: 1px;
}

section#introduction .logo-blanc h1 {
    opacity: 0;
    transform: translateY(-20px);
}

section#introduction h2 {
    opacity: 0;
    transform: translateY(-20px);
}

.cta-scroll {
    position: relative;
    top: 1rem;
    visibility: hidden;
    width: 30px;
    margin: 0;
    height: 30px;
    background: transparent;
    border-top: 2px solid var(--blanc-iden);
    border-right: 2px solid var(--blanc-iden);
    animation: 1s ease-in-out 2s infinite animCtaScroll;
}
#fondlogoanimated {
    width: 100vw;
    height: 100vh;
    opacity: 0.2;
    background-image: url('../img/svg/logo-animate.svg');
    background-size: 600vw;
    background-repeat: no-repeat;
    background-position-x: -120vw;
    background-position-y: -65vh;
    animation: 360s cubic-bezier(.38, -0.01, .7, .99) 0s infinite alternate animLogoFond;
}

section.animate .svganimate path,
section.animate .svganimate polyline,
section.animate .svganimate polygon,
section.animate .svganimate rect,
section.animate .svganimate line,
section.animate .svganimate ellipse,
section.animate .svganimate circle {
    fill: rgba(255, 255, 255, 0);
    transition: stroke-dashoffset 1s cubic-bezier(0.165, 0.840, 0.440, 1.000) 0.75s, fill 0.75s ease-in-out;
}

section.animate.active .svganimate path,
section.animate.active .svganimate polyline,
section.animate.active .svganimate polygon,
section.animate.active .svganimate rect,
section.animate.active .svganimate line,
section.animate.active .svganimate ellipse,
section.animate.active .svganimate circle {
    stroke-dashoffset: 0;
    fill: rgba(255, 255, 255, 0.2);
    transition: stroke-dashoffset 1s cubic-bezier(0.165, 0.840, 0.440, 1.000), fill 0.75s ease-in-out 0.5s;
}

section.animate .paragraphe {
    transition: transform 0.5s ease-in-out 0.5s, opacity 0.5s linear 0.75s;
    transform: translateY(-10vh);
    opacity: 0;
}

section.animate .titre {
    transition: transform 0.5s ease-in-out 0.5s, opacity 0.5s linear 0.75s;
    transform: translateY(10vh);
    opacity: 0;
}

section.animate.active .paragraphe {
    transition: transform 0.5s ease-in-out 0.5s, opacity 0.5s linear 0.75s;
    transform: translateY(0);
    opacity: 1;
}

section.animate.active .titre {
    transition: transform 0.5s ease-in-out 0.5s, opacity 0.5s linear 0.75s;
    transform: translateY(0);
    opacity: 1;
}



/*  */
/* ANIMATION KEYFRAMES */
/*  */
@keyframes animCtaScroll {
    0% {
        visibility: visible;
        transform: rotate(135deg) translateX(20px) translateY(-20px);
        opacity: 1;
    }
    100% {
        visibility: hidden;
        transform: rotate(135deg) translateX(80px) translateY(-80px);
        opacity: 0.1;
    }
}

@keyframes animLogoCorpsIntro {
    0% {
        fill: rgba(255, 255, 255, 0);
        stroke: rgba(255, 255, 255, 1);
        stroke-dasharray: 1240px, 1240px;
        stroke-dashoffset: 1240px;
    }

    50% {
        fill: rgba(255, 255, 255, 0);
        stroke: rgba(255, 255, 255, 1);
        stroke-dasharray: 1240px, 1240px;
        stroke-dashoffset: 620px;
    }

    100% {
        fill: rgba(255, 255, 255, 0.2);
        stroke: rgba(255, 255, 255, 1);
        stroke-dasharray: 1240px, 1240px;
        stroke-dashoffset: 0;
    }
}

@keyframes animLogoCorpsOutro {
    0% {
        fill: rgba(255, 255, 255, 0.2);
        stroke: rgba(255, 255, 255, 1);
        stroke-dasharray: 1240px, 1240px;
        stroke-dashoffset: 0;
    }
    50% {
        fill: rgba(255, 255, 255, 0.2);
        stroke: rgba(255, 255, 255, 1);
        stroke-dasharray: 1240px, 1240px;
        stroke-dashoffset: 620px;
    }
    100% {
        fill: rgba(255, 255, 255, 0);
        stroke: rgba(255, 255, 255, 1);
        stroke-dasharray: 1240px, 1240px;
        stroke-dashoffset: 1240px;
    }
}

@keyframes animLogoTeteIntro {
    0% {
        fill: rgba(255, 255, 255, 0);
        stroke: rgba(255, 255, 255, 1);
        stroke-dasharray: 90px, 90px;
        stroke-dashoffset: 90px;
    }

    50% {
        fill: rgba(255, 255, 255, 0);
        stroke: rgba(255, 255, 255, 1);
        stroke-dasharray: 90px, 90px;
        stroke-dashoffset: 45px;
    }

    100% {
        fill: rgba(255, 255, 255, 0.2);
        stroke: rgba(255, 255, 255, 1);
        stroke-dasharray: 90px, 90px;
        stroke-dashoffset: 0;
    }
}

@keyframes animLogoTeteOutro {
    0% {
        fill: rgba(255, 255, 255, 0.2);
        stroke: rgba(255, 255, 255, 1);
        stroke-dasharray: 90px, 90px;
        stroke-dashoffset: 0;
    }
    50% {
        fill: rgba(255, 255, 255, 0);
        stroke: rgba(255, 255, 255, 1);
        stroke-dasharray: 90px, 90px;
        stroke-dashoffset: 45px;
    }
    100% {
        fill: rgba(255, 255, 255, 0);
        stroke: rgba(255, 255, 255, 1);
        stroke-dasharray: 90px, 90px;
        stroke-dashoffset: 90px;
    }
}

@keyframes animLogoTexteIntro {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }
    100% {
        opacity: 1;
        transform: translateY(20px);
    }
}

@keyframes animLogoTexteOutro {
    0% {
        opacity: 1;
        transform: translateY(20px);
    }
    100% {
        opacity: 0;
        transform: translateY(-20px);
    }
}

@keyframes animLogoFond {
    0% {
        background-position-x: -120vw;
        background-position-y: -65vh;
        background-size: 600vw;
        opacity: 0.2;
    }

    50% {
        background-position-x: -340vw;
        background-position-y: -160vh;
        background-size: 500vw;
        opacity: 0.2;
    }

    100% {
        background-position-x: -220vw;
        background-position-y: -340vh;
        background-size: 600vw;
        opacity: 0.2;
    }
}

/* MEDIA QUERY */
@media screen and (min-width:1200px) {

    #logo,
    .svganimate {
        width: 33vh;
        height: 33vh;
    }

    section.animate .wrapper {
        flex-direction: row;
        flex-wrap: nowrap;
        align-content: stretch;
        width: 85vw;
        margin: auto;
        justify-content: space-between;
        align-items: center;
    }

    .titre {
        width: auto;
        margin: 0;
    }

    .paragraphe {
        font-size: 1.2rem;
        width: 33vw;
        margin: 0;
    }
}

@media screen and (min-width:1200px) and (max-height:320px) {
    section .wrapper {
        flex-direction: row;
        align-content: center;
        justify-content: center;
        align-items: stretch;
    }
}

@media screen and (max-width:1200px) {
    section .wrapper {
        width: 85vw;
        margin: 0 auto;
    }

    #logo,
    .svganimate {
        width: 50vw;
    }
}

@media screen and (max-width:900px) {
    .paragraphe {
        margin-top: 10%;
    }

    .titre {
        margin-bottom: 10%;
    }

    section .wrapper {
        justify-content: center;
        width: 85vw;
        margin: 0 auto;
    }

    #logo,
    .svganimate {
        width: 60vw;
        height: 60vw;
    }
}

@media screen and (max-width:450px) {

    #logo,
    .svganimate {
        width: 60vw;
        height: 60vw;
    }

    section .wrapper {
        width: 80vw;
        margin: 0 auto;
    }

    div.logo-blanc svg#logo-intro {
        width: 50%;
    }
}

@media screen and (max-width:750px) and (max-height:650px) {
    section .wrapper {
        flex-wrap: nowrap;
    }
}

@media screen and (max-width:900px) and (max-height:600px) and (orientation: landscape) {
    section.animate .wrapper {
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
    }

    div.logo-blanc {
        margin-bottom: 0;
    }

    div.logo-blanc svg#logo-intro {
        width: 33%;
    }

    #introduction div.logo-blanc h1 {
        font-size: 2rem;
    }

    #introduction h2 {
        font-size: 1rem;
    }

    .paragraphe {
        margin-top: 0;
        width: 50vw;
    }

    .titre {
        margin-bottom: 2%;
        width: 100%;
    }

    .svganimate {
        width: 25vw;
        height: auto;
    }

    section.animate .wrapper {
        flex-wrap: wrap;
    }
}


/* ANIMATION ICONES SVG  */

/* #comglobale.active .rotate {
    transform-origin: center;
    animation: animRotate 4s ease-in-out 1s infinite alternate;
}
#comglobale.active .numbers {
    transform-origin: center;
    animation: animNumbers 4s linear 1s infinite alternate;
}
@keyframes animRotate {
    0% {
        transform: scale(1) rotate(0);
    }
    100% {
        transform: scale(0.75) rotate(360deg);
    }
}
@keyframes animNumbers {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(0.75);
        opacity: 0.8;
    }
} */