* {
      margin: 0;
      padding: 0;
}

@font-face 
{
      font-family: 'SanofiSans';
      src: url('fonts/SanofiSans-Regular.ttf') format('truetype');
      font-weight: normal;
      font-style: normal;
}

@font-face 
{
      font-family: 'SanofiSans';
      src: url('fonts/SanofiSans-Bold.ttf') format('truetype');
      font-weight: bold;
      font-style: normal;
}

@font-face 
{
      font-family: 'SanofiSans';
      src: url('fonts/SanofiSans-Light.ttf') format('truetype');
      font-weight: 300;
      font-style: normal;
}

@font-face 
{
      font-family: 'SanofiSerif';
      src: url('fonts/SanofiSerif-Regular.ttf') format('truetype');
      font-weight: normal;
      font-style: normal;
}

@font-face 
{
      font-family: 'SanofiSerif';
      src: url('fonts/SanofiSerif-Italic.ttf') format('truetype');
      font-weight: normal;
      font-style: italic;
}

@font-face 
{
      font-family: 'SanofiSerif';
      src: url('fonts/SanofiSerif-Bold.ttf') format('truetype');
      font-weight: bold;
      font-style: normal;
}

@font-face 
{
      font-family: 'SanofiSerif';
      src: url('fonts/SanofiSerif-BoldItalic.ttf') format('truetype');
      font-weight: bold;
      font-style: italic;
}

@font-face 
{
      font-family: 'SanofiSerif';
      src: url('fonts/SanofiSerif-Light.ttf') format('truetype');
      font-weight: 300;
      font-style: normal;
}

@font-face 
{
      font-family: 'SanofiSerif';
      src: url('fonts/SanofiSerif-LightItalic.ttf') format('truetype');
      font-weight: 300;
      font-style: italic;
}


:root {

      --couleur_sanofi: #7a00e6;
      --couleur_sanofi_dark: #350063;
      --couleur_sanofi_dark_home: #35006344;
      --couleur_sanofi_dark_alpha: #35006300;
      --couleur_sanofi_alpha: #7a00e644;
      --couleur_sanofi_alpha_zero: #7a00e600;

      --couleur_sanofi_ultra_light: #e4d5f1;
      --couleur_sanofi_ultra_light_alpha: #e4d5f100;
      --couleur_sanofi_light: #cfb2e9;
      --couleur_legende_glow: #8478a0;
      --couleur_legende_glow_alpha: #8478a033;
      --couleur_legende_glow_alpha_zero: #8478a000;
      --couleur_legende_dot: #ffffff;
      --couleur_legende_line: #ffffff;
      --couleur_legende_line_alpha: #ffffff00;

      --couleur_fond_menu: #000000;
      --couleur_fond_menu_alpha: #00000088;
      --couleur_fond_plan_alpha: #000000AA;
      
      --sanofi_sans: 'SanofiSans', sans-serif;
      --sanofi_serif: 'SanofiSerif', serif;
      --sanofi_thin: 300;
      --sanofi_regular: normal;
      --sanofi_bold: bold;

      --big: 2.5rem;
      --medium_big: 2rem;
      --medium: 1.5rem;
      --small_medium: 1.25rem;
      --small: 1rem;
      --extra_small: 0.9rem;
      --super_extra_small: 0.8rem;
}

html,
body {

      background-color: #000000;
      -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
      margin: 0;
      font-family: var(--sanofi_sans);
      font-weight: var(--sanofi_regular);
      user-select: none;
      overflow: hidden;
      position: fixed;
      width: 100%;
      height: 100%;
      touch-action: none;
}

#bag_orientation {
      display: none;
      pointer-events: none;
      position: absolute;
      align-items: center;
      justify-content: center;
      touch-action: none;
      width: 100%;
      height: 100%;
      background-color: #150027;
      z-index: 9300001;
}

#bag_orientation img {
      max-width: 6.5rem; 
      display: block;
}


@media only screen and (orientation:landscape) {
      .isMobile #bag_orientation {
            display: flex;
      }
}

@media only screen and (orientation:portrait) {
      .isNotMobile #bag_orientation {
            display: flex;
      }
}


#homepage {
      position: fixed;
      display: none;
      width: 100%;
      height: 100%;
      z-index: 200001;
}

.logo_full {
      display: none;
}

.logo_small {
      display: block;
}


@media screen and (min-width: 768px) {
      .logo_full {
            display: block;
      }

      .logo_small {
            display: none;
      }
}

@media screen and (min-width: 1440px) {
      
      .logo_full {
            display: block;
      }

      .logo_small {
            display: none;
      }
}


#threeJsCanvas {

      position: absolute;
      touch-action: none;
      width: 100%;
      height: 100%;
      display: none;
}

.img {

      -webkit-user-select: none;
      -khtml-user-select: none;
      -moz-user-select: none;
      -o-user-select: none;
      user-select: none;
}

#hidden {
      display: none;
}

#overlay {
      position: absolute;
      z-index: 99997;
}


/*
*************
** LOADING **
*************
*/


.loader {
      width: 5vh;
      height: 5vh;
      position: absolute;
      z-index: 99999;
      border: 1vh solid #FFF;
      border-bottom-color: transparent;
      border-radius: 50%;
      display: inline-block;
      opacity: 0;
      box-sizing: border-box;
      animation: rotation 0.75s linear infinite;
}
  
@keyframes rotation {
      0% {
          transform: rotate(0deg);
      }
      100% {
          transform: rotate(360deg);
      }
}  

#loaderBackground
{
      display: none;
      position: absolute;
      width: 100%;
      height: 100%;
      z-index: 99998;
      background-color: var(--couleur_sanofi_dark_home);
}

/*
**********
** HOME **
**********
*/

#homeLogo
{
      opacity: 0;
      display: flex;
      justify-content: center;
      align-items: center;
      padding-bottom: 3rem;
}

#homeLogo img
{
      max-width: 20%;
}

.isMobile #homeLogo img
{
      max-width: 35%;
}

#homeContainer 
{           
      pointer-events: all;
      position: fixed;
      z-index: 999999;
      width: 100%;
      height: 100%;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      background-color: var(--couleur_sanofi_dark_home);
      -webkit-backdrop-filter: blur(30px);
      backdrop-filter: blur(30px);
      color: #FFFFFF;
      font-family: var(--sanofi_sans);
      font-weight: var(--sanofi_regular);
}

#homeTitre
{
      opacity: 0;
      text-align: center;
      font-size: 3.25em;
      max-width: 90%;
}

.isMobile #homeTitre
{
      font-size: 2.25em;
      max-width: 90%;
      padding-bottom: 1.5rem;
      line-height: 1em;
}

#homeSousTitre
{
      opacity: 0;
      text-align: center;
      font-size: 1.75em;
      font-style: italic;
      max-width: 90%;
}

.isMobile #homeSousTitre
{
      font-size: 1.25em;
      max-width: 90%;
}     
#homeTexte
{
      display: none;
      font-size: 1.25em;
      margin: 1.5em;
      max-width: 35%;
}

.isMobile #homeTexte
{
      max-width: 90%;
}

#startBt
{
      opacity: 0;
      display: flex;
      position: relative;
      justify-content: center;
      align-items: center;
      cursor: pointer;
      padding-top: 5rem;
      width:15rem;
      height: 15rem;
}

#startBtWhenReady
{
      display: none;
      position: absolute;
      justify-self: center;
      align-self: center;
}

.isMobile #startBt
{
      padding-top: 3rem;
}

#startBtWhenReady img
{
      max-width: 15rem;
      max-height: 15rem;
}

.isMobile #startBtWhenReady img
{
      max-width: 10rem;
      max-height: 10rem;
}

#startBtWhenLoadingContainer
{
      width:15rem;
      height: 15rem;
      display: flex;
      justify-content: center;
      align-items: center;
      position: absolute;
      z-index: 99999;
}

#startBtWhenLoading
{
      width: 4vh;
      height: 4vh;
      border: 0.66vh solid #FFF;
      border-bottom-color: transparent;
      border-radius: 50%;
      animation: rotation 0.75s linear infinite;
}
  


/*
*************
** CONTENT **
*************
*/

.hidden_content {
      display: none;
}

.shown_content {
      display: block;
      color: #FFFFFF;
}

#contents
{
      pointer-events: none;
      z-index: 999999;
      width: 100%;
      height: 100%;
      position: fixed;
      background:#7a00e600;
}

.overContent
{
      position: absolute;
      display: none;
      font-size: 1.5em;
      color: #FFFFFF;
      /*background: #000000AA;*/
      width: 50vw;
      height: 100vh;
      left: 50vw;
      padding: 5em;
}

.overImage
{
      pointer-events: all;
      position: absolute;
      display: none;
      height: 100vh;
      width: 100vw;
      right: 0;
      padding: 0;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      background-color: var(--couleur_fond_menu_alpha);
      -webkit-backdrop-filter: blur(20px);
      backdrop-filter: blur(20px);
}

.overImage img
{
      max-width: 100%;
      max-height: 100%;
}

.overImages
{
      pointer-events: all;
      position: absolute;
      display: none;
      height: 100vh;
      width: 100vw;
      right: 0;
      overflow:scroll;
      flex-direction: row;
      justify-content: flex-start;
      align-items: center;
}

.isMobile .overImages
{
      flex-direction: column;
}

.overImages img
{
      max-width: 100%;
      max-height: 100%;
}

.overImagesWithNavigation
{
      pointer-events: none;
      position: absolute;
      display: none;
      height: 100vh;
      width: 100vw;
      right: 0;
      left: 0;
      flex-direction: row;
      gap: 1.5em;
      justify-content: center;
      align-items: center;
      background-color: var(--couleur_fond_menu_alpha);
      -webkit-backdrop-filter: blur(20px);
      backdrop-filter: blur(20px);
}

.overImagesWithNavigation img
{
      max-width: 5vh;
      max-height: 5vh;
}

.overImagesWithNavigationImages
{
      pointer-events: none;
      overflow: hidden;
      display: flex;
      flex-direction: row;
      height: 100vh;
      width: calc(100vh * 0.6675);
}

.overImagesWithNavigationImages img
{
      max-width: 100%;
      max-height: 100%;
}

.legende
{
      z-index: 99999;
      display: flex;
      opacity: 0;
      align-items: center;
      justify-content: center;
      font-size: 1.45em;
      font-weight: var(--sanofi_regular);
      color: #ffffff;
      letter-spacing: 0.06em;
      background: transparent;
      min-width: 43%;
}

.isMobile .legende
{
      font-size: 1.78em;
      letter-spacing: 0.07em;
      min-width: 44em;
}

.legendeLineContainer
{
      display: flex;
      width: 50%;
      padding: 0;
      background: transparent;
}

.legende .vlineTopRight
{
      border-width: 3px;
      border-style: solid;
      border-image: 
      linear-gradient(
            to top, 
            var(--couleur_legende_line), 
            var(--couleur_legende_line_alpha)
      ) 1 100%;
      border-left: unset;
      height: 50%;
      text-align: right;
      justify-content:flex-end;
      align-items: flex-start;
}

.legende .vlineBottomRight
{
      align-items: flex-end;
      justify-content: flex-end;
      border-width: 3px;
      border-style: solid;
      border-image: 
      linear-gradient(
            to bottom, 
            var(--couleur_legende_line), 
            var(--couleur_legende_line_alpha)
      ) 1 100%;
      border-left: unset;
      height: 50%;
      text-align: right;
}

.legende .vlineTopLeft
{
      align-items: flex-start;
      border-width: 3px;
      border-style: solid;
      border-image: 
      linear-gradient(
            to top, 
            var(--couleur_legende_line), 
            var(--couleur_legende_line_alpha)
      ) 1 100%;
      border-right: unset;
      height: 50%;
}

.legende .vlineBottomLeft
{      
      align-items: flex-end;
      justify-content: flex-start;
      border-width: 3px;
      border-style: solid;
      border-image: 
      linear-gradient(
            to bottom, 
            var(--couleur_legende_line), 
            var(--couleur_legende_line_alpha)
      ) 1 100%;
      border-right: unset;
      height: 50%;
}

.legendeIconTextContainer
{
      display: flex;
      flex-direction: row;
      align-items: center;
      justify-content:space-around;
      gap: 0.5em;
      padding: 0.5em;
      filter: drop-shadow( 0 0 3px var(--couleur_legende_glow)) drop-shadow( 0 0 16px var(--couleur_legende_glow)) drop-shadow( 0 0 24px var(--couleur_legende_glow));
}

.legende .vlineZone
{
      justify-content: center;
      text-align: center;
      background: 
      linear-gradient(
            to top, 
            var(--couleur_sanofi_alpha_zero),
            var(--couleur_sanofi_alpha), 
            var(--couleur_sanofi_alpha_zero)
      ) 100% 100%;
      border-width: 5px;
      border-style:solid;
      border-image: 
      linear-gradient(
            to top, 
            var(--couleur_sanofi_dark_alpha),
            var(--couleur_sanofi_dark), 
            var(--couleur_sanofi_dark_alpha)
      ) 1 100%;
      border-top: #00000000;
      border-bottom: #00000000;
}

.legendeIconTextContainerZone
{
      font-family: var(--sanofi_serif);
      font-size: 1.4em;
      font-weight: var(--sanofi_bold);

      color: var(--couleur_sanofi_dark);
      display: flex;
      flex-direction: row;
      align-items: flex-start;
      justify-content:space-around;
      gap: 0.75em;
      padding: 0.75em;

      filter: drop-shadow( 0 0 3px #FFFFFF) drop-shadow( 0 0 16px var(--couleur_sanofi_ultra_light)) drop-shadow( 0 0 24px var(--couleur_sanofi_ultra_light));
}

.legendeIconContainer
{
      pointer-events: none;
      display: flex;
}

.legendeIconContainer img
{
      max-width: 4em;
}

.isMobile .legendeIconContainer img
{
      max-width: 4em;
}

.legendeDot
{
      position: absolute;
      width: 7px;
      height: 7px;
      border-radius: 50%;
      background-color: var(--couleur_legende_dot);
      outline: 2px solid var(--couleur_legende_line);
}


/*
****************
** IMAGE ZOOM **
****************
*/

.imageInside
{
      z-index: 999999;
      position: absolute;
      display: flex;
}

.imageInside img
{
      pointer-events: none;
      max-width: 33vh;
      max-height: 33vh;
}


/*
**********
** MENU **
**********
*/

#menu_container 
{
      display: none;
      justify-content: flex-start;
      align-items: flex-start;
      position: absolute;
      z-index: 999999;
      top:0;
      bottom: 0;
      overflow-y: auto;
      scrollbar-width: thin;
      scroll-behavior: smooth;
      scrollbar-color: #FFFFFF #00000000;
      background-color: var(--couleur_fond_menu_alpha);
      -webkit-backdrop-filter: blur(20px);
      backdrop-filter: blur(20px);
}

.isMobile #menu_container 
{
     width: 100%;
}
    
#menu {
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
      align-items: flex-start;
      gap: 0.5rem;
      padding: 1rem;
      padding-left: 0rem;
      padding-right: 0rem;
      font-family: var(--sanofi_serif);
      overflow-x: hidden;
}

#menu_access 
{
      opacity: 0;
      position: absolute;
      padding: 1.5rem;
      z-index: 99999;
}

.ui_button
{
      position: absolute;
      padding: 1.5rem;
      right: 0;
      display: none;
      z-index: 9999999;
}

.ui_button img
{
      width: 3.5rem;
}

#gallery_previous_bt
{
      right: unset;
      left: 20%;
      top: 50%;
      transform: translateY(-50%);
}

#gallery_next_bt
{
      right: 20%;
      top: 50%;
      transform: translateY(-50%);
}

.isMobile .ui_button img
{
      width: 3rem;
}

#plan_access
{
      opacity: 0;
      position: absolute;
      padding: 1.5rem;
      right: 0;
      z-index: 99999;
}

#menu_access img, #plan_access img
{
      width: 3.5rem;
}

.isMobile #menu_access img , .isMobile #plan_access img
{
      width: 3rem;
}

.menu_level
{
      cursor:default;
      position: relative;
      display: block;
      color: #FFFFFF;
      /*background: var(--couleur_sanofi);
      border-radius: 2rem;*/
      background: var(--couleur_sanofi_alpha);
      color:#FFFFFF;
      padding: 1rem;
      padding-left: 0;
      padding-right: 0;
      margin-top: 2.5rem;
      margin-bottom: 0rem;
      letter-spacing: 0.1rem;
      width: 100%;
      text-align: center;
      font-size: 1.6rem;
      font-style: italic;
      font-weight: var(--sanofi_bold);
}

.menu_section
{
      width: fit-content;
      cursor:default;
      position: relative;
      display: block;
      color: #FFFFFF;
      width: calc(100% - 5.25rem);
      margin-top: 2rem;
      margin-bottom: .5rem;
      margin-left: 1.25rem;
      font-size: 1.4rem;
      font-style: italic;
      font-weight: var(--sanofi_bold);
}

.menu_section span
{
      font-size: 1.25rem;
      padding: 0.25rem;
      background: #FFFFFF33;
      padding-left: 1.25rem;
      padding-right: 1.25rem;
}

.menu_button 
{
      padding-top: 0.2rem;
      padding-bottom: 0.2rem;
      margin-left:2.5rem;
      margin-right: 1.75rem;
      cursor: pointer;
      pointer-events: all;
      width: calc(100% - 4.25rem);
      display: block;
      font-style: italic;
      font-size: 1.25rem;
      max-width: 100%;
      color: #FFFFFF;
      font-weight: var(--sanofi_regular);
      transition: 0.4s;
}

.menu_button:last-child 
{
      padding-bottom: 1.5rem;
}

.menu_button_selected::before 
{
      content: "\25B6     ";
}

.menu_button_selected
{
      display: inline;
      padding-top: 0.2rem;
      padding-bottom: 0.2rem;
      margin-left:1.75rem;
      margin-right: 1.75rem;
      cursor:default;
      width: calc(100% - 3.5rem);
      display: block;
      font-style: italic;
      font-size: 1.3rem;
      color: var(--couleur_sanofi_light);
}

.menu_button:hover 
{
      color: var(--couleur_sanofi_light);
}

.menu_button img 
{
      height: 100%;
      width: 100%;
      object-fit: contain;
}

.isMobile .menu_button img 
{
      height: 100%;
      width: 100%;
      object-fit: contain;
}



/*
**********
** PLAN **
**********
*/

#plan_container 
{
      display: none;
      flex-direction: column;
      pointer-events: none;
      justify-content: flex-start;
      align-items: flex-end;
      padding-right: 4%;
      padding-top: 4%;
      position: absolute;
      z-index: 99999;
      top:0;
      bottom: 0;
      left: 0;
      right: 0;
      background: radial-gradient(circle at top right, var(--couleur_fond_plan_alpha) 25%, transparent 75%);
}

.isMobile #plan_container 
{
      display: none;
      flex-direction: column;
      pointer-events: none;
      justify-content: center;
      align-items: center;
      gap: 2.5rem;
      position: absolute;
      z-index: 99999;
      top:0;
      bottom: 0;
      left: 0;
      right: 0;
      background: var(--couleur_fond_menu_alpha);
      -webkit-backdrop-filter: blur(20px);
      backdrop-filter: blur(20px);
}

#plan_container img
{
      max-width: 25%;
      max-height: 33%;
}

.isMobile #plan_container img
{
      max-width: 100%;
      max-height: 80%;
}

.plan_stair
{
      color: var(--couleur_sanofi_light);
      font-size: 2.25rem;
      font-weight: var(--sanofi_thin);
}

.plan_place
{
      font-size: 1.33rem;
      font-weight: var(--sanofi_regular);
      color: var(--couleur_sanofi_light);
}


/*
***************
** INTERFACE **
***************
*/



/*********/
/* debug */
/*********/

#debug 
{
      pointer-events: all;
      display: none;
      position: absolute;
      right: 100px;
      z-index: 99999;
      color: #FFFFFF;
      font-size: 1rem;
      background-color: #00000066;
      padding: 1rem;
      user-select: text;
}

/********************/
/* IOS prevent exit */
/********************/

#iphoneScrollPrevent {
      display: none;
      pointer-events: all;
      position: absolute;
      top: 0;
      left: 0;
      height: 100vh;
      width: 10vw;
      background-color: #00000000;
}