body {
	margin: 0;
	background-color: black;
	color: white;
	overflow: hidden;
	font-family: 'Courier New', monospace;
}

canvas {
	display: block;
}

input[type='checkbox'] {
	display: none;
}

.hamburger {
	width: 40px;
	height: 30px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	cursor: pointer;
	position: fixed;
	top: 20px;
	left: 20px;
	z-index: 20;
	transition: transform 0.3s ease;
	outline: none;
	-webkit-tap-highlight-color: transparent;
}

.hamburger:focus {
	outline: none;
}

.bar {
	width: 80%;
	height: 6px;
	background-color: white;
	border-radius: 2px;
	transition: all 0.3s ease;
}

.menu {
	position: fixed;
	top: 0;
	left: -300px;
	width: 250px;
	height: 100vh;
	background-color: #223;
	color: white;
	padding: 50px 20px 20px 20px;
	transition: left 0.4s ease;
	box-shadow: 2px 0 10px rgba(0, 0, 0, 0.5);
	z-index: 10;
}

.menu p {
	margin: 20px 0;
	color: #fff;
	font-size: 1.2rem;
}

#menu-toggle:checked + .hamburger .bar:nth-child(1) {
	transform: rotate(45deg) translate(5px, 12px);
}

#menu-toggle:checked + .hamburger .bar:nth-child(2) {
	transform: rotate(-45deg) translateY(-4.5px) translateX(-5px);
	opacity: 0;
}

#menu-toggle:checked + .hamburger .bar:nth-child(3) {
	transform: rotate(-45deg) translate(5px, -12px);
}

#menu-toggle:checked ~ .menu {
	left: 0;
}

.overlay {
	position: fixed;
	top: 0;
	left: 100%;
	width: 100%;
	height: 100vh;
	background-color: rgba(0, 0, 0, 0.5);
	color: white;
	padding: 20px;
	transition: left 0.5s ease;
	z-index: 15;
	overflow-y: auto;
	text-align: center;
	max-width: 320px;
}

.overlay .content {
	max-width: 260px;
	margin: 0 auto;
}

.overlay img {
	max-width: 300px;
	display: block;
	margin: 20px auto;
}

.overlay .exit {
	text-align: center;
	margin: 20px 0;
	cursor: pointer;
	font-size: 1.5rem;
}

.overlay.active {
	left: 0;
}

.parrot-img {
	width: 250px;
	height: 250px;
	border-radius: 50%;
}

canvas {
	display: block;
}

.exit {
	outline: none;
	-webkit-tap-highlight-color: transparent;
}

.container {
	perspective: 1000px;
}

.exit {
	padding: 15px 40px;
	font-size: 24px;
	color: white;
	background: linear-gradient(145deg, #28a745, #218838);
	border: none;
	border-radius: 12px;
	cursor: pointer;
	text-transform: uppercase;
	letter-spacing: 1px;
	transform-style: preserve-3d;
	transform: translateZ(0);
	transition: all 0.4s ease;
	position: relative;
	box-shadow: 0 4px 0 #1c7430, 0 6px 0 #155d27, 0 8px 0 #0d3f1d;
	outline: none;
	-webkit-tap-highlight-color: transparent;
}

.exit::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: rgba(0, 0, 0, 0.1);
	transform: translateZ(-40px);
	border-radius: 12px;
}

.exit:hover {
	transform: translateZ(40px);
	box-shadow: 0 4px 0 #218838, 0 10px 15px rgba(0, 0, 0, 0.4);
}

.exit:active {
	transform: translateZ(5px);
	box-shadow: 0 2px 0 #155d27, 0 8px 10px rgba(0, 0, 0, 0.2);
}

#fontSelector {
	font-size: 18px;
	padding: 10px;
	width: 200px;
	font-family: inherit;
	color: black;
}

#fontPreview {
	display: block;
	margin-top: 10px;
	width: 200px;
	height: auto;
}

p,
h1,
h2,
h3,
h4,
h5,
h6,
div,
span {
	font-family: inherit;
}
