/* Base styles for internet4000 */

:root {
	--s-font: 20px;
	--s-font--text: 1rem;
	--s: 1.5rem;
	--s-container: 30rem;
}

html {
	font-size: var(--s-font);
	font-size: var(--s-font--text);
}

html,
body {
	width: 100vw;
	height: 100vh;
	margin: 0;
	font-family: sans-serif;
}

body {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding: 0;
}

h1,
menu {
	width: 100%;
}

menu {
	list-style: none;
	margin: 0;
	padding: 0.5rem 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 1rem;
}

menu a {
	display: flex;
	justify-content: flex-end;
	padding: calc(var(--s) / 3);
	text-decoration: none;
}

menu a:hover {
	text-decoration: underline;
}

h1 {
	margin: 0;
	text-align: center;
}

/* Page layout styles */
.page {
	width: 100%;
	max-width: var(--s-container);
	padding: var(--s);
	box-sizing: border-box;
}

.page h1 {
	margin-bottom: var(--s);
}

.page p {
	line-height: 1.6;
	margin-bottom: var(--s);
}
