:root {
	--color-bg-primary: #232937; /* For the body itself for example */
	--color-bg-secondary: #4f6d82; /* For the div.main for example */
	--color-bg-tertiary: #2b4558; /* Hover for links, some borders */
	--color-text-primary: #e7f6f7; /* Text colour */

	--spacing-xs: 5px;
	--spacing-sm: 10px;
	--spacing-md: 15px;
	--spacing-lg: 20px;
	--spacing-xl: 25px;
	--spacing-xxl: 30px;
	--spacing-3xl: 40px;

	--container-max-width: 700px; /* The max width of the main content container */
	--container-padding: 30px; /* The padding of the main content container */
	--border-width: 3px; /* What width the borders should have (the ones around the main content and also the ones around the images etc. Border for links and buttons not here */
	--border-radius-sm: 5px; /* The small border radius for e. g. image borders */
	--border-radius-lg: 50px; /* The large border radius for the big buttons for example (e. g. Commission Info */

	--font-base: Neuton;
	--font-size-sm: 1.2rem;
	--font-size-md: 1.5rem;
	--font-size-lg: 1.7rem;
	--font-size-xl: clamp(3rem, 5vw, 4rem);

	--img-pfp: 80px; /* Used for headshot / pfp-style images */
	--img-small: 256px; /* Used for basically any image in the commissions info except for the headshots */
	--img-banner-height: 200px; /* The height of the lagiacrus banner image (at the bottom of the page) on the hompage / index.html */
}

/* Neuton ExtraLight */
@font-face {
	font-family: "Neuton";
	src: url("css/fonts/Neuton/Neuton-ExtraLight.woff2") format("woff2");
	font-weight: 200;
	font-style: normal;
	font-display: swap;
}

/* Neuton Light */
@font-face {
	font-family: "Neuton";
	src: url("css/fonts/Neuton/Neuton-Light.woff2") format("woff2");
	font-weight: 300;
	font-style: normal;
	font-display: swap;
}

/* Neuton Regular */
@font-face {
	font-family: "Neuton";
	src: url("/css/fonts/Neuton/Neuton-Regular.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

/* Neuton Italic */
@font-face {
	font-family: "Neuton";
	src: url("/css/fonts/Neuton/Neuton-Italic.woff2") format("woff2");
	font-weight: 400;
	font-style: italic;
	font-display: swap;
}

/* Neuton Bold */
@font-face {
	font-family: "Neuton";
	src: url("/css/fonts/Neuton/Neuton-Bold.woff2") format("woff2");
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

/* Neuton ExtraBold */
@font-face {
	font-family: "Neuton";
	src: url("/css/fonts/Neuton/Neuton-ExtraBold.woff2") format("woff2");
	font-weight: 800;
	font-style: normal;
	font-display: swap;
}

body {
	font-family: var(--font-base);
	background-color: var(--color-bg-primary);
}

p {
	color: var(--color-text-primary);
	font-size: var(--font-size-sm);
}

div.main {
	max-width: var(--container-max-width);
	margin: 0 auto;
	background-color: var(--color-bg-secondary);
	padding: var(--spacing-xxl);
}

div.border {
	border: var(--border-width) solid var(--color-bg-secondary);
	max-width: var(--container-max-width);
	margin: 0 auto;
	padding: var(--spacing-lg);
}

div.info {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: var(--spacing-3xl);
}

div.info div.image {
	flex: 0 1 var(--img-small);
	min-width: 0;
	margin: 0 auto;
}

div.image img {
	max-width: var(--img-small);
	height: auto;
	display: block;
	border-radius: var(--border-radius-sm);
}

div.text {
	flex: 1 0 30%;
	min-width: 150px;
}

div.text p {
	margin-top: 0;
}

div.banner {
	margin-left: calc(var(--spacing-xl) * -1);
	margin-right: calc(var(--spacing-xl) * -1);
}

div.banner img {
	object-fit: cover;
	width: 100%;
	height: var(--img-banner-height);
}

header {
	margin: 0 auto;
	margin-left: calc(var(--spacing-xl) * -1);
	margin-right: calc(var(--spacing-xl) * -1);
}

div.headshot-images,
div.fullbody-images {
	display: flex;
	flex-wrap: wrap;
	gap: var(--spacing-sm);
}

div.headshot-images img {
	width: var(--img-pfp);
	flex: 1 1 var(--img-pfp);
	border-radius: var(--border-radius-sm);
	border: var(--border-width) solid var(--color-bg-tertiary);
}

div.fullbody-images img {
	width: var(--img-small);
	flex: 0 0 var(--img-small);
	border-radius: var(--border-radius-sm);
	border: var(--border-width) solid var(--color-bg-tertiary);
	object-fit: contain;
	margin: 0 auto;
	align-self: center;
}

div.fullbody-images figure {
	margin: 0;
	align-self: center;
	margin: 0 auto;
}

div.fullbody-images figcaption {
	color: var(--color-text-primary);
	text-align: center;
}

div.bust {
	display: flex;
	gap: var(--spacing-md);
	flex-wrap: wrap;
}

div.bust img {
	border-radius: var(--border-radius-sm);
	border: var(--border-width) solid var(--color-bg-tertiary);
}

hr {
	margin-left: calc(var(--spacing-xxl) * -1);
	margin-right: calc(var(--spacing-xxl) * -1);
	border: 2px solid var(--color-bg-primary);
}

h1 {
	background-color: var(--color-bg-primary);
	color: var(--color-text-primary);
	text-align: center;
	font-size: var(--font-size-xl);
	outline: 1px solid black;
	font-weight: 800;
	padding: var(--spacing-xs);
}

h2 {
	background-color: var(--color-bg-primary);
	color: var(--color-text-primary);
	text-align: center;
	font-size: var(--font-size-lg);
	outline: 1px solid black;
	font-weight: 800;
	padding: var(--spacing-xs) var(--spacing-sm);
	width: fit-content;
	border-radius: var(--border-radius-sm);
}

footer {
	padding: var(--spacing-sm);
	background-color: var(--color-bg-primary);
	color: var(--color-text-primary);
	text-align: center;
	margin-left: calc(var(--spacing-xl) * -1);
	margin-right: calc(var(--spacing-xl) * -1);
	outline: 1px solid black;
	margin-top: var(--spacing-xxl);
	display: flex;
	flex-wrap: wrap;
	gap: var(--spacing-sm);
	justify-content: space-evenly;
}

footer a {
	padding: var(--spacing-sm) var(--spacing-lg);
	background-color: var(--color-bg-primary);
	border: 2.5px solid var(--color-text-primary);
	border-radius: var(--border-radius-lg);
	color: var(--color-text-primary);
	text-decoration: none;
	display: inline-block;
	min-width: 70px;
	text-align: center;
	font-size: var(--font-size-sm);
	flex: 1 1 70px;
}

footer a:hover {
	background-color: var(--color-bg-tertiary);
}

a.home-button {
	padding: var(--spacing-sm) var(--spacing-lg);
	background-color: var(--color-bg-primary);
	border: 2.5px solid var(--color-text-primary);
	border-radius: var(--border-radius-sm);
	color: var(--color-text-primary);
	text-decoration: none;
	display: inline-block;
	min-width: 70px;
	text-align: center;
	font-size: var(--font-size-sm);
	flex: 1 1 70px;
}

a.home-button:hover {
	background-color: var(--color-bg-tertiary);
}

a.big-button {
	padding: var(--spacing-lg) var(--spacing-3xl);
	background-color: var(--color-bg-secondary);
	border: 2.5px solid var(--color-text-primary);
	border-radius: var(--border-radius-lg);
	color: var(--color-text-primary);
	text-decoration: none;
	display: inline-block;
	min-width: 200px;
	text-align: center;
	font-size: var(--font-size-md);
}

a.big-button:hover {
	background-color: var(--color-bg-tertiary);
}

div.comm-buttons {
	margin-top: var(--spacing-lg);
	margin-bottom: var(--spacing-lg);
	display: flex;
	gap: var(--spacing-sm);
	justify-content: center;
	align-items: center;
}

.comm-column {
	flex-direction: column;
}

.comm-row {
	flex-direction: row;
	flex-wrap: wrap;
}

div.comm-buttons a {
	max-width: 200px;
}

@media (max-width: 600px) {
	div.info {
		flex-direction: column-reverse;
	}

	div.bust {
		flex-direction: column-reverse;
		justify-content: center;
		align-items: center;
	}
}
