/* "Instrument Serif" and "Inter" fonts */
@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

/* Reset minimal */
* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

:root {
	--bg: #f6f7fb;
	--text: #0000F1;
	--primary: #0000F1;
	--test: #ff0000;

	--serif: "Instrument Serif", serif;
	--sans: "Inter", sans-serif;
}

body {
	min-height: 100dvh;
	width: 100dvw;
	font-family: var(--serif);
	background: var(--bg);
	color: var(--text);	
}

main {
	min-height: 100dvh;
	display: grid;
	grid-template-columns: 1fr 3fr 2fr;
	grid-template-rows: 1fr;
	grid-column-gap: 0px;
	grid-row-gap: 0px; 
}

.menu {
	grid-area: 1 / 1 / 2 / 2;
	
	/* background-color: lightcoral; */
	width: 100%;
}

.description {
	grid-area: 1 / 3 / 2 / 4;
	right:0;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	/* background-color: seagreen; */
}

.photos {
	height: 100%;
	/* background-color: lightblue; */
	grid-area: 1 / 2 / 2 / 3;
	padding:20px;
	z-index: 1;
}

.menu ul {
	position: fixed;
	display: block;
	width: 100%;
}
.menu ul a {
	text-decoration: none;
	color: inherit;
}

.description p {
	position: fixed;
	text-align: right;
}

.photo-group {
	/* background-color: blueviolet; */
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;

}
.photo-group img, .photo-group p {
	display:flex;
	align-items: center;
	justify-content: center;
	position: absolute;
	width: auto;
	max-width: calc(100% * 2 / 3);
	height: 100%;
	object-fit: contain;
	aspect-ratio: auto;
}
footer {
	position: fixed;
	bottom: 0;
	width: 100%;
	height: auto;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
}
footer .socials {
	display: flex;
	gap: 20px;
	z-index: 2;
	list-style-type: none;
	align-items: flex-end;
}
footer .socials a {
	text-decoration: none;
	color: inherit;
}
footer div {
	z-index: -1;
	font-size: min(10vw, 200px);
	line-height: min(6.8vw, 136px);
	letter-spacing: -0.5vw;
	font-weight: 900;
}


@media (max-width: 768px) {
	html, body {
		overflow-x: hidden;
	}
	main {
		grid-template-columns: repeat(2, 1fr);
		grid-template-rows: 0fr 7fr;
	}
	.menu {
		grid-area: 1 / 1 / 2 / 2;
		height: auto;
		z-index: 10;
	}
	.photos {
		grid-area: 2 / 1 / 3 / 3;
	}
	.photo-group {
		display: flex;
		flex-direction: column;
		height: auto;
		gap:100px;
		margin-top:100px;
		padding-bottom: 50px;
	}
	.photo-group img {
		display: block;
		width: 70%;
		max-width: none;
		height: auto;
		position: static;
	}
	.description {
		height: auto;
		grid-area: 1 / 2 / 2 / 3;
		z-index: 10;
	}

	footer {
		z-index: 10;
	}
}