:root {
	--clr-accent: rgb(0, 128, 0);
	--clr-bg-header: #fff;
	--clr-bg-nav: transparent;
	--clr-bg-nav-hover: #fffa;
	--bg-img-url: url('/img/bg/Paddon_Poland 1.3MB.jpg');
	--clr-bg-overlay: rgba(255, 255, 255, 0.7);
}

/* LAYOUT (width, margin, padding, flex)**********************/
body {
	min-height: 100vh;

	display: grid;
	grid-template-columns: 1fr;
	grid-template-rows: min-content min-content 1fr min-content;
}

header {
	padding-block: 1rem;
}

nav ul {
	display: flex;
	flex-direction: row;
	justify-content: space-around;

	li {
		flex: 1;

		a {
			padding: 0.5em 0;
			display: block;
			height: 100%;
		}
	}
}

ul.nav-style {
	display: flex;
	flex-direction: row;
	justify-content: space-around;
}
.pull-apart {
	padding-inline: 20%;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
}

main {
	padding-block: 1rem;
	padding-inline: max(2rem, 10vh);

	display: grid;
	gap: 1rem;
	grid-template-rows: repeat(4, max-content);
	justify-items: center;
	align-content: top;
}

.contain-text {
	max-width: 800px;
}
.contain-img {
	max-width: 80%;
}

.main-img {
	width: 100%;
	display: flex;
	justify-content: space-between;
}

footer {
	padding: 0.5em;
}

.flex {
	display: flex;
	gap: 1rem;
}

.flex-v {
	flex-direction: row;
}

/* TYPOGRAPHY (font, text) ***********************************/
*,
html,
body {
	font-family: Tahoma, Arial, sans-serif;
}

header,
nav ul,
main,
footer {
	text-align: center;
}

.main-text {
	text-align: left;
}

/* nav ul li:hover {
	font-weight: bold;
} */
/* .main-text ul li {
	list-style: disc inside none;
	text-indent: 2em;
} */

h1 {
	font-size: 4rem;
	font-weight: bold;
}
h2 {
	font-size: 1.8rem;
	padding-top: 0.5rem;
	padding-bottom: 0.8rem;
}
h3 {
	font-size: 1.5rem;
	padding-top: 0.3rem;
	padding-bottom: 0.5rem;
}
h4 {
	font-size: 1.3rem;
	padding-top: 0.2rem;
	padding-bottom: 0.3rem;
	text-decoration: underline;
}
p {
	padding: 0.5em 0;
}
nav ul {
	font-size: 1.3em;
}
nav a {
	text-decoration: none;
}

table {
	text-align: center;
	font-size: 0.9rem;

	tr > *:nth-child(1) {
		width: 6.25rem;
	}
	tr > *:nth-child(2) {
		width: 7rem;
	}

	th {
		font-weight: bold;
	}

	th,
	td {
		padding: 1rem 0.5rem;
	}
}

span.unicode {
	font-size: 200%;
}

/* COLOUR SCHEME & BORDERS (colors, borders, tables, hover) **/
header {
	background-color: var(--clr-bg-header);
}

nav {
	background: var(--clr-bg-nav);
}
nav ul li:hover {
	background-color: var(--clr-bg-nav-hover);
}

a {
	color: var(--clr-accent);
}

main a {
	text-decoration: underline;
}

table {
	border-collapse: collapse;

	tbody th,
	tbody td {
		border: 1px solid black;
	}

	td {
		vertical-align: middle;
	}
}

footer {
	text-align: center;
	background-color: #fff4;
}

/* IMAGES (changes to various images) ************************/
.logo-img {
	width: 300px;
	height: auto;
}

img.small {
	max-width: 2rem;
	max-height: 2rem;
}

.variable-img {
	max-width: 100%;
	max-height: 100%;
}

body {
	background-image: var(--bg-img-url);
	box-shadow: inset 0 0 0 max(100vw, 100vh) var(--clr-bg-overlay);
	background-size: cover;
	background-position: center;
}

/* FORM (any forms) ******************************************/
/* TOOLTIPS **************************************************/
/* MEDIA QUERIES *********************************************/
