/* Stylesheet May 23 Fri 2025 Jinil Park */
* {
	margin: 0;
	padding: 0;
}
html {
	background-image: url("../images/rain_background.gif");
	background-attachment: fixed;
}
body {
	position: relative;
	display: grid;
	grid-template-areas:
		"head"
		"main"
		"foot";
	background-color: rgba(255, 255, 255, 0.95);
	border-radius: 2em;
	margin: 0 20%;
}

h1,
h2,
h3 {
	font-family: Roboto, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
		Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}

p,
li,
a {
	font-family: "Open Sans", system-ui, -apple-system, BlinkMacSystemFont,
		"Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

header {
	grid-area: head;
}
#nav_menu {
	background: linear-gradient(
			to bottom,
			rgba(255, 255, 255, 0.15) 0%,
			rgba(0, 0, 0, 0.15) 100%
		),
		radial-gradient(
				at top center,
				rgba(255, 255, 255, 0.4) 0%,
				rgba(0, 0, 0, 0.4) 120%
			)
			#989898;
	background-blend-mode: multiply, multiply;
	box-shadow: 0 1px 3px black;
}
#nav_menu ul {
	list-style-type: none;
	display: flex;
	justify-content: space-around;
	align-items: center;
	height: 4em;
}
#nav_menu ul li {
	width: 25%;
	text-align: center;
	border-right: 1px solid white;
}
#nav_menu ul li:last-child {
	border-right: none;
}
#nav_menu ul li a {
	text-decoration: none;
	color: white;
	font-size: 110%;
	font-weight: bold;
}
#nav_menu ul li a:hover,
div a:hover {
	font-size: 130%;
}
a {
	transition: font-size 0.7s;
}
.slicknav_menu {
	display: none;
	grid-area: head;
	background: linear-gradient(to right, #141e30, #243b55) !important;
}

main {
	grid-area: main;
	display: flex;
	flex-direction: column;
	margin: auto;
	text-align: center;
}
main div {
	padding-bottom: 2em;
	width: 100%;
	font-size: 110%;
	line-height: 1.7em;
}
main div p,
main div ul {
	max-width: 65ch;
	text-align: left;
}
main div p {
	margin: 1em 0;
}
main div h2 {
	border-bottom: 2px solid black;
	margin: 1em 0 1em 0;
	padding-bottom: 0.3em;
	font-size: 150%;
}
main h1 {
	font-size: 220%;
	padding: 1em;
}
main img {
	max-width: 17em;
	border-radius: 6em;
	box-shadow: 1px 3px 5px black;
}
main div h3 {
	margin-top: 2em;
}
main div ul {
	list-style-type: square;
}
main div ul li {
	margin-top: 0.3em;
}

footer {
	position: absolute;
	grid-area: foot;
	height: 3em;
	display: flex;
	justify-content: center;
	width: 100%;
}
footer p {
	position: absolute;
	padding: 1em;
	color: white;
	font-size: 80%;
}

@media only screen and (max-width: 1104px) {
	#nav_menu ul {
		display: none;
	}
	.slicknav_menu {
		display: block;
	}
	footer {
		font-size: 80%;
	}
	footer p {
		background-color: rgba(1, 1, 1, 0.5);
		border-radius: 1em;
	}
}
@media only screen and (max-width: 970px) {
	body {
		margin: 0 15%;
	}
	footer p:last-child {
		left: 50%;
	}
}
@media only screen and (max-width: 820px) {
	body {
		margin: 0 10%;
	}
	footer p:last-child {
		left: 40%;
	}
	footer p {
		font-size: 0.7em;
	}
}
@media only screen and (max-width: 730px) {
	body {
		margin: 0 5%;
	}
	main {
		font-size: 90%;
	}
	footer {
		flex-direction: column;
		align-items: center;
		margin-top: 1em;
	}
	footer p {
		position: static;
	}
	footer p:last-child {
		left: 0;
	}
}
