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

:root {
	--color-main: turquoise;
	--color-main-med: mediumturquoise;
	font-size: 24px;
}

body {
	background-color: var(--color-main);
	background-image: url(/assets/tiles/dotgrid-white.webp);
	background-attachment: fixed;

	font-family: 'Roboto Mono', var(--font-sans-serif);	
	letter-spacing: 0.05rem;
}

a {
	color: blue;
	&:hover {
		color: navy;
	}
}

p {
	line-height: 1.5;
}

main {
	width: min(30rem, 90%);
	margin-inline: auto;
	margin-top: 5.5rem;
	margin-bottom: 1.5rem;
	position: relative;
}

.header {
	text-align: center;
	position: relative;
	padding: 1rem;
	background-color: white;
	border: 0.2rem dashed var(--color-main);
	outline: 0rem solid white;
	color: var(--color-main-med);
}

.textbox {
	color: white;
	background-color: var(--color-main);
	/* padding: 1rem; */
	/* border: 0.1rem dashed white; */
	margin-block: 1rem;

	p {
		margin: 0;
		padding: 1rem;
		border: 0.1rem dashed white;
		position: relative;
		text-align: justify;

		&:nth-child(2n) {
			background-color: white;
			color: var(--color-main-med);
			border-inline: 0.1rem dashed var(--color-main);
		}
	}
}

.decor {
	position: absolute;
	z-index: 10;
}

.smaller {
	font-size: 20px;
}

.links-out {
	text-align: center;
	margin-top: 0.75rem;
	a {
		color: white;
		background-color: var(--color-main);
		&:hover {
			color: blue;
		}
	}
}

footer {
	text-align: center;
	margin-top: 1rem;
	& > span {
		color: white;
		background-color: var(--color-main);
		font-size: 16px;
	}
}