*,
*::before,
*::after {
	box-sizing: border-box;
}

*:focus {
	outline:none;
}

body {
	padding: 0;
	margin: 0;
	background: #000;
	color: #fff;
	font-family: "Oxygen", sans-serif;
}

a {
	text-decoration: none;
}

img {
	width: 100%;
}

.home img {
	width: 100%;
	-webkit-filter: grayscale(100%) contrast(100%); /* Safari 6.0 - 9.0 */
	filter: grayscale(100%) contrast(200%) brightness(60%);
}

.folio img {
	-webkit-filter: grayscale(100%) contrast(100%); /* Safari 6.0 - 9.0 */
	filter: grayscale(100%);
}

/* =========== Sidebar =========== */

aside {
	position: fixed;
	background: #222;
	top: 0px;
	left: 0px;
	width: 120px;
	height: 100%;
	overflow: none;
	z-index: 1;
	text-align: center;
	padding: 0;
}

aside img {
	-webkit-filter: grayscale(100%) contrast(100%); /* Safari 6.0 - 9.0 */
	filter: grayscale(100%) contrast(50%) brightness(100%);
	margin-bottom: -3px;
}

.material-icons.md-36 {
	font-size: 36px;
}

aside a {
	display: block;
	padding: 15px 0;
	color: #fff;
	transition: all 0.35s;
	text-transform: uppercase;
	font-size: 0.75em;
	letter-spacing: 2px;
}

aside p {
	margin: 0;
	padding: 0;
}

aside a:hover {
	background: #000;
}

aside nav a:nth-child(2) {
	background: #000;
}

aside nav a:nth-child(2):hover {
	background: #b2b2b2;
	color: #222;
}

/* =========== Main =========== */

main {
	max-width: 980px;
	background: #000;
	margin-left: 20%;
	padding: 12px 50px 12px 50px;
}

/* =========== Home =========== */

header {
	text-align: center;
	letter-spacing: 2px;
}

header h1 {
	font-weight: 300;
	font-size: 4em;
	letter-spacing: 4px;
}

header h5 {
	font-weight: 300;
	font-size: 1em;
	letter-spacing: 4px;
	color: #b2b2b2;
}

/* =========== About =========== */

.about,
.folio,
.contact {
	line-height: 1.5em;
	letter-spacing: 1px;
	font-weight: 300;
}

.about h2,
.folio h2,
.contact h2 {
	font-weight: 300;
	text-transform: uppercase;
	text-decoration: line-through;
	padding-bottom: 10px;
	margin: 100px 0 0 0;
	letter-spacing: 4px;
}

.about p {
	color: #b2b2b2;
}

.about span {
	font-weight: 600;
	color: #fff;
}

.about h3 {
	font-weight: 300;
	margin: 50px 0;
}

/* Skills bars */

.container {
	width: 100%;
	background-color: #b2b2b2;
}

.skills {
	text-align: right;
	padding-right: 20px;
	line-height: 30px;
	color: white;
	background-color: #424242;
}

.figma {
	width: 95%;
}

.html {
	width: 90%;
}

.css {
	width: 85%;
}

.js {
	width: 65%;
}

.php {
	width: 60%;
}

/* =========== Folio =========== */

.folio h3 {
	color: #fff;
	font-weight: 300;
	letter-spacing: 2px;
}

.folio p {
	font-size: 0.875em;
}

.row-halves {
	display: flex;
	justify-content: space-between;
	margin: 20px 0;
}

.row-halves .col {
	width: 49%;
}

.col {
	border: 1px solid #222;
	/* background: #222; */
	color: #b2b2b2;
	padding: 10px;
}

/* =========== Contact =========== */

label {
	color: #b2b2b2;
}

form input[type="text"],
select,
textarea {
	width: 100%;
	padding: 12px;
	border: none;
	border: 1px solid #222;
	background: transparent;
	margin-top: 6px;
	margin-bottom: 16px;
	resize: vertical;
	color: #b2b2b2;
}

form input[type="text"]:focus,
textarea:focus {
	outline: none;
	border: 1px solid #009688;
}

input[type="submit"] {
	background-color: transparent;
	color: #b2b2b2;
	text-transform: uppercase;
	padding: 12px 20px;
	border: 1px solid #222;
	cursor: pointer;
	transition: all 0.35s;
}

input[type="submit"]:hover {
	background-color: #b2b2b2;
	color: #222;
}

.contact .container {
	margin-top: 20px;
	margin-bottom: 100px;
	background: transparent;
	padding: 20px 0;
}

/* =========== Footer =========== */

footer {
	border-top: 1px solid #222;
}

.top-bar {
	padding: 20px 0;
	text-align: center;
}

.top-bar a {
	margin: 10px;
	font-size: 2em;
	color: #b2b2b2;
	transition: all .35s;
	display: inline-block;
}

.top-bar a:hover{
	-webkit-transform: scale(1.1);
	        transform: scale(1.1);
	color: #009688;
}

.bottom-bar {
	background: #000;
	font-size: 0.75em;
	text-align: center;
}

/* =========== Media Queries =========== */

@media (max-width: 768px) {
	.row-halves {
		display: block;
	}

	.row-halves .col {
		width: 100%;
		margin: 0 0 10px 0;
	}
}

@media (max-width: 601px) {
	aside {
		display: none;
	}

	main {
		width: 100%;
		margin: 0px auto;
		padding: 12px 25px;
	}

	header {
		margin-top: 80px;
	}

	header h1 {
		font-size: 3em;
		line-height: 1.4em;
	}

	header h5 {
		font-size: 1em;
		letter-spacing: 2px;
	}

	.mobile-nav {
		position: fixed;
		width: 100%;
		display: flex;
		justify-content: space-around;
		background: rgba(0, 0, 0, 0.8);
		z-index: 1;
	}

	.mobile-nav a {
		width: 100%;
		color: #b2b2b2;
		text-transform: uppercase;
		font-size: 0.875em;
		letter-spacing: 2px;
		text-align: center;
		padding: 10px 10px;
		transition: all 0.35s;
	}

	.mobile-nav a:hover {
		background: #b2b2b2;
		color: #222;
	}
}

@media (min-width: 600px) {
	.mobile-nav {
		display: none;
	}
}
