@font-face {
	font-family: 'Mulish';
	src: url('/fonts/Mulish-VariableFont_wght.ttf') format('truetype');
	font-weight: 200 900;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Mulish';
	src: url('/fonts/Mulish-Italic-VariableFont_wght.ttf') format('truetype');
	font-weight: 200 900;
	font-style: italic;
	font-display: swap;
}

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); }


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

.biographie-container { width:100%; display: flex; justify-content: space-between; margin: 8rem 0 3rem 0; background-color: rgb(255,255,255); }
.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);}
