﻿body, html {
	margin: 0;
	padding: 0;
	font-family: Arial, sans-serif;
	background: #f0f0f0;
	display: flex;
	flex-direction: column;
	height: 100vh; /* Fits the entire view to the device's screen */
	overflow: hidden; /* Prevents scrolling outside the viewport */
}

header {
	background-color: #007BFF;
	color: white;
	padding: 12px 15px; /* Optimized padding for smaller screens */
	text-align: center;
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 50px;
}

.header-content {
	display: flex;
	align-items: center;
}

.logo {
	width: 50px; /* Smaller logo for mobile screens */
	height: auto;
	margin-right: 10px;
}

h1 {
	margin: 0;
	font-size: 18px; /* Fixed font size suitable for mobile */
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* Media query specifically for smaller screens */
@media (max-width: 600px) {
	.video-player {
		width: 100%; /* Full width of the container */
		height: auto; /* Adjust height automatically */
		max-height: 60vh; /* Smaller max height to fit mobile screens */
	}

	footer {
		padding: 15px 0; /* Adjust padding for balance */
		min-height: 50px; /* Optimal height for footer */
	}

		footer a:hover {
			text-decoration: underline;
		}

	#collected-letters {
		margin-bottom: 10px;
	}
}

#video-container {
	flex: 1; /* Flexibility in using available space */
	display: flex;
	justify-content: center;
	align-items: center;
}

.video-player {
	width: 100%;
	max-height: 75vh;
}

footer {
	background-color: #007BFF;
	color: white;
	text-align: center;
	padding: 20px 0;
	min-height: 60px; /* Ensures footer is visible but not too large */
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

#collected-letters {
	color: #FFF;
	margin-bottom: 10px; /* Space between the letters and links */
}

/* AR-specific styles */
a-scene {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: black;
}

.arjs-loader {
	height: 100%;
	width: 100%;
	position: absolute;
	top: 0;
	left: 0;
	background-color: rgba(0, 0, 0, 0.8);
	z-index: 9999;
	display: flex;
	justify-content: center;
	align-items: center;
}

	.arjs-loader div {
		text-align: center;
		font-size: 1.25em;
		color: white;
	}
