

/* MAIN */
main {
    min-height: 100vh;
}
section{
    width: 100%;
}
section p{
    color: #fff;
}
/* SECTION 1 */
.first-part-anim {
    height: var(--animBigTitle);
    overflow: hidden;
}
section#ui-ux{
    /* position: sticky;
    top: clamp(200px, 40vh, 200px); */
    min-height: var(--animBigTitle);
    position: relative;
    
}
section#ui-ux .first-part-anim h2 {
    font-size: clamp(50vh, 30vw, 100vh);
    text-align: center;
    /* color: var(--tonic); */
    font-family: 'Glysa';
    font-weight: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 100%;
    transform-origin: center center;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 100vh;
}

section#ui-ux h2 span.gradient-anim-1 {
    letter-spacing: 4rem;
    transform: translate(-8%, 30vh) scale(2);
}
section#ui-ux h2 span.gradient-anim-2 {
    letter-spacing: -2rem;
    transform: translate(0%, 30vh) scale(2);
}



/* SECOND PART */
.second-part-anim{
    padding: calc((var(--global-space)) * 0) calc((var(--global-space)) * 1) 10vh calc((var(--global-space)) * 1);
    margin: calc(var(--animBigTitle) * 0) 0 10vh 0;
    font-size: clamp(1rem, 80px, 6vw);
    z-index: 1;
    position: relative;
}
.icon-anim{
    position: relative;
    z-index: 0;
}

/* THIRD PART */
.third-part-anim {
    padding: 10vh 0 10vh 0;
    width: 100vw;
    position: relative;
    z-index: 2;
}

/* ICON ANIM */
.icon-anim {
    display: flex;
    align-items: center;
    justify-content: center;
}
.icon-logo-anim{
    position: absolute;
    opacity: 0;
}
.icon-logo-anim:nth-of-type(1) {
    opacity: 0;
    left: 35%;
    top: 90%;
    transform: translate(-50%, -50%) rotate(10deg) scale(3);
    z-index: 1;
}
.icon-logo-anim:nth-of-type(2) {
    opacity: 0;
    right: 20%;
    bottom: -20%;
    transform: translate(-50%, -50%) rotate(-10deg) scale(1.5);
    z-index: 1;
}
.icon-logo-anim:nth-of-type(3) {
    opacity: 0;
    left: 50%;
    top: 100%;
    transform: translate(-50%, -50%) rotate(15deg) scale(0.5);
    z-index: 1;
    filter: blur(7px);
}
.icon-logo-anim:nth-of-type(4) {
    opacity: 0;
    right: 30%;
    top: 110%;
    transform: translate(-50%, -50%) rotate(-10deg)  scale(1.3);
    filter: blur(5px);
}
.icon-logo-anim:nth-of-type(5) {
    opacity: 0;
    left: 30%;
    top: 150%;
    transform: translate(-50%, -50%) rotate(-10deg) scale(0.8);
    filter: blur(2px);
}

/* PARCOURS */
.parcours {
    display: flex;
    justify-content: space-between;
    padding: 0 calc((var(--global-space)) * 1);
    border-top: 1px solid #ffffff50 ;
    border-bottom: 1px solid #ffffff50 ;
    position: relative;
    z-index: 1;
}
.parcours > div:not(.main-parcours) {
    display: flex;
    flex-direction: column;
    padding: calc((var(--global-space)) * 1) 0;
}
.parcours h2{
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: 100;
    letter-spacing: 0.5rem;
    position: relative;
    display: inline-flex;
}
.main-parcours h2{
    margin-left: auto;
}
.parcours h2 svg {
    position: absolute;
    right: 0;
    width: 100%;
    top: 100%;
}
.parcours p{
    font-size: 1rem;
    font-weight: 300;
    letter-spacing: 0.2rem;
    text-transform: uppercase;
}
.main-parcours{
    width: 33vw;
    text-align: right;
    font-size: 3rem;
    /* background-color: var(--tonic); */
}
.main-parcours > div {
    padding: calc((var(--global-space)) * 1) 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.main-parcours p {
    font-family: 'Glysa';
    font-size: 8rem;
    text-transform: uppercase;
    font-weight: 100;
    letter-spacing: 0.5rem;
    line-height: 80%;
    margin-top: 5rem;
    margin-right: -0.5rem;
}
.parcours span{
    height: 2px;
    width: 20%;
    background-color: var(--tonic);
    margin: auto 0;
}




/* STROKE ANIM */
.stroke-anim{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 50vh;
    position: relative;
    z-index: 1;
    align-items: flex-end;
    pointer-events: none;
}
.stroke-anim-reverse {
    flex-direction: column-reverse;
    align-items: flex-start;
}

.stroke-anim span{
    width: 0vw;
    background: linear-gradient(90deg, #000, var(--tonic));
    position: relative;
}
.stroke-anim.stroke-anim-reverse span{
    background: linear-gradient(-90deg, #000, var(--tonic));
}



/* PIN */
.position-relative.pin{
    overflow: hidden;
}
.pin-spacer{
     padding-bottom: 0px!important;
}
.portfolio {
    overflow: hidden;
}
.portfolio {
    height: 200vh;
}
.portfolio h2 {
    position: absolute;
    top: 0%;
    left: 50%;
    transform: translate(-50%, 0%);
    font-size: clamp(1rem, 12vw, 500px);
    text-align: center;
    color: transparent;
    mix-blend-mode: difference;
    z-index: 0;
    font-family: 'Brier';
    font-weight: 100;
    -webkit-text-stroke: 1px #ffffff;
    text-stroke: 4px #FFF;
    text-transform: uppercase;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.portfolio h2 span{
    overflow: hidden;
}
