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


body, html { margin: 0; padding: 0; height: 100%; width: 100%; overflow-y: auto; }
body { display: flex; flex-direction: column; align-items: center; justify-content: start; /* Align items at the top */ }

#background-container {
	position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -2;
	background-image: url("./images/bkg.jpg"); background-size: cover; background-position: center; background-repeat: no-repeat;
	}

#top-right-image { position: fixed; top: 1rem; right: 1.5rem; z-index: 9999; width: auto; height: 3rem; opacity: 0.6; }

.instructions-banner { position:absolute; z-index: 1; width: 24rem; 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; margin-left: 9.5rem; text-align: center; border-top-left-radius: 0.5rem; border-top-right-radius: 0.5rem; background-color: rgba(0,0,125,0.3); }
.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: 15.6rem; height: auto; top: 1.7rem; left:0.5rem; padding: 0 1rem 1rem 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-screen-title { display: flex; justify-content: center; align-items: center; width: 100%; height: auto; margin: 1rem auto 1rem auto; position: relative; }
.instructions-screen-title img { height: 64px; width: auto; z-index: 10; }
.instructions-screen-title::before { content: ""; position: absolute; bottom: 50%; left: 0; width: 100%; height: 4px; background-color: rgba(255, 255, 255, 0.3); transform: translateY(50%); z-index: 1; }

.instructions-mouse-title { display: flex; justify-content: center; align-items: center; width: 100%; height: auto; margin: 1rem auto 1rem auto; position: relative; }
.instructions-mouse-title img { height: 32px; width: auto; z-index: 10; }
.instructions-mouse-title::before { content: ""; position: absolute; bottom: 50%; left: 0; width: 100%; height: 4px; background-color: rgba(255, 255, 255, 0.3); transform: translateY(50%); z-index: 1; }

.instructions-keyboard-title { display: flex; justify-content: center; align-items: center; width: 100%; height: auto; margin: 1rem auto 1rem auto; position: relative; }
.instructions-keyboard-title img { height: 32px; width: auto; z-index: 10; }
.instructions-keyboard-title::before { content: ""; position: absolute; bottom: 50%; left: 0; width: 100%; height: 4px; background-color: rgba(255, 255, 255, 0.3); transform: translateY(50%); z-index: 1; }

.instructions-action-previous { float:left; height: 4rem; width: 2.5rem; margin: 0 0.35rem 1rem 0.9rem; display: flex; align-items: center; justify-content: center; }
.instructions-action-previous img { height: auto; width: 2.5rem; margin: auto; }

.instructions-action-next { float:left; height: 4rem; width: 2.5rem; margin: 0 0.9rem 1rem 0.35rem; display: flex; align-items: center; justify-content: center; }
.instructions-action-next img { height: auto; width: 2.5rem; margin: auto; }

.instructions-result { float: left; height: 4rem; width: auto; display: flex; margin: 0 0 1rem 0; align-items: center; justify-content: center; }

.instructions-action { float:left; height: 4rem; width: 7.6rem; display: flex; margin: 0 0 1rem 0; align-items: center; justify-content: center; }
.instructions-action img { height: 3rem; width: auto; margin: auto; }

.instructions-spacing { float: left; width: 100%; height: 1rem; }

.instructions-commander { float: left; width: 100%; height: auto; font-family: 'Mulish', sans-serif; font-weight: 500; font-size: 0.8rem; color: #fff; letter-spacing: 0.1em; line-height: 2rem; text-align: center; background-color: rgb(0,0,125); }
.instructions-commander a { color: #fff; text-decoration: underline; }

/* Cover and Pages */

/* Default: horizontally centered in the viewport */
.centered-div { display: flex; align-items: center; justify-content: space-between; height: calc(100vh - 4rem); box-sizing: border-box; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); background-color: #fff; margin: 2rem auto; width: auto; position: relative; left: 0; }

/* Adjust when #instructions-hide-show is visible */
.instructions-wrapper:not(.instructions-hidden) ~ .centered-div { left: 7rem; }

.left, .right { display: flex; align-items: center; justify-content: center; flex: 0; }
.left img, .right img { height: calc(100vh - 4rem); max-height: calc(100vh - 4rem); width: auto; object-fit: contain; }

.vertical-line { width: 2px; background-color: #eee; height: 100%; }

/* Scroll Button */
.scroll-button { position: fixed; right: 2rem; z-index: 1000; cursor: pointer; background: none; border: none; padding: 0; display: inline-block; transition: filter 0.5s ease; filter: brightness(100%); }

/* Downward Button (bottom-right) */
.scroll-down { top: 50%; transform: translateY(50%); }
.scroll-up { top: 50%; transform: translateY(-50%); }
.scroll-button:hover { filter: brightness(150%); }
.scroll-button:active { filter: brightness(70%); }


/* 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: 10.5rem; height: auto; }
.social-youtube { float: left; width: 2rem; height: 2rem; padding: 0 0.5rem 0rem 0.5rem; }
.social-youtube-logo { width: 2rem; height: 2rem; }
.social-facebook { float: left; width: 2rem; height: 2rem; padding: 0 0.5rem 0rem 0.5rem; }
.social-facebook-logo { width: 2rem; height: 2rem; }
.social-tiktok { float: left; width: 2rem; height: 2rem; padding: 0 0.5rem 0 0.5rem; }
.social-tiktok-logo { width: 2rem; height: 2rem; }

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

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

/* Banner Styling (Initially at the top of the page) */
#top-banner {
  position: fixed;
  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: 140px; /* Set new banner height */
  text-align: center;
  z-index: 1000;
  transform: translateY(0); /* Initially visible */
  transition: transform 3s 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 */
}

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

