/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:ital,wght@0,400;0,700;1,400;1,700&family=Roboto:ital,wght@0,400;0,700;1,400;1,700&display=swap');

:root {
	--colour-bg: #252830;
	--colour-bg-dark: #1f2229;
	--colour-text-primary: #cfd2da;
	--colour-text-inverse: black;
	--colour-border: #434857;
	--colour-highlight: #6c5dd0;
	--colour-highlight-dark: #38298a;
}

* {
	box-sizing: border-box;
}

html {
	padding: 0;
	width: 100vw;
	height: 100vh;
	font-size: 62.5%;
}

body {
	margin: 0;
	padding: 16px;
	width: 100vw;
	height: 100vh;
	box-sizing: border-box;
	background: var(--colour-bg) url('../img/noisy_net.webp') repeat;
	font-size: 1.6rem;
	font-family: Roboto, sans-serif;
	color: var(--colour-text-primary);
}

header {
	margin-bottom: 16px;
}

header h1 {
	font-size: 72px;
	font-weight: bold;
	margin: 0;
}

.cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, 320px);
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.cards li {
	max-height: 200px;
	min-height: 130px;
	border: 2px solid black;
}

.cards li a {
	width: 100%;
	height: 100%;
	font-weight: bold;
	font-size: 3.2rem;
	color: var(--colour-text-primary);
	text-decoration: none;
	display: flex;
	justify-content: center;
	align-items: center;
	background: var(--colour-bg);
	border: 1px solid var(--colour-border);
}

.cards li a:hover,
.cards li a:active,
.cards li a:visited {
	color: var(--colour-text-primary);
}

.cards li a:hover {
	text-decoration: none;
	background: var(--colour-bg-dark);
}

.cards li a:active,
.cards li a:visited {
	text-decoration: none;
}

.cards li a img {
	height: 48px;
	width: 48px;
	margin-right: 8px;
}
