@import url(reset.css);

:root {
	--background-accent: oklch(27% 0.05 88);
	--background-light: oklch(87% 0.03 88);
	--text-accent: oklch(31% 0.02 88);
}

html,
body {
	min-height: 100dvh;
}

body {
	background-color: var(--background-light);
	color: var(--text-accent);
	border: 8px solid var(--background-accent);
	font-family: "EB Garamond", serif;
	display: grid;
	grid-template-rows: auto 1fr auto;
}

.mesanmasta {
	text-align: center;

	.dagens-dato {
		font-weight: 600;
		font-size: 0.875rem;
	}
	.uversbilde {
		width: 100%;
		height: auto;
	}
}

.brytar {
	background-image: url("/assets/images/feskarhoroskop/knapperamma.svg");
	background-repeat: no-repeat;
	background-color: transparent;
	background-size: 100% 100%;
	border: 2px transparent solid;
	padding: 0.74rem 1rem;
	margin-inline: auto;
	display: block;
}

.horoskop:not(:empty) {
	padding: 1rem;
	border: 1px solid var(--text-accent);
	max-width: calc(100dvw - 3rem);
	margin: 1rem auto;

	.tegn {
		font-weight: 600;
		font-size: 1.5rem;
	}

	.profeti {
		margin-block: 1rem 1.5rem;
	}

	.prefeks {
		font-weight: 600;
		display: block;
		text-decoration: underline;
		text-indent: 1rem;
	}
	.sitat {
		font-style: italic;
	}
}

.dørsken {
	background-color: var(--background-accent);
	color: var(--background-light);
	text-align: center;
	padding: 1.5rem 1rem 1rem;
}

.bortevekk {
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	height: 1px;
	overflow: hidden;
	position: absolute;
	white-space: nowrap;
	width: 1px;
}
