/* EXTRA SMALL SIZE / ALL */

* {
	margin: 0;
	padding: 0;
	display: border-box;
	overflow-x: hidden;
	font-family: Consolas, monospace;
}

body {
	font-family: Consolas, monospace;
	text-align: left;
	color: #070707;
}

.section {
	width: 100vw;
	min-height: 95vh;
	background-color: #599;
}

.section:nth-child(2n+3) {
	background-color: #4d9191;
}

.smallSection {
	width: 100vw;
	min-height: 5vh;
	background-color: #022;
	color: #eee;
}

a {
	color: inherit;
}

a:focus {
	outline: none;
}

h1 {
	height: 5vh;
	text-align: center;
	font-size: 4vh;
}

h1 a {
	text-decoration: none;
	font-size: 4vh;
}

h1 a:hover {
	color: #022;
}

h1 a:focus {
	color: #022;
}

em {
	font-weight: bolder;
	color: #aaa;
}

/* Landing Section (With About) */

#landing {
	min-height: 90vh;
	display: flex;
	align-items: stretch;
	justify-content: space-between;
	flex-direction: column;
	background-color: #033;
	color: #eee;
}

#landing a {
	text-decoration: underline overline;
}

#landing a:hover {
	background-color: #eee;
	color: #033;
	text-decoration: none;
}

#about {
	margin: 33.333vh 10vw 0 10vw;
	font-size: 2vw;
}

#arrow {
	margin: 3vh;
	text-align: center;
	font-size: 3vw;
}

#arrow a {
	text-decoration: none;
}

/* Wide Navigation Bar */

#wideNav {
	width: 100vw;
	display: flex;
	align-items: stretch;
	justify-content: space-around;
}

#wideNav div {
	display: flex;
	align-items: center;
}

#navName {
	flex: 1;
	margin-left: 1.5vw;
	justify-content: flex-start;
	text-align: left;
	font-size: 2vh;
}

#navLinks {
	flex: 3;
	justify-content: space-around;
	font-size: 2vh;
}

#navLinks svg {
	width: 2vh;
	height: 2vh;
}

#navSocials {
	flex: 1;
	margin-right: 1.5vw;
	justify-content: space-around;
	font-size: 4vh;
}

#navSocials svg {
	width: 3vh;
	height: 3vh;
}

#navSocials:hover {
	text-decoration: none;
	color: #4d9191;
}

#navSocials:focus {
	text-decoration: none;
	color: #4d9191;
}

#navSocials:active {
	text-decoration: none;
	color: #4d9191;
}

/* Dropdown Navigation Bar */

/* TODO: ADD THE DROPDOWN NAVIGATION BAR */

/* Both Navigation Bars */

nav a {
	text-decoration: none;
}

nav a:hover {
	text-decoration: underline;
}

nav a:focus {
	text-decoration: underline;
}

/* Skills Section */

.cards {
	height: 20vh;
	width: 100vw;
	display: flex;
	justify-content: space-around;
	align-items: flex-start;
	flex-direction: row;
	flex-wrap: wrap;
	color: #eee;
}

.cards div { /* Each Card */
	margin: 0.25vw;
	height: 5vh;
	width: 30vw;
	display: flex;
	justify-content: space-between;
	align-items: center;
	background-color: #033;
	border-radius: 1vh;
}

.cards div svg { /* Each Icon */
	width: 4.5vh;
	height: 4.5vh;
	margin: 0.5vh;
	margin-left: 1vw;
}

.cards div p { /* Each Title */
	margin: 0.5vh;
	margin-right: 1vw;
	text-align: right;
}

.showMore	{
	height: 5vh;
}

#skills h2 {
	margin-top: 1.875vh;
	margin-left: 1.875vh;
	height: 5vh;
	font-size: 3.125vh;
}

#skills h2 a {
	border-radius: 1.25vh;
	font-weight: lighter;
}

#skills h2 a:hover {
	background-color: #022;
	color: #eee;
	font-weight: lighter;
}

#skills h2 a:focus {
	background-color: #022;
	color: #eee;
	font-weight: lighter;
}

#skills h2 a:active {
	background-color: #022;
	color: #eee;
	font-weight: lighter;
}

#skills h2:hover a {
	background-color: #022;
	color: #eee;
	font-weight: lighter;
}

#skills h2:focus a {
	background-color: #022;
	color: #eee;
	font-weight: lighter;
}

#skills h2:active a {
	background-color: #022;
	color: #eee;
	font-weight: lighter;
}

#skills h2:hover + div {
	height: auto;
	min-height: 20vh;
	max-height: 95vh;
}

#skills h2:active + div {
	height: auto;
	min-height: 20vh;
	max-height: 95vh;
}

/* Portfolio */

#projects {
	margin: 0.5vw;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
}

#projects div {
	width: 25vw;
	height: 25vw;
	margin: 0.5vw;
	display: flex;
	justify-content: space-between;
	flex-direction: column;
	background-color: #033;
	text-align: center;
	color: #eee;
}

.lightBackground {
	color: #111;
}

#projects div h2 {
	margin: 0.75vh;
	font-size: 3vw;
}

#projects div h3 {
	margin: 1vh;
	font-size: 2.5vw;
}

#projects div h3 svg {
	width: 2.5vw;
	height: 2.5vw;
}

#projects div h4 {
	display: none;
	font-size: 2.375vw;
}

#projects div:hover h4 {
	display: block;
}

#projects div:focus h4 {
	display: block;
}

#projects div:active h4 {
	display: block;
}

#projects div:hover {
	width: 100vw;
	height: 65vh;
}

#projects div:focus {
	width: 100vw;
	height: 65vh;
}

#projects div:active {
	width: 100vw;
	height: 65vh;
}

/* Footer */

footer {
	display: flex;
	align-items: center;
	justify-content: space-around;
	text-align: center;
	font-size: 2vh;
}
