* {
	box-sizing: border-box;
	margin: 0 auto;
}

html,
body {
	height: 100%;
}

body {
	margin: 0;
	padding: 0;
	font-family: 'Open Sans', sans-serif;
	letter-spacing: 1px;
	background-image: url(brickwall.png);
	background-attachment: fixed;
    background-position: center; 
	background-repeat: repeat;
}

header {
	width: 100%;
	background-color: #373738;
	height: 70px;
	box-shadow: 5px 5px 5px #b0b0b0;
}

after-header {
	content: "";
	display: block;
	clear: both;
}

.container:after {
	content: "";
	display: block;
	clear: both;
}

h1 {
	float: left;
	margin-left: 8%;
	width: 24%; 
	height: 70px;
	padding: 20px;
	font-size: 28px;
	font-weight: 800;
	font-family: 'Raleway', sans-serif;
	letter-spacing: 2px;
	text-align: center;
	background-color: #c4deff;
	color: #373738;
}

h2 {
	padding-bottom: 15px;
	color: #373738;
	border-bottom: 8px dotted #cb0121;
	margin-bottom: 15px;
	font-size: 24px;
	font-weight: 900;
}

h3 {
	padding-bottom: 15px;
	color: #373738;
	border-bottom: 8px dotted #cb0121;
	font-size: 24px;
	font-weight: 900;
	text-align: left;
	margin-bottom: 15px;
}

a {
	text-decoration: none;
}

a:link {
	color: #eeeef0;
}

a:visited {
	color: #eeeef0;
}

#bio-image,
#main-bio,
#connect,
#contact-form,
#portfolio {
	float: left;
}

#bio-image {
	height: 240px;
	width: 240px;
	margin-right: 15px;
	margin-top: 15px;
}

#main-bio,
#contact-form,
#portfolio {
	width: 60%;
	border: 2px solid #c4deff;
	padding: 25px;
	margin: 20px;
/*	background-color: #cbff57;*/
	background: #c4deff;
	background: linear-gradient(to bottom right, #c4deff, #dfe3ea);
	box-shadow: 8px 8px 8px #b0b0b0;
}

#connect {
	width: 30%;
	text-align: center;
	border: 2px solid #c4deff;
	padding: 25px;
	margin: 20px;
/*	background-color: #cbff57;*/
	background: #c4deff;
	background: linear-gradient(to bottom right, #c4deff, #dfe3ea);
	box-shadow: 8px 8px 8px #b0b0b0;
}

.redtext {
	color: #cb0121;
	font-weight: 800;
}

/*This is for the contact form
*/input {
	width: 100%;
	padding: 20px 12px;
	margin: 8px 0;
	box-sizing: border-box;
}

/*This is for the contact form
*/textarea {
	width: 100%;
	max-height: 250px;
	overflow: auto;
	padding: 20px 12px;
	margin: 8px 0;
	box-sizing: border-box;
	height: 150px;
	resize: vertical;
	border: 1px solid #373738;
}

.button {
	background-color: #cb0121;
	border: none;
	color: white;
	padding: 15px 20px 15px 20px;
	text-align: center;
	text-decoration: none;
	display: inline-block;
	font-size: 16px;
	border-radius: 2px;
	transition: all 1s;
}

.button:hover {
	background-color: #a2011a;
}

.button:active {
	background-color: #c1016c;
}

.button:focus {
	background-color: #a2011a;
}

.container {
	width: 1024px;
	margin: 0 auto;
	min-height: 100%;
	margin-bottom: -50px;
	line-height: 150%;
}

.headergroup {
	width: 1024px;
	margin: 0 auto;
}

.site-footer {
	height: 50px;
	background-color: #373738;
	text-align: center;
	font-size: 12px;
	font-weight: 400;
	color: #eee;
	padding: 15px;
	border-top: 3px solid #b1b5be;
	margin-top: 10%;
}

.headerlinks {
	float: left;
	position: absolute;
	width: 30%;
	right: 0;
	top: 10px;
	padding: 15px;
	margin-right: 30px;
	font-size: 18px;
	font-weight: 400;
	font-family: 'Raleway', sans-serif;
	letter-spacing: 2px;
	vertical-align: middle;
}

.icon {
	margin: 10px;
}

.portimg {
	width: 240px;
	height: 240px;
	position: inline-block;
	margin: 15px;
	text-align: center;
	z-index: 1;
}

.portbox {
	float: left;
}

#portfolio {
	position: relative;
}

.porttitle {
	background-color: #373738;
	color: #eeeef0;
	font-weight: 700;
	font-size: 16px;
	z-index: 2;
	margin: 15px;
	padding: 15px;
	text-align: center;
	position: absolute;
}

.portimg1 {
	top: 240px;
	width: 240px;
}

.portimg2 {
	top: 518px;
	width: 240px;
}

.portimg3 {
	top: 790px;
	width: 240px;
}


