@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");

* {
	box-sizing: border-box;
}

body {
	font-family: montserrat, sans-serif;
	font-optical-sizing: auto;
	font-weight: 500;
	display: flex;
	flex-direction: column;
	min-height: 100dvh;
	margin: 0;

	color: var(--gold);
	--bg: 96px;

	background-color: var(--blue-light);
	background-image: url(sun.svg);
	background-repeat: no-repeat;
	background-position: top 1rem right 1rem;
	background-size: var(--bg) var(--bg);

	--gold: goldenrod;
	--blue-light: hsl(210deg, 100%, 40%);
	--blue-dark: navy;
}

a {
	color: inherit;
}

header a, main a {
	&:not(:hover):not(:focus) {
		text-decoration: none;
	}
}

h1, h2, footer {
	text-align: center;
}

footer {
	padding: 1rem;
}

main {
	padding: 0 1rem;
	flex: auto;
}

nav {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	padding: 1em 0;
	gap: 1em;

	a {
		background-color: var(--blue-dark);
		text-decoration: none;
		padding: 1em 2em;
		width: 300px;
		display: flex;
		gap: 1ch;
		align-items: start;
	}
}

oz-gallery {
	display: flex;
	flex-wrap: wrap;
	gap: 1em;
	justify-content: center;

	a {
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 4px;
	}
}

nav a, oz-gallery img {
	border-radius: 8px;
	outline: 2px solid transparent;
	transition: all 300ms;
}

nav a:hover, oz-gallery a:hover img { outline-color: var(--gold); }

@media (max-width: 600px) {
	body { --bg: 80px; }
	h1, h2 { text-align: left; }
	h1 {
		padding-left: 1rem;
		padding-right: calc(var(--bg) + 1rem);
	}
}

