@font-face {
	font-family: 'Mulish'; font-style: normal; font-weight: 500; /* Medium weight */
	src: url('/fonts/mulish-medium.ttf') format('truetype');
	font-display: swap; /* Ensures text is visible during font loading */
}
@font-face {
	font-family: 'Mulish'; font-style: normal; font-weight: 900; /* Black weight */
	src: url('/fonts/mulish-black.ttf') format('truetype');
	font-display: swap; /* Ensures text is visible during font loading */
}
@font-face {
	font-family: 'Crimson Pro'; font-style: normal; font-weight: 400; /* Regular weight */
	src: url('/fonts/crimsonpro-regular.ttf') format('truetype');
	font-display: swap; /* Ensures text is visible during font loading */
}
@font-face {
	font-family: 'Crimson Pro'; font-style: normal; font-weight: 600; /* SemiBold weight */
	src: url('/fonts/crimsonpro-semibold.ttf') format('truetype');
	font-display: swap; /* Ensures text is visible during font loading */
}

/* Global Box Sizing */
* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; width: 100%; height: 100%; }
.bkg-wrapper { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: #fff; z-index: -1; }

/******** NEW LOADER: Start *********************/

#loading-overlay{ position: fixed; inset: 0; z-index: 15; display: flex; align-items: center; justify-content: center; backdrop-filter: blur(4px); }
#loading-overlay.hidden{ display: none; }
.loading-box{ width: min(420px, 86vw); padding: 1.2rem 1.2rem 1rem 1.2rem; border-radius: 1rem; background: rgba(255,255,255,0.85); border: 1px solid rgba(255,255,255,0.12); }
.loading-title{ font-size: 1.05rem; margin-bottom: 0.6rem; }
.loading-detail{ font-size: 0.95rem; opacity: 0.85; margin-bottom: 0.9rem; }
.loading-bar{ height: 10px; border-radius: 999px; overflow: hidden; background: rgba(255,255,255,0.14); }
.loading-bar-fill{ height: 100%; width: 0%; background: rgba(255,255,255,0.75); transition: width 0.2s linear; }
.loading-percent{ margin-top: 0.5rem; font-size: 0.9rem; opacity: 0.85; text-align: right; }

/******** NEW LOADER: Stop *********************/

#orientation-message { position: fixed; top: 5px; left: 5px; right: 5px; bottom: 5px; background-color: rgba(0, 0, 75, 0.75); z-index: 10001; display: none; pointer-events: none; }
#orientation-close { position: absolute; top: 10px; right: 15px; font-size: 1.8rem; color: white; cursor: pointer; z-index: 14; pointer-events: auto; }
#orientation-inner { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); color: white; font-size: 1.5rem; font-family: sans-serif; text-align: center; padding: 1rem; max-width: 95%; box-sizing: border-box; }

.back { position: fixed; top: 0; left: 0; padding: 0.5rem; z-index: 13; }
.back-home { float: left; width: auto; height: auto; margin-right: 1rem; color: white; z-index: 12; }
.back-home a { width: 2rem; height: 1.2rem; color: white; /* if you want to be sure it's white */ }
.back-2d { float: left; width: auto; height: auto; text-align: center; }
.back-2d a { font-family: 'Mulish', sans-serif; font-weight: 400; font-size: 1rem; text-decoration: none; color: rgba(255,255,255,1); }

/* Nav arrows for scene rotation */
.nav-button { width: 6rem; height: 6rem; background: none; border: none; cursor: pointer; z-index: 10; padding: 0; position: absolute; }
.nav-left { top: 15rem; left: 5rem; transform: rotate(-20deg); }
.nav-right { top: 15rem; right: 5rem; transform: rotate(20deg); }

/* Wrapper for entire text frame with arrows */
.text-frame-wrapper {
  position: fixed; top: 1rem; left: 0; right: 0; margin: auto; display: flex; justify-content: space-between; align-items: center; width: 50%; z-index: 11;
  border: 1px solid #ccc; background-color: rgba(0, 0, 0, 0.75); border-radius: 5px; transition: all 0.3s ease; box-sizing: border-box; padding: 0.5rem; }

.arrow-left, .arrow-right {  width: 2.5rem; height: 2.5rem; display: flex; justify-content: center; align-items: center; cursor: pointer; background: none; border: none; padding: 0; transform-origin: center center; }

/* Text Frame itself */
.event-frame { text-align: center; font-size: 1rem; color: white; box-sizing: border-box; padding: 0.5rem; }

.event-text { font-family: 'Mulish', sans-serif; font-weight: 400; font-size: 1rem; letter-spacing: 0.02rem; color: rgba(255, 255, 255, 0.8); line-height: 1.5rem; padding: 0.5rem; }

.text-container { display: flex; justify-content: space-between; align-items: center; width: 100%; }


/* INSTRUCTION BANNER ******************************************************************************************/


.instructions-banner { position:absolute; z-index: 11; width: 6.1rem; height: auto; top: 0.5rem; left:0.5rem; }
.instructions-banner-back-home { float: left; width: 2.1rem; height: 1.2rem; display: flex; justify-content: center; border-top-left-radius: 0.5rem; border-top-right-radius: 0.5rem; background-color: rgba(0,0,125,0.7); }
.instructions-banner-back-home img { width: 1.2rem; height: 1.2rem; }

.instructions-banner-3d-2d { float: left; width: 2rem; height: 1.2rem; text-align: center; border-top-left-radius: 0.5rem; border-top-right-radius: 0.5rem; background-color: rgba(0,0,125,0.7); }
.instructions-banner-3d-2d span { font-family: 'Mulish', sans-serif; font-weight: 500; font-size: 0.9rem; text-decoration: none; color: rgba(255,255,255,0.7); }

.instructions-banner-reload { float: left; width: 2rem; height: 1.2rem; display: flex; justify-content: center; border-top-left-radius: 0.5rem; border-top-right-radius: 0.5rem; background-color: rgba(0,0,125,0.7); }
.instructions-banner-reload img { width: 1rem; height: 1rem; margin: 0.1rem 0 0.1rem 0; opacity: 0.7; }

.instructions-banner-show-hide { float: left; width: 2rem; height: 1.2rem; display: flex; justify-content: center; border-top-left-radius: 0.5rem; border-top-right-radius: 0.5rem; background-color: rgba(0,0,125,0.7); }
.instructions-banner-show-hide img { width: 1.2rem; height: 1.2rem; opacity: 0.7; }

.instructions-wrapper{ position:absolute; z-index: 1; width: 6.1rem; height: auto; top: 1.7rem; left:0.5rem; padding: 1rem; border-bottom-left-radius: 0.5rem; border-bottom-right-radius: 0.5rem; background-color: rgba(0,0,125,0.7); }
.instructions-hidden { display: none; }

.instructions-action { float:left; height: 3.7rem; width: 4rem; margin: 0; display: flex; align-items: center; justify-content: center;}
.instructions-action img { height: 3.3rem; width: auto; margin: auto; }
.instructions-equal { float:left; height: 3.7rem; width: 2.3rem; margin: 0; display: flex; align-items: center; justify-content: center; font-family: 'Mulish', sans-serif; font-style: 500; font-size: 2rem; color: rgba(200,200,255,0.6); }
.instructions-result { float: left; height: 3.7rem;  width: 5.2rem; margin: 0; display: flex; align-items: center; justify-content: center; }
.instructions-result img { height: 3.3rem; width: auto; margin: auto; }

.instructions-action-passer { float:left; height: 4rem; width: 2.4rem; margin: 0 0.35rem 1rem 0.9rem; display: flex; align-items: center; justify-content: center; color: rgba(255, 255, 255, 0.8); }
.instructions-action-passer span {font-family: 'Mulish', sans-serif; font-weight: 400; font-size: 1rem; letter-spacing: 0.02rem; color: rgba(255, 255, 255, 0.8); line-height: 1.5rem; padding: 0.5rem;}
.instructions-action-passer img { height: auto; width: 2.4rem; margin: auto; }

.instructions-action-future { float:right; height: 4rem; width: 2.4rem; margin: 0 0.9rem 1rem 0.35rem; display: flex; align-items: center; justify-content: center; color: rgba(255, 255, 255, 0.8); }
.instructions-action-future span {font-family: 'Mulish', sans-serif; font-weight: 400; font-size: 1rem; letter-spacing: 0.02rem; color: rgba(255, 255, 255, 0.8); line-height: 1.5rem; padding: 0.5rem;}
.instructions-action-future img { height: auto; width: 2.4rem; margin: auto; }

.instructions-spacing { float: left; width: 100%; height: 1rem; }
.instructions-separator { float: left; width: 100%; height:4px; margin: 1rem 0 1rem 0; background-color: rgba(255,255,255,0.3); }


/* BANNER ******************************************************************************************************/

/* Banner Styling (Initially at the top of the page) */
#top-banner {
  position: fixed;
  display: flex;
  top: 0; /* Initially at the top of the page */
  left: 0;
  right: 0;
  background: #fff; /* Solid white background */
  color: #333; /* Adjust text color for contrast */
  padding: 10px 20px; /* Padding for spacing */
  width: 100%; /* Ensure full width */
  height: 7rem; /* Set new banner height */
	margin-bottom: 2rem; text-decoration:not();
  text-align: center;
  z-index: 1000;
  transform: translateY(0); /* Initially visible */
  transition: transform 0.5s ease-out; /* Smooth sliding effect */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Optional: Add a slight shadow for a cleaner look */
}

/* When the banner is hidden (slides up) and leaving the bottom 10px visible */
#top-banner.hidden {
  transform: translateY(-100%); /* Moves the banner off the screen, leaving 10px visible */
}

/* Pseudo-element to make the last 20px transparent */
#top-banner::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 20px; /* Make the bottom 20px transparent */
  background-color: transparent; /* Transparent background */
  z-index: 1001; /* Ensure it stays on top of the background */
}

.banner-logo { height: auto; width: 19rem; }
.logo { height: auto; width: 19rem; }
.banner-logo-titles { text-align:center; font-family: 'Mulish', sans-serif; letter-spacing: 0.06rem; font-size: 0.9rem; color: #DDD; text-decoration:not() }

.banner-social { display: flex; height: 2rem; width: 8rem; margin: 1rem 1rem 0 10rem; }
.social-youtube { width: 2rem; height: 2rem; margin: 0 0.5rem 0 0; }
.social-youtube-logo { width: 2rem; height: 2rem; color: blue; } /* adding darkblue or any color you want */
.social-facebook { width: 2rem; height: 2rem; margin: 0 0.5rem 0 0.5rem; }
.social-facebook-logo { width: 2rem; height: 2rem; }
.social-tiktok { width: 2rem; height: 2rem; margin: 0 5rem 0 0.5rem; }
.social-tiktok-logo { width: 2rem; height: 2rem; }

/* Down arrow positioning for controlling the banner */
#down-arrow {
  position: fixed; /* Fixed positioning so it's always visible */
  bottom: -25px; /* Move the arrow 15px lower */
  left: 50%; /* Center horizontally */
  transform: translateX(-50%); /* Adjust the centering */
  display: block; /* Make sure it's always visible */
  opacity: 1;
  cursor: pointer; /* Change cursor to hand when hovering */
}

/* Styling for the down arrow (64x24 pixel SVG image) */
#down-arrow img {
  width: 64px; /* Set the width of the arrow to double */
  height: 24px; /* Set the height of the arrow to double */
}

/* Hover effect for the arrow */
#down-arrow:hover img {
  opacity: 0.8; /* Slight hover effect */
}

/* MENU ***************************************************************************************************/

nav { display: flex; justify-content: space-between; align-items: center; background-color: #fff; margin: 1.5rem 0 0 9rem; }
nav ul { list-style: none; display: flex; padding: 0 0 7px 0; }
nav ul li { margin: 0; padding: 0; width: 100%; box-sizing: border-box; }
nav ul li a { color: white; text-decoration: none; font-size: 18px; display: block; height: 35px; padding: 0 20px 0 20px; line-height: 1.75; font-family: Arial Black; color: #DDDDFF; }

/* Style for the hamburger menu icon */
.menu-icon { display: none; font-size: 28px; color: blueviolet; cursor: pointer; }

/* Default state (pale blue) */
#menu li a{ color:#CCCCCC; text-decoration:none; transition:color .25s ease; }

/* Hover + click */
#menu li a:hover,
#menu li a:active{ color:#000066; }

/* Current page */
#menu li a.active{ color:#000066; font-weight:bold; /* optional */ }

/* BIOGRAPHIE CONTENT ******************************************************************************************/

.biographie-container { width:100%; display: flex; justify-content: space-between; margin: 10rem 0 10rem 0; background-color: rgba(255,255,255,1); }
.biographie-content { flex: 1; text-align: center; }
.biographie-content-left { width: 50%; height: auto; border-right: 2px solid #CCC; }
.biographie-content-left-inside { margin: 0 8rem 0 8rem; padding: 0 2rem 0 2rem; text-align:justify; font-family: 'Mulish', sans-serif; font-style: bold; font-size: 1rem; color: #333; text-decoration: none; }
.biographie-content-right { width: 50%; height: auto; border-left: 2px solid #CCC; }
.biographie-content-right-inside { margin: 0 8rem 0 8rem; padding: 0 2rem 0 2rem; text-align:justify; font-family: 'Mulish', sans-serif; font-style: bold; font-size: 1rem; color: #333; text-decoration: none; }

.biographie-image-wrapper-height { float:left; position: relative; width: calc(100% - 4rem); margin: 1rem 2rem 1rem 2rem; text-align: center; }
.biographie-image-wrapper-height:after { content: ""; display: block; padding-bottom: 100%; }
.biographie-image-height { position: absolute; height: 100%; width: auto; left: 50%; transform: translate(-50%,0); }

.biographie-image-wrapper-height-sourineige { float:left; position: relative; width: calc(100% - 4rem); margin: 1rem 2rem 1rem 2rem; text-align: center; }
.biographie-image-wrapper-height-sourineige:after { content: ""; display: block; padding-bottom: 75%; }
.biographie-image-height-sourineige { position: absolute; height: 100%; width: auto; left: 50%; transform: translate(-50%,0); }

.biographie-image-frame { border: 1px solid rgba(0, 0, 0, 0.4);}
