:root {
	--box-shadow-off: rgba(100, 100, 111, 0.0) 0px 7px 29px 0px;
	--box-shadow-hover: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
	--card-gap: 1rem;
}

body {
	background: white;
	color: black;
}

.top-container {
	width: min(95%, 1400px);
	margin: 0 auto;
}

.top-container p {
	margin: 0;
	font-size: 0.8rem;
}

.nav-container {
	display: flex;
	width: min(95%, 1400px);
	margin: 0 auto;
	gap: 0.5rem;
	border-style: none none solid;
	border-width: 2px;
	border-color: rgba(0,0,0,0.2);
	margin-bottom: 1rem;
	padding: 1rem 0;
}

.nav-container > button {
	background: white;
	color: black;
	border-style: solid;
	border-color: rgba(0,0,0,0);
	border-width: 1px;
	padding: 0.5rem 1rem;
	transition: border-color 0.1s ease-in;
	border-radius: 1rem;
}

.nav-container > button:hover {
	border-color: rgba(0,0,0,0.5);
	cursor: pointer;
}

.card-container {
	column-count: 3;
	width: min(95%, 1400px);
	margin: 0 auto;
}

.card {
	padding: 0;
	margin: 0;
}

.card-image {
	width: 100%;
	height: auto;
	box-shadow: var(--box-shadow-off);
	transition: box-shadow 0.1s ease-in-out, border-color 0.1s ease-in-out;
}

.card-image:hover {
	cursor: pointer;
	box-shadow: var(--box-shadow-hover);
}

.card-overlay {
	display: flex;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.card-overlay-stuff {
	width: min(100vh, 95%);
	height: 95vh;
	margin: auto;
	background: white;
	border-style: solid;
	border-color: black;
	border-width: 1px;
}

.overlay-files {
	background: rgba(255,255,255,0.9);
	height: 85%;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
}

.overlay-file {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.overlay-image {
	height:100%;
	width: 100%;
	max-width:100%;
	max-height:100%;
	display: block;
	margin: 0 auto;
        object-fit: contain;
}

.overlay-description {
	border-style: solid none;
	border-width: 1px;
	overflow-y: scroll;
	padding: 1rem;
	margin: 0;
	background: white;
	height: calc(15% - 2rem);
}

.page-button {
	z-index:1000;
	position: absolute;
	height: 100%;
	width: 15%;
	background: white;
	color: black;
	display: flex;
	justify-content: center;
	align-content: center;
	flex-wrap: wrap;
	background: rgba(255,255,255,0);
	color: rgba(0,0,0,0);
	transition: background 0.1s ease-in, color 0.1s ease-in;
	top:0;
	font-size: 2.5rem;
}

.page-button:hover {
	cursor: pointer;
	font-weight: 600;
	background: rgba(255,255,255,0.1);
	color: black;
}

.left {
	left:0;
}

.right {
	right: 0;
	z-index:1001;
}

@media (max-width: 1080px) {
	.card-container {
		column-count: 2;
	}
}

@media (max-width: 780px) {
	.card-container {
		column-count: 1;
	}
	.card-overlay-stuff {
		height: 90vh;
	}
}
