@font-face{
	font-family: 'bagnard selfhosted';
	src: url(../font/Bagnard_OTF/Bagnard.otf);
}
:root {
	--rd: rgb(168, 16, 44);
	--font1: 'bagnard selfhosted', Georgia, serif;
	--font2: Verdana, sans-serif;
	--font3: Georgia, serif;
}
* {
	box-sizing: border-box;
	padding: 0;
	margin: 0;
}
body{
	font-family: var(--font2);
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: flex-start;
}
a{
	color: var(--rd);
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	text-decoration: none;
}
.index {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}
nav{
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
}
.picture{
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	align-items: center;
}
.download{
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	align-items: center;
}
.pdf{
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	justify-content: center;
	align-items: flex-start;
}
h1{
	padding-bottom: 2.5vh;
	padding-bottom: 2.5dvh;
	color: var(--rd);
	font-family: var(--font3);
	font-size: min(2rem, 2.8dvw);
	font-weight: 100;
}
h2{
	color: rgba(0,0,0,100);
	font-weight: normal;
	margin: 0;
}
h3 a{
	color: rgba(0,0,0,100);
	margin: 0;
}
h3 {
	padding-bottom: 2.5vh;
	padding-bottom: 2.5dvh;
	font-weight: normal;
	text-align: center;
}
h4{
	color: rgba(0,0,0,100);
	font-weight: 100;
	padding: 0 15vw;
	font-size: 1rem;
	margin-top: 0.5rem;
}
p{
	padding: 0 15vw;
	font-size: 1rem;
	margin-bottom: 0.5rem;
	line-height: 1.4rem;
}
ol{
	padding: 0 15vw;
	font-size: 1rem;
	margin-bottom: 0.5rem;
	line-height: 1.4rem;
}
span{
	font-family: var(--font1);
	text-decoration-line: underline;
	text-decoration-color: var(--rd);
}
.index img{
	width: max(20vw, 20vh);
	width: max(20dvw, 20dvh);
	animation: pulse 1s infinite;
	animation-timing-function: ease-out
}
@keyframes pulse{
	0%{
		transform: scale(1);
	}
	30%{
		transform: scale(1.05);
	}
	100%{
		transform: scale(1);
	}
}
.gallery{
		transition: 0.5s;
		display: flex;
		flex-direction: row;
		flex-wrap: wrap;
		justify-content: center;
}
/*
.gallery .images img:hover{
	
	transform: scale(0.98);
}
*/
.gallery .images{
/*	columns: 2;*/
	}
.container{
	position: relative;
}
.title{
	position: absolute;
	background: rgba(255, 255, 255, 0.5);
	transition: .5s ease;
	opacity:0;
	align-content: center;
	}
.container:hover .title{
	opacity: 1;
/*	transform: scale(0.98);*/
}
.koen{
	display: flex;
	flex-direction: column;
}
.koen img{
		height: 40vh;
		height: 40dvh;
		object-fit: contain;
		margin-bottom: 2.5vh;
		margin-bottom: 2.5dvh;
	}
.koen h1{
	padding: 0 15vw;
	margin-bottom: 1rem;
	font-size: 1.2rem;
}
@media (orientation: landscape){
	body{
	width: 100vw;
	justify-content: flex-start;
	}
	h1{
		font-size: 1.5rem;
		justify-content: flex-start;
	}
	h2{
		font-size: 1.8rem;
		position: fixed;
		bottom: 5vh;
		bottom: 5dvh;
	}
	h3 {
		font-size: 1.2rem;
		padding-left: 2.5vw;
	}
	.download h3{
		padding-left: 0vw;
	}
	.photoindex {
		width: 50vw;
		height: 90vh;
		height: 100dvh;
		background-image: url(../media/portrait_romana_03.jpg);
		background-size: cover;
	}
	.landscape{
		width: 30vw;
		height: 90vh;
		height: 90dvh;
		padding-left: 5vw;
		margin-top: 5vh;
		margin-top: 5dvh;
		border-right: solid;
		border-color: var(--rd);
		position: sticky;
		top: 5vh;
		top: 5vhd;
		left: 0;
		overflow: hidden;
		overflow-y: scroll;
	}
	.landscape img{
		position: fixed;
		bottom: 5vh;
		bottom: 5dvh;
		width: 10vw;
		width: 10dvw;
	}
	.portrait{
		display: none;
	}
	.overlay{
		display: none;
	}
	.title{
		font-size: min(1.7rem, 1.8vw);
		font-size: min(1.7rem, 1.8dvw);
	}
	.picture{
		height: 90vh;
		height: 90dvh;
		width:  70vw;
		margin: 5vh 0;
		margin: 5dvh 0;
		overflow: hidden;
		overflow-y: scroll;
	}
	.picture img{
		width:  60vw;
		height: 90vh;
		height: 90dvh;
		margin-bottom: 5vh;
		margin-bottom: 5dvh;
		object-fit: contain;
	}
	.download{
		height: 90vh;
		height: 90dvh;
		width:  70vw;
		margin: 5vh 0;
		margin: 5dvh 0;
		overflow: hidden;
		overflow-y: scroll;
	}
	.download img{
		width:  60vw;
		max-height: 90vh;
		max-height: 90dvh;
		margin-bottom: 5vh;
		margin-bottom: 5dvh;
		object-fit: contain;
	}
	video{
		width:  60vw;
		height: 90vh;
		height: 90dvh;
		margin-left: 5vw;
		margin-top: 5vh;
		margin-top: 5dvh;
		object-fit: contain;
	}
	.picture video{
		width:  60vw;
		height: 90vh;
		height: 90dvh;
		margin-left: 0vw;
		margin-top: 0vh;
		margin-top: 0dvh;
		margin-bottom: 5vh;
		margin-bottom: 5dvh;
		object-fit: contain;
	}
	.pdf{
		box-shadow: 1vw 1vh 2vw 0 rgba(0, 0, 0, 0.2);
	}
	.index {
		width: 45vw;
		height: 90vh;
		height: 100dvh;
		padding-left: 5vw;
	}
	.koen {
		height: 90vh;
		height: 90dvh;
		width:  70vw;
		margin-top: 5vh;
		margin-top: 5dvh;
		overflow: hidden;
		overflow-y: scroll;
	}
	.gallery{
		height: 90vh;
		height: 90dvh;
		width:  70vw;
		margin-top: 5vh;
		margin-top: 5dvh;
		overflow: hidden;
		overflow-y: scroll;
	}
	.gallery .images img{
		max-width: 35vw;
		margin-bottom: 5vh;
		margin-bottom: 5dvh;
		object-fit: contain;
	}
	.title{
	bottom: 5vh;
	bottom: 5dvh;
	width: 100%;
	height: 5vw;
	padding-left: 7.5vh;
	padding-left: 7.5dvh;
	}
}
@media (orientation: portrait){
	body{
		height: 90vh;
		height: 100dvh;
		justify-content: center;
	}
	h1{
		font-size: 1.5rem;
	}
	h2{
		font-size: 1.5rem;
	}
	h3{
		font-size: 1.2rem;
	}
	h4{
		line-height: 1rem;
	}
	.photoindex {
		width: 100vw;
		height: 45vh;
		height: 50dvh;
		background-image: url(../media/portrait_alex_01.jpg);
		background-size: cover;
		overflow: hidden;
	}
	.landscape {
		display: none;
	}
	.portrait{
		width: 80vw;
		height: 20vh;
		height: 20dvh;
		border-top: solid;
		border-color: var(--rd);
		display: flex;
		position: fixed;
		bottom: 0;
		justify-content: flex-start;
		align-items: center;
	}
	.overlay{
		width: 100vw;
		height: 70vh;
		height: 80dvh;
		padding: 5vh 0;
		padding: 5dvh 0;
		background-color: rgba(255, 255, 255, 0.8);
		position: fixed;
    	left: 0;
    	right: 0;
    	top: 0;
    	bottom: 0;
		display: none;
		flex-direction: column;
    	align-items: center;
		/*justify-content: space-between;*/
		transition: 0.5s;
		z-index: 2;
		overflow: hidden;
		overflow-y: scroll;
	}
	.title{
		font-size: 2.7vw;
		font-size: 2.7dvw;
	}
	.close{
		position: absolute;
		top: 1vh;
		top: 1dvh;
		right: 1vw;
		font-size: 3rem;
		line-height: 3rem;
	}
	.portrait img{
		height: 10vh;
		height: 10dvh;
		margin-top: 2.5vh;
		margin-top: 2.5dvh;
		margin-bottom: 1.25vh;
		margin-bottom: 1.25dvh;
	}
	.picture{
		width: 100vw;
		height: 70vh;
		height: 80dvh;
		padding-top: 2.5vh;
		padding-top: 2.5dvh;
		overflow: hidden;
		overflow-y: scroll;
	}
	.picture img{
		width: 80vw;
		height: 70vh;
		height: 75dvh;
		object-fit: contain;
		margin-bottom: 2.5vh;
		margin-bottom: 2.5dvh;
	}
	video{
		width: 100vw;
		height: 70vh;
		height: 80dvh;
		object-fit: contain;
		padding: 2.5vh 10vw;
		padding: 2.5dvh 10vw;
	}
	.download{
		width: 100vw;
		height: 70vh;
		height: 80dvh;
		padding-top: 2.5vh;
		padding-top: 2.5dvh;
		overflow: hidden;
		overflow-y: scroll;
	}
	.download img{
		width: 80vw;
		max-height: 70vh;
		max-height: 75dvh;
		object-fit: contain;
		margin-bottom: 2.5vh;
		margin-bottom: 2.5dvh;
	}
	.pdf{
		box-shadow: 1dvw 1dvh 2dvw 0 rgba(0, 0, 0, 0.2);
	}
	.index {
		width: 100vw;
		height: 45vh;
		height: 50dvh;
		overflow: hidden;
	}
	.koen {
		width: 100vw;
		height: 70vh;
		height: 77.5dvh;
		padding-top: 2.5vh;
		padding-top: 2.5dvh;
		overflow: hidden;
		overflow-y: scroll;
	}
	.gallery{
		width: 100vw;
		height: 70vh;
		height: 80dvh;
		padding: 2.5vh 10vw;
		padding: 2.5dvh 10vw;
		overflow: hidden;
		overflow-y: scroll;
	}
	.gallery .images img{
		width: 100%;
		margin-bottom: 2.5vh;
		object-fit: contain;
}
	.title{
	bottom: 2.5vh;
	width: 100%;
	height: 5vh;
	height: 5dvh;
	padding-left: 5vh;
	padding-left: 5dvh;
	opacity: 1;
	}
}
.gallery .images img:hover{
	object-fit: none;
}