body {
	overflow: hidden;
}

#main {
	margin-top: -7px;
	margin-left: -7px;
	display: grid;
	grid-template-columns: 20fr 70fr;
	grid-template-rows: 100vh;
	gap: 3rem;
}

#sidebar {
	width: 100%;
	height: 100%;
	min-height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 1.5em;
	align-items: flex-end;
	border-right: 3px solid var(--color-secondary);
	padding-right: 6px;
	background: var(--color-fg);

	p {
		font-family: "grape-soda";
		font-size: 3.125rem;
		margin: 0;
		transition: 0.5s;
	}
	p:hover {
		color: var(--color-accent);
		text-indent: -6%;
		cursor: pointer;
		text-shadow: 0 0.07em var(--color-secondary);
		transition: 0.2s;
	}
}

#pictures {
	height: 100%;
	overflow-y: scroll;
	min-width: 100%;

	div {
		display: flex;
		flex-wrap: wrap;
		flex-direction: row;
		justify-content: left;
		gap: 1rem 1rem;

		img {
			cursor: pointer;
			max-width: 250px;
			max-height: 250px;
			transform: scale(1.0);
			object-fit: contain;
			transition: 0.4s;
		}
		img:hover {
			transform: scale(1.2);
			padding: 5px;
			transition: 0.4s;
		}
	}
}

#popup {
	position: fixed;
	width: 100%;
	height: 100%;
	top: 0;
	z-index: 5;
	display: none;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	cursor: pointer;
	background: rgba(0, 0, 0, 0.5);

	img {
		width: 100%;
		max-height: 90%;
		object-fit: contain;
		margin-top: 20px;
	}

	h1 {
		font-size: 3.125rem;
		margin-top: -0.1em;
		margin-bottom: 0;
	}

	p {
		font-size: 1.25rem;
		margin-top: -0.6em;
	}
}

@media (max-width: 1450px) {
	#sidebar p {
		font-size: 4vw;
	}
}

