.QRCode {
	margin-bottom: 10px;
}

.MenuButton {
	border: 0;
}

.Form {
	padding: 2vh 5vh 2vh 2vh;
	margin: 0;
	height: 100vh;
	width: 100%;

	max-width: 30vw;
	max-height: 90vh;

	gap: 20px;

	text-align: center;
	display: flex;
	flex-direction: column;

	overflow-x: hidden;
	overflow-y: auto;

	color: var(--text-light);
	background-color: var(--bg-form);

	border-radius: 15px;
}

@media (min-width: 768px) {
	.Form {
		margin-top: -5vh;
	}
}

@media (max-width: 767px) {
	.Form {
		margin-top: 0;
		max-width: 60vw;
	}
}


.scoreButton {
	margin: 5px;
}

.back-btn {
	align-self: flex-start;
	margin-bottom: 20px;
	padding: 18px 40px;
	font-size: 1.2rem;
	font-weight: bold;
	border: none;
	border-radius: 14px;
	cursor: pointer;
	opacity: 0.9;

	background: linear-gradient(135deg, var(--button-gradient-start), var(--button-gradient-end));
	color: var(--accent-gold) !important;
	border: 2px solid var(--accent-gold);

	box-shadow: 8px 8px 0px var(--box-shadow-dark);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.back-btn:hover {
	transform: translateY(-4px);
	box-shadow: 0 0 20px var(--box-shadow-glow);
	background: linear-gradient(135deg, var(--button-gradient-hover-start), var(--button-gradient-hover-end));
}

.screen {
	display: none;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	position: absolute;
	inset: 0;
	min-height: 100dvh;
	padding: 30px 20px;
	background-color: var(--bg-dark);
	color: var(--text-light);
	z-index: 9;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

.ScrollingBG {
	position: fixed;
	background-repeat: repeat;
	animation: scroll 20s linear infinite;
	z-index: -1;
}

@keyframes scroll {
	from {
		background-position: 0 0;
	}

	to {
		background-position: 100vw 0;
	}
}

.alliance-buttons {
	align-items: center;
}

.alliance-choice {
	display: flex;
	justify-content: space-evenly;
	margin-top: 10px;
}

.form-section {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-bottom: 8px;
	font-weight: bold;
}

.selected {
	border: 4px solid var(--text-light) !important;
	transform: scale(1.05);
}

.background {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: -1;
}

.main-content {
	position: relative;
	z-index: 1;
}


@media (max-width: 768px) {
	.subjective-container {
		display: block;
		width: 100%;
		padding: 16px;
	}

	.subjective-container input,
	.subjective-container textarea,
	.subjective-container button {
		width: 100%;
		font-size: 1rem;
		margin: 8px 0;
	}
}

.subjective-container {
	max-height: 100vh;
	overflow-y: auto;
	padding-bottom: 100px;
}


.robot-data-wrapper {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 20px;
	padding: 20px;
	min-height: 100vh;
	max-width: 100%;
	overflow-x: auto;

}

.robot-data-wrapper canvas {
	width: 100%;
	max-width: 300px;
	height: auto;
}