/*
	DARK BLUE: #333a4c
	RED: 
	GREEN: #5b7e84
	LIGHT GREEN: #a2b6a9
	YELLOW: #f8e7b8;
*/

body {
	margin: 0;
	max-width: 100%;
	font-family: 'JetBrains Mono', monospace;
}

h1 {
	font-size: 52pt;
	font-style: italic;
	font-weight: 300;
}

h2 {
	font-style: italic;
	font-weight: 300;
	font-size: 36pt;
}

h4 {
	font-family: 'Libre Barcode 128';
	text-align: center;
	font-size: 36pt;
	color: #333a4c;
	font-weight: 300;
}

p, h2 {
	margin-left: 5%;
}

a {
	text-decoration: none;
}

a:hover {
	color:#a2b6a9 !important;
}

main {
	width: 100%;
	margin: 0;
}

nav {
	position: sticky;
	top: 87%;
	display: flex;
	flex-direction: row;
	width: 100%;
	justify-content: space-between;
	z-index: 100;
}

nav section {
	display: flex;
	align-items: center;
	border: 2px solid #5b7e84;
	border-radius: 25px;
	background-color: white;
	margin: 25px;
}

nav section:first-child {
	width: 25%;
	padding: 15px 40px 15px 40px;
	justify-content: space-between;
}

nav section:last-child {
	width: 10%;
	padding: 15px 30px;
	justify-content: center;
}

nav a {
	color: #5b7e84;
}

audio {
	width: 80%;
	margin-top: 25px;
	/*color: #333a4c;*/
}

audio::-webkit-media-controls-enclosure {
    background-color: white;
	border: 2px solid #333a4c;
}

.barcode {
	font-family: 'Libre Barcode 128 Text';
	font-weight: 300;
}

.here {
	color: #a2b6a9;
}

.short_desc {
	max-width: 40%;
}

.medium_desc {
	max-width: 35%;
}

.medium {
	width: 100%;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	color: #333a4c;
	margin-top: -6%;
}

.medium_header {
	display: flex;
	flex-direction: column;
	flex-grow: 1;
}

.medium_header h2 {
	margin-bottom: 5px;
}

.medium_nav {
	margin-right: 5%;
}

.medium_nav a {
	color: #333a4c;
	font-size: 16pt;
}

.piece, .piece_featured {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.piece img, .piece video, .piece_featured img, .piece_featured video {
	margin-bottom: 25px;
}

.piece p {
	width: 80%;
	text-align: justify;
	margin-left: 0 !important;
	color: #333a4c;
}

.piece_featured p {
	width: 80%;
	text-align: justify;
	margin-left: 0 !important;
	color: #5b7e84;
}

.bento, .bento_wide {
	display: flex;
	flex-direction: row;
	align-items: center;
	margin-top: 50px;
	margin-bottom: 0;
}

.bento {
	width: 80%;
	justify-content: space-between;
}

.bento_wide {
	width: 100%;
	justify-content: space-between;
}

.lattice {
	width: 80%;
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	place-items: center;
	margin-top: 50px;
	margin-bottom: 0;
}

.lattice img {
	width: 97%;
}

.materials {
	font-style: italic;
}

.docu {
	width: 80%;
	height: 50vh;
	/*border: 2px solid #333a4c;*/
	border-radius: 25px;
	display: flex;
	flex-direction: column;
	align-items: center;
	margin-top: 25px;
	padding-bottom: 25px;
	padding-top: 25px;
	overflow-y: auto;
	background-color: #333a4c;
}

.docu p {
	color: white;
}

.dialogue {
	width: 40% !important;
	text-align: center !important;
}

.row {
	width: 100%;
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 5px;
	overflow: hidden;
	margin-bottom: 5px;
}

.row img {
	height: 425px;
	object-fit: cover;
	opacity: 1;
	-webkit-transition: .2s ease-in-out;
	transition: .2s ease-in-out;
}

.row img:hover {
	opacity: .5;
}

#landing {
	width: 100%;
	height: 100vh;
	background-image: url("../images/landing_bg.png");
	background-size: cover;
	display: flex;
	align-items: center;
}

#landing div {
	margin-left: 5%;
	display: flex;
	align-items: center;
	flex-direction: column;
	row-gap: 0;
}

#landing h1 {
	color: white;
	margin: 0;
	font-style: normal !important;
}

#landing span {
	font-size: 64pt;
}

#gallery_preview {
	width: 100%;
	height: 100vh;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

#gallery_preview div {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	color: #c8644d;
}

#gallery_preview a, #gallery_header a {
	color: #c8644d;
	font-size: 20pt;
}

#gallery_preview div {
	width: 50%;
	padding: 5%;
}

#gallery_preview list, .medium_nav list {
	list-style: none;
	text-align: right;
}

#gallery_preview img {
	margin-right: 5%;
	width: 55%;
}

#gallery_proper {
	margin-top: -4%;
	display: flex;
	flex-direction: column;
}

/*#preview_content {
	width: 100%;
	height: 100%;
	display: flex;
}*/

#preview_content img {
	width: 25%;
	object-fit: cover;
}

#landing_featured {
	width: 100%;
	height: 100vh;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	background-image: url('../images/featured/featured_preview.png');
	/*background-image: linear-gradient(to top, rgba(91, 126, 132, 1), rgba(91, 126, 132, 0.6), rgba(91, 126, 132, 0));*/
}

#landing_featured p {
	margin-bottom: 10%;
	color: white;
}

#landing_featured a {
	color:#5b7e84;
}

#landing_contact {
	width: 100%;
	height: 100vh;
	display: flex;
	flex-direction: column;
	justify-content: center;
	color: white;
	background-image: url('../images/contact_bg.png');
	background-size: cover;
}

#landing_contact h2 {
	font-style: normal !important;
}

#featured_heading {
	display: flex;
	margin-left: auto;
	margin-right: auto;
	justify-content: center;
	align-items: center;
	width: 90%;
	column-gap: 25px;
	color: #5b7e84;
}

#gallery_header {
	color: #c8644d;
}

#gallery_header, #featured_header {
	width: 100%;
	height: 30vh;
	display: flex;
	flex-direction: column;
	align-items: center;
}

#gallery_header section {
	width: 90%;
	display: flex;
	flex-direction: row;
	justify-content: space-around;
}

#featured_header {
	color: #5b7e84;
}

#featured_header h3 {
	margin-top: 0;
	font-size: 20pt;
}

#serbisyo div img {
	border: 2px solid #a2b6a9;
}

/*RESPONSIVE*/

@media only screen and (max-width: 500px) {
	body div, body section {
		flex-direction: column;
	}

	h1, h2 {
		font-size: 76pt;
	}

	p, h3 {
		font-size: 36pt;
	}

	section p {
		text-align: center;
	}

	nav {
		width: 50%;
		margin-left: auto;
		flex-direction: column-reverse;
		align-items: end;
		font-size: 20pt;
		top: 72%;
	}

	nav section {
		display: flex;
		align-items: center;
	}

	nav section:first-child {
		flex-direction: column;
		width: 26%;
	}

	nav section:last-child {
		width: 30%;
		text-align: center;
	}

	nav a {
		margin: 7% 0;
	}

	.bento, .bento_wide {
		display: flex;
		flex-direction: column;
		width: 100%;
	}

	.bento img {
		width: 90%;
	}
	
	.bento_wide img, .bento_wide video {
		width: 100%;
	}

	.lattice {
		width: 100%;
		display: flex;
		flex-direction: column;
	}

	.medium {
		flex-direction: column;
		align-content: center;
		justify-content: center;
		color: #333a4c;
		margin-top: -45%;
	}

	.medium_header {
		display: flex;
		flex-direction: column;
		flex-grow: 1;
	}

	.medium_header h2 {
		margin-bottom: 5px;
		text-align: left;
	}

	.medium_nav {
		margin-left: auto;
		margin-top: 5%;
	}

	.medium_nav a, #gallery_header a, #gallery_preview a {
		font-size: 36pt;
	}

	/*.medium_nav list {
		text-align: center;
	}*/

	.short_desc {
		max-width: 80%;
		text-align: left;
	}
	
	.medium_desc {
		max-width: 90%;
	}

	.medium h2, .medium p {
		margin-right: 5%;
		margin-left: 5%;
	}

	.piece p, .piece_featured p {
		text-align: center;
	}

	.row img {
		height: 285px;
	}

	.docu {
		height: 1300px;
	}

	.docu p {
		text-align: left;
	}

	.dialogue {
		width: 90% !important;
	}

	.mobile_bottom {
		padding-bottom: 45% !important;
	}

	#landing {
		height: 1960px;
		background-image: url("../images/landing_bg_mobile.png");
	}

	#gallery_preview {
		height: 1300px;
	}

	#landing_contact {
		height: 1980px;
		padding-top: 20%;
		justify-content: flex-start;
		background-image: url('../images/contact_bg_mobile.png');
	}

	#landing_featured {
		height: 1300px;
		background-image: linear-gradient(to top, rgba(91, 126, 132, 1), rgba(91, 126, 132, 0.6), rgba(91, 126, 132, 0));
	}

	#landing div {
		margin: 20% auto auto auto;
	}

	#landing h1 {
		font-size: 72pt;
	}

	#featured_heading h1 {
		text-align: center;
	}

	h4, #landing .barcode {
		font-size: 88pt;
	}

	#gallery_header {
		margin-bottom: 5%;
	}

	#gallery_header section {
		flex-direction: column;
		align-items: center;
	}

	#gallery_proper {
		padding-bottom: 50%;
	}

	#featured_header {
		margin-bottom: -15%;
	}
	
	#featured_header h3 {
		width: 80%;
		text-align: center;
		font-size: 36pt;
	}

	#gallery_preview div {
		margin: 15% 0;
		align-items: center;
	}

	#gallery_preview li {
		text-align: center;
	}

	#gallery_preview img {
		margin-right: 0;
		width: 90%;
	}

}