
body {
	color: #202020;
	background-color: #f9f9f9;
	margin: 0px 0px 0px 0px;
	padding: 0px 0px 0px 0px;	
	font-family: "Open Sans", sans-serif;
}
html, body {
    width: 100%;
    height: 100%;
}
/* 
* main
*/

.page-wrap {
	width: 95%;
	position: absolute;
	top: 40%;
	left: 50%;
	transform: translate(-50%, -50%);
	/* background-color: #ccc; */
	/* border: 1px solid #ccc;  */
	overflow: hidden;
	white-space: nowrap;	
}

.row1 {
	position: relative;
	width: 95%;
	margin-left: auto;
	margin-right: auto;
	text-align: center;	
	overflow: hidden;
	white-space: nowrap;
}

.main-page-wrap {
	width: 60%;
	max-width: 700px;
	padding: .4em 2em 1.5em 1.8em;
	position: absolute;
	top: 45%;
	left: 50%;
	transform: translate(-50%, -50%);
	background-color: rgba(0, 0, 0, 80);
}
.main-page-wrap-projects {
	width: 50%;
	padding: .4em 1em 1.5em 1.4em;
	position: absolute;
	top: 45%;
	left: 50%;
	transform: translate(-50%, -50%);
	background-color: rgba(0, 0, 0, 80);
}

.main-text {
	width: 100%;
	color: rgba(255, 255, 255, 80);
}

.title {
	float: left;
	width: 100%;
	margin-top: 0em;
	padding-top: 0em;
	margin-bottom: .3em;
	letter-spacing: .1em;
}

.main-text-projects {
	width: 100%;
	padding-top: 10px;
	color: rgba(255, 255, 255, 80);	
	text-underline-offset: .2em;
	letter-spacing: .1em;
}
.main-text-projects a {
	color: rgba(255, 255, 255, 80);
}

.start-link {
	color: rgba(255, 255, 255, 80);	
	text-underline-offset: .2em;
	letter-spacing: .1em;
}
.start-link a {
	color: rgba(255, 255, 255, 80);
}

.home-link {
	width: 100%;
	color: rgba(0, 0, 0, 80);
	text-underline-offset: .2em;
	letter-spacing: .1em;
}
.home-link a {
	/* text-decoration: none; */
	color: rgba(0, 0, 0, 80);
}
.home-link2 {
	width: 100%;
	padding-top: 30px;
	color: rgba(255, 255, 255, 80);
	text-underline-offset: .2em;
	letter-spacing: .1em;
	text-align: right;	
}
.home-link2 a {
	color: rgba(255, 255, 255, 80);
}

.row2 img#forward {
    width: 30px;
    height: 30px; 
    /* margin: 40px 40px 0 0;  */
    cursor: pointer;
}
.row2 img#forward:hover {
	opacity: .3;
}

.landscape-notice {
	display: none;
	width: 100%;
	padding-top: 40px;
	color: rgba(255, 255, 255, 80);
}

/* 
* controls
*/
.button-wrap {	
	position: absolute;
	top: 65%;
	left: 50%;
	transform: translate(-50%, 0);
	
	width: 170px;
	margin: 0 auto;
	padding-top: 30px;
	text-align: center;
}

.back-button-wrap {
}

.back-button-wrap img#back {
	float: left;
	margin-right: 20px;
	width: 30px;
	height: 30px;
	padding: 15px;
	opacity: .4;
	cursor: pointer;
}
.back-button-wrap img#back:hover {
	opacity: .9;
}

.foward-button-wrap {
}

.foward-button-wrap img#forward {
	float: left;
	margin-left: 20px;
    width: 30px;
    height: 30px;  
    padding: 15px;
    opacity: .4;
    cursor: pointer;
 	background-color: #f9f9f9;   
}
.foward-button-wrap img#forward:hover {
	opacity: .9;
}

/* fade in */

.row1 img.photo { 
	height: 100%; 
	overflow: hidden;
	white-space: nowrap;
	cursor: pointer;
	/* float: left; */
	padding-right: 1px; 

	/* opacity: 0; */
}

.photo-fade-in {
    -webkit-animation: fade-in .5s ease-in-out;
    animation: fade-in .5s linear ease-in-out;
 
	animation-fill-mode: both;
/*	animation-delay: 1s;
 */
}

.row1 img:nth-child(1) { 
	animation-delay: .3s; 
}
.row1 img:nth-child(2) { 
	animation-delay: .8s; 
}
.row1 img:nth-child(3) { 
	animation-delay: 1.3s; 
}
.row1 img:nth-child(4) { 
	animation-delay: 1.8s; 
}
.row1 img:nth-child(5) { 
	animation-delay: 2.3s; 
}

@-webkit-keyframes fade-in {
	0% { opacity: 0; }
	100% { opacity: 1; }
}

@keyframes fade-in {
	0% { opacity: 0; }
	100% { opacity: 1; }
}

/* 
* single photo
*/

.photo-container {
	height: 100%; 
	width: auto;
	display: flex;
	align-items: center;
	justify-content: center;	
}

.photo-container img {
	height: 80%; 
	width: auto;
	max-height: 600px;	
}

.close-icon:after {
	position: absolute;
	font-size: 2.85em; 
	left: 20px;
	color: rgba(0, 0, 0, .3);
	cursor: pointer;	
	content: "\00d7";
}

footer {
	position: fixed;
	/* right: 15px; */
	bottom: 15px;
	width: 100%;
	text-align: left;
}
footer #left {
	display: inline;
	width: auto;
	margin-left: 18px;
	text-align: left;
	float: left;
	cursor: pointer;
	color: rgba(0, 0, 0, .8);
	text-underline-offset: .2em;
	letter-spacing: .1em;	
}
footer #left a {
	color: rgba(0, 0, 0, .8);
}
footer #right {
	display: inline;
	width: auto;
	margin-right: 18px;
	text-align: right;
	float: right;
}
footer #center {
	width: fit-content; 
	text-align: center;
	margin: 0 auto;
	white-space: nowrap;	
	padding: 5px 10px 5px 10px;
	color: rgba(255, 255, 255, 80);
	background-color: rgba(0, 0, 0, 80);	
}

.copyright {
	color: #111111;
	
}


@media (max-width: 599px) {
	.main-text, .main-text-projects, .title, .start-link {
		font-size: 15px;
	}
	.main-text-projects {
		font-size: 12px;
	}
	.home-link, .home-link2, .landscape-notice, footer {
		font-size: 14px;
	}  	 
}
@media (min-width: 600px) and (max-width: 1200px) {
	.main-text, .main-text-projects, .title, .start-link {
		font-size: calc(14px + (100vw - 600px) / 600 * 5);
	}
	.main-text-projects {
		font-size: calc(12px + (100vw - 600px) / 600 * 5);
	}	
 	.home-link, .home-link2, .landscape-notice, footer {
		font-size: calc(11px + (100vw - 600px) / 600 * 5);
	} 	
}
@media (min-width: 1201px) {
	.main-text, .main-text-projects, .title, .start-link {
		font-size: 18px;
	}
	.main-text-projects {
		font-size: 18px;
	}	
	.home-link, .home-link2, .landscape-notice, footer {
		font-size: 16px;
	} 	
}

@media all and (orientation:portrait) {
    .landscape-notice {
         display: block;
    }

	.additional-projects {
		text-align: left;	
		float: left;
		margin-bottom: 1em;	
	}
    
	footer #right {
		display: inline;
		width: 100%;
		margin-top: 10px;
		margin-left: 18px;
		text-align: left;
		float: left;
	}    
}
