@charset "UTF-8";


*, *:after, *:before {
	margin: 0;
	padding: 0;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

body, html {
	width: 100%;
	min-height: 1em;
	height: 100%;
	margin: 0;
	padding: 0;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	font-family: "Roboto Mono", monospace;
	overflow: hidden;
	color: white;
}

main {
	display: flex;
	flex-direction: column;
}

.fab {
	font-size: 2em;
	color: white;
}

#socialMedia {
	text-align: right;
	margin: 1em 5em;
}

h1{
	color: #efffbb;
	font-size: 2em;
}

nav {
	background: rgba(0,0,0,0.5);
	font-size: 1.5em;
	padding: 0.7ex;
}

nav a {
	color: white;
	margin: 1ex 0.1ex;
	padding: 0.5ex 1ex;
}

a {
	text-decoration: none;
}

#about {
	flex-direction: row;
}

#contact {
	flex-direction: column;
	width: 50%;
}

input, textarea, #submit {
	display: inline-block;
	clear: both;
	width: 100%;
	font-size: 1em;
	margin: 2ex;
	position: relative;
	left: -2ex;
	border: 0.1ex solid white;
	color: white;
	background: none;
	text-shadow: #000 1px 0 10px;
	border-radius: 0.5ex;
}

 .contactText {
	display: block;
	margin: 1em 5em;
 }

::placeholder {
	color: white;
	opacity: 1;
	text-shadow: #000 1px 0 10px;
}

::-ms-input-placeholder {
	color: white;
	text-shadow: #000 1px 0 10px;
}

input {
	height: 2em;
}

textarea {
	height: 6em;
	resize: none;
}

.page {
	opacity: 0;
	text-shadow: #000 1px 0 10px;
	margin: 3.5em auto;
	padding: 2em 1em;
	background: rgba(0,0,0,0.2);
	text-align: justify;
	position: absolute;
	right: 100%;
	align-items: center;
	transition: all .3s ease;
}

.activePage {
	opacity: 1;
	right: 0;
	position: static;
	display: flex;
	transition: all .3s ease;
}

#resume {
	display: inline-block;
	color: white;
	margin: 1em 0;
	padding: 1ex;
	border: 0.2ex solid white;
	border-radius: 1ex;
}

#menuToggle {
	position: absolute;
	visibility: hidden;
}

.menuToggle {
	position: fixed;
	z-index: 3;
	top: 0;
	left: 0;
	display: none;
	width: 1.3em;
	height: 1.3em;
	padding: 0.2ex;
	font-size: 2em;
	background: rgba(0,0,0,0.5);
	border-radius: 0 0 0.3ex 0.3ex;
	transition: all .3s ease;
}

.myPhoto {
	display: inline-block;
	background-image: url("../images/me.jpg");
	background-size: cover;
	background-position: left;
	width: 25em;
	height: 20em;
	margin: 0 5em;
}

.smallPhoto {
	display: none;
	clear: none;
	margin: 0 1em;
	float: left;
	border: 0.5ex solid #cc4411;
	border-radius: 100%;
}

.mainPhoto {
	display: inline-block;
}


body::before {
	content: "";
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	filter: blur(10px);
	z-index: -1;
	background: rgb(0,0,0);
	background-image: url("../images/bg.jpg");
	background-size: cover;
	background-position: center;
}

.activeMenu {
	background: rgba(200,200,200,0.2);
	border-radius: 0.5ex;
	transition: all .3s ease;
}

#nav {
	position: fixed;
	top: 0;
	text-align: center;
	width: 100%;
	z-index: 1;
	transition: top .3s ease;
}

footer {
	position: fixed;
	bottom: 0;
	text-align: right;
	width: 100%;
	text-shadow: #000 1px 0 10px;
	background: rgb(0,0,0,0.5);
	background: linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.5) 100%);
}

@media (min-width: 600px) and (max-width: 1024px) {
	h1{
		font-size: 1.5em;
	}
	#about {
		display: flex;
		flex-direction: column;
	}
	.smallPhoto {
		width: 5em;
		height: 5em;
		margin: 0 1em;
	}
	.mainPhoto {
		display: none;
	}

	.smallPhoto {
		display: inline-block;
	}
	#socialMedia {
		text-align: center;
	}
	#contact {
		width: 85%;
	}
}


@media (max-width: 599px) {
	nav {
		display: flex;
		flex-direction: column;
	}
	h1{
		font-size: 1em;
		text-align: left;
	}
	p {
		font-size: 1.5ex;
	}
	#about {
		display: flex;
		flex-direction: column;
	}
	.myPhoto {
		width: 4em;
		height: 4em;
		margin: 0 0.8em;
	}
	#nav {
		top: -100%;
	}.mainPhoto {
		display: none;
	}

	.smallPhoto {
		display: inline-block;
	}
	#socialMedia {
		text-align: center;
	}
	.menuToggle {
		display: block;
	}
	#menuToggle:checked + label {
		top: 4.91em;
		transition: all .3s ease;
	}
	.page {
		margin: 3.5em 1em;
		padding: 2em 0.5em;
	}
	
	#contact {
		width: auto;
	}
}

