* {
	box-sizing: border-box;
}

img {
	vertical-align: top;
	border: 0;
}

h1 {
	color: #4E1C6F;
	font-size: 2rem;
}

h2 {
	color: #4E1C6F;
	font-size: 1.4rem;
}

h3 {
	color: #4E1C6F;
	font-size: 1.2rem;
}

a {
	text-decoration: underline;
	color: #4E1C6F;
}

body {
	padding: 0;
	margin: 0;
	background: #fff;
	font: 18px/1.6 'Lato', sans-serif;
	color: #436296;
}

.logo {
	height: auto;
}

nav {
	position: sticky;
	top: 0;
	left: 0;
	right: 0;
	display: flex;
	padding: 1.5rem 1.5rem 0;
	gap: 1rem;
	z-index: 10;
	background: rgba(255, 255, 255, 0.3);
	z-index: 10;
	backdrop-filter: blur(10px);
	justify-content: center;
	flex-direction: column;
}

nav ul {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	gap: 1.5rem;
}

nav ul a {
	color: #436296;
	display: flex;
	align-items: center;
	height: 3rem;
	text-decoration: none;
}

nav ul a:hover {
	color: #abcdeb;
}

main {
	min-height: 100dvh;
	min-height: 100vh;
	display: grid;
	gap: 1rem;
	margin-bottom: 4rem;
}

section {
	padding: 4rem 1.5rem;
	position: relative;
	margin: 0 auto;
	max-width: 640px;
	grid-column: span 6 / span 6;
}

aside {
	position: relative;
	grid-column: span 6 / span 6;
	display: none;
	max-height: 95dvh;
	max-height: 95vh;
	clip-path: polygon(0 0, 100% 0, 100% 95%, 0 100%);
}

aside img {
	object-fit: cover;
	object-position: center;
	width: 100%;
	height: 100%;
}

.text-lg {
	font-size: 1.5rem;
	line-height: 1.2;
}

.gallery {
	position: relative;
	display: grid;
	gap: 1rem;
	margin: 1.5rem;
}

.gallery picture {
	aspect-ratio: 1;
}

.gallery picture img {
	object-fit: cover;
	object-position: center;
	width: 100%;
	height: 100%;
}

@media (min-width: 640px) {
	.logo {
		margin-right: 2rem;
		width: 169px;
	}

	nav {
		position: fixed;
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		padding: 0.5rem 1.5rem;
	}

	.gallery {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1024px) {
	.gallery {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	main {
		grid-template-columns: repeat(12, minmax(0, 1fr));
	}

	aside {
		display: block;
	}

	nav ul.dark a {
		color: #abcdeb;
	}

	nav ul.dark a:hover {
		color: white;
	}

	nav ul.light a {
		color: #436296;
	}

	nav ul.light a:hover {
		color: #abcdeb;
	}
}
