@import url('https://fonts.googleapis.com/css2?family=Titillium+Web:ital,wght@0,200;0,300;0,400;0,600;0,700;0,900;1,200;1,300;1,400;1,600;1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,500;1,600;1,700;1,800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Urbanist:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
    --splash-bg-color: rgb(32, 32, 32);
}

body{
    margin: 0;
    padding: 0;
    min-height: 600px;
}

#home_page{
    height: 100vh; /* Fallback for browsers that do not support Custom Properties */
    height: calc(var(--vh, 1vh) * 100);
    min-height: 600px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

#home_background_video{
    display: block; 
    width: 100%;
    height: 90vh;
    position: absolute;
    z-index: 1;
    background: none !important;
    background-color: white;
}

html {
    scroll-behavior: smooth;
}

/*====================================== MENU =========================================*/

#contact_info_container{
    width: 100%;
    height: 35px;
    position: absolute;
    top: 0;
    color: black;
    -webkit-box-shadow: 0px 0px 20px -8px rgba(0,0,0,0.24); 
    box-shadow: 0px 0px 20px -8px rgba(0,0,0,0.24);
    display: flex;
    justify-content: space-between;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
}

.contact_info_subcontainer{
    display: flex;
    align-items: center;
}

.contact_info_subcontainer p{
    margin-top: 0;
    margin-bottom: 0;
    margin-left: 2vw;
    margin-right: 2vw;
    font-size: clamp(13px, 0.8vw, 20px);
}

#menu{
    z-index: 3;
    position: absolute;
    width: 100%;
    margin: 0;
    padding: 0;
    top: 55px;
    font-family: 'Montserrat', sans-serif;
    box-sizing: border-box;
}

#home_menu_interior_container{
    width: 90%;
    margin: auto;
    display: flex;
    justify-content: flex-end;
    box-sizing: border-box;
}

#menu_items{
    box-sizing: border-box;
    list-style: none;
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    font-family: 'Montserrat', sans-serif;
    padding: 0;
}

#right_menu_items{
    box-sizing: border-box;
}

.menu_item{
    margin-right: 1.5vw;
    margin-left: 1.5vw;
    box-sizing: border-box;
}

.menu_item a{
    box-sizing: border-box;
    text-decoration: none;
    color: black;
    font-weight: 400;
    letter-spacing: 0.1vw;
    padding: 10px;
    text-transform: uppercase;
    font-size: 0.8vw;
}

#right_menu_items .menu_item{
    box-sizing: border-box;
    padding-bottom: 7px;
    border-bottom: 1px solid transparent;
    transition: border-bottom 0.4s;
}

#right_menu_items .menu_item:hover{
    border-bottom: 1px solid gray;
}

.menu_items_subcontainer{
    box-sizing: border-box;
    display: flex;
}

#logo_container{
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: 'Montserrat', sans-serif;
    width: 100%;

    position: absolute;
    z-index: 2;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#logo{
    height: max(6vw, 65px);
    margin-bottom: 1vw;
}

#logo_text{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
}

#logo_text h1{
    font-weight: 400;
    color: rgb(51, 51, 51);
    font-size: max(2.3vw, 20px);
    margin: 0;
}

#logo_text h2{
    font-weight: 200;
    color: rgb(51, 51, 51);
    font-size: max(1.6vw, 15px);
    margin: 0;

}

.menu_languages{
    height: max(1.5vw, 20px);
    width: max(6vw, 80px);
    list-style: none;
    padding: 0;
    display: flex;
}

.mobile_menu_language{
    color: white;
    margin-left: 30px;
    margin-right: 30px;
}

.mobile_menu_language:hover{
    cursor: pointer;
}

.language_selected{
    background-color: var(--splash-bg-color);
    color: white!important;
    border-radius: 12px;
}

.mobile_language_selected{
    border: 1px solid white;
    border-radius: 12px;
}

.language{
    flex-grow: 1;
    height: 100%;
}

.language a{
    color: black;
    font-size: max(0.8vw, 12px);
    font-weight: 500;
    text-align: center;
    height: 100%;
    padding: 0;
    cursor: pointer;
    display: block;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}


#nav{
    display: none;
    width: 100%;
}

#menu_languages_mobile{
    display: none;
    position: absolute;
    left: 10%;
    top: 10%;
    font-family: 'Montserrat', sans-serif;
}

#menu_mobile_list{
    padding: 0;
    position: absolute;
    width: 100%;
}

.nav__toggle {
    display: inline-block;
    position: absolute;
    z-index: 10;
    padding: 0;
    border: 0;
    background: transparent;
    outline: 0;
    right: 10%;
    top: 10%;
    cursor: pointer;
    border-radius: 50%;
    transition: background-color 0.10s linear;
  }
  .nav__menu {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: var(--screen-height);
    margin-top: 20vh;
    z-index: 10;
    visibility: hidden;
    list-style: none;
  }
  .nav__item {
    opacity: 0;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.2s cubic-bezier(0, 0.995, 0.99, 1) 0.3s;
    display: block;
    width: fit-content;
  }
  .nav__item:nth-child(1) {
    transform: translateY(-40px);
  }
  .nav__item:nth-child(2) {
    transform: translateY(-80px);
  }
  .nav__item:nth-child(3) {
    transform: translateY(-120px);
  }
  .nav__item:nth-child(4) {
    transform: translateY(-160px);
  }
  .nav__item:nth-child(5) {
    transform: translateY(-200px);
  }
  .nav__item:nth-child(6) {
    transform: translateY(-240px);
  }
  .nav__item:nth-child(7) {
    transform: translateY(-280px);
    margin-top: 50px;
    display: flex;
  }
  .nav__link {
    color: white;
    display: block;
    text-align: center;
    text-transform: uppercase;
    font-size: 1rem;
    text-decoration: none;
    padding: 1rem;
  }
  .nav__link:hover, .nav__link:focus {
    outline: 0;
    background-color: rgba(0, 0, 0, 0.027);
  }
  
  .menuicon {
    display: block;
    cursor: pointer;
    color: black;
    transform: rotate(0deg);
    transition: 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  }
  .menuicon__bar, .menuicon__circle {
    fill: none;
    stroke: currentColor;
    stroke-width: 3;
    stroke-linecap: round;
  }
  .menuicon__bar {
    transform: rotate(0deg);
    transform-origin: 50% 50%;
    transition: transform 0.25s ease-in-out;
  }
  .menuicon__circle {
    transition: stroke-dashoffset 0.3s linear 0.1s;
    stroke-dashoffset: 144.513262038;
    stroke-dasharray: 144.513262038;
  }
  
  .splash {
    position: fixed;
    z-index: 9;
    top: 40px;
    right: 40px;
    width: 1px;
    height: 1px;
  }
  .splash::after {
    content: "";
    display: block;
    position: absolute;
    border-radius: 50%;
    background-color: var(--splash-bg-color);
    width: 284vmax;
    height: 284vmax;
    top: -142vmax;
    left: -142vmax;
    transform: scale(0);
    transform-origin: 50% 50%;
    transition: transform 0.5s cubic-bezier(0.755, 0.05, 0.855, 0.06);
    will-change: transform;
  }

  .nav:target > .splash::after,
  .nav--open > .splash::after {
    transform: scale(1);
  }
  .nav:target .menuicon,
  .nav--open .menuicon {
    color: white;
    transform: rotate(180deg);
  }
  .nav:target .menuicon__circle,
  .nav--open .menuicon__circle {
    stroke-dashoffset: 0;
  }
  .nav:target .menuicon__bar:nth-child(1), .nav:target .menuicon__bar:nth-child(4),
  .nav--open .menuicon__bar:nth-child(1),
  .nav--open .menuicon__bar:nth-child(4) {
    opacity: 0;
  }
  .nav:target .menuicon__bar:nth-child(2),
  .nav--open .menuicon__bar:nth-child(2) {
    transform: rotate(45deg);
  }
  .nav:target .menuicon__bar:nth-child(3),
  .nav--open .menuicon__bar:nth-child(3) {
    transform: rotate(-45deg);
  }
  .nav:target .nav__menu,
  .nav--open .nav__menu {
    visibility: visible;
  }
  .nav:target .nav__item,
  .nav--open .nav__item {
    opacity: 1;
    transform: translateY(0);
  }


/*-------------------------------------- WS ------------------------------------------*/

#ws{
    width: 100%;
    height: 120vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
}

#ws_container{
    width: 70%;
    height: 70%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    column-gap: 100px;
}

#ws_info_container{
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.title_deco{
    width: 30px;
    margin-right: 20px;
    display: flex;
    justify-content: space-between;
}

.title_deco div:nth-child(1){
    width: 4px;
    background-color: rgb(54, 197, 109, 0.5);
}

.title_deco div:nth-child(2){
    width: 6px;
    background-color: rgba(34, 190, 177, 0.5);
}

.title_deco div:nth-child(3){
    width: 8px;
    background-color: rgba(45, 163, 65, 0.5);
}

#ws_info_title_container{
    display: flex;
    box-sizing: border-box;
    padding-top: 20px;
}

#ws_info_text_container{
    height: 100%;
    position: relative;
}

#ws_info_title_subcontainer{
    display: flex;
    flex-direction: column;
    width: 100%;
}

#ws_info_title_subcontainer h2{
    margin: 0;
    font-weight: 300;
    font-size: 1.6vw;
    color: rgb(92, 92, 92);
    margin-right: 10px;
}

#ws_info_title_subcontainer h1{
    margin: 0;
    font-weight: 400;
    font-size: 1.7vw;
}

#ws_info_text_subcontainer{
    box-sizing: border-box;
    z-index: 2;
    width: 100%;
    height: 100%;
    background-color: white;
    display: flex;
    flex-direction: column;
    justify-content: flex-end ;

}


#ws_info_text_subcontainer ul{
    list-style: none;
    margin: 0;
    padding: 0;
    line-height: 2vw;
}

#ws_info_text{
    line-height: 25px;
    font-size: 1vw;
}

.link_container{
    box-sizing: border-box;
    display: block;
    padding: 0;
    margin: 0;
    margin-top: 40px;
    display: flex;
    align-items: center;
    width: fit-content;
    
    display: flex;
    justify-content: space-between;
    text-decoration: none;
    transition: 0.5s;
    color: rgb(100, 100, 100);
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;

    border-radius: 40px;
}

.link_container:hover{
    cursor: pointer;
    background-color: rgb(63, 63, 63);
    color: white;

    transform: scale(1.05);
}

.link_container .link_deco{
    filter: brightness(0) invert(0.4);
}

.link_container:hover .link_deco{
    filter: brightness(0) invert(1);
}

.link_container p{
    margin-left: 1.5vw;
    font-size: 0.8vw;
}

#ws_image_container{
    width: 100%;
    height: 80%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

#ws_image{
    height: 85%;
    background-image: url('/v2/ressources/images/TG_200521_Staszewicz_8990.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 5px;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

#ws_deco .deco_square{
    background: rgb(99,197,53);
}

.link_deco{
    width: 20px;
    height: 20px;
    margin-right: 20px;
    margin-left: 50px;
    background-image: url('/v2/ressources/images/arrow.png');
    background-position: center;
    background-size: contain;
}

#ws_image_home_page{
    width: 80%;
}

#ws_quote_text{
    margin-bottom: 10%;
}

#ws_quote_text h4{
    font-family: 'EB Garamond', serif;
    font-style: italic;
    font-size: 1.9vw;
    font-weight: 200;

    display: flex;
    flex-direction: column;
}

#ws_quote_text h4 span{
    margin-top: 4%;
    font-style: normal;
    font-weight: 400;
    font-size: 70%;
}

/*===============================CABINET=============================*/

#cabinet{
    width: 100%;
    height: 70vh;
    display: flex;
    font-family: 'Montserrat', sans-serif;
}

#cabinet_time{
    position: absolute;
    bottom: 15%;
    right: 15%;
}

#cabinet_container{
    width: 100%;
    height: 100%;
    position: relative;
}

#cabinet_left_container{
    position: relative;
    width: 50%;
    height: 100%;
    box-shadow: inset 0px 12px 19px -8px rgba(177, 177, 177, 0.151), inset 0px -12px 19px -8px rgba(177, 177, 177, 0.151);

    background: rgb(255,255,255);
    background-image:url('/v2/ressources/images/logo_WS_2021_corner_ld.jpg');
    background-position: left bottom -150px;
    background-size: 600px;
    background-repeat: no-repeat;
}

#cabinet_right_container{
    width: 50%;
    height: 100%;
    background-image: url('/v2/ressources/images/TG_220526_Staszewicz_4219-HDR.jpg');
    background-position: center;
    background-size: cover;

    transition: 2s;
}

#cabinet_time_container{
    width: 18vw;
    display: flex;
    flex-direction: column;
}

#cabinet_title_subcontainer h2{
    margin: 0;
    font-weight: 300;
    font-size: 1.6vw;
    color: rgb(92, 92, 92);
    margin-right: 10px;
}

#cabinet_title_subcontainer h1{
    margin: 0;
    font-weight: 400;
    font-size: 1.7vw;

}

#cabinet_time_upper_subcontainer h2{
    font-weight: 500;
    font-size: 1.2vw;
    margin-left: 20px;
}

#cabinet_time_lower_subcontainer{
    color: rgb(58, 58, 58);

    border-radius: 10px;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    background-color: white;

    position: relative;
    padding: 20px 30px 20px 30px;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 3vw 2vw 2vw;
    grid-template-areas: 
        "d d"
        "am amh"
        "pm pmh";
    
}

#cabinet_time_information{
    display: block;
    position: absolute;
    bottom: -3vw;
    right: 15px;
    font-weight: 300;
    color: rgb(112, 112, 112);
    font-size: 1vw;
}

#cabinet_time_lower_subcontainer p{
    margin: 0;
}

#days{
    font-weight: 500;
    font-size: 1vw;
    grid-area: d;
}

#morning{
    grid-area: am;
    font-size: 0.9vw;
    align-self: start;
    text-align: start;
}

#afternoon{
    grid-area: pm;
    font-size: 0.9vw;
    align-self: start;
    text-align: start;
}

.hours{
    font-size: 0.9vw;
    text-align: end;
    font-weight: 500;
}

#cabinet_text_container{
    position: absolute;
    left: 15%;
    top: 15%;
}

#cabinet_text_title_container{
    display: flex;
}

#cabinet_main_text{
    width: 70%;
    font-size: 1vw;
    line-height: 1.5vw;
}

#cabinet_link_wrapper{
    width: 30%;
}


/*============================COMPETENCES==========================*/

#competence{
    width: 100%;
    box-sizing: border-box;
    padding-top: 25vh;
    margin-bottom: 18vh;
    font-family: 'Montserrat', sans-serif;

    background-image: url("/v2/ressources/images/logo_WS_2021_ru.jpg");
    background-size: 500px;
    background-repeat: no-repeat;
    background-position: right 0 top 0;
}

#competence_wrapper{
    margin: auto;
    box-sizing: border-box;
    padding-left: 50px;
    padding-right: 50px;
    padding-top: 20px;
    padding-bottom: 40px;
    width: 70%;
}

#competence_title_container{
    display: flex;
    width: 100%;
    margin-bottom: 15vh;
    flex-direction: column;
    align-items: center;
}

#competence_title_container h2{
    margin: 0;
    font-weight: 300;
    font-size: 26px;
    color: rgb(92, 92, 92);
    margin-right: 10px;
}

#competence_title_container h1{
    margin: 0;
    font-weight: 400;
    font-size: 1.7vw;
}

#competence_container{
    height: auto;
    margin: auto;
    margin-bottom: 80px;
    box-sizing: border-box;

    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto;
    column-gap: 50px;
    row-gap: 10px;
}

#competence_container p{
    display: block;
    flex-grow: 1;
    box-sizing: border-box;
    padding: 15px;
    margin: 0;

    border-bottom: 1px solid rgb(196, 196, 196);
    font-size: 1vw;
}

#competence_link_wrapper{
    margin: auto;
}
#competence_information_container{
    box-sizing: border-box;
    border-radius: 15px;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    padding: 50px;
}


/*=========================COLABORATION=======================*/

#collaborations{
    width: 100%;
    padding-top: 70px;
    padding-bottom: 70px;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
    background-repeat: no-repeat;
    background-size: 35vw;
    background-position: bottom 0 right 0;
}

#collaborations_title_container{
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 10px;
}

#collaborations_title_container h2{
    color: black;
    font-size: 17px;
    font-weight: 300;
    margin: 0;
}

#collaborations_title_container h3{
    color: black;
    font-size: 1vw;
    font-weight: 500;
}

#collaborations_container{
    width: 100%;
    border-top: 1px solid rgb(192, 192, 192);
    border-bottom: 1px solid rgb(192, 192, 192);
}

#collaborations_logos_container{
    width: 80%;
    padding-top: 10px;
    padding-bottom: 10px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.collaboration_logo_container{
    width: 120px;
    height: 90px;
}

.collaboration_logo_container a{
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    box-sizing: border-box;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    transition: 0.2s;
    filter: brightness(0) invert(0.15);
}

.collaboration_logo_container a:hover{
    transform: scale(1.05);
    filter: brightness(1) invert(0);
}

.collaboration_logo_container:nth-child(1) a{
    background-image: url("/v2/ressources/images/CliniqueBoisCerfCecil-removebg-preview.png");
}

.collaboration_logo_container:nth-child(2) a{
    background-image: url("/v2/ressources/images/cliniqueMontchoisis-removebg-preview.png");
}

.collaboration_logo_container:nth-child(3) a{
    background-image: url("/v2/ressources/images/clinqueSource-removebg-preview.png");
}

.collaboration_logo_container:nth-child(4) a{
    background-image: url("/v2/ressources/images/hug-removebg-preview.png");
}

.collaboration_logo_container:nth-child(5) a{
    background-image: url("/v2/ressources/images/mvsante-removebg-preview.png");
}

.collaboration_logo_container:nth-child(6) a{
    background-image: url("/v2/ressources/images/poly-removebg-preview.png");
}

.collaboration_logo_container:nth-child(7) a{
    background-image: url("/v2/ressources/images/lll-removebg-preview.png");
}

.collaboration_logo_container:nth-child(8) a{
    background-image: url("/v2/ressources/images/ordre_malte-removebg-preview.png");
}


.collaboration_logo_container:nth-child(9) a{
    background-image: url("/v2/ressources/images/Fondation_Le_Point_d\'Eau_Lausanne_no_background.png");
}



/*=============================== CONTACT ================================*/

#contact{
    box-sizing: border-box;
    padding-top: 10%;
    width: 100%;
    position: relative;
    font-family: 'Montserrat', sans-serif;
}

#contact_wrapper{
    width: 100%;
    height: 80%;
    margin-bottom: 150px;

    display: flex;
    justify-content: space-around;
}

#contact_info{
    height: fit-content;
    width: 40%;

    background-color: white;

    box-sizing: border-box;
    padding: 40px;

    border-radius: 16px;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    border: 1px solid rgba(255, 255, 255, 0.23);
}

#contact_image_container{
    width: 40%;
}

#contact_image{
    width: 100%;
    height: 80%;
    background-image: url("/v2/ressources/images/TG_220526_Staszewicz_4235.jpg");
    background-position: center;
    background-size: cover;
    border-radius: 10px;
}

#contact_info h2{
    font-weight: 300;
    font-size: 25px;
    font-weight: 400;
}

#contact_info h4{
    border-top: 1px solid rgba(27, 27, 27, 0.192);
    padding-top: 20px;
    font-weight: 400;
    font-size: 18px;
}

.contact_info{
    font-weight: 400;
    font-size: 13px;
    margin: 10px;
    color: rgb(58, 58, 58);
}

#map {
    height: 500px;
    width: 90%;
    margin: auto;
    margin-bottom: 150px;
}

iframe{
    border-radius: 15px;
}


/*===================== FOOTER ===========================*/

footer{
    width: 100%;
    height: 150px;
    box-sizing: border-box;
    padding: 20px;
    background-color: var(--splash-bg-color);
    display: flex;
    justify-content: start;
    font-family: 'Montserrat', sans-serif;
    color: white;
    position: relative;
}

#copyright{
    font-size: clamp(10px, 1vw, 15px);
}

#social_media_container{
    display: flex;
    position: absolute;
    right: 5%;
    bottom: 20%;
}

#social_media_container a{
    display: block;
    width: 40px;
    height: 40px;
    margin-left: 30px;
}

#social_media_container a:nth-child(1){
    background-image: url("/v2/ressources/images/youtube.png");
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

#social_media_container a:nth-child(2){
    background-image: url("/v2/ressources/images/linkedin.png");
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}
