:root{
    --darkgreen: #344E41;
    --beige: #DAD7CD;
}

html{
    scroll-behavior: smooth;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

body{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
    max-width: 100%;
}

a{
    text-decoration: none;
    display: block;
    color: inherit;
    position: relative;
}

strong{
    font-weight: 500;
    text-decoration: underline;
}

strong:hover{
    cursor: pointer;
}

h1{
    font-size: min(6vw, 6em);
    font-weight: 300;
    letter-spacing: 0.2em;
}

.green_theme{
    color: var(--beige);
    background-color: var(--darkgreen);
}

.beige_theme{
    color: var(--darkgreen);
    background-color: var(--beige);
}

.btn_CTA{
    margin-bottom: 16px;
    border-radius: 2em;
    background-color: var(--beige);
    border: none;
}

.btn_CTA a{
    padding: 10px 12px 10px 12px;
    color: var(--darkgreen);
    font-family: 'Montserrat', sans-serif;
    font-size: min(3vh, 2em);
    font-weight: 500;
    letter-spacing: 0.16em;
}

.arrow{
    border: none;
    background: transparent;
    cursor: pointer;
}

.arrow svg{
    height: 40px;
    width: 40px;
    fill: transparent;
    transition: fill 300ms cubic-bezier(0.13, 0.65, 0.8, 0.8);
}

.arrow svg path{
    stroke: var(--beige);
    transition: stroke 300ms;
    fill: transparent;
}

.arrow svg:hover,
.arrow svg:focus{
    fill: var(--beige);
    transition: fill 300ms cubic-bezier(0.13, 0.65, 0.8, 0.8);
}

.arrow svg:hover path,
.arrow svg:focus path{
    stroke: var(--darkgreen);
    transition: stroke 300ms;
    fill: transparent;
}

.slide_card div span.small:first-of-type{
    display: block;
    margin-top: 20px;
    font-size: .8em;
}

.slide_content div span.small:first-of-type{
    display: block;
    margin-top: 20px;
    font-size: .8em;
}

#extend_detail span.small{
    font-size: .75em;
}

@media screen and (max-width: 1200px) {
    .btn_CTA a{
        font-size: 2.2em;
    }
}

@media screen and (max-width: 900px) {
    html{
        scroll-behavior: initial;
    }
}

@media screen and (max-width: 700px) {
    html{
        overflow-x: hidden;
    }

    body{
        overflow-x: hidden;
    }
}

/*--page accueil--*/

.home_container{
    width: 100%;
    min-height: 600px;
    height: 95dvh;
    overflow: hidden;
}

header{
    position: absolute;
    display: flex;
    overflow: hidden;
    flex-direction: row;
    justify-content: center;
    right: 0;
    z-index: 99;
    height: 70px;
    width: 100%;
    margin-top: 1.6%;
    border-top: solid 2px white;
    border-bottom: solid 2px white;
    backdrop-filter: blur(5px);
    transition: height 300ms ease;
}

header.open{
    height: 80dvh; 
    min-height: 570px;
}

/* .home_title_container{
    display: flex;
} */

.nav_title{
    margin: 0;
    padding-left: 40px;
    font-family: 'Amatic SC', cursive;
    font-weight: 600;
    font-size: 2.8em;
    letter-spacing: 0.16em;
    line-height: 70px;
}

.nav_container{
    display: flex;
    height: 100%;
    align-items: center;
}

nav{
    margin: 0;
    padding-right: 24px;
}

nav ul{
    display: flex;
    justify-content: center;
    /* overflow: hidden; */
}

nav ul li{
    list-style: none;
    font-size: 1.5em;
    font-weight: 500;
    letter-spacing: 0.11em;
    padding: 0 16px 0 16px;
    margin: 0;
    border-right: white 3px solid;
    transition: font-weight ease;
}

.nav_container ul li:last-child{
    border-right: none;
}

li a{
    /* display: inline-block; */
    color: white;
    overflow: hidden;
    transition: text-shadow 400ms ease;
}

a::after{
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: white;
    opacity: 0;
    transform: translate3d(-100%,0,0);
    transition: opacity 300ms, transform 300ms;
}

li a:hover{
    text-shadow: 2px 3px 4px rgba(0,0,0,0.35);
}

li a:hover::after,
li a:focus::after{
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

@media screen and (max-width: 1200px){
    .nav_container li{
        font-size: 1.4em;
        padding: 0 8px;
    }
}

#icons{
    display: none;
}

@media screen and (max-width: 900px){

    #icons{
        display: block;
        position: absolute;
        top: 24px;
        cursor: pointer;
        color: white;
        scale: 1.7;
    }

    #icons::before{
        content: "\2630";
        display: block;
        transition: text-shadow .3s ease;
    }

    .open #icons::before{
        content: "\2715";
    }

    #icons:hover::before{
        text-shadow: 2px 3px 4px rgba(0,0,0,0.35);
    }

    nav ul{
        position: fixed;
        display: flex;
        /* right: 120%; */
        right: 0;
        top: 70px;
        margin-top: 20%;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        gap: 40px;
        width: 100%;
        height: 90dvh;
        background-color: transparent;
    }

    nav ul li{
        border: none;
        font-size: 2em;
        font-weight: 500;
    }
}

@media screen and (max-width: 700px){
    /* .home_container{
        height: 700px;
        min-height: auto;
    } */

    nav ul{
        height: 630px;
    }

    nav.open li{
        font-size: 1.6em;
    }
}

.home_content{
    display: flex;
    position: relative;
    height: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.home_bg{
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    background-image: url("./img/bg_home.webp");
    background-repeat: no-repeat;
    background-position: left;
    background-size: cover;
    /* filter: blur(1px); */
    z-index: -2;
}

.home_logo{
    display: block;
    /* margin-top: 180px; */
    padding: 0;
    width: max(min(30vw,480px),320px);
    justify-content: center;
}

.home_CTA{
    position: absolute;
    bottom: 24px;
}

.home_title{
    margin: 0;
    margin-bottom: max(4vh, 16px);
    padding: 0;
    font-family: 'Amatic SC', cursive;
    font-size: min(10vh, 5.5em);
    font-weight: 400;
    letter-spacing: 0.2em;
    color: var(--beige);    
    text-shadow: 0px 0px 10px rgba(0,0,0,0.75);
    text-align: center;
    line-height: 1em;
}

.home_title span{
    font-size: .8em;
}

@media screen and (max-width: 1200px){
    /*.home_logo{
        width: 500px;
        max-width: unset;
        margin-top: 35px;
        margin-bottom: 24px;
    }*/
    
    .home_bg{
        background-position: right;
    }
}

/*@media screen and (max-width: 900px){
    .home_title{
        font-size: 4.2em;
    }

    .home_logo{
        width: 450px;
    }
}*/

@media screen and (max-width: 700px) {
    /* .home_logo{
        width: 320px;
        min-width: auto;
    }

    .home_title{
        font-size: 2.7em;
    } */

    .btn_CTA a{
        font-size: 1.8em;
    }
}

/*--Module Citation--*/

.quote_container{
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 45vh;
    min-height: 400px;
}

.quote_container .counter{
    position: absolute;
    right: 1.2em;
    top: 1.2em;
}

.quote_container .counter h3{
    margin: 0;
    font-size: 1.6em;
    font-style: normal;    
}

.quote_content{
    position: relative;
    display: flex;
    justify-content: center;
    left: 50%;
    transform: translateX(-50%);
    width: 65vw;
}

.quote_text_container{
    text-align: center;
    font-style: italic;
    font-weight: 400;
    font-size: 1.8em;
}

.quote_detail{
    margin: 0;
    font-size: .9em;
}

.quote_author{
    margin-top: 24px;
}

.quote_text_container div p{
    opacity: 0;
    transform: translateY(20px);
}

.quote_detail.active{
    opacity: 1;
    transform: translateY(0);
    transition: opacity .5s .2s ease-out, transform .3s .2s ease;
}

.quote_author.active{
    opacity: 1;
    transform: translateY(0);
    transition: opacity .5s .4s ease-out, transform .3s .4s ease;
}

.quote_select{
    position: absolute;
    bottom: 2em;
    left: 2em;
}

@media screen and (max-width: 1200px) {
    .quote_container{
        height: 400px;
    }

    .quote_content{
        margin-top: 24px;
    }

    .quote_detail{
        font-size: .8em;
    }
}

@media screen and (max-width: 700px) {
    .quote_container .counter h3{
        font-size: 1.2em;
    }

    .quote_content{
        margin: 0;
    }

    .quote_detail{
        font-size: .6em;
    }

    .quote_author{
        font-size: .8em;
    }

    .quote_select{
        bottom: 1.5em;
        left: 50%;
        transform: translateX(-50%);
    }

    .arrow_svg{
        height: 30px;
        width: 30px;
    }
}

.presta_container{
    display: flex;
    flex-direction: row;
    width: 100%;
}

.presta_content{
    display: flex;
    flex-direction: column;
    width: 55vw;
}

.card{
    position: relative;
    height: 750px;
    padding: 5%;
}

.card h3{
    position: relative;
    font-size: 2em;
    z-index: 1;
}


/* ______________Card_title________________ */

.card h1{
    display: block;
    position: relative;
    font-family: "Alegreya Sans SC", sans-serif;
    font-weight: 300;
    z-index: 1;
    opacity: 1;
    transition: opacity .5s ease-in;
}

.card.extend h1{
    opacity: 0;
    transition: opacity .5s ease-in;
}

.card h1.no_visible{
    display: none;
    visibility: hidden;
}

/* ______________Card_Content________________ */

.card p{
    position: relative;
    z-index: 1;
    font-size: 1.35em;
    padding-right: 4vw;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .5s .1s ease, transform .4s .1s ease;
}

.card_detail.visible p{
    opacity: 1;
    height: 100%;
    overflow-y: auto;
    transform: translateY(0);
    transition: opacity .6s .2s ease, transform .4s .2s ease;
}

.card_detail.visible p::-webkit-scrollbar{
    width: .3em;
    opacity: 1;
}

.card_detail.visible p::-webkit-scrollbar-thumb{
    border-radius: .5em;
    background-color: var(--darkgreen);
}

.card_detail .text_btn{
    opacity: 0;
    position: absolute;
    z-index: 1;
    bottom: 50%;
    transform: translateY(30px);
    transition: opacity .5s ease, transform .4s ease;
}

.card_detail em{
    font-style: normal;
    font-weight: 1000;
    font-size: 1.3em;
}

.card_detail.visible .text_btn{
    opacity: 1;
    transform: translateY(0);
    transition: opacity .6s .45s ease, transform .4s .45s ease;
}

.card h1.visible, .card_detail.visible{
    opacity: 1;
    visibility: visible;
    transition: opacity .5s ease-in;
}

@media screen and (max-width: 1200px) {
    .presta_content{
        height: 1500px;
    }

    .card{
        height: 750px;
    }

    .card_detail .text_btn{
        bottom: 43%;
    }
}

@media screen and (max-width: 900px){
    .card_detail .text_btn{
        bottom: 28%;
    }
}

/* ______________Card_Detail_Content________________ */

.card_detail_container{
    position: relative;
}

.card_detail{
    position: absolute;
    height: 550px;
    top: 0;
    right: 0;
}

#extend_detail{
    visibility: hidden;
}

#extend_detail.visible{
    visibility: visible;
}

#extend_detail span{
    position: relative;
    left: -50%;
    opacity: 0;
    transition: opacity .5s, left .7s;
}

#extend_detail span.animate{
    left: 0;
    opacity: 1;
    transition: opacity .5s, left .7s;
}

span.filigrane{
    text-transform: uppercase;
    font-family: "EB Garamond", serif;
    font-size: 1.5em;
    font-weight: 700;
}

/* ______________Text_button________________ */

.text_btn{
    display: flex;
    flex-direction: row;
    width: fit-content;
    margin-top: 7vh;
    font-size: 1.7em;
    cursor: pointer;
    user-select: none;
    overflow: hidden;
}

.text_btn span{
    width: fit-content;
    margin: 0;
}

.text_btn span::after{
    content: '';
    display: block;
    position: relative;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 1px;
    opacity: 0;
    transform: translate3d(-100%,0,0);
    transition: opacity 400ms, transform 300ms;
}

.therapy .text_btn span::after{
    background-color: var(--darkgreen);
}

.relax .text_btn span::after{
    background-color: var(--beige);
}

.text_btn:hover span::after,
.text_btn:focus span::after {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

.card svg{
    height: 1em;
    margin-top: 4px;
    margin-left: 0;
    transition: margin-left 200ms;
    transition-delay: 100ms;
}

.text_btn:hover svg,
.text_btn:focus svg{
    margin-left: 10px;
    transition: margin-left 200ms;
    transition-delay: 100ms;
}

.therapy svg circle,
.therapy svg path{
    stroke: var(--darkgreen);
}

.text_btn.return{
    display: none;
    position: absolute;
    z-index: 1;
    top: 0;
    right: 0;
    margin-top: calc(5% + 1.1em);
    margin-right: 5%;
}

.text_btn.return svg{
    margin-right: 0;
    transition: margin-right 200ms;
}

.text_btn.return span::after{
    transform: translate3d(100%,0,0);
}

.text_btn.return:hover span::after,
.text_btn.return:focus span::after{
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

.text_btn.return:hover svg,
.text_btn.return:focus svg{
    margin-right: 10px;
    transition: margin-right 200ms;
    transition-delay: 100ms;
}

.text_btn.return.visible{
    display: flex;
}

.italic{
    font-style: italic;
}

.citate{
    font-size: .9em;
}

.emphase{
    font-weight: 500;
    font-style: normal;
}
/* ______________Presta_Wall_Content________________ */

.presta_wall{
    display: flex;
    flex-direction: column;
    width: 45vw;
    padding-bottom: 35vh;
    background-image: url("./img/bg_presta.webp");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    z-index: 1;
}

.mobile_presta_wall_content{
    display: none;
}

.presta_wall_content .btn_CTA{
    transform: translateY(0);
    transition: transform 0.6s ease;
}

.presta_wall .btn_CTA a{
    font-size: min(2vw, 2.2em);;
}

.presta_wall_content{
    display: flex;
    flex-direction: column;
    position: sticky;
    /* position: -webkit-sticky; */
    top: 30vh;
    margin-top: 25vh;
    align-items: center;
}

.presta_wall_content h2{
    color: var(--beige);
    font-family: "Alegreya Sans SC", sans-serif;
    font-size: 3.6em;
    font-weight: 300;
    transform: translateY(0);
    transition: transform 0.6s ease;
}

.presta_wall_content.extend h2{
    transform: translateY(-25vh);
    transition: transform .6s ease;
}

.presta_wall_content.extend .btn_CTA{
    transform:  translateY(550%);
    transition: transform .6s ease;
}

.presta_wall_content.extend .slide_card{
    display: flex;
    position: absolute;
    top: 0;
    visibility: visible;
}

.presta_wall_content.extend .slide_card#relax{
    top: -5vh;
}
.slide_card{
    display: none;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    scale: 1;
    visibility: hidden;
    color: var(--beige);
    text-align: center;
    transition: opacity .6s .2s ease, scale .4s ease;
}

.slide_card#relax{
    scale: 0.8;
}

.slide_card h3{
    margin: 0;
    margin-bottom: 4vh;
    margin-top: .5em;
    font-family: "Alegreya Sans SC", sans-serif;
    font-size: 2.8em;
    font-weight: 500;
    letter-spacing: 5px;
}

.slide_card span{
    padding: 15px;
}

.slide_card div span:first-child{
    font-size: 2.5em;
}

.slide_card div span:last-child{
    font-size: 1.5em;
}

.separate{
    width: 20vw;
    border: currentColor solid 2px;
    margin: 5vh;
}

.slide_card div:last-child{
    margin-bottom: 4vh;
}

.slide_card.visible{
    opacity: 1;
    scale: 1.2;
    transition: opacity .7s ease-out, scale .5s ease;
}

.slide_card.visible#relax{
    scale: 1;
}

@media screen and (max-width: 1200px) {
    .presta_wall{
        padding-bottom: 300px;
    }

    .presta_wall_content{
        margin-top: 280px;
    }
    
    .presta_wall_content h2{
        font-size: 2.5em;
    }

    .presta_wall_content.extend .btn_CTA{
        transform: translateY(250px);
    }

    .presta_wall_content.extend h2{
        transform: translateY(-230px);
    }

    .slide_card h3{
        font-size: 2.2em;
        margin-bottom: 24px;
    }

    .slide_card div span:last-child{
        font-size: 1em;
    }

    .slide_card div span:first-child{
        font-size: 1.7em;
    }

    .separate{
        margin: 40px;
    }

    #therapy{
        top: -55px;
    }
    
    .presta_wall_content.extend .slide_card #relax{
        top: -120px;
    }
}

@media screen and (max-width: 900px) {
    .presta_wall_content h2{
        text-align: center;
    }

    #therapy{
        top: -80px;
    }

    .presta_wall_content.extend .slide_card{
        scale: 1;
    }

    .slide_card{
        scale: 0.8;
    }
}

@media screen and (max-width: 700px) {
    .presta_content{
        width: 100%;
        height: 2320px;
    }

    .presta_wall{
        width: 100%;
        height: 2320px;
        padding: 0;
        position: absolute;
        z-index: -1;
    }

    .presta_wall_content{
        display: none;
    }

    .card{
        height: 600px;
    }

    .card h1{
        font-size: 2.5em;
        margin-bottom: 0;
    }

    .card h3{
        font-size: 1.2em;
    }

    .card_detail{
        height: 460px;
    }

    .card_detail .text_btn{
        bottom: 60px;
    }

    .text_btn.return{
        margin-top: 1.5em;
        font-size: 1.5em;
    }

    .text_btn.return svg{
        width: 30px;
        height: 20px;
        margin-top: 6px;
    }

    .mobile_presta_wall_content#mobile_therapy{
        height: 530px;
    }

    .mobile_presta_wall_content{
        display: flex;
        flex-direction: column;
        align-items: center;
        height: 600px;
        color: var(--beige);
        text-align: center;
    }

    .slide_content{
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .slide_content div span{
        font-size: 1em;
    }

    .slide_content div span:first-of-type{
        font-size: 1.6em;
        font-weight: 500;
    }

    .mobile_presta_wall_content h2{
        font-size: 2em;
    }

    .mobile_presta_wall_content h3{
        font-size: 1.8em;
    }

    .mobile_presta_wall_content .btn_CTA{
        margin-top: 55px;
    }

    .mobile_presta_wall_content .btn_CTA a{
        font-size: 1.5em;
    }

    .mobile_presta_wall_content .separate{
        margin: 20px;
    }
}

.promote{
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 180px;
    font-size: 1.2em;
}

.promote h2{
    font-size: 1.4em;
    margin: 0;
    margin-bottom: 10px;
}

.promote strong{
    cursor: default;
    font-size: 1.1em;
    font-weight: 600;
    text-decoration: none;
}

@media screen and (max-width: 700px) {
    .promote{
        font-size: .9em;
    }

    .promote h2{
        font-size: 1.2em;
    }

    .promote strong{
        font-size: 1em;
    }
}

.carousel_container{
    display: flex;
    position: relative;
    min-height: 550px;
    height: 65vh;
    width: 100%;
}

.carousel_container .counter{
    display: block;
    position: absolute;
    font-size: 1.2em;
    top: 1.2em;
    right: 2em;
    z-index: 1;
}

.slide_select,
.slide_select .arrow{
    position: absolute;
}

.slide_select svg{
    height: 35px;
    width: 35px;
}

.slide_select{
    display: flex;
    bottom: 4em;
    left: 2em;
    z-index: 1;
}

.slide_select .right{
    left: 50px;
}

.carousel_wrapper{
    overflow-x: scroll;
}

.carousel_wrapper::-webkit-scrollbar{
    display: none;
}

.carousel_content{
    display: flex;
    flex-direction: row;
    margin: 0;
    padding: 0;
    height: 100%;
    list-style: none;
}

.carousel_wrapper .carousel_content{
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 60vw;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: 0;
}

.carousel_content::-webkit-scrollbar{
    display: none;
}

.carousel_content.no_transition{
    scroll-behavior: auto;
}

.slide{
    scroll-snap-align: center;
    height: 100%;
    width: 100%;
}

.slide_select.no_drag{
    display: none;
    visibility: hidden;
}

.counter h3.no_drag{
    display: none;
    visibility: hidden;
}

.slide div{
    height: 100%;
    width: 100%;
    background-position: center;
    background-size: cover;
}

.slide .img1{
    background-image: url("./img/slide/slide_1.webp");
}
.slide .img2{
    background-image: url("./img/slide/slide_2.webp");
}
/*.slide .img3{
    background-image: url("./img/slide/slide_3.webp");
}*/
.slide .img4{
    background-image: url("./img/slide/slide_4.webp");
}
.slide .img5{
    background-image: url("./img/slide/slide_5.webp");
}
.slide .img6{
    background-image: url("./img/slide/slide_6.webp");
}
/*.slide .img7{
    background-image: url("./img/slide/slide_7.webp");
}*/

@media screen and (max-width: 1200px) {
    .carousel_container{
        max-height: none;
        height: 600px;
    }
    
    .carousel_wrapper .carousel_content{
        grid-auto-columns: 100vw;
        scroll-snap-type: none;
    }
}

@media screen and (max-width: 900px){
    .carousel_container{
        max-height: 400px;
        min-height: 0;
    }
    
    .carousel_container .counter h3{
        display: none;
    }
    
    .slide_select{
        display: none;
    }
}

@media screen and (max-width: 700px) {
    .carousel_container{
        max-height: 300px;
    }
}

.career_container{
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
    height: 120vh;
}

.career_content{
    display: flex;
    flex-direction: column;
    position: relative;
    height: 100%;
    width: 55vw;
    align-items: center;
}

.text_left{
    text-align: left;
}

.career_content h1{
    font-family: "Alegreya Sans SC", sans-serif;
    font-size: min(5em, 4vw);
}

.career_text_container{
    overflow-y: scroll;
    padding: 0 2em 0 2em;
    border-radius: 2em;
    margin: 0 1em 0 1em;
}

.career_text_container p{
    text-align: center;
}

.career_text_container ul{
    font-size: 1.2em;
}

.career_text_container li span{
    font-weight: 500;
}

.career_text_container::-webkit-scrollbar{
    width: .5em;
    height: 60vh;
}

.career_text_container::-webkit-scrollbar-thumb{
    margin-right: 10px;
    border-radius: .5em;
    background-color: var(--darkgreen);
}

.career_text_container p{
    font-size: 1.4em;
    margin: 0;
    padding-bottom: 8vh;
}

.fern_container svg{
    height: 200px;
    stroke: var(--darkgreen);
    fill: var(--darkgreen);
    stroke-width: 2px;
}

.career_wall{
    margin: 0;
    padding: 0;
    width: 45vw;
    height: 100%;
}

.career_wall .bg_career{
    background-image: url(./img/bg_career_alt.webp);
    background-position: center;
    background-size: cover;
    height: 100%;
    width: 100%;
}

@media screen and (max-width: 1200px) {
    .career_container{
        height: 1100px;
    }

    .career_wall .bg_career{
        background-position: right;
    }

    .career_content h1{
        font-size: 3em;
        margin: 30px 0;
    }

    .career_text_container{
        height: 800px;
    }

    .career_text_container p{
        font-size: 1.1em;
        padding-bottom: 48px;
    }

    .fern_container{
        bottom: 3em;
    }

    .fern_container svg{
        height: 180px;
    }
}

@media screen and (max-width: 900px) {
    .career_wall{
        width: 40vw;
    }

    .career_content{
        width: 60vw;
    }

    .career_container{
        height: 1000px;
    }

    .career_content h1{
        font-size: 2.3em;
    }

    .career_text_container{
        height: 750px;
    }
    
    .career_text_container ul{
        font-size: 1em;
    }

    .fern_container svg{
        height: 130px;
    }
}

@media screen and (max-width: 700px){
    .career_container{
        height: 100vh;
    }

    .career_text_container{
        height: 70vh;
    }

    .career_text_container ul{
        font-size: 1.1em;
    }

    .career_wall{
        display: none;
    }
    
    .career_content{
        width: 100%;
    }
}


/* -- module review -- */

.review_container{
    display: flex;
    flex-direction: row;
    height: 45vh;
    min-height: 400px;
    padding: 3em;
}

.review_left_container{
    display: flex;
    flex-direction: column;
    position: relative;
    width: 45vw;
    height: 100%;
}

.review_title h1{
    margin: 0;
    font-family: "Alegreya Sans SC", sans-serif;
    font-size: min(4em, 4vw);
}

.review_name{
    position: absolute;
    margin-bottom: 3vh;
    bottom: 50px;
    left: 0;
}

.name_review{
    font-size: 2.2em;
    font-weight: 500;
    letter-spacing: 0.12em;
    opacity: 0;
    transform: translateY(20px);
}

.name_review.active{
    opacity: 1;
    transform: translateY(0);
    transition: opacity .5s .3s ease-out, transform .3s .3s ease;
}

.review_select{
    position: absolute;
    bottom: 0;
    left: 0;
}

.review_select .arrow{
    padding: 0;
}

.review_select .arrow.right{
    margin-left: 12px;
}

.review_right_container{
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.review_right_container .counter{
    position: absolute;
    right: 0;
    top: 0;
}

.review_right_container .counter h3{
    font-size: 1.8em;
    margin: 0;
}

.review_text_container{
    display: flex;
    align-items: center;
    position: relative;
    text-align: center;
    max-width: 45vw;
    margin: 3em;
    margin-right: 10vw;
    padding: 2em;
}

.review_text_container svg{
    opacity: 0;
}

.review_text_container p{
    font-size: 1.8em;
    font-weight: 200;
    opacity: 0;
    transform: translateY(20px);
}

.review_text_container p.active{
    opacity: 1;
    transform: translateY(0);
    transition: opacity .5s .2s ease-out, transform .3s .2s ease;
}

.review_text_container svg.active{
    opacity: 1;
    transition: opacity .4s .1s ease-out;
}

@media screen and (max-width: 1200px) {
    .review_container{
        height: 360px;
        min-height: auto;
        padding: 2em;
    }

    .review_text_container p{
        font-size: 1.4em;
    }

    .review_name{
        bottom: 35px;
        margin-bottom: 10px;
    }

    .name_review{
        font-size: 2em;
    }
}

@media screen and (max-width: 900px) {
    .review_container{
        height: 280px;
        padding: 1.2em;
    }

    .review_title{
        position: absolute;
        top: 0;
        left: 0;
    }

    .review_title h1{
        position: absolute;
        width: 280px;
    }

    .review_right_container .counter h3{
        font-size: 1.5em;
    }

    .name_review{
        font-size: 1.8em;
    }

    .review_text_container{
        margin: 0;
        max-width: 600px;
    }
}

@media screen and (max-width: 700px){
    .review_container{
        flex-direction: column-reverse;
        height: 480px;
    }

    .review_left_container{
        width: 100%;
        height: 100px;
    }

    .review_right_container{
        height: 300px;
    }

    .review_right_container .counter{
        top: -75px;
    }

    .review_right_container .counter h3{
        font-size: 1.2em;
    }

    .review_title{
        top: -380px;
    }

    .review_title h1{
        font-size: 1.8em;
    }

    .review_name, .review_select{
        left: 50%;
        transform: translateX(-50%);
    }

    .review_select svg{
        width: 30px;
        height: 30px;
    }

    .review_name{
        bottom: 20px;
    }

    .name_review{
        font-size: 1.5em;
    }
}

/* -- contact -- */

.contact_container{
    display: flex;
    flex-direction: column;
    width: 100%;
}

#contact_content .text_btn{
    font-size: 2.2em;
}

.contact_content{
    position: relative;
    width: 50%;
}

.detail_container{
    display: flex;
    flex-direction: row;
    position: relative;
    height: 75vh;
    min-height: 750px;
    width: 100%;
}

.contact_img:first-child{
    background-image: url(./img/contact_img2.webp);
}

.contact_img:last-child{
    background-image: url(./img/contact_img1.webp);
}

.contact_img{
    background-position: center;
    background-size: cover;
    height: 100%;
    width: 50%;
}

.contact_text_container{
    margin: 3em;
    margin-left: 4em;
}

.contact_text_container h1{
    font-family: "Alegreya Sans SC", sans-serif;
    margin-top: 0;
    font-size: min(5em, 4vw);
}

.address_content{
    display: flex;
    flex-direction: column;
    width: 100%;
}

.address_content details{
    width: 35vw;
    padding: 1.5em;
}

.address_content summary{
    width: 20vw;
    user-select: none;
    list-style: " + ";
    font-family: "EB Garamond", serif;
    font-size: 2.2em;
    font-weight: 400;
}

.address_content summary span{
    display: block;
    overflow: hidden;
}

.address_content i{
    display: block;
    font-size: 1.1em;
    font-weight: 600;
    margin-top: 15px;
}

.address_content summary span::after{
    content: '';
    position: relative;
    display: block;
    height: 1px;
    width: 100%;
    bottom: 0;
    right: 0;
    margin-top: 10px;
    background-color: var(--darkgreen);
    transform: translate3d(-100%,0,0);
    opacity: 0;
    transition: opacity 0.3s ease, transform .3s ease;
}

.address_content summary:hover span::after{
    opacity: 1;
    transform: translate3d(0,0,0);
    transition: opacity 0.3s ease, transform .3s ease;
}

.address_content summary:hover{
    cursor: pointer;
}

.address_content details[open] summary{
    list-style: " - ";
}

.address_content details[open] summary span::after{
    opacity: 1;
    transform: translate3d(0,0,0);
}

.address_content details p i{
    font-size: .7em;
}

details .text_btn{
    margin-top: 30px;
}

.contact_container .text_btn span::after{
    background-color: var(--darkgreen);
}

#contact_content .text_btn svg{
    margin-left: 6px;
}

#contact_content .text_btn:hover svg,
#contact_content .text_btn:focus svg{
    margin-left: 20px;
}


.contact_container svg{
    height: 1em;
    margin-top: 4px;
    margin-left: 0;
    transition: margin-left 200ms;
    transition-delay: 100ms;
}
.contact_container svg circle,
.contact_container svg path{
    stroke: var(--darkgreen);
}

.contact_text_container p{
    font-size: 1.6em;
}

.contact_text_container p span{
    font-size: 1.6em;
}

u{
    font-size: 1.3em;
}

.social{
    display: flex;
    position: absolute;
    flex-wrap: wrap;
    align-items: center;
    bottom: 50px;
}

.social div{
    display: flex;
    flex-direction: row;
    gap: 20px;
}

.social h1{
    font-size: 2.8em;
    font-weight: 400;
    letter-spacing: normal;
    margin: 0;
    padding-right: 30px;
}

.social button{
    border-style: none;
    background-color: transparent;
}

.social button svg{
    display: block;
    height: 60px;
    width: auto;
}

.social button svg path{
    stroke-width: 1;
    fill: var(--beige);
    stroke: var(--darkgreen);
    transition: all .3s ease-in;
}

.social button:hover svg path{
    fill: var(--darkgreen);
    stroke: var(--beige);
    cursor: pointer;
    transition: all .3s ease-in;
}

.social button:hover svg path:first-child{
    stroke: var(--darkgreen);
}


@media screen and (max-width: 1200px) {
    .detail_container{
        height: 550px;
        min-height: auto;
    }

    .contact_text_container{
        margin: 1.8em;
        margin-left: 2em;
    }

    .contact_text_container h1{
        margin-bottom: 20px;
        font-size: 2.8em;
    }

    .address_content details{
        width: 320px;
        padding: 1em;
        padding-left: 2em;
        padding-bottom: 0;
    }

    .address_content summary{
        width: 250px;
        font-size: 2em;
    }

    .address_content .text_btn{
        margin: 30px 0;
    }

    .address_content i{
        font-size: .95em;
    }

    .contact_text_container p{
        font-size: 1.2em;
    }

    #contact_content .text_btn{
        font-size: 1.5em;
        margin-top: 40px;
    }

    #contact_content p{
        font-size: 1.4em;
    }

    .social{
        flex-direction: column;
        align-items: unset;
        text-align: center;
        width: fit-content;
    }

    .social div{
        display: flex;
        width: 100%;
        justify-content: center;
    }

    .social h1{
        font-size: 1.85em;
        width: 100%;
        padding: 0;
    }

    .social button svg{
        padding: 0;
    }

    #contact_content .text_btn svg{
        margin-left: 0;
    }

    #contact_content .text_btn:hover svg, 
    #contact_content .text_btn:focus svg{
        margin-left: 10px;
    }
}

@media screen and (max-width: 900px) {
    .contact_text_container{
        margin: 1.6em;
    }

    .contact_text_container h1{
        font-size: 2.1em;
    }

    .address_content details{
        padding: .9em;
        width: 100%;
    }

    .address_content .text_btn{
        font-size: 1.4em;
    }

    .address_content i{
        font-size: .8em;
    }

    #contact_content{
        margin: 1.4em;
    }

    #contact_content p{
        font-size: 1.2em;
    }

    #contact_content .text_btn{
        font-size: 1.3em;
    }

    #contact_content .text_btn svg{
        width: 30px;
    }

    u{
        font-size: 1em;
    }

    .social h1{
        font-size: 1.8em;
    }

    .social button svg{
        height: 48px;
    }
}

@media screen and (max-width: 700px){
    .contact_container .detail_container:last-child{
        flex-direction: column-reverse;
    }

    .detail_container{
        flex-direction: column;
        height: 750px;
    }

    .contact_content{
        width: 100%;
        height: 570px;
    }

    .contact_img{
        height: 250px;
        width: 100%;
    }

    .social{
        width: 100%;
        left: 0;
        flex-direction: column;
        align-items: center;
    }

    /*.social div{
        width: auto;
    }*/

    .social h1{
        font-size: 1.6em;
        width: auto;
        margin-bottom: 0;
    }
}

/* -- footer -- */

footer{
    height: 35vh;
    min-height: 300px;
}

.foot_container{
    display: flex;
    position: relative;
    flex-direction: column;
    justify-content: end;
    align-items: center;
    height: 100%;
}

.foot_container div{
    display: flex;
    flex-direction: row;
    gap: 1vw;
    padding: 5px;
}

#foot_content{
    position: absolute;
    top: 0;
    margin-top: 2vh;
    width: 100%;
    justify-content: space-around;
    font-size: 1.1em;
}

#foot_content div{
    flex-direction: column;
    align-items: center;
    width: 20vw;
}

#foot_content h3{
    font-size: 1.5em;
    font-weight: 500;
    margin: 0;
}

#foot_content button{
    border: none;
    background-color: transparent;
}

#foot_content button svg{
    height: 40px;
    width: auto;
    fill: var(--darkgreen);
    transition: fill .3s ease-in;
}

#foot_content button path{
    stroke: var(--beige);
    stroke-width: 1;
    transition: stroke .3s ease-in;
}

#foot_content button:hover path,
#foot_content button:focus path{
    stroke: var(--darkgreen);
    stroke-width: 1.5;
    transition: stroke .3s ease-in;
}

#foot_content button:hover path:first-child,
#foot_content button:focus path:first-child{
    stroke: var(--beige);
    stroke-width: 1;
}

#foot_content button:hover svg,
#foot_content button:focus svg{
    fill: var(--beige);
    transition: fill .3s ease-in;
}


#mention{
    flex-direction: column;
    align-items: center;
    gap: 0;
    width: 100%;
    font-size: .95em;
    font-weight: 500;
    padding-top: 1vh;
}

.foot_container p{
    display: flex;
    flex-direction: row;
    margin: 0;
    padding: 0;
}

.foot_container p a{
    text-decoration: underline;
}

.foot_container .separate{
    height: 100%;
    width: 0;
    margin: 0;
    padding: 0;
    border: solid 1px var(--darkgreen);
}

data{
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

data::after{
    content: "";
    font-style: italic;
    opacity: 0;
    transition: opacity .2s ease;
}

data:hover::after,
data:focus::after{
    content: attr(value);
    opacity: 1;
    transition: opacity .4s .2s ease;
}

@media screen and (max-width: 1200px) {
    footer{
        height: 300px;
    }

    data:hover::after,
    data:focus::after{
        font-size: .6em;
    }
}

@media screen and (max-width: 900px) {
    footer{
        height: 260px;
        min-height: auto;
    }

    #foot_content{
        font-size: .95em;
    }

    #foot_content div{
        width: 25vw;
    }

    #foot_content h3{
        font-size: 1.2em;
    }

    data:hover::after,
    data:focus::after{
        font-size: .8em;
    }
}

@media screen and (max-width: 700px) {
    footer{
        height: 70px;
    }

    #foot_content{
        display: none;
    }

    #mention{
        background-color: var(--darkgreen);
        color: var(--beige);
        justify-content: end;
        height: 70px;
        font-size: .6em;
    }
}

@media screen and (max-width: 375px) {
    .home_title{
        font-size: 2.2em;
    }

    .btn_CTA a{
        font-size: 1.4em;
    }

    nav.open li{
        font-size: 1.3em;
    }

    .quote_container{
        height: 450px;
    }

    .quote_author{
        font-size: .7em;
    }

    .card p{
        font-size: 1em;
    }

    span.filigrane{
        font-size: 1em;
    }

    .career_text_container p{
        font-size: 1em;
    }

    .review_text_container p{
        font-size: 1.2em;
    }

    #mention{
        font-size: .5em;
    }
}

.animate u{
    font-size: larger;
    font-weight: 600;
}

/*__FontStyle__*/

.eb_garamond{
    font-family: "EB Garamond", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

.alegreya_thin{
    font-family: "Alegreya Sans SC", sans-serif;
    font-weight: 300;
    font-style: normal;
}