/*
	COLORS:
	Gold: 							#eccd8c
	Baby Blue: 					#8cabec
	Dark Blue:					#414f6e
	Dark Gold:					#6e6041

	Off-White:					#e5e5e5
	Kinda Dark Red:			#4D0000
	Really Dark Red:		#1E0000
	Kinda Dark Navy:		#000033
	Really Dark Navy:		#000019
*/

/**************** Browser Reset ******************/
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;
}
/*************************************************/

html,
body {
	position: absolute;
	width: 100%;
  background-color: #eee;
  color: #e5e5e5;
  overflow-x: hidden;
  font-family: sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: .10em;
  box-sizing: border-box;
}

h1, h2, h3, h4, h5, h6, .section-title {
	font-family: 'VT323', sans-serif;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .15em;
}

h1 { font-size: 2.25em; }
h2 { font-size: 2.10em; }
h3 { font-size: 2.00em; }
h4 { font-size: 1.75em; }
h5 { font-size: 1.50em; }
h6 { font-size: 1.25em; }

small {
	font-size: 0.7em;
}

.hidden {
	display: none;
}

.codebg {
	height: 350px;
}

#wallpaper, #landing, #aboutme, #portfolio, #contactinfo, #contactpage {
	top: 0;
	left: 0;
	position: fixed;
	z-index: 2;
	height: 100vh;
	width: 100%;
  max-height: 100vh;
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;

  transition: all 1s ease;
}

#wallpaper {
  z-index: 0;
  background: url("/images/william-felker-53574.jpg");
	background-position: center;
	background-size: cover;
	background-position: bottom;
  opacity: 0.1;
}

#aboutme {
  margin-top: -100vh;
}

#aboutme .container {
  max-height: 75vh;
  max-width: 90vw;
  overflow-y: scroll;
}

#aboutme .container::-webkit-scrollbar-track {
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
	border-radius: 10px;
	background-color: #F5F5F5;
}

#aboutme .container::-webkit-scrollbar {
	width: 12px;
	background-color: #F5F5F5;
}

#aboutme .container::-webkit-scrollbar-thumb {
	border-radius: 10px;
	-webkit-box-shadow: inset 0 0 6px rgba(102, 86, 0, 0.5);
	background-color: #555;
}

#aboutme p {
  margin: 15px 0;
	text-shadow: 2px 1px #665600;
}

#portfolio {
  margin-left: 100vw;
}

#portfolio .container {
  padding-top: 50px;
}

#contactinfo { margin-top: 100vh; }

#landing, #aboutme, #portfolio, #contactinfo, #contactpage {
	background: url("/images/cpubg.jpg");
	background-position: center;
	background-size: cover;
	background-position: bottom;
}

#aboutme {	background: url("/images/aboutme.jpg");	}
#contactinfo, #contactpage {	background: url("/images/contact.jpg");	}
#portfolio {	background: url("/images/work.jpg");	}

#contactpage article, #contactinfo article {
	max-width: 640px;
	margin: 0 auto;
}

.section-title span {
	color: #4D0000;
	margin: 0 !important;
	text-transform: uppercase;
}

.section-title {
	font-size: 3em;
	text-transform: lowercase;
}

.full-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 100%;
	width: 100%;
	z-index: -1;
	opacity: 0.65;
}

.blue-overlay {
  background-color: #000033;
	background: -webkit-gradient(radial, center center, 0, center center, 860, from(#000033), to(#000011));
	background: -webkit-radial-gradient(circle 860px, #000033, #000011);
	background: -moz-radial-gradient(circle 860px, #000033, #000011);
	background: -ms-radial-gradient(circle 860px, #000033, #000011);
}

.red-overlay {
  background-color: #4D0000;
	background: -webkit-gradient(radial, center center, 0, center center, 760, from(#4D0000), to(#1E0000));
	background: -webkit-radial-gradient(circle 760px, #4D0000, #1E0000);
	background: -moz-radial-gradient(circle 760px, #4D0000, #1E0000);
	background: -ms-radial-gradient(circle 760px, #4D0000, #1E0000);
}

.green-overlay {
  background-color: #004d00;
	background: -webkit-gradient(radial, center center, 0, center center, 760, from(#004d00), to(#001a00));
	background: -webkit-radial-gradient(circle 760px, #004d00, #001a00);
	background: -moz-radial-gradient(circle 760px, #004d00, #001a00);
	background: -ms-radial-gradient(circle 760px, #004d00, #001a00);
}

.gold-overlay {
  background-color: #b29600;
	background: -webkit-gradient(radial, center center, 0, center center, 760, from(#998100), to(#665600));
	background: -webkit-radial-gradient(circle 760px, #998100, #665600);
	background: -moz-radial-gradient(circle 760px, #998100, #665600);
	background: -ms-radial-gradient(circle 760px, #998100, #665600);
}

.greeting {
	text-align: right;
	padding-right: 60px;
}

.greeting p {
	margin-right: 8px !important;
	padding: 0;
	font-size: 18px;
}

.myface {
	margin-left: 60px;
	margin-top: -60px;
	text-align: center;
	height: 280px;
	width: 280px;
	background: white;
	border-radius: 50%;
}

.myface img {
	margin-top: 30px;
	height: 220px;
	/* 	Flipped - since it's originally meant to be
			looking to the right - now it's looking left 	*/
	-moz-transform: scaleX(-1);
  -o-transform: scaleX(-1);
  -webkit-transform: scaleX(-1);
  transform: scaleX(-1);
}

.selectview {
	margin-top: 40px;
	font-family: 'Nova Square', cursive;
	font-size: 0.95em;
	width: 100%;
	text-align: center;
}

.navbar {
  margin-top: 15px;
	text-align: center;
}

.navbar ul li {
	display: inline-block;
	margin: 0 20px;
  padding: 5px 0;
  text-transform: lowercase;
	-webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome and Opera */
}

.navbar ul li a {
	text-decoration: none;
	color: inherit;
}

.navbar ul li:hover {
  cursor: pointer;
  border-bottom: 1px solid white;
}

.tile-group {
	margin: 20px auto 0px;
	max-width: 825px;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
	text-align: center;
}

.tile-group a {
	text-decoration: none;
}

.tile {
	display: inline-block;
	text-align: center;
  margin: 10px;
	height: 145px;
	width: 145px;
	overflow: hidden;
  border-radius: 50%;
}

/*.tile:first-child {
	border-top-left-radius: 50%;
}

.tile:last-child {
	border-bottom-right-radius: 50%;
}*/

.tile img {
	height: 145px;
	width: 145px;
}

.tile img:hover {
	height: 175px;
	width: 175px;
	margin-left: -15px;
	margin-top: -15px;
}

.tile:hover {box-shadow: 15px 10px 15px rgba(0, 0, 0, 0.5)}

#wrapper.modal-open {
	overflow-y: hidden;
	height: 100%;
}

.portfolio-modal {
  display: none;
	position: fixed;
	border-radius: 15px;
	width: 50%;
	max-width: 800px;
	z-index: 1002;
}

.portfolio-modal-body {
	margin: 0 auto;
	background: white;
	color: #000019;
	height: auto;
	text-align: center;
	border-radius: 15px;
	padding: 25px;
	max-height: 75vh;
	overflow-y: scroll;
}

.portfolio-text p a {
	text-decoration: none;
	color: #6e6041;
}

.portfolio-text {
	text-align: left;
}

.portfolio-modal-body img {
	max-width: 100%;
	max-height: 300px;
}

.portfolio-modal-body p {
	margin: 10px 0;
	font-size: 0.75em;
}

.portfolio-modal-body h2,
.portfolio-modal-body h4 {
	margin: 10px 0 5px;
}

.portfolio-title-bar, .close-modal {
	margin: 10px auto;
	height: 30px;
	line-height: 30px;
	color: white;
	position: relative;
	text-align: center;
	display: block;
	font-family: 'Teko', sans-serif;
}

.portfolio-title-bar {
	font-size: 1.75em;
	letter-spacing: 0.25em;
	text-transform: uppercase;
}

.close-modal:hover {
	cursor: pointer;
}

#overlay {
	display: none;
	position: fixed;
	top: 0; left: 0;
	width: 100%;
	height: 100%;
	z-index: 1001;
	background: #000;
	opacity: 0.6;
}

/* Portfolio Modal Adjustments for Tablets and Phones: */
@media screen and (min-width: 0px) and (max-width: 770px) {
	.portfolio-modal {
		width: 95%;
	}

	.portfolio-text h2 {
		font-size: 1.15em;
	}

	.portfolio-text h4 {
		font-size: 1.0em;
	}

	.portfolio-title-bar {
		font-size: 1.25em;
	}
}

/* Large Mobile Devices: 451-768 px Wide */
@media screen and (max-width: 768px) {
	.greeting, .myface {
		margin: 0;
		padding: 0;
		text-align: center;
	}

	.greeting p, .greeting span {
		margin: 0;
	}

	.myface {
		display: inline-block;
		margin-top: 80px;
		height: 255px;
		width: 255px;
	}

	.myface img {
		margin-top: 30px;
		height: 195px;
	}

	.greeting p {
		font-size: 14px;
	}

	.tile {
		height: 145px;
		width: 145px;
    margin: 8px;
	}

	.tile img {
		height: 145px;
		width: 145px;
	}

	.tile img:hover {
		height: 175px;
		width: 175px;
		margin-left: -15px;
		margin-top: -15px;
	}

	.container h1 {
		font-size: 2.0em;
		margin-left: 5vw;
	}

  #aboutme .container {
    max-height: 70vh;
    max-width: 90vw;
    border: 1px solid white;
    border-left: none;
    border-right: none;
  }

}

/* Medium Devices: 375-450 px Wide */
@media screen and (max-width: 450px) {
	p {
		font-size: 15px;
	}

	.greeting p, .greeting span {
		margin: 10px 25px;
	}

	.greeting span {
		font-size: 1.4em;
	}

  .tile {
		height: 75px;
		width: 75px;
    margin: 5px;
	}

	.tile img {
		height: 75px;
		width: 75px;
	}

	.tile img:hover {
		height: 105px;
		width: 105px;
		margin-left: -15px;
		margin-top: -15px;
	}

  .navbar ul li {
    display: inline-block;
    margin: 0 10px;
    font-size: 12px;
  }

}

/* Small Devices: Up to 364 px Wide */
@media screen and (min-width: 0px) and (max-width: 364px) {
	p {
		font-size: 14px;
	}

	.greeting, .myface {
		margin: 0;
		padding: 0;
		text-align: center;
	}

	.myface {
		margin-top: 120px;
	}

	.greeting p, .greeting span {
		margin: 0;
	}

	.greeting span {
		font-size: 1.25em;
	}

	.myface {
		display: inline-block;
		margin-top: 80px;
		height: 175px;
		width: 175px;
	}

	.myface img {
		margin-top: 15px;
		height: 145px;
	}

  .tile {
		height: 75px;
		width: 75px;
    margin: 5px;
	}

	.tile img {
		height: 75px;
		width: 75px;
	}

	.container h1 {
		font-size: 1.75em;
		margin-left: 5vw;
	}

}


.more {
	width: 60px;
	font-family: 'VT323', monospace;
	display: block;
	text-align: center;
	position: absolute;
	bottom: 5vh;
	font-size: 24px;
	line-height: 24px;
	animation: bounce 2.5s infinite;
	-webkit-animation: bounce 2.5s infinite;
	-moz-animation: bounce 2.5s infinite;
	-o-animation: bounce 2.5s infinite;
}

.more .arrow {
	display: inline-block;
	width: 32px;
	transform: rotate(90deg);
}

@-webkit-keyframes bounce {
	0%, 20%, 50%, 80%, 100% { -webkit-transform: translateY(0); }
	40% { -webkit-transform: translateY(-30px); }
	60% { -webkit-transform: translateY(-15px); }
}

@-moz-keyframes bounce {
	0%, 20%, 50%, 80%, 100% { -moz-transform: translateY(0); }
	40% { -moz-transform: translateY(-30px); }
	60% { -moz-transform: translateY(-15px); }
}

@-o-keyframes bounce {
	0%, 20%, 50%, 80%, 100% { -o-transform: translateY(0); }
	40% { -o-transform: translateY(-30px); }
	60% { -o-transform: translateY(-15px); }
}
@keyframes bounce {
	0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
	40% { transform: translateY(-30px); }
	60% { transform: translateY(-15px); }
}
