* {
	color: #EEEEEE;
	font-family: 'Ubuntu', sans-serif;
}

body {		
	margin: 0;
	padding: 0;
	line-height: 170%;
	word-spacing: 120%;
	text-align: left;
	background-color: #121212;
	box-sizing: border-box;
}

.small-container{
	display: flex;
	flex-direction: column;
	margin-left: auto;
	margin-right: auto;
	max-width: 400px;
}

.eq *{
	flex: 1;
	text-align: center;
}

/* header styles */

#header{
	padding: 2.5%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	margin-top: 3%;
	margin-bottom: 3%;	
}

#header-main{
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

#mobi-nav-icon{
	cursor: pointer;
}

#nav-menu{
	display: none;
	transition: all .5s;
	width: 95%;
	box-sizing: border-box;
	left: 0;
	top: 17.5%;
	padding: 5% auto;
	margin: 2% auto;
	text-align: center;
	font-size: 110%;
}

.brand-wrapper{
	display: flex;
	text-align: end;
	align-items: center;
	justify-content: flex-end;
}

.brand-wrapper img{
	border-radius: 50%;
	margin: 0 2%;
}

.nav-link-wrapper{
	margin: 4% auto;
	width: 75%;
	height: 10%;
}

.nav-link-wrapper a{
	margin: 10% auto;
	font-size: 0.95em;
	text-transform: uppercase;
	height: 100%;
	width: 100%;
	color: #919191;
	text-decoration: none;
	padding: 2% 10%;
}

.nav-link-wrapper a:hover {
	color: #EEEEEE;
	/* transition: color .5s;  */
	transition: font-weight .5s; 
}

#active-nav-link a, #active-nav-link a:hover{
	/* background-color: #EEEEEE; */
	font-weight: bold;
	/* color: #222222; */
}


/* content styles */


.intro-wrapper {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.intro-img-mobi{			
	display: block;
	position: relative;
	width: 100%;
	height: 50vh;
}

.intro-img-bkg{		
	display: none;
}

.intro-text-wrapper {	
	position: absolute;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(13, 13, 13, 0.5);
	display: flex;
	flex-direction: column;
	text-align: center;
	justify-content: center;
	align-items: center;
	font-size: 100%;
}

.intro-text-wrapper h1 {
	color: #86a6e9;
}


.section-wrapper {		
	padding: 0 3%;
	margin: 10% auto;
}


#about-wrapper{
	margin: 0%  auto;
	padding: 5% 3%;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	background-color: #86a6e9;	
}

#about-wrapper *{
	color: #070707;
}

#about-content-wrapper{
	font-weight: 110%;
	display: flex;
	flex-direction: column;
	padding: 3% 1.5%;
}

#about-content-wrapper *{
	margin: 0;
	padding: 0;
}


#about-txt-wrapper{
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	text-align: justify;
}

#about-img-wrapper img{
	width: 100%;
	margin-top: 4%;
	box-shadow: 2vw 2vh 15px  #394466;
}


#about-btn-wrapper {			
	padding: 2% 4%;
	margin: 6% auto ;
	width: max-content;
	border-radius: 2%;
	background-color: rgba(13, 13, 13, 0.75);
}

#about-btn-wrapper a {	
	color: #86a6e9;
	text-decoration: none;
}


#skills-intro-wrapper {
	display: flex;
	flex-direction: column;
	align-items: center;
}

#skill-list-wrapper {
	display: grid;
	grid-template-rows: 1fr 1fr 1fr;
}

#skill-wrapper {
	display: flex;
	flex-direction: column;
	margin-top: 5%;
	padding: 4%;
	border-radius: 2%;
	background-color: #1f1f1f;
	box-shadow: 20px 20px 15px #070707;
}

#skill-wrapper:nth-child(even) {
	margin-top: 8%;
}

#skill-title-wrapper {
	text-transform: uppercase;
}

#skill-wrapper img{
	width: 100%;
	margin: 5% auto;
}

.skill-btn-wrapper{
	width: max-content;
	height: max-content;
	background-color: #86a6e9;
	border-radius: 2%;
	padding: 1% 2%;
}

.skill-btn-wrapper *{
	color: #121212;
	padding: 0;
	margin: 0;
}

.footer{
	text-align: center;
	padding: 0 auto;
	margin: 5% 0 1%;
}

.footer *{	
	margin: 1% auto;
}

.footer .footer-mail, .footer .footer-credits{
	margin-left: 3%;
	margin-right: 3%;
	text-decoration: none;
}


.footer .footer-credits{	
	color: #86a6e9;
}


/* legal styles */

#legal{
	text-align: justify;
}

/* projects styles */


.hm-project-list-wrapper {		
	display: grid;
	grid-template-rows: 1fr 1fr 1fr 1fr;
	grid-template-columns: 1fr;
	margin: 4% auto;	
}

.project-list-wrapper {		
	display: grid;
	grid-template-rows: 1fr 1fr 1fr 1fr;
	margin: 4% auto;	
}


.project-wrapper{
	width: 80%;
	margin: 4% auto;
	padding: 6% 4%;	
	text-align: center;
	border-radius: 2%;
	background-color: #070707;
}


.project-img-txt-wrapper{
	display: flex;
}

.project-img{
	border-radius: 3%;
	margin: 2% auto;
	width: 33%;
	height: 33%;
}

.project-txt-wrapper {
	width: 50%;	
	text-align: left;
}

.project-title{
	color: #86a6e9;
	border-radius: 2%;
	margin: 0.5% auto;
	padding: 0.5% 5%;
}

.project-subtitle{
	margin: 0.5% auto;
	padding: 0.5% 5%;
}

.project-btn {
	margin: 0;
	padding: 0;
	width: 50%;
}

.project-desc-wrapper{
	width: 85%;
	text-align: justify;
	margin: 1% auto;
}


/* credits styles */
.credit-name-wrapper, .credit-src-wrapper {
	color: #86a6e9;
	text-decoration: none;
}

.credits-content-wrapper {	
	padding-left: 8%;
	padding-right: 8%;
}


/* error styles */
#error-content-wrapper {
	display: flex;
	flex-direction: column;
	text-align: justify;
	justify-content: center;
	align-items: center;
	height: 55vh;
	padding-left: 8%;
	padding-right: 8%;
}

#error-content-wrapper *{		
	margin: 0.5% auto;
	padding: 2% auto;
}

#error-content-wrapper a{	
	font-weight: bold;	
	text-decoration: none;
	color: #070707;
	background-color: #86a6e9;
	padding: 1.5% 3%;
}

#view-gone{	
	display: none;
}

/****************************
responsive
****************************/

@media only screen and (min-width: 768px) {
	body {
		font-size: 130%;
	}	
	
	.small-container{
		flex-direction: row;
		max-width: 640px;
	}
}

@media only screen and (min-width: 932px) {
	body {
		font-size: 120%;
	}
	
	.small-container{
		flex-direction: row;
		max-width: 768px;
	}
	
	#header{		
		flex-direction: row-reverse;
		padding: 1.5% 1%;			
		margin-top: 0;
		margin-bottom: 0;
	}
	
	#header-main{			
		display: flex;
		flex-direction: row;
		align-items: center;
		justify-content: right;
		
	}
	
	#nav-menu{
		white-space: nowrap;
		/* width: 100%; */
		display: flex;
		margin:  0;
		text-align: center;
		justify-content: space-between;
		font-size: 95%;
		padding: 0 auto;
	}
	
	.nav-link-wrapper{
		margin: 0;
	}	
	
	
	.nav-link-wrapper a{
		margin: 8% 2%;
		padding: 4% 8%;
	}
	
	
	#mobi-nav-icon{
		display: none;
	}
	
	.brand-wrapper{		
		width: 100%;		
		font-size: 90%;		
	}
	
	.brand-wrapper img{
		width: 12%;
		height: 12%;
		margin: 0.5% 3%;		
	}
	
	
	/* index styles */
	
	.intro-img-mobi{		
		display: none;
	}
	
	.intro-img-bkg{		
		display: block;
		background-attachment: fixed;
		background-size: cover;
		background-repeat: no-repeat;	
		position: relative;
		width: 100%;
		height: 90vh;
	}
	
	
	
	#about-wrapper{
		font-size: 95%;
		padding-top: 2.5%;
		padding-bottom: 2.5%;
	}
	
	#about-content-wrapper{
		display: grid;
		grid-template-rows: 1fr;
		grid-template-columns: 1fr 1fr;
		padding: 2%;
	}
	
	#about-content-wrapper *{
		margin: 0 2%;
		padding: 0;
	}
	
	
	#about-img-wrapper img{
		margin-left: 2%;
		margin-right: 2%;
		box-shadow: 20px 20px 15px #2f3544;
	}
	
	
	#skill-list-wrapper {
		display: grid;
		grid-template-rows: 1fr;
		grid-template-columns: 1fr 1fr 1fr;
	}
	
	#skill-wrapper {
		margin-top: 10%;
		margin-bottom: 10%;
		margin-left: 5%;
		margin-right: 5%;
	}
	
	#skill-wrapper:nth-child(odd) {
		margin-top: 10%;
		margin-bottom: 40%;
	}
	
	#skill-wrapper:nth-child(even) {
		margin-top: 40%;
		margin-bottom: 10%;
	}
	
	#skill-wrapper img{
		width: 100%;
		margin: 5% auto;
	}	
	
	/* proj styles */
	
	.project-list-wrapper {				
		grid-template-rows: 1fr 1fr;
		grid-template-columns: 1fr 1fr;	
	}
	
	.hm-project-list-wrapper{
		grid-template-rows: 1fr;
		grid-template-columns: 1fr 1fr 1fr;
	}
	
	.project-wrapper{
		width: 80%;
		margin-top: 10%;
		margin-bottom: 0;
		padding: 6% 4%;				
	}		
	
	/* error styles */
	
	#error-content-wrapper {		
		height: 30vh;
	}
	
	#error-content-wrapper a{				
		padding: 0.5% 1%;
	}
	
	/* footer styles */
	
	.footer *{	
		margin: 1% auto;
	}
	
	
}