html {
    position: relative;
    min-height: 100%;
}

body {
	
	margin: 0 0 65px; /* bottom = footer height */
	padding:0;
	font-family: arial;
	font-size: 15px;
	color: #555;
	line-height: 1.6em;
	font-family: 'Lato';
	font-weight: 300;
	background: #efefef;

}

a {
	color: #ffffff;
	text-decoration: none;
	transition: color 0.3s;

}
a:hover {
	color: #D1C4E9;
	text-decoration: none;
	transition: color 0.3s;

}

.container {
	width: 80%;
	margin: auto;
	overflow: auto;
	
}

header {
	background: #333;
	min-height: 55px;
	color: #fff;

}

header a {
	color: #fff;
}

.logo {
	float: left;
	width: 30%;
	margin-top: 15px;
	letter-spacing: 1px;
	font-family: 'Lato';
	font-weight: 300;
}

nav {
	float: right;
	width: 70%;
}

nav ul {
	float: right;
}

nav li {
	list-style: none;
	float: left;
	padding: 0 10px;
}

nav a {

	color: #fff;
	padding-bottom: 5px;
}

nav li.current a, nav a:hover {
	color: #D1C4E9;
	border-bottom: #D1C4E9 3px solid;
} 

section {
	padding: 20px 0;
	overflow: hidden;

}

.tagline {
	background: #673AB7;
	color: #fff;
	font-family: 'Lato';
	font-weight: 300;
}

.tagline h1 {
	text-align: center;
	font-size: 35px;
	font-family: 'Lato';
	font-weight: 300;
}

#gallery {
	list-style: none;
	margin: 0;
	padding: 0;
	width: 100%;
}

#gallery li {
	display: block;
	float: left;
	width: 23%;
	cursor: pointer;
	border-radius: 5px;
	box-sizing: border-box;
	margin:0 12px 7px 0;
	position: relative;

}

#gallery img {
	width: 100%;
	border-radius: 5px;
}

footer{
	background: #673AB7;
	color: #fff;
	padding-top: 10px;
	text-align: center;
	position: absolute;
  left: 0;
  bottom: 0;
  height: 65px;
  width: 100%;

}
.blog-footer {
  
  color: #fff;
  text-align: center;
  border-top: 1px solid #e5e5e5;
  
  
}

.blog-footer p a {
 	
	color: white;
	text-decoration: none;
 }
 
 .blog-footer p a:hover {
 	
	color: #2ecc71;
	
 }

 .center{text-align:center;}

.overlay {
	display: none;
	background: #673AB7 url(../img/overlay.png) no-repeat top center;
	color: #fff;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 100;
	width:100%;
	height: 100%;
	padding: 20px;
	border-radius: 5px;
	box-sizing: border-box;
	pointer-events: none;
}

/* RESPONSIVE DESIGN */

@media (max-width: 767px) {

body {
	
	margin: 0 0 105px; /* bottom = footer height */
}

footer {
	height: 105px;
}

	.logo, nav {
		float: none;
		width: 100%;
		text-align: center;
	}

	nav ul, nav li {

		float: none;
		padding: 0;

	}

	nav li {
		margin-bottom: 15px;

	}

	#gallery li {
	 width: 48%;
	 margin-right: 8px;

	}

}

@media (max-width: 568px) {
 #gallery li {
	  width: 100%;
	  margin-right: 0;
	}

}
/*---------------------*/
/* SMALL PHONES FROM 0 TO 480PX */
/*---------------------*/

@media only screen and (max-width: 480px) {
		.logo, nav {
		float: none;
		width: 100%;
		text-align: center;
	}

	nav ul, nav li {

		float: none;
		padding: 0;

	}

	nav li {
		margin-bottom: 15px;

	}

	#gallery li {
	 width: 48%;
	 margin-right: 8px;

	}

}

@media (max-width: 568px) {
 #gallery li {
	  width: 100%;
	  margin-right: 0;
	}
}