@import url('https://fonts.googleapis.com/css2?family=Dela+Gothic+One&family=M+PLUS+Rounded+1c:wght@300&family=Noto+Sans+JP:wght@100..900&display=swap');

a {
	text-decoration: none;
}

html {
	background-image: linear-gradient(to right bottom, #f00f8e, #f45ab2, #f685d1, #f8aaeb, #fbccff);
	padding: 0;
	margin: 0;
	height: auto;
	min-height: 100%;
	font-family: "Noto Sans JP", sans-serif;
	font-optical-sizing: auto;
	font-weight: 300;
	font-style: normal;
}

body {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin: 0;
	padding: 1vw 5vw calc(1vw + 1.6em);
	box-sizing: border-box;
	height: 100%;

	& > *:not(footer) {
		width: 100%;
		max-width: 800px;
	}

	& > header {
		font-family: "Dela Gothic One", sans-serif;
		font-weight: 400;
		font-style: normal;
		font-size: 5.2vmin;
		line-height: 1;
		text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
		color: rgba(255, 255, 255, 0.8);
		margin: 1vmin 0 2vmin;

		#prefix {
			font-family: "M PLUS Rounded 1c", sans-serif;
			font-weight: 300;
			font-style: normal;
			font-size: 2vmin;
			margin-bottom: 0.5vmin;
			display: block;
		}
	}

	& > section {
		color: rgba(255, 255, 255, 0.8);
		background: linear-gradient(rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.3));
		padding: 1vmin;
		border-radius: 2vmin;
		margin-bottom: 1vmin;
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		gap: 0.3em;

		& > header {
			text-align: center;
			grid-column: span 3;
		}
	}
}

@media (max-width: 600px) {
	body > section {
		display: flex;
		flex-direction: column;
	}
}

a.btn {
	display: block;
	font-family: "Noto Sans JP", sans-serif;
	text-align: center;
	font-weight: 800;
	letter-spacing: 0.2em;
	padding: 0.5vmin 1.5vmin;
	border-radius: 1vmin;
	font-size: 0.85em;
	color: white;
	background: rgba(128, 0, 0, 0.7);
}

a.wiki {
	background: #70072b;
}

a.hackmd {
	background: black;
}

a.discord {
	background: #7289da;
}

a.yt {
	background: #CC0000;
}

#about {
	font-size: 0.7em;
	opacity: 0.4;
	text-align: center;
	margin: 0.5em 0;
	word-break: keep-all;
}

footer {
	position: fixed;
	bottom: 0;
	background: rgba(0, 0, 0, 0.1);
	color: rgba(0, 0, 0, 0.7);
	line-height: 2;
	width: 100%;
	text-align: center;
	font-size: 0.8em;
	font-weight: 400;

	a {
		color: #910d3b;
	}
}
