@charset "UTF-8";

.main {
	padding: 50px 30px 30px 30px;
	min-height: 82vh;
}

.navcontainer {
	display: block;
}

.pane {
	cursor: auto;
	margin: 20px 0px;
	padding: 0px 20px;
	min-height: 50px;
	align-items: stretch;
}

.thumbnail {
	filter: sepia(0%) hue-rotate(0deg) brightness(100%);
	-webkit-mask-image: linear-gradient(to right, black, black);
	mask-image: linear-gradient(to right, black, black);
}

.column.large h1, .column h1 {
	transform: translate(0px, 0px);
}

.column.full {
	width: 100%;
}

.project-description {
	padding: 40px 20px;
	text-align: justify;
	text-justify: inter-word;
}

.navbar {
	max-width: 100vw;
}

 /* unvisited link */
.project-description a:link {
  color: var(--active-bg);
}

/* visited link */
.project-description a:visited {
  color: var(--active-bg);
}

/* mouse over link */
.project-description a:hover {
  color: var(--active-bg);
}

/* selected link */
.project-description a:active {
  color: var(--active-bg);
}

.project-gallery {
	display: flex;
	flex-wrap: wrap;
	padding: 0 4px;
	align-items: top;
	justify-content: center;
	margin: 30px auto 40px auto;
}

.gallery-column {
	justify-content: center;
}

.gallery-column img {
	position: relative;
	margin: 50px 0px;
	vertical-align: middle;
	width: 100%;
	object-fit: cover;
	scale: 1;
	cursor: pointer;
	transition: 0.2s;
}

.gallery-column img:hover {
	scale: 1.1;
	z-index : 2;
}

.modal-img {
	display: none;
	position: fixed;
	z-index: 1;
	padding-top: 100px;
	left: 0;
	top: 0;
	width: 100%;
	height: calc(100% - 100px);
	overflow: visible;
	background-color: var(--page-bg);
	background-color: rgba(var(--page-bg), .9)
}

.modal-img .icon.arrow {
	opacity: 0.7;
	transition: opacity 0.2s;
}

.modal-inner {
	height: 100%;
	overflow: auto;
}

.modal-inner div {
	overflow: visible;
	height: auto;
	margin: auto;
}

.modal-inner div .decorator.active {
	position: relative;
	width: 0%;
	transition: width 0.15s ease;
}

.modal-inner div:hover .decorator.active, .modal-inner div:focus .decorator.active {
	width: 100%;
}

.modal-content {
	display: block;
	width: 100%;
	height: auto;
	cursor: zoom-in;
}

.modal-caption {
	margin: auto;
	display: block;
	width: 80%;
	max-width: 700px;
	text-align: center;
	font-family: "Newsreader", serif;
	font-optical-sizing: auto;
	font-weight: 400;
	font-style: normal;
	color: var(--text-light);
	padding: 30px 20px 40px 20px;
}

.modal-link {
	margin: auto;
	cursor: zoom-in;
}

.modal-content, .modal-caption, .modal-inner div .decorator.active {
	animation-name: zoom;
	animation-duration: 0.6s;
}

@keyframes zoom {
	from {transform:scale(0)}
	to {transform:scale(1)}
}

.modal-close {
	position: absolute;
	top: 15px;
	right: 35px;
	color: var(--text-light);
	font-size: 70px;
	font-weight: bold;
	opacity: 0.7;
	transition: opacity 0.2s;
}

.modal-close:hover, .modal-close:focus {
	opacity: 1;
	text-decoration: none;
	cursor: pointer;
	background-color: var(--active-bg);
}

.modal-nav {
	position: absolute;
	top: calc(100px + 30%);
	max-height: 80px;
	opacity: 0.7;
	transition: opacity 0.2s;
}

.modal-nav img {
	width: 20px;
	height: 40px;
	padding: 20px 6px;
}

.modal-nav.left {
	left: 35px;
	scale: -1 1;
}

.modal-nav.right {
	right: 35px;
}

.modal-nav:hover, .modal-nav:focus {
	opacity: 1;
	text-decoration: none;
	cursor: pointer;
	background-color: var(--active-bg);
}

.more {
	opacity: 1;
	display: block;
	padding-bottom: 0px;
}

.more-home {
	margin: 0px -12px 0px -12px;
	padding: 8px 0px 8px 0px;
	position: relative;
	left: 0px;
	bottom: 0px;
}

@media screen and (max-width: 800px) {
	.navitem.left {
		display: block;
	}
	
	.gallery-column {
		flex: 100%;
		max-width: 100%;
	}
}

@media screen and (max-width: 520px) {
	.navitem.mid {
		min-width: 0px;
	}
	
	.navitem.mid p {
		display: none;
	}
}