@import url('https://fonts.googleapis.com/css2?family=Hepta+Slab:wght@1..900&family=Noto+Sans+Display:ital,wght@0,100..900;1,100..900&display=swap');

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
	grid-column: 0;
}

:root {
	--primary-color: #112B72;
	--primary-background: #101010;
	--secondary-background: #080808;
	--primary-text: #ffffff;
	--table-background: #202020;
	--table-background-alt: #181818;
}

html {
	font-family: "Hepta Slab", serif;
	font-optical-sizing: auto;
	font-weight: 400;
	font-style: normal;
	font-size: 1rem;
	color: var(--primary-text);
}

body {
	width: 100%;
	max-width: 100vw;
	height: 100%;
	max-height: 100vh;
	display: grid;
	grid-template-columns: 1fr;
	grid-template-rows: auto 1fr auto;
}

.sans-serif,
h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: "Noto Sans Display", sans-serif;
	font-weight: 600;
	font-variation-settings:
		"wdth" 100;
}

.btn {
	border: 1px solid var(--primary-text);
	background-color: var(--primary-background);
	padding: 0.5rem 1rem;
	border-radius: 0.5rem;
	color: var(--primary-text);
	cursor: pointer;
	transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out;
	text-transform: uppercase;

	&:hover {
		background-color: var(--primary-text);
		border: 1px solid var(--primary-text);
		color: var(--primary-background);
	}
}

a {
	text-decoration: none;
	color: var(--primary-color);
	transition: color 0.2s ease-in-out;
	cursor: pointer;

	&:hover {
		color: var(--primary-text);
	}
}

main {
	grid-row: 2;
	padding: 4rem;
	max-width: 100%;
	max-height: 100%;
	overflow-y: auto;
	overflow-x: hidden;
	min-height: 100vh;
	background-color: var(--secondary-background);

	#home-page {
		width: 100%;
		height: 100%;
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		padding: 1rem;
		gap: 1rem;

		h1 {
			font-size: 8vh;
			position: relative;
		}

		h1::after {
			content: "TM";
			font-size: 1.5rem;
			color: #007bff;
			position: absolute;
			top: 0;
			right: -2rem;
		}
	}
}

header {
	grid-row: 1;
	background-color: var(--primary-background);
	padding: 0.5rem;

	nav {
		width: 100%;
		display: flex;
		justify-content: center;
		align-items: center;
		gap: 1rem;

		a {
			color: var(--primary-text);
			text-transform: uppercase;
			font-size: 0.8rem;
		}
	}
}

footer {
	grid-row: 3;
	background-color: var(--primary-background);
	padding: 0.5rem;

	p {
		color: var(--primary-text);
		text-align: center;
		font-size: 0.8rem;
	}
}

@media (max-width: 768px) {
	main {
		padding: 1rem;

		#home-page {
			h1 {
				font-size: 5vh;
			}

			h1::after {
				right: -1.5rem;
				font-size: 1rem;
				top: -0.5rem;
			}
		}
	}
}
