@import "palette.css";
@import "fonts.css";


body {
	background-color: var(--bg-color);
	color: var(--color-1);
	font-family: "Comfortaa", sans-serif;
}

#grid-container {
	display: grid;
	text-align: center;
	grid-template-areas: "header header" "nav article" "footer footer" "credits credits";
	grid-template-columns: 20% 1fr;
	grid-template-rows: 5em 1fr;
	gap: 0;
}

h1 {
	grid-area: header;
	font-family: "Galaksi";
	font-size: 4em;
	font-weight: 100;
	margin: 0;

	background: linear-gradient(var(--color-2)0 75%, var(--color-1) 50% 100%);
	background-clip: text;
	-webkit-text-fill-color: transparent;
	text-rendering: geometricPrecision;
}

h2 {
	font-size: 2em;
	/* margin: 0.5em; */
	margin: auto;
}

h3 {
	border-bottom: 1px dotted var(--color-1);
	margin: auto 1em;
}

:is(h1, h2, h3)::before {
	content: '✰ ';
}

:is(h1, h2, h3)::after {
	content: ' ✰';
}

nav {
	display: grid;
	grid-area: nav;
	grid-template-rows: repeat(auto-fit, 4em);
	gap: 8px;

	border: 4px outset var(--color-1);
	margin: 0.5em;
	padding: 8px;

	* {
		font-size: xx-large;
	}
}

article {
	grid-area: article;
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-template-rows: 6em 1fr 2.5fr 2.5fr;
	height: min-content;
	gap: 8px;

	border: 4px outset var(--color-1);
	margin: 0.5em;
	padding: 8px;

	img {
		width: 100%;
		grid-row: span 3;
		margin: auto;
	}
	h2 {
		grid-column: span 2;
	}
}

table {
	margin: auto;
	width: 66%;
	border-collapse: collapse;

	tbody > tr {
		td:nth-child(odd) {
			text-align: left;
		}
		td:nth-child(even) {
			text-align: right;
		}
	}
	tbody > :not(tr:first-child) {
		border-top: 1px dotted var(--color-1);
		height: 2em;
	}
}

a {
	color: var(--color-3)
}

.add-babes::before {
	content: 'b';
	font-family: "SexySilhouettes3";
	font-size: 2.5em;
	vertical-align: middle;
	text-rendering: geometricPrecision;
	padding-right: 0.25em;
	color: var(--color-4);
}
.add-babes::after {
	content: 'f';
	font-family: "SexySilhouettes3";
	font-size: 2.5em;
	vertical-align: middle;
	text-rendering: geometricPrecision;
	padding-left: 0.25em;
	color: var(--color-4);
}

.nav-button {
	font-weight: bolder;
	font-size: medium;
	vertical-align: middle;
	margin: auto;
	width: 80%;
	height: fit-content;
	text-decoration: none;
	color: var(--bg-color);
	background-color: var(--color-3);
	padding: 1em;
	border-radius: 1em;

	img {
		height: 0.75em;
	}
}

.disabled {
	text-decoration: line-through;
	color: color-mix(in srgb, currentcolor, transparent)
}

.border {
	border: 4px outset var(--color-1);
}

.centered {
	text-align: center;
	vertical-align: middle;
	padding: 1em;
}

.margin {
	margin: 1em 0.5em;
}

.gallery {
	padding-top: 1em;
	display: flex;
	justify-content: space-evenly;
	img {
		height: 250px;
		vertical-align: middle;
	}
}