@font-face {
	font-display: swap;
	font-family: 'Instrument Serif';
	font-style: normal;
	font-weight: 400;
	src: url('/fonts/instrument-regular.woff2') format('woff2');
}

/* instrument-serif-italic - latin_latin-ext */
@font-face {
	font-display: swap;
	font-family: 'Instrument Serif';
	font-style: italic;
	font-weight: 400;
	src: url('/fonts/instrument-italic.woff2') format('woff2');
}

/* modern css reset */
/* 1. Use a more-intuitive box-sizing model */
*,
*::before,
*::after {
	box-sizing: border-box;
}

/* 2. Remove default margin */
* {
	margin: 0;
}

/* 3. Enable keyword animations */
@media (prefers-reduced-motion: no-preference) {
	html {
		interpolate-size: allow-keywords;
	}
}

body {
	/* 4. Add accessible line-height */
	line-height: 1.5;
	/* 5. Improve text rendering */
	-webkit-font-smoothing: antialiased;
}

/* 6. Improve media defaults */
img,
picture,
video,
canvas,
svg {
	display: block;
	max-width: 100%;
}

/* 7. Inherit fonts for form controls */
input,
button,
textarea,
select {
	font: inherit;
}

/* 8. Avoid text overflows */
p,
h1,
h2,
h3,
h4,
h5,
h6 {
	overflow-wrap: break-word;
}

/* 9. Improve line wrapping */
p {
	text-wrap: pretty;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	text-wrap: balance;
}

/* START */
:root {
	--text-col: rgba(10, 10, 10, 0.85);
	--col-grey: rgba(67, 67, 67, 0.85);
	--col-hilight: rgb(110, 41, 41);
	--col-hilight2: #008cba;
}

body {
	background-color: #f6f6f6;
	color: var(--text-col);
	font-family: 'Instrument Serif', Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
	font-size: 24px;
}

a {
	color: --col-hilight;
	text-decoration: none;
	transition: 0.2s;

	&:visited {
		color: var(--col-hilight);
	}

	&:hover {
		color: var(--col-hilight2);
		transition: 0.2s;
	}

}

body>div {
	margin: 2em;
	text-align: center;
}

.logo {
	max-width: 550px;
	width: 100%;
	display: inline;
}

.motto {
	padding-top: 15px;
	font-size: 28px;
	font-style: italic;
}

.links {
	ul {
		list-style: none;
	}
}

hr {
	max-width: 500px;
	margin: 20px auto;
	color: var(--text-col);
	border-style: solid;
}

footer {
	text-align: center;
	font-size: 70%;
	margin: 0 auto 20px;
	max-width: 20vw;

	.heart-icon {
		color: hotpink;
		text-shadow: 0 0 5px #fff, 0 0 10px var(--pink-col);
	}
}

.footerline {
	display: flex;
	align-items: center;
	user-select: none;
	width: 20vw;
	min-width: 18rem;
	font-size: 25px;
	line-height: 2px;
	margin-bottom: 10px;

	&::before,
	&::after {
		content: "";
		height: 1px;
		background: var(--text-col);
		flex-grow: 1;
	}

	&::before {
		margin-right: 10px;
	}

	&::after {
		margin-left: 10px;
	}

	&>span {
		position: relative;
		top: 4px;
	}
}


/* Helpers */
.desaturate {
	filter: saturate(0);
}

.multiply {
	mix-blend-mode: exclusion;
}