body {
	position: relative;

}

.joke-bkg {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	flex-wrap: wrap;
	z-index: -1;
	overflow: hidden;
}

.joke-bkg img {
	opacity: 0;
}


#page {
	width: 80%;
	margin: auto;
	padding: 6rem 0;
	position: relative;
	color: #454545;
}

#welcome {
	width: 60%;
	background-color: #fffefc;
	border: 2px solid #ffeacf;
	border-radius: 20px;
	box-shadow: 20px -1px 20px #c7c7c7;
	overflow: hidden;
}

#welcome-title {
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
	padding: 1.5rem;
	font-family: 'Comic Sans MS', cursive, sans-serif;
	font-size: 1.9rem;
}


#welcome-head {
	background-image: linear-gradient(30deg, #ffffff, #fff4ed);
}

#welcome-head img {
	width: 100%;
}

#welcome-text {
	padding: 2rem 3rem;
	font-family: Georgia, serif;
	font-style: italic;
	font-size: 1.25rem;
	line-height: 1.4;
}

#welcome-text p:last-child {
	text-align: right;
}


#menu {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	position: absolute;
	top: 9rem;
	right: 0;
	width: 40%;
	background-image: linear-gradient(to top, #ffefe5, #edbc9e);
	border: 2px solid white;
	border-radius: 20px;
	box-shadow: 20px -1px 20px #c7c7c7;
	transform: rotate(3deg);
	overflow: hidden;
}

.menu-card {
	width: 45%;
	height: 7rem;
	margin: 2% 1%;
	padding: 5px;
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: start;
	background-color: white;
	border-radius: 10px;
	font-family: 'Comic Sans MS', cursive, sans-serif;
	font-size: 1.2rem;
	text-align: center;
	cursor: pointer;
	transition: background-color .25s ease-in;
}

.menu-card:hover {
	background-color: #a2e0ff;
}

.menu-card img {
	height: 3rem;
	margin: 5px 0;
}




#icon-back {
	display: flex;
	flex-direction: column;
	align-items: center;
	position: fixed;
	bottom: 1rem;
	right: 1rem;
	font-family: Impact, Charcoal, sans-serif;
	font-size: 1.1rem;
	cursor: pointer;
	color: #494949;
}

#icon-back img {
	width: 4rem;
}


@media(max-width:1060px) {
	.menu-card {
		width: 90%;
	}
}

@media(max-width:640px) {
	#welcome {
		width: 100%;
	}

	#menu {
		position: relative;
		width: 100%;
		transform: unset;
	}

	.menu-card {
		width: 45%;
	}
}

@media(max-width:440px) {
	.menu-card {
		width: 90%;
	}
}