@charset "UTF-8";
/* CSS Document */

body {
	background-image: url(../images/back3.jpg);
}

.panel {
	background-color: #FFFFCE;
	width: 900px;
	margin: 40px auto;
	padding: 40px 40px 10px 40px;
	border-radius: 10px;
}

.header {
	display: block;
	margin: 0 auto;
}

.divider img {
	display: block;
	margin: 20px auto;
}

.row-picture {
	display: flex;
	justify-content: space-around;
	flex-wrap: nowrap;
	align-items: center;
	float: left;
	width: 100%;
	height: 250px;
	margin: 20px auto;
/*	background-color: orange;*/
}

.row-text-box {
	float: left;
	width: 100%;
	height: 20px;
	margin-top: -15px;
/*	background-color: aqua;*/
}

.row-bio {
	width: 100%;
/*	background-color: red;*/
}

.picture-box {
	height: 100%;
}

.text-box {
	display: block;
	margin-top: 0px;
	margin-bottom: 20px;
	height: 20px;
	background-color: aqua;
}

.nametag {
	float: left;
	margin: 0px 20px 20px 0px;
}

.right {
	display: inline;
	float: right;
	margin: 0px 0px 0px 20px;
}

img {
	border-radius: 10px;
}

h1 {
	font-family: Arial;
	font-size: 20px;
	text-align: center;
	margin: 25px 20px auto 20px;
}

h2 {
	font-family: Arial;
	font-size: 12px;
	text-align: center;
	margin: auto 0;
}

h3 {
	font-family: Arial;
	font-size: 14px;
	text-align: right;
}

.date-link {
	padding: 0px 5px;
}

p {
	font-family: Arial;
}

/* Mobile view 1080 */
@media screen and (max-width:850px) and (-webkit-min-device-pixel-ratio: 2) {

	.body {
		background-color: #FFFFCE;
	}
	
	.panel {
		margin: 0;
		border-radius: 0;
	}
	
	.header {
		width: 100%;
	}
	
	.divider img {
		width: 100%;
	}
	
	.nametag {
		width: 40%;
	}
	
	.right {
		width: 100%;
		margin-bottom: 20px;
	}
	
	.right img {
		width: 100%;
	}
	
	.row-picture {
		flex-direction: column;
		display: block;
		overflow: auto;
		height: auto;
		margin: 0 auto;
	}
	
	.row-text-box {
		overflow: auto;
		height: auto;
	}
	
	.picture-box {
		width: 100%;
		margin: 20px auto;
	}
	
	.picture-box img {
		width: 100%;
	}
	
	h1 {
		font-size: 3em;
	}
	
	h2, h3 {
		font-size: 2em;
	}
	
	p {
		font-size: 2em;
	}
	
}
