body {
    background: #F0FAFF;
}

.container-md {
    background: #FFF;
    padding: 30px;
}

header {
	margin-top: 55px;
	text-align: center;
	font-size: 4rem;
	font-weight: 700;
}

h1 {
	margin-top: 30px;
    text-align: center;
}

h3 {
	font-size: 1.5rem;
}

img {
	max-width: 100%;
}

footer {
	height: 100px;
}

.row > ul {
	margin-left: 20px;
}

figcaption {
    font-weight: 700;
	margin-left: -20px;
}

/* Buttons */

button {
    background: white;
	border: 2px solid #111;
	margin: 12px;
    margin-bottom: 1px;
}

button:hover {
	border: 3px solid #222;
	margin: 11px;
    margin-bottom: 0px;
}

@media (max-width:700px) {
	button {
		font-size: .8rem;
	}
}

@media (min-width:700px) {
	button {
		font-size: 1rem;
	}
}

/* Navbar */

#navigation {
	position: fixed;
	width: 100%;
	top: 0;
	z-index: 1;
}

.nav-item {
	padding-left: .2rem;
	padding-right: .2rem
}

#contact {
    margin-right: 0;
}

/* Intro */

.intro {
    background: #DDE6EB;
    padding: 12px;
    margin: -6px;
	margin-top: 50px;
}

.intro-img {
    max-height: 600px;
    margin: auto;
    height: auto;
    padding-bottom: 16px;
}

/* Featured project */

#featured > div {
    background: #DDE6EB;
    padding: 12px;
    margin: 6px;
}

#featured h1 {
    margin-top: 8px;
}

.featured-img {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.feat-btn {
    margin-left: 0px;
}

.feat-btn:hover {
    margin-left: 0px;
}

/* Project info */

.project-info {
    background: #DDE6EB;
    padding: 12px 0px 12px 0px;
    margin: 12px -6px 12px -6px;
    margin-bottom: 6px;
}

.project-info button {
    padding-left: 12px;
    padding-right: 12px;
}

.project-img > img {
    max-height: 450px;
}

/* Project card */

.project-card {
	position: relative;
	text-align: center;
	background-color: #DDE6EB; 
    padding: 12px;
    padding-top: 6px;
    border: 6px solid white;
}

.project-card div h3 {
	margin-bottom: 6px;
    padding-left: 0px;
    padding-right: 0px;
}


.project-content {
	position: relative;
	overflow: hidden;
}

.project-content > div {
	position: absolute;
	top: 0;
	bottom: 0;
	height: 100%;
	width: 100%;
    padding: 2px;
	
	background: rgba(33, 33, 33, .75);
	color: white;
	
	visibility: hidden;
	opacity: 0;
	transition: opacity .5s, visibility .5s;
}

.project-content:hover > div {
	visibility: visible;
	opacity: 1;
}

@media screen and (max-width: 990px) {
	.project-content p {
		font-size: 0.8rem;
	}
}


/* Footer */

footer {
    background: #DDE6EB;
}

#footer > div {
    margin: 0;
}
