
section.intro {
	font-size: 2em;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1rem;
}

.main-input-wrapper {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

#images-input-wrapper {
	position: relative;
	background: var(--secondary-color);
	color: var(--primary-color);
	border-radius: 5em;
	width: 30vw;
	aspect-ratio: 10/1.5;
	display: flex;
	justify-content: center;
	align-items: center;
	cursor: pointer;
	overflow: hidden;
	transition: all 0.3s;
}

#images-input-wrapper:hover {
	border: 2px solid var(--secondary-color);
	background: var(--primary-color);
	color: var(--secondary-color);
}

#images-input-wrapper label{
	color: inherit;
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	transition: 0.3s;
}

#images-input {
	position: absolute;
	inset: 0 0;
	width: 100%;
	height: 100%;
	appearance: none;
	opacity: 0;
	cursor: pointer;
}

#images-input-wrapper label:nth-child(1) {
	animation: labelMoveIn 0.5s forwards;
}

#images-input-wrapper label:nth-child(2) {
	animation: labelMoveOut 0.5s forwards;
}

#images-input-wrapper.hovering label:nth-child(1) {
	animation: labelMoveOut 0.5s forwards;
}

#images-input-wrapper.hovering label:nth-child(2) {
	animation: labelMoveIn 0.5s forwards;
}

#images-input-wrapper.hovering {
	border: 2px solid var(--secondary-color);
	background: var(--primary-color);
	color: var(--secondary-color);
}

#images-input-wrapper:focus-within {
	border: 2px solid var(--secondary-color);
	background: var(--primary-color);
	color: var(--secondary-color);
	scale: 1.075;
	font-size: 1.125em;
}

@media (max-width: 768px) {
	#images-input-wrapper {
		width: 90vw;
	}
}

@media (max-width: 648px) {
	body {
		padding: 1rem;
	}
	html {
		font-size: 12px;
	}
	.multiple-text-span {
		flex-direction: column;
		margin: 1rem;
	}
}

.performance-mode-toggle {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1rem;
}

.switch {
	display: inline-block;
	height: 34px;
	position: relative;
	width: 60px;
}

.switch input {
	display:none;
}

.slider {
	background: var(--primary-color);
	outline: 1px solid var(--secondary-color);
	bottom: 0;
	cursor: pointer;
	left: 0;
	position: absolute;
	right: 0;
	top: 0;
	transition: .4s;
}

.slider:before {
	background: var(--secondary-color);
	bottom: 4px;
	content: "";
	height: 26px;
	left: 4px;
	position: absolute;
	transition: .4s;
	width: 26px;
}

input:checked + .slider {
	background: var(--secondary-color);
}

input:checked + .slider:before {
	transform: translateX(26px);
	background: var(--primary-color);
}

.slider.round {
	border-radius: 34px;
}

.slider.round:before {
	border-radius: 50%;
}

@keyframes labelMoveOut {
	0% {
		transform: translate(-50%, -50%);
	}
	99.9% {
		transform: translate(-50%, -250%);
	}
	100% {
		transform: translate(-50%, 250%);
	}
}

@keyframes labelMoveIn {
	0% {
		transform: translate(-50%, 250%);
	}
	100% {
		transform: translate(-50%, -50%);
	}
}
