/* http://meyerweb.com/eric/tools/css/reset/
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
/* End of style reset */

body {
	width: 100%;
	height: 100%;
	min-width: 480px;
}

html {
	background: #131d2d;
	height: 100%;

	font-family: 'Open Sans', sans-serif;
}

p {
	margin-bottom: 4px;
}

#Container {
	position: relative;
	width: 100%;
	height: 100%;
	overflow: visible;
	min-height: 600px;

	background: #131d2d url('../images/bg_2019.jpg') no-repeat center center fixed;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}

.main_block{
	position: relative;
	width: 100%;
	min-height: 100vh;
	margin: 0px auto;

	color: white;
	overflow: hidden;
}

.small_block{
	position: relative;
	width: 100%;
	min-height: 60vh;
	margin: 0px auto;

	color: white;
	overflow: hidden;
}

.block_container {
	padding: 20px 0;
	display: flex;
	flex-wrap: wrap;
	flex-direction: row;
	position: relative;
	overflow: hidden;
}

.active_projects {
	background: url('../images/bg_2019_purple.jpg') no-repeat center center fixed;
	background-size: cover;
}

.past_projects {
	background: url('../images/bg_2019_grey.jpg') no-repeat center center fixed;
	background-size: cover;
}

.project_block h1 {
	width: 100%;
	font-weight: bold;
	font-size: 48px;
	transform: rotate(-1deg);
	margin-bottom: 80px;
	padding-left: 20px;
}

.header_slant {
	position: absolute;
	width: 120%;
	top: -5vh;
	left: -10%;
	height: 130px;
}

.slant1 {
	background: black;
	transform: rotate(-2deg);
}

.slant2 {
	top: -4vh;
	background: white;
	transform: rotate(-2.5deg);
}

.past_projects h1 { transform: rotate(1deg); text-align: right; padding-right: 20px; }
.past_projects .slant1 { transform: rotate(2deg); }
.past_projects .slant2 { transform: rotate(2.5deg); }

.project_item {
	background: rgba(0, 0, 0, .5);
	box-sizing: border-box;
	padding: 20px;
	width: 46%;
	min-height: 170px;
	display: inline-block;
	margin: .5%;
}

.project_desc {
	margin-left: 120px;
	line-height: 1.25em;
}

.project_logo {
	float: left;
	width: 200px;
	height: 170px;
	background-size: cover;
	margin-right: 20px;
	border-radius: 8px;
	overflow: hidden;
}

.project_logo img {
	max-width: 100%;
	max-height: 100%;
}

.project_item h2 {
	font-weight: bold;
	font-size: 32px;
	line-height: 32px;
	margin-bottom: 4px;
	word-break: break-word;
}

.project_item h3 {
	font-size: 22px;
	line-height: 22px;
	font-style: italic;
	margin-bottom: 16px;
	word-break: break-word;
}

/* Social Links */
#social {
	background: #131d2d url('../images/bg2.jpg') no-repeat center center fixed;
	background-size: cover;
}

.social_links,
.social_links .block_container {
	display: block;
	text-align: center;
}

.social_item {
	background: rgba(0, 0, 0, .5);
	box-sizing: border-box;
	width: 260px;
	padding: 20px;
	min-height: 170px;
	display: inline-block;
	margin: .5%;
	text-align: center;
}

.social_logo {
	float: left;
	width: 200px;
	height: 170px;
	background-size: cover;
	margin-right: 20px;
	border-radius: 8px;
	overflow: hidden;
	width: 100%;
	text-align: center;
	border-radius: 8px;
	overflow: hidden;
}

.social_logo img {
	max-width: 100%;
	max-height: 100%;
}

.social_item h2 {
	font-weight: bold;
	font-size: 24px;
	line-height: 32px;
	margin-bottom: 4px;
	word-break: break-word;
}

.social_item h3 {
	font-size: 22px;
	line-height: 22px;
	font-style: italic;
	margin-bottom: 16px;
	word-break: break-word;
}

/* Name */
#logo_container {
	width: 100%;
	height: 100%;
}

#logo {
	position: absolute;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	display: block;
	background: url('../images/logo_wide2019.png') no-repeat center center;
	background-size: contain;
}

#logo_small {
	position: absolute;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	display: none;
	background: url('../images/logo_small2019.png') no-repeat center center;
}

#links {
	position: absolute;
	width: 100%;
	bottom: 64px;
	color: white;
	font-size: 24px;
	text-align: center;
}

#links a { margin: 1% }

a,
a:visited { color: white; text-decoration: none; }

a:hover,
a:active { text-decoration: underline; }

@media(max-width: 1100px) {
	.project_item {
		width: 100%;
	}

}

@media(max-width: 800px) {
	.project_logo {
		width: 100px;
		height: 85px;
	}

	.project_logo img {
		max-width: 100%;
	}

	#Main {
		width: 404px;
		zoom: 100% !important;
	}

	#logo {
		display: none;
	}

	#logo_small {
		display: block;
	}
}

/* End */