body {
	font: 14px/1.5 Arial, Helvetica, sans-serif;
	padding: 0;
	margin: 0;
	background-color: #d9edf7;
	color: #1e293b;
}


/* Global */

.container {
	width: 80%;
	margin: auto;
	overflow: hidden;
}

ul {
	margin: 0;
	padding: 0;
}

.dark {
  background-color: #448EE4;
  border: 2px black;
  padding: 5px;
}

.bottom-about {
    display: none;
}

/* Header */

header {
	background-color: #12304a;
	color: #fff;
	padding-top: 20px;
	min-height: 70px;
	border-bottom: #4aa3df 3px solid;
}

header a {
	color: #dceef9;
	text-decoration: none;
	text-transform: uppercase;
	font-size: 14px;
}

header li {
	float: left;
	display: inline;
	padding: 0 15px;
}

header #branding {
	float: left;
}

header #branding h1 {
	margin: 0;
}



/* Diego Ibarra - Cursive */

.cursive-name {
	font-family: 'Dancing Script', cursive;
	font-size: 34px;
	color: #5bb8f0;
	font-weight: 700;
}


/* Portfolio - Complementary Font */

.portfolio-text {
	font-family: 'Montserrat', Arial, sans-serif;
	font-size: 27px;
	font-weight: 500;
	margin-left: 5px;
	color: #dceef9;
}

header nav {
	float: right;
	margin-top: 10px;
}

header .current a {
	color: #5bb8f0;
	font-weight: bold;
}

header a:hover {
	color: #7cc9f5;
	font-weight: bold;
}


/* Portfolio Banner */

#hero-image {
	background-color: #d9edf7;
	padding: 20px 0;
	text-align: center;
}

#hero-image img {
	width: 100%;
	height: 280px;
	object-fit: cover;
	display: block;
}


/* Projects */

#projects {
	padding: 25px 0;
	background-color: #d9edf7;
	color: #1e293b;
	min-height: 500px;
}

#projects h2 {
	font-size: 18px;
	margin-bottom: 10px;
	color: #12304a;
}

.project {
	background-color: #f7fcff;
	padding: 20px;
	border: 1px solid #9bcce5;
	border-radius: 5px;
}

.project p {
	margin: 3px 0;
	line-height: 1.15;
}

.project strong a {
	color: #155a85;
	text-decoration: underline;
}

.project strong a:hover {
	color: #298dcc;
}
 /* Sidebar */
 
 aside#sidebar {
     float:right;
     width: 30%;
     margin-top: 10px;
 }
 
 aside#sidebar .quote input, aside#sidebar .quote textarea{
     width:90%;
     padding:5px;
 }

/* Footer */

footer {
	margin-top: 0;
	padding: 20px;
	background-color: #12304a;
	color: #dceef9;
	text-align: center;
	border-top: #4aa3df 3px solid;
}


/* Responsive Design */

@media(max-width: 768px) {

	header #branding,
	header nav,
	header nav li {
		float: none;
		text-align: center;
		width: 100%;
	}

	header {
		padding-bottom: 20px;
	}

	header nav {
		margin-top: 15px;
	}

	header nav li {
		padding: 5px 10px;
	}

	.cursive-name {
		font-size: 30px;
	}

	.portfolio-text {
		font-size: 24px;
	}

	#hero-image img {
		height: 200px;
	}

	#projects h2 {
		font-size: 17px;
	}

	.project {
		padding: 15px;
	}
}
    
/* Adaptive Content */

@media(max-width: 460px) {

	.cursive-name {
		font-size: 25px;
	}

	.portfolio-text {
		font-size: 20px;
	}

	header a {
		font-size: 12px;
	}

	#hero-image {
		padding: 10px 0;
	}

	#hero-image img {
		height: 130px;
	}

	#projects {
		padding: 15px 0;
		min-height: 600px;
	}

	#projects h2 {
		font-size: 16px;
	}

	.project p {
		display: none;
	}

	.project {
		padding: 10px;
	}
}