/*
	David Wroble's Responsive Resume Stylesheet
	Filename: rstyle.css
	
	Author:   David Wroble
	Date:     June 24, 2018
*/	
	
/* reset styles */
html {
   font-size: 16px;
}
body, div, footer, header, h1, h2, h3, img, dd, dl, dt, p, section {
   border: 0;
   padding: 0;
   margin: 0;
}
img {
   max-width: 100%;
   height: auto;
   width: auto;
   display: block;
}

/* document-wide styles */
body {
	margin: 0 auto;
	background-color: rgb(28,38,33);
	font-family: 'Josefin Sans', Tahoma, sans-serif;
	color: rgb(250,245,240);
	position: relative;
}
hr {
	width: 75%;
	margin: 2em auto;
	border: 2px outset rgb(250,245,240);
}

/* header styles */
header {
	text-align: center;
	width: 90%;
	height: 18.5em;
	margin: 5% auto;
}
header img {
	max-width: 500px;
	width: 20%;
	border: 10px solid rgb(250,245,240);
	margin: 2em 0 2em 10%;
	box-shadow: 2px 2px 1px 1px #F90, 4px 4px 2px 2px #096;
}
.name {
	text-shadow: 2px 2px 1px #F90, 4px 4px 2px #096;
}
.contact-info {
	display: inline-block;
	margin: auto;
}
.contact-info h1, .contact-info h3 {
	line-height: 300%;
}

/* resume styles */
.resume {
	background-color: rgb(250,245,240);
	color: rgb(28,38,33);
	width: 80%;
	margin: 0 auto;
	padding: 5%;
}
.resume img {
	height: 10%;
	width: 20%;
	max-width: 200px;
	min-width: 100px;
	float: right;
	clear: right;
	margin: 2.5%;
	padding: 2.5%;
}
.resume h2 {
	margin-top: 2em;
}
.education h2 {
	margin-top: 0;
}
.resume dl {
	margin: 1em auto;
	line-height: 1.25em;
}
.resume dt {
	font-weight: bold;
}
.resume dd {
	margin-left: 2em;
	margin-bottom: 1em;
}
.skills dd:last-of-type {
	margin-bottom: 0;
}

/* footer styles */
footer {
	margin-left: 2em;
	margin-bottom: 2em;
	text-align: center;
}

/* media queries */

/* small screen/tablet styles */
@media only screen and (max-width: 480px) {
	header {
		height: auto;
		width: auto;
	}
	header img {
		max-width: 384px;
		min-width: 0;
		clear: right;
		width: 80%;
		margin: 2em 7.5%;
	}
	.contact-info h1 {
		font-size: 10vw;
	}
	.contact-info h3 {
		font-size: 5vw;
	}
	.resume {
		text-align: center;
	}
	.resume img {
		float: none;
		margin: 2.5% auto;
		min-width: 0;
		width: 80%;
	}
	.resume h2 {
		margin-top: 1em;
	}
	.resume dd {
		margin: 1em auto;
	}
}

/* widescreen styles */
@media only screen and (min-width: 960px) {
	header {
		height: auto;
		width: auto;
	}
	.contact-info h1, .contact-info h3 {
		line-height: 200%;
	}
	.contact-info h1 {
		font-size: 5vw;
	}
	.contact-info h3 {
		font-size: 2.5vw;
	}
	.resume {
		height: auto;
		position: relative;
		font-size: 1.77vw;
		text-align: center;
		margin: auto;
	}
	.resume img {
		float: none;
		margin: 2.5% auto;
		min-width: 0;
		max-width: none;
		width: 25%;
	}
	.resume dl {
		display: inline-block;
	}
}