@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 */
}

/* FUNCTION ******************************************************************************************************/

.clear { clear: both; }

html { font-size:100%; box-sizing:border-box; }*,*:before,*:after { box-sizing:inherit; }
html { -ms-text-size-adjust:100%; -webkit-text-size-adjust:100%; }
body { margin: 0; padding: 0; overflow-y: scroll; }

#to-the-top {
	width: 40px; height: 40px; display: none; position: fixed; bottom: 20px; right: 30px; z-index: 99; font-size: 24px;
	border: none; outline: none; background-color: #000055; color: white; cursor: pointer; border-radius: 4px;
}

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

.banner { width: 100%; height: 6rem; margin-bottom: 2rem; text-decoration:not() }
.banner-logo { float:left; width: auto; height: 6rem; }
.logo { width: auto; height:6rem; }
.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 { float:right; width: 9rem; height: auto; }
.social-and-courriel { float:right; width:12rem; height:3rem; display: block; margin: 0.5rem 0.5rem 0 0; clear:both; }
.social-youtube { float: left; width: 3rem; height: 3rem; padding: 0.5rem 0.5rem 0.5rem 0.5rem; }
.social-youtube-logo { width: 2rem; height: 2rem; }
.social-facebook { float: left; width: 3rem; height: 3rem; padding: 0.5rem 0.5rem 0.5rem 0.5rem; }
.social-facebook-logo { width: 2rem; height: 2rem; }
.social-tiktok { float: left; width: 3rem; height: 3rem; padding: 0.5rem 0.5rem 0.5rem 0.5rem; }
.social-tiktok-logo { width: 2rem; height: 2rem; }
.courriel { float: left; width: 3rem; height:3rem; padding: 0.35rem 0.35rem 0.35rem 0.35rem; }

.banner-menu { float:left; width:auto; height:auto; margin: 1.2rem 2rem 0 0; }

/* 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: #000055; }

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

/* ROMAN CONTENT ******************************************************************************************/

.roman-container { width: 100%; display: flex; justify-content: space-between; gap: 20px; padding: 20px; }
.roman-bkg-wrapper { width: 100%; height: auto; background-size: cover; background-repeat: no-repeat; background-position: center; transition: background-image 1.5s ease-in-out; }
.roman-content { flex: 1; text-align: center; }
.roman-content1 { margin: 0 1rem 0 0; }
.roman-content2 { margin: 3.2rem 3.5rem 0 2.5rem; padding: 1rem 2rem 2rem 2rem; background-color: rgba(0,0,125,0.7); text-align:justify; font-family: 'Mulish', sans-serif; font-style: bold; font-size: 1.2rem; color: #fff; text-decoration: none; }

/* Wrapper to position the iframe and the overlay image */
.iframe-wrapper { z-index: 1; width: 100%; height: 400px; position: relative; display: block; }
/* The iframe fully occupies the wrapper */
.iframe-wrapper iframe { z-index: 1; width: 100px; height: 100px; border: none; display: block; }

.lire-extrait { position: absolute; z-index: 10; top: 0; right: 0; margin: 5px; width: 128px; height: auto; }

.instructions-3d { width: 450px; height: 25px; margin: 0.2rem auto 0 auto; text-align: center;}
.instructions-3d-text { float: left; margin: 0.1rem 0 0 0; font-family: 'Mulish', sans-serif; font-style: 500; font-size: 1rem; color: #000033; text-decoration: none; }
.instructions-3d-logo-rotate { float: left; margin: 0 2rem 0 0.2rem; }
.instructions-3d-logo-zoom { float: left; margin: 0 0 0 0.2rem; }

#book-container { width: 800px; height: 800px; margin-top: 50px; border:5px solid rgba(0, 0, 255, 0.3); background: transparent; display: block; }
.roman-book-name { width: 100%; text-align: center; }
.roman-book-title { font-family: 'Crimson Pro', serif; font-weight: 600; font-size: 3.5rem; color: #fff; letter-spacing: 0.03em; line-height: 4.5rem; text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.6);	}
.roman-book-subtitle { font-family: 'Crimson Pro', serif; font-weight: 400; font-size: 1.6rem; color: #fff; letter-spacing: 0.06em; line-height: 2rem; }
.roman-text-commander-format { width: auto; text-align: center; font-family: 'Crimson Pro', serif; font-weight: 400; font-size: 1.3rem; color: #fff; letter-spacing: 0.06em; line-height: 2rem; }
.roman-text-commander { width: auto; text-align: center; margin: 1rem 0 0 0; font-family: 'Crimson Pro', serif; font-weight: 600; font-size: 1.5rem; color: #fff; letter-spacing: 0.06em; line-height: 2rem; }
.roman-separatior { width: 100%; height:4px; margin: 1.6rem auto 1.6rem auto; background-color: rgba(255,255,255,0.3); }
.roman-pitch {}

/* MAGAZINE CONTENT ******************************************************************************************/

.magazine-container-mini { width:1296px; margin: 1rem auto 2rem auto; }
.magazine-image-mini { width:128px; height:auto; margin:6px; }
.magazine-container-pages { width:100%;}
.magazine-page-title {	width:auto; height:auto; margin: 4rem auto 1rem auto; font-family: 'Mulish', sans-serif; font-size: 1rem; color: #999; text-align: center; }
.magazine-page { display:block; margin:0 auto 3rem auto; clear:both; box-shadow: 0 6px 10px 0 rgba(0, 0, 0, 0.4), 0 8px 22px 0 rgba(0, 0, 0, 0.39); }

/* ILLUSTRATIONS CONTENT ***************************************************************************************/

.illustrations-container-mini { width:1296px; margin: 1rem auto 2rem auto; }
.illustration-mini { width:128px; height:auto; margin:6px; }
.illustrations-container-maxi { width:100%;}
.illustration-title-maxi {	width:auto; height:auto; margin: 4rem auto 1rem auto; font-family: 'Mulish', sans-serif; font-size: 1rem; color: #999; text-align: center; }
.illustration-maxi { display:block; margin:0 auto 3rem auto; clear:both; box-shadow: 0 6px 10px 0 rgba(0, 0, 0, 0.4), 0 8px 22px 0 rgba(0, 0, 0, 0.39); }

/* VIDEOS CONTENT ***************************************************************************************/

.videos-container-images-mini { width:1296px; margin: 1rem auto 2rem auto; text-align:center; }
.video-image-mini { width:128px; height:auto; margin:6px; }
.video-title {	width:auto; height:auto; margin: 4rem auto 1rem auto; font-family: 'Mulish', sans-serif; font-size: 1rem; color: #999; text-align: center; }
.video-wrapper-max-width { max-width: 1120px; margin: 0 auto 0 auto; }
.video-wrapper { position: relative; padding-bottom: 56.25%; /* This is the ration 16:9 */ height: 0; margin-left: 2%; margin-right: 2%; }
.videos-bottom { clear: both; margin: 0 0 3rem 0; }

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

.biographie-container { width:100%; display: flex; justify-content: space-between; margin: 2rem 0 2rem 0; }
.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-frame { border: 1px solid rgba(0, 0, 0, 0.4);}

/* COPYRIGHT ******************************************************************************************************/

.copyright { width:100%; height:auto; background-color:rgba(0,0,62,0.7); text-align: center; padding: 0.3rem 0 0.3rem 0; font-size: 0.8rem; color: rgba(255,255,255,0.9); }

/* CONTENT MOBILE ******************************************************************************************/

@media (max-width: 768px) {

	.banner-logo { float:left; width: 100%; height: auto; }
	.logo { width: auto; height:6rem; display: block; margin-left: auto; margin-right: auto; }
	.banner-social { width: auto; height: 4rem; }

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

	nav { margin: 0; }
	/* Show the hamburger icon on smaller screens */
	.menu-icon { display: block; }

	/* Hide the full menu initially on smaller screens */
	#menu { display: none; flex-direction: column; width:100%; position: absolute; top: 0; left: 0; z-index: 1000; }

	/* When the menu has the 'show' class, display it as a flex container */
	#menu.show { display: flex; margin: 10rem 0 0 0; }

	/* Style the menu items for the dropdown menu */
	#menu li { text-align: center; box-sizing: border-box; background-color: #fff; width: 100%; }
	#menu li a { font-size: 20px; display: block; box-sizing: border-box; background-color: #fff; }
	.menu-line { height:2px; width: 100%; background-color: #DDD; }

	/* ROMAN CONTENT ******************************************************************************************/

	.roman-container { padding: 1rem; flex-direction: column; background-image: none !important; }
	.roman-bkg-wrapper { background-image:none; }
	.roman-content1 { width: 75%; margin: 0 auto 0 auto; }
	.roman-image-cover { width: 100%; margin: 1rem 0 0 0; }
	.roman-content2 { margin:0rem; padding: 1.5rem; text-align:justify; font-size: 1.2rem; text-decoration: none; }
	.lire-extrait { position: relative; z-index: 10; top: 0; right: 0; margin: 5px; width: 128px; height: auto; }
	.roman-book-name { width: 100%; margin: 0 0 2rem 0; text-align: center; }
	.roman-book-title { font-family: 'Crimson Pro', serif; font-weight: 500; font-size: 3rem; line-height: 4rem; text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.6); }
	.roman-book-subtitle { font-size: 1.3rem; line-height: 2rem; color: #fff; }
	.roman-text-commander { width: auto; text-align: center; margin-top: 2rem; font-size: 1rem; font-weight: bold; line-height: 2rem; color: #fff; text-shadow: 0 0 0.3rem #000; }	
	.roman-separation-line { height:2px; margin: 0 auto 2rem auto; background-color: rgba(0,0,0,0.3); }	

	/* MAGAZINE CONTENT *********************************************************************************************/

	.magazine-container-mini { width:100%; margin: 1rem 1% 1rem 1%; }
	.magazine-image-mini { width:17%; height:auto; margin:1%; }
	.magazine-container-pages { width:100%;}
	.magazine-page-title {	width:100% margin: 4rem auto 1rem auto; font-size: 1rem; }
	.magazine-page { width:95%; height:auto; display:block; margin:0 auto 3rem auto; clear:both; box-shadow: 0 6px 10px 0 rgba(0, 0, 0, 0.4), 0 8px 22px 0 rgba(0, 0, 0, 0.39); }

	/* ILLUSTRATIONS CONTENT ****************************************************************************************/

	.illustrations-container-mini { width:100%; margin: 1rem 1% 1rem 1%; }
	.illustration-mini { width:17%; height:auto; margin:1%; }
	.illustrations-container-maxi { width:100%;}
	.illustration-title-maxi {	width:100% margin: 4rem auto 1rem auto; font-size: 1rem; }
	.illustration-maxi { width:95%; height:auto; display:block; margin:0 auto 3rem auto; clear:both; box-shadow: 0 6px 10px 0 rgba(0, 0, 0, 0.4), 0 8px 22px 0 rgba(0, 0, 0, 0.39); }

	/* VIDEOS CONTENT ***********************************************************************************************/

	.videos-container-images-mini { width:100%; margin: 1rem 1% 2rem 1%; }
	.video-image-mini { width:17%; height:auto; margin:1%; }
	.video-title {	width:100%; margin: 4rem auto 1rem auto; font-size: 1rem; }
	.videos-bottom { clear: both; margin: 0 0 3rem 0; }

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

	.biographie-container { flex-direction: column; background-image: none !important; }
	.biographie-content { width: 100%; margin: 0 0 1rem 0; }
	.biographie-content-left { width: 100%; border-right: none; }
	.biographie-content-left-inside { width: 100%; margin: 0; padding: 0 2rem 0 2rem; }
	.biographie-content-right { width: 100%; border-left: none; }
	.biographie-content-right-inside { width: 100%; margin: 0; padding: 0 2rem 0 2rem; }
	
}