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

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

html { font-size:100%; box-sizing:border-box; }*,*:before,*:after { box-sizing:inherit; }

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

#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: 17.6rem; 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.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: 17.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; }

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

/* Cover and Pages */

.centered-div {
	display: flex; height: 594px; width: 422px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); margin: 0 auto; }

.left, .right { }
.left img, .right img { height: 594px; width: 422px; }

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

.page-with-number {
font-family: 'Mulish', sans-serif; font-weight: 400; font-size: 1.1rem; letter-spacing: 0.1rem; text-decoration: none; color: rgba(255,255,255,0.9); text-shadow: 0 0 4px rgba(0, 0, 0, 1);
	 position: relative; width: 100%; max-height: 100%; margin: 0; padding: 0; /*margin: 0 auto;*/ }
.page-number-left { position: absolute; bottom: 0.65rem; left: 1.05rem; z-index: 10; }
.page-number-right {	position: absolute; bottom: 0.65rem; right: 1.05rem; z-index: 10; }
