/*
Theme Name:   Nelly Babillon
Template:     nellybabillon
*/



/*---- INDEX -----*/

/*---- 
    1.Normalize
    2.Fonts
    3.General
    4.Projects
    5.Single project
    6.Sidebar

----*/

/* ---- 1. Normalize ---- */

html,
body {
    margin: 0;
    width: 100%;
    min-height: 100vh;
    background: url("assets/media/nnnoise.svg");
}

* {
    /*  cursor: none;*/
/*    margin: 0;*/
    padding: 0;
    box-sizing: border-box;
}

/*---- 2. Fonts ----*/

@import url('https://fonts.googleapis.com/css2?family=Barlow+Semi+Condensed&family=Niramit:ital,wght@0,300;0,400;0,500;1,200;1,300;1,400&family=Work+Sans:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,200;1,300;1,400;1,500;1,600&display=swap');

@font-face {
    font-family: "Aldus";
    src: url('assets/fonts/Aldus/Aldus-regular.ttf') format('truetype');
}

@font-face {
    font-family: 'Apollo';
    src: url('assets/fonts/Apollo/Apollo-regular.otf') format('opentype');
}

@font-face {
    font-family: 'Benguiat';
    src: url('assets/fonts/benguiat/benguiat-medium.otf') format('opentype');
}

@font-face {
    font-family: 'Benguiat';
    src: url('assets/fonts/benguiat/benguiat-wide.otf') format('opentype');
}

@font-face {
    font-family: 'Arnold Boecklin LT';
    src: url('assets/fonts/ArnoldBoecklinLT.otf') format('opentype');
}

p,
a,
li,
ul,
h1,
h2,
h3,
h4,
h5,
label,
input {
    margin: 0;
    line-height: 1em;
    color: var(--wp--preset--color--blue-primary);
}

p,
li,
a,
label,
input {
    font-family: 'Niramit', sans-serif;
}

a {
    text-decoration: none;
/*    color: unset;*/
}

li {
    list-style: none;
}

h1 {
    font-family: Benguiat;
    margin-bottom: 0.4em;
}

h2 {
    line-height: 1.2em;
    font-weight: lighter;
}

button {
    width: fit-content;
    padding: 0.4em 1em;
    font-size: 1em;
    transition: 0.2s ease-in-out all;
    cursor: pointer;
    border: none;
}

button:hover {
    filter: brightness(0.8);
    background-color: var(--wp--preset--color--blue-primary);
    color: white;
}

:where(.wp-block-button__link){
    background-color: var(--wp--preset--color--blue-primary);
}

/*Icon button*/
.wp-image-281{
    margin-bottom: -5px;
}

/* --- 4. Layout --- */

footer {
    display: none;
}

.site-main{
    margin:2em 0;
}

.grid {
    display: grid;
}

.flex-column {
    display: flex;
    flex-direction: column;
}

.flex-row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.grecaptcha-badge { 
    visibility: hidden !important;
}

/* --- 4.1 Layout Sidebar / All Projects --- */

.main-container {
    min-height: 100vh;
    color: var(--font-light);
    background-color: var(--bg-color);
    grid-template-columns: 100%;
    grid-auto-rows: auto;
    transition: 0.4s ease-in-out all;
    position: relative;
}

.scaled{
    grid-template-columns: 100%;
}

@media screen and (min-width:900px) {

    .main-container {
        grid-template-columns: 300px auto !important;
        margin-right: 2em;
    }

    .scaled {
        grid-template-columns: 150px auto !important;
    }

}

.infobis-wrapper::before {
    content: '';
    display: block;
    position: absolute;
    background-color: hsla(96, 13%, 8%, 0.9);
    width: 100%;
    height: 100%;
    transform: scale(100%, 0%);
    transform-origin: bottom;
    transition: 0.4s ease-in-out all;
}

.single-project:hover .infobis-wrapper::before {
    transform: scale(100%, 0%);
}

.single-project:hover .infobis-wrapper {
    transform: scale(100%, 0%);
}

/* --- 6.2 Filter --- */
#portfolio-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 2em 10px;
    justify-content: space-evenly;
}

@media screen and (min-width:900px){
    #portfolio-filter{
        justify-content: flex-start;
    }
}

.active-tag{
    background-color:var(--wp--preset--color--blue-primary);
}

.active-tag a {
    color:white!important;
}

.filter-btn {
    cursor: pointer;
    padding: 10px;
    border-style:solid;
    border-width: 1px;
    border-color: var(--wp--preset--color--blue-primary);
    text-align: center;
    transition: 0.2s ease-in-out all;
}

.filter-btn:hover{
    background-color: #00f;
}

.filter-btn:hover a{
    color: white !important;
}   
/* --- 7. Sidebar --- */

.bio-container {
    margin: 2em;
    height: calc(100vh - 4em);
    box-sizing: content-box;
    background-color: rgba(255,255,255,0.6);
}

.infobis-wrapper {
    position: relative;
    transform: scaleX(100%);
}

.infobis-wrapper h2{
    font-family: 'Niramit', sans-serif;
    font-weight:light;
    font-size:1.3em;
}

.info-wrapper {
    transform: rotate(-90deg);
    transform-origin: 60% 64%;
}

.bio-wrapper {
    overflow: hidden;
    justify-content: space-between;
    border-style: solid;
    border-width: 3px;
    border-color: var(--wp--preset--color--blue-primary);
    height: 100%;
    padding: 2em 2em 0 2em;
    box-sizing: border-box;
    align-items: center;
}

.pp-container {
    display: none;
    width: 50%;
    aspect-ratio: 1/1;
    border-radius: 100%;
    overflow: hidden;
}

.pp-container img {
    object-fit: cover;
    object-position: 0px -20px;
}

.social {
    width: 100%;
    min-width: 20px;
    max-width: 30px;
    gap: 13px;
}

.social img{
    width: 100%;
}

.contact-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size:1.2em;
    background-color: #00f;
    width: calc(100% + 4em);
    height: 100%;
    max-height: 60px;
}

.contact-wrapper p{
    color: white !important;   
}

.contact-wrapper.mini{
    background-color:inherit;
}

.contact-wrapper.mini p{
    display: none;
}
.contact-wrapper.mini .mail-icon{
    display: inherit;
}

.mail-icon {
    display: none;
    width: 30px;
    height: 30px;
}


/*Smiley*/

.smiley {
    max-width: 100px;
    aspect-ratio: 1/1;
    width: 100%;
    min-width: 60px;
    position: relative;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

.smiley-container {
    max-width: 100px;
    width: 100%;
    aspect-ratio: 1/1;
    border-radius: 100%;
    overflow: hidden;
    transition: 0.4s ease-in-out all;
}

.smiley:hover .smiley-container {
    background-color: yellow;
    box-shadow: inset 0px 0px 5px black;
}

.smiley-txt-icon {
    position: absolute;
    width: 150px;
    height: 150px;
}

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

    .bio-container {
        height: 60vh;
    }

    .info-wrapper {
        transform: initial !important;
        transform-origin: 60% 64% !important;
    }

}

/* --- 6.1 Contact --- */

.form-wrapper{
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.form-static{
    display: flex;
    flex-direction: column;
    gap:10px;
    max-width: 800px;
    width: 100%;
    min-width: 200px;
    margin:1em 3em;
}

.form-static input,.form-static textarea{
    width: 100%;
    color: white;
    font-size: 1.1em;
}

.contact-text{
    display: flex;
    flex-direction: column;
    gap:1em;
    margin-bottom: 1em;
}

.text{
    padding: 10px;
}

.form-submit{
    background-color: var(--wp--preset--color--blue-primary);
    padding: 1em;
    border: none;
    max-width: 150px;
    border-radius: 2px;
    cursor: pointer;
    transition:0.2s ease-in-out all;
    margin-top:2em;
}

.form-submit:hover{
    background-color:white;
    color:var(--wp--preset--color--blue-primary);
    border:1px solid var(--wp--preset--color--blue-primary);
}

.not-valid-tip{
    margin-top: 5px;
    font-family: 'Niramit', sans-serif;
    font-size: 0.8em;
}

/* --- 4.2 About --- */

.cv-wrapper {
    grid-template-columns: 100%;
    grid-auto-rows: auto;
    transition: 0.4s ease-in-out all;
    width: 100%;
}

@media screen and (min-width:900px) {

    .cv-wrapper {
        grid-template-columns: 1fr !important;
    }

}

/*Arrow back*/

.ariane-back {
    height: calc(50px + 2em);
    width: calc(50px + 2em);
    padding: 1em;
    display: block;
    position: fixed;
    top: 5vh;
    left: 5vw;
    transition: 0.2s ease-in-out all;
}

.arrow-container {
    height: 40px;
    width: fit-content;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ariane-back:hover {
    left: 4vw;
}

.ariane-back:hover #arrline {
    transform: scaleX(0.2);
}

.arrow-wrap {
    width: 50%;
    position: absolute;
    left: 0;
}

.arr-line {
    width: 20px;
    height: 3px;
    background-color: var(--wp--preset--color--blue-primary);
    display: block;
    position: relative;
    border-radius: 3px;

}

#arr01 {
    transform: rotate(45deg);
    left: 0;
    transform-origin: -2px center;
}

#arr02 {
    transform: rotate(-45deg);
    left: 0;
    transform-origin: -2px center;
}

#arrline {
    align-self: center;
    width: 40px;
    transform-origin: right;
    transition: 0.1s ease-in-out all;
}

/*---*/

/*Download CV*/

.download-cv {
    padding: 1em;
    position: fixed;
    bottom: 37vh;
    right: 8vw;
    z-index: 5000;
}

.download-cv .download-wrapper {
    display: flex;
    flex-direction: column-reverse;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 150px;
    height: 150px;
}

.download-wrapper p {
    transition: 0.7s ease-in all;
    position: absolute;
    text-align: center;
    font-size: 2em;
}

.download-cv:hover p {
    font-size: 2.2em;
    color: var(--wp--preset--color--blue-primary);
}

.download-cv:hover .clickhere {
    filter: none;
}

img.clickhere {
    transition: 0.5s ease-in all;
    width: 100%;
    height: 100%;
    filter: invert() brightness(5.2) grayscale(100%);
}

/*---*/


.cv-container {
    height: 100%;
    position: relative;
    display: grid;
    z-index: 4;
    grid-template-columns: 1fr 200px 1fr;
    max-width: 60%;
    row-gap: 20px;
    margin: 0 auto;
    padding-bottom: 25vh;
}

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

    .cv-container {
        grid-template-columns: 1fr 1fr 1fr;
        max-width: 100%;
    }

}

.intro-container {
    grid-column: 1 / span 3;
    grid-template-columns: 1fr 100px 1fr;
    grid-row-gap: 20px;
}

.line-wrapper {
    position: absolute;
    display: flex;
    justify-content: center;
    grid-column: 2 / span 1;
    grid-row: 1;
    height: 100%;
    width: 100%;
    z-index: 3;
    animation-name: lineDown;
    animation-delay: 0.4s;
}

.line-wrapper svg {
    width: 4px;
    display: flex;
    justify-content: center;
}

#line {
    position: fixed;
    top: 0%;
    stroke-dashoffset: 0px;
}

@keyframes lineDown {
    from {
        transform: scaleY(0);
    }

    to {
        transform: scaleY(1);
    }
}

/*- Bloc intro + texte -*/

.photobio-container {
    width: 200px;
    max-height: 200px;
    position: relative;
    z-index: 200;
    height: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    grid-column: 1 / span 3;
    justify-self: center;
    margin-top: 7vh;
    align-self: center;
    border-radius: 100%;
    border: 4px solid var(--wp--preset--color--blue-primary);
    box-sizing: border-box;
}

.photobio {
    object-fit: cover;
    width: 100%;
}

/*--- Formations ---*/
.cv-title {
    grid-column: 1 / span 3;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 20vh;
    z-index: 200;
}

.cv-title h1 {
    font-weight: normal;
    text-transform: uppercase;
    font-size: 3vw;
    padding: 0.3em 1em;
    position: relative;
    background-color: white;
    border: 2px solid var(--wp--preset--color--blue-primary);
}

.cv-title h1::before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    border: 4px solid var(--wp--preset--color--blue-primary);
    height: 100%;
    width: 100%;
    z-index: -1;
}

.scrolled h1::before {
    opacity: 1;
}

.intro-txt-container {
    grid-column: 1 / span 3;
    justify-self: center;
    height: 80vh;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    background-color: var(--bg-color);
    z-index: 20;
}

.intro-txt-container p {
    font-family: Benguiat;
    font-size: 7vw;
    text-transform: uppercase;
    word-wrap: break-word;
    text-align: center;
}

p.txt-bio {
    opacity: 0;
    animation-name: txtFade;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
    animation-duration: 2000ms;
    animation-play-state: paused;
    animation-delay: 900ms;
    animation-direction: normal;

}

@keyframes txtFade {

    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0px);
    }
}

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

    .intro-txt-container {
        height:40vh;
    }
    
    .intro-txt-container p {
        font-size: 13vw;
    }

    .cv-title h1{
        font-size: 10vw;
    }

}
/*- Bloc formations -*/

.cv-title.formations h1 {
    text-align: center;
    border: 2px solid var(--wp--preset--color--blue-primary);
}

.formation-year {
    text-align: right;
    font-size: 1.7em;
}

.bloc-formation {
    grid-column: 3;
    margin-bottom: 2em;
}

.bloc-formation p {
    margin-left: 50px;
    max-width: 240px;
    text-transform: uppercase;
}

.bloc-formation h2 {
    text-transform: uppercase;
    margin-bottom: 0.4em;
    font-size: 1.7em;
}

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

    .intro-txt-container {
        height:40vh;
    }
    
    .intro-txt-container p {
        font-size: 13vw;
    }

}

/*- Bloc competences -*/

.cv-competences {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.bloc-competences {
    width: 100%;
    box-sizing: border-box;
    padding: 1em;
}

.bloc-competences p {
    line-height: 1.2em;
}

.bloc-competences:nth-child(even) {
    grid-column: 1;
    justify-self: flex-end;
}

.bloc-competences:nth-child(odd) {
    grid-column: 3;
}

.competences-title {
    display: flex;
    flex-direction: row-reverse;
    position: relative;
    align-items: center;
    gap: 40px;
}

.bloc-competences h2 {
    margin-bottom: 0.4em;
}

.marker {
    position: absolute;
    display: flex;
    align-items: center;
    top: 0;
    z-index: 2;
}

.m-left .circle::after {
    left: -53px;
}

.m-right .circle::after {
    right: -53px;
}

.circle {
    display: flex;
    align-items: center;
    position: relative;
    width: 40px;
    height: 40px;
    border: 3px solid var(--wp--preset--color--blue-primary);
    background-color: white;
    border-radius: 100%;
}

.circle::after {
    content: '';
    display: block;
    height: 3px;
    width: 53px;
    background-color: var(--wp--preset--color--blue-primary);
    position: absolute;
}

.bloc-competences.col-left {
    text-align: right;
}

.bloc-competences.col-right {
    text-align: left;
}

.scrolled.bloc-competences h2 {
    animation: fade-in-bottom 1s ease-in-out both, changeAllColors 3s ease-in-out both;
    color: var(--wp--preset--color--blue-primary);
}

@keyframes changeAllColors {
    from {
        color: white;
    }

    to {
        color: var(--wp--preset--color--blue-primary);
    }
}

#professionnelles01 {
    grid-row: 8;
}

#web {
    grid-row: 9;
}

#graphisme {
    grid-row: 10;
}

#edition {
    grid-row: 11;
}

/*--- Bloc Expériences --*/

.experiences-wrapper>div {
    max-width: 80%;
    margin: 0 auto;
}

.exp-year {
    font-size: 3.4vw;
    font-family: 'Niramit';
    font-weight: normal;
    max-width: 80%;
    width: 100%;
}

.col-left {
    grid-column: 1;
}

.col-right {
    grid-column: 3;
}

.bloc-experiences.col-right *,
.exp-year.col-right {
    text-align: right;
    width: 100%;
    justify-self: flex-end;
    grid-column: 3;
}

.bloc-experiences {
    /*! max-width: 70%; */
    width: 100%;
}

.experiences-title {
    display: flex;
    position: relative;
}

.bloc-experiences h2 {
    font-family: 'Niramit';
    font-weight: semibold;
    margin-bottom: 0.4em;
}

.bloc-experiences p,
.bloc-experiences li {
    font-family: 'Niramit', sans-serif;
    line-height: 1.3em;
    font-weight: lighter;
}

.bloc-experiences ul {
    text-align: left;
}

.bloc-experiences li::before {
    content: '-';
    margin-right: 10px;
}

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

    .exp-year {
        font-size: 5vw;
    }

}
/*- Animations -*/
.cv-container>*:not(.intro-container, .line-wrapper),
.marker {
    opacity: 0;
}

.scrolled {
    animation: fade-in-bottom 1s ease-in-out both;
    transform: translateY(50px);
}

h1.scrolled {
    animation: fade-in-bottom 1s ease-in-out both, changeColor 1s ease-in-out both;
}

.m-left.scrolled .circle::after {
    transform-origin: right;
    animation: markerLineLeft 1s ease-in-out both;
}

.m-right.scrolled .circle::after {
    transform-origin: left;
    animation: markerLineLeft 1s ease-in-out both;
}

@keyframes fade-in-bottom {
    0% {
        -webkit-transform: translateY(50px);
        transform: translateY(50px);
        opacity: 0;
    }

    100% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
        opacity: 1;
        color: linear-gradient(100%, 100%, 100%, 0.5);
    }
}

@keyframes markerLineLeft {
    0% {
        transform: scaleX(0);
        opacity: 0;
    }

    100% {
        transform: scaleX(1);
        opacity: 1;
    }
}

@keyframes changeColor {
    0% {
        color: var(--font-light);
    }

    100% {
        color: var(--wp--preset--color--blue-primary);
    }
}

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



}
/* --- 5. Footer --- */

/*--Cursor---*/

/*.cursor {
  width: 50px;
  height: 50px;
  border-radius: 100%;
  border: 3px solid white;
  transition: all 200ms ease-out;
  position: fixed;
  z-index: 10000;
  pointer-events: none;
  left: 0;
  top: 0;
  transform: translate(calc(-50% + 15px), -50%);
}

.hover {
  background-color: yellow;
  opacity: 0.5;
}

.cursorinnerhover {
  width: 50px;
  height: 50px;
  opacity: .5;
}*/

/* --- 5.Projects --- */

.projects-container {
    height: 100%;
    position: relative;
}

.all-projects {
    overflow: hidden;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
}

.single-project {
    cursor: pointer;
    height: auto;
    position: relative;
}

.single-project:not(:last-child){
    border-bottom-style: solid;
    border-bottom-width: 2px;
    border-bottom-color: var(--wp--preset--color--blue-primary);
}

.single-project:nth-child(2n) {
    z-index: 2;
}

@media screen and (min-width:900px) {

    .single-project{
        overflow: hidden;
        height: 13vh;
        transition: 0.6s all;
        transition-delay: 0.2s;
        transition-timing-function: cubic-bezier(0.62, 0, 0.38, 1.0);
        transform-origin: top;
    }

    .single-project:hover {
        height: calc(50vh - 70px);
    }

}

@keyframes fadeOutProject {
    0% {
        height:13vh;
        opacity: 1;
    }

    100% {
        height:0;
        opacity: 0;
    }
}

@keyframes fadeInProject {
    0% {
        height:0;
        opacity: 0;
    }

    100% {
        height:13vh;
        opacity: 1;
    }
}

.category{
    position: relative;
    bottom: 7px;
    right: 0;
    font-family: 'Niramit', sans-serif;
    font-size: 1.4em;
}

@media screen and (min-width:900px) {

    .category{
        position: absolute;
        bottom: 0;
    }

    .title-project-wrapper{
        position: absolute;
        z-index: 2;
        top: 0;
        pointer-events: none;
    }

    .single-project-name {
        font-size: 7vw;
    }
}

.title-project-wrapper {
    max-width: 100%;
    position: relative;
    z-index: 2;
    top: 0;
    pointer-events: none;
    height: 100%;
    width: 100%;
    padding: 2em;
}


.project-link {
    pointer-events: visible;
}

.single-project:hover .icon,
.single-project:hover .details {
    opacity: 1;
}

.bloc-title {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.open {
    height: 100%;
}

.infoproject {
    display: flex;
    align-items: baseline;
    width: 100%;
    max-width: 900px;
}

.infoproject::before {
    content: '';
    display: block;
    opacity: 1;
    height: 2px;
    width: 20px;
    background: var(--wp--preset--color--blue-primary);
    margin-right: 10px;
    transition: 1.8s ease-in-out all;
}

.single-project:hover .infoproject::before,
.single-project:hover .details {
    opacity: 1;
}

.open-icon {
    pointer-events: visible;
}

.details {
    opacity: 1;
    transition: 1s ease-in-out all;
    font-size: 1.1em;
    /* font-style: italic; */
    letter-spacing: 0.02em;
    line-height: 1.5em;
}

.icon {
    transition: 0.4s ease-in-out all;
    opacity: 0;
    width: 20px;
    height: 20px;
}

.single-project-name {
    font-family: 'Arnold Boecklin LT', serif;
    line-height: 1.2em;
    font-weight: lighter;
    font-size: 3em;
    width:100%;
    word-wrap: break-word;
    margin-bottom:10px;
}

@media screen and (min-width:900px) {

    .single-project-name {
        font-size: 4vw;
    }

    .infoproject::before {
        opacity: 0;
    }

    .details {
        opacity: 0;
    }

}

.thmb-project-wrapper {
    display: flex;
    filter: brightness(0.3) saturate(0.7) contrast(0.8);
    height: 100%;
    overflow: hidden;
    transition: 0.2s ease-out all;

}

.thmb-project {
    display: none;
    object-fit: cover;
    object-position: center -10px;
    height: 103%;
    transition: 0.2s ease-out all;
    width: 100%;
}

/*.thmb-project-wrapper:hover .thmb-project {
    transform: scale(1.05);
}

.thmb-project-wrapper:hover {
/*    filter: brightness(0.9) saturate(0.6) contrast(0.9);
}*/

.title-head {
    padding: 2em;
}

/* --- 5.1 Template Single Project --- */

article.type-projet {
    margin:10px;
}

article.type-projet header {
    display: flex;
    max-width: 1200px;
    min-height: auto;
    justify-content: center;
    align-items: center;
    gap: 4em;
    margin: 0 auto 5em auto;
    flex-wrap: wrap;
}

@media screen and (min-width:900px){
    article.type-projet header {
        min-height: 90vh;
    }
}

article .back{
    width:40px;
    display: block;
    aspect-ratio: 1/1;
    margin-bottom: 30px;
}

article .back svg{
    width: 100%;
    height: 100%;
}   

article.type-projet header .column{
    max-width: 49%;
    flex-grow: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    min-width: 300px;
    min-height: 500px;
    height:100%;
}

.column#left{
    align-items: flex-start;
}

.column#right{
    align-items: center;
    align-self: center;
    position: relative;
    display: none;
}

@media screen and (min-width: 900px){
    .column#right{
        display:inherit;
    }
}

article.type-projet header .post-thumbnail{
    width: calc(100% - 50px);
    height: calc(100% - 2em);
    border-radius: 260px 260px 0px 0px;
    overflow: hidden;
    max-width: calc(350px - 2em);
    object-position: center;
    aspect-ratio: 1/1;
    border: 1px solid blue;
}

article.type-projet header .arc{
    position: absolute;
    height: 100%;
    max-width: 350px;
    border: 3px solid blue;
    border-radius: 260px 260px 0px 0px;
    z-index: 2;    
    width: 100%;
    aspect-ratio: 1/1;
}

article.type-projet header .post-thumbnail img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}

article.type-projet .split{
    width: 40%;
    border:1px solid blue;
    margin-bottom: 3.4em;
    margin-left: 0;
}

article.type-projet header h1{
    font-family: 'Arnold Boecklin LT';
    font-weight: lighter;
    -webkit-text-stroke: 1px white;
    font-size: 11vh;
}

article.type-projet header p {
    max-width: 400px;
    line-height: 1.4em;
    background-color: var(--wp--preset--color--blue-primary);
    padding: 25px;
    color: white;
}

@media screen and(min-width:900px){
    article.type-projet header h1{
        font-size: 14vh;
    }
}
.entry-title-project {
    font-size: 4em;
}

.multiply{
    mix-blend-mode: multiply;
}

.img-cover img{
    width: 100%;
    height: auto;
    object-fit: cover;
}

.gallery-wrapper-2-images-w50{
    gap:0;
}

.gallery-col-2{
    min-height: 70vh;
    gap:0;
    align-items: stretch;
    justify-items: stretch;
    background-color:#ffffff;
}

.gallery-col-2 > div{
    height: 100%;
    min-width: 300px;
    background-color:#ffffff;
}

.img-gallery-w50{
    width: 50%;
    flex-grow: 2;
}

.nav-links{
    color:var(--wp--preset--color--font-light);
    display: flex;
    justify-content: space-between;
    margin:1em 0;
}

.arrow-icon{
    color:white;
}

.transition-contact{
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 10001;
    background-color: var(--wp--preset--color--blue-primary);
    opacity: 1;
    transform: scaleX(0);
    pointer-events: none;
    transform-origin: left;
    margin-left: 0;		
}

.transition-contact.fade-in{
    animation: squeezeIn 0.8s cubic-bezier(0.62, 0, 0.38, 1.0) forwards;
    animation-play-state: running;
}

.transition-contact.fade-out{
    animation: squeezeOut 1.5s forwards ease-in-out;
    animation-play-state: running;
}

@keyframes squeezeIn{
    0% {
		transform: scaleX(0);
    }
	
    100% {
        transform: scaleX(1);	
    }
}

@keyframes squeezeOut{
    0% {
        transform: scaleX(1);
        margin-left: 0;	 

    }

    70% {
        transform: scaleX(1);
        margin-left: 0;	 

    }
	
    100% {
        transform: scaleX(0);	
        margin-left: 100%; 	    	    	
	}
}