@media only screen and (max-height: 767px) {
	.container_content {
		align-items: center;
		align-content: center;
	}

	.container_content h1 {
		font-size: 3rem;
	}

	.container_content button {
		width: 15rem;
		height: 5rem;
		font-size: 2rem;
		margin: -2% 0% 5% 22%;
	}

	#settings button {
		height: 2rem;
		width: 2rem;
		border-radius: 50%;
	}

	#settings_page h2 {
		top: 3%;
		left: 18%;
		font-size: 1.6rem;
	}

	#settings_page label {
		font-size: 0.6rem;
		font-weight: 500;
		margin: 0% 0% 0% 0%;
		text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
	}

	#settings_page input[type="text"] {
		width: 0.8rem;
		height: 0.9rem;
		background-color: rgba(255, 255, 255, 0.1);
		border-bottom: 2px solid rgb(0, 0, 0) !important;
		border: none;
		font-size: 0.4rem;
		font-weight: 600;
		text-align: center;
		margin: 0 0 1% 2%;
	}

	.toggle-switch {
		transform: scale(0.2) translateX(-8rem) translateY(-5rem);
		margin-bottom: -2.5rem;
		margin-top: -0.2rem;
	}

	#settings_page span {
		font-size: 0.5rem;
		text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
	}

	#menu_button {
		position: absolute;
		width: 40px;
		height: 40px;
		bottom: 25%;
		right: 25%;
	}

	#quit {
		display: none;
	}

	#reset__settings {
		bottom: 25%;
		left: 80%;
		font-size: 0.4rem;
	}

	.sound {
		position: relative;
		display: inline;
		width: 80%;
		height: 5%;
	}

	.sound .toggle-switch {
		position: relative;
		right: 0.5rem;
		bottom: 0.2rem;
	}

	.instruction {
		justify-content: center;

		width: 30vw;
		height: 45vh;
		transform: translateY(-20%);
		font-size: 0.7rem;
		background-color: rgba(128, 128, 128, 0.5);
		backdrop-filter: blur(8px);
		border-radius: 20px;
		user-select: none;
		z-index: -1;
	}

	#mobile-controls {
		position: absolute;
		display: flex;
		flex-direction: row;
		align-items: center;
		bottom: 0;
		width: 95vw;
		height: 38vh;
		margin: 0 0 2rem 2rem;
		z-index: 3;
		gap: 2rem;
		user-select: none;
	}

	#left-controls {
		width: 20%;
		height: 100%;
		display: flex;
		align-items: end;
		gap: 1rem;
		margin-right: auto;
		margin-left: 0;
	}

	#right-controls {
		width: 20%;
		height: 100%;
		display: flex;
		flex-direction: column;
		gap: 1rem;
		margin-left: auto;
		margin-right: 0;
	}

	#left_button {
		margin-right: auto;
	}

	#right_button {
		margin-right: auto;
	}

	#jump_button {
		margin-left: auto;
	}

	#chroma_switch_button {
		margin-left: auto;
	}

	#mobile-controls button {
		border: rgba(0, 0, 0, 0.80) solid 2px;
		width: 8rem;
		height: 8rem;
		border-radius: 50%;
		backdrop-filter: blur(10px);
		background-color: rgba(255, 255, 255, 0.3);
		background-size: cover;
		background-position: center;
		background-image: var(--image-url);
	}


	#mobile-controls button {
		width: 4rem;
		height: 4rem;
		border-radius: 50%;
		backdrop-filter: blur(10px);
		background-color: rgba(255, 255, 255, 0.3);
		background-size: cover;
		background-position: center;
		background-image: var(--image-url);
	}

	.close {
		position: absolute;
		top: -1.5%;
		right: -2.5%;
		width: 25px;
		height: 25px;
		border-radius: 50%;
		background-color: rgba(255, 255, 255, 0.75);
		background-image: url("../public/close.webp");
		background-position: center;
		background-size: 60%;
		background-repeat: no-repeat;
		border: none;
	}

	.card-key {
		width: 1rem;
		height: 1rem;
		font-size: 0.6rem;
		margin-right: 0.7rem;
	}

	#qg {
		position: absolute;
		display: flex;
		flex-direction: column;
		align-items: center;

		width: 30vw;
		height: 80vh;
		background-color: rgba(0, 0, 0, 0.5);
		border: #f5f5f5 2px solid;
		backdrop-filter: blur(8px);
		border-radius: 20px;
		user-select: none;
		z-index: -1;
	}

	.qg-title {
		font-size: 1rem;
	}

	.qg-description {
		font-size: 0.4rem;
		margin-bottom: -2rem;
	}

	.btn {
		width: 6rem;
		height: 1.2rem;
		font-size: 0.4rem;
		margin-bottom: -0.6rem;
	}

	#save-map {
		position: absolute;
		width: 100%;
		height: 10%;
		top: 87%;
		right: 0%;
		font-size: 0.7rem;
	}

	#powerLeftCounter {
		position: absolute;
		top: 0;
		transform: scale(0.5);
		margin: 0.5rem 0 0 0;
	}

	#powerLeftCounter {
		position: absolute;
		top: 0;
		left: 50%;
		transform: translateX(-50%) scale(0.5);
		margin: 0.5rem 0 0 0;
		font-weight: 600;
		display: flex;
		align-items: center;
		justify-content: center;
	}

	#reset-level-button {
		height: 2rem;
		width: 2rem;
		border-radius: 50%;
	}

	#scoreDisplay {
		font-size: 1rem;
		font-weight: 600;
		margin: -1.5rem 0 0 2.5rem;
	}

	.wrapper {
		width: 100%;
		height: 50vh;
		display: flex;
		align-items: center;
		justify-content: center;
		transform: scale(0.8) translate(-5rem);;
	}

	.return-menu button {
		height: 2rem;
		width: 2rem;
		border-radius: 50%;
	}

	#name-author{
		font-size: 8rem;
	}
}