/* Color Scheme
Color 1: #E9E7DA
Color 2: #636B46
Color 3: #373F27
Color 4: #262228
Color 5: #0B3C5D
*/
@import url('https://fonts.googleapis.com/css?family=Lato|Raleway');

.title {
	font-family:'Lato', sans-serif;
	font-style:italic;
	font-size:14pt;
	margin:5px;
}

.wflex img {
	margin:5px;
}

.wflex {
	display:flex;
	flex-flow:row wrap;
	flex-start:flex-start;
	justify-content:center;
	padding-left:20%;
	padding-right:20%;
	text-align:center;
}

.pflex {
	display:flex;
	flex-flow:row wrap;
	flex-start:center;
	justify-content:center;
	padding-left:20%;
	padding-right:20%;
}
 /* Flexbox for Inspiration Boards */
.iflex {
	display:flex;
	flex-direction:row;
	flex-wrap:wrap;
	flex-flow:row wrap;
	flex-start:flex-start;
	justify-content:space-between;
	align-items:flex-start;
	text-align:center;
	padding-left: 10%;
	padding-right: 10%;
}

h1 {
	margin-bottom:0;
}

.container {
  position: relative;
  width:25%;
}

/* Container for Inspiration Boards */
.altcontainer {
  position: relative;
  max-width: 300px;
  padding: 10px;
  /*flex-shrink: 0;*/
  flex-grow: 1;
  /*flex-basis:auto;*/
}

.image {
  display: block;
  width: 50%;
  height: auto;
  margin-bottom:0;
}

.overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 90%;
  width:auto;
  opacity: 0.5;
  background-color:#0B3C5D;
  transition: 2s ease;
  border-radius: 0px 0px;
}

.container:hover .overlay {
  opacity: 1;
}

.text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  text-align: center;
	font-family:'Raleway', sans-serif;
	font-size:24px;
  padding:5px;
  color:#E9E7DA;
}

/* RESPONSIVENESS SETTINGS */

/* mobile / small tablet */
@media only screen and (max-width: 600px) {
	.pflex {
		flex-flow:column wrap;
	}
	.overlay {
	  position: absolute;
	  bottom: 0;
	  left: 0;
	  right: 0;
	  height: 85%;
	  width: 100%;
	  opacity: 1;
	  background-color: #0B3C5D;
	}
	.image {
		visibility:collapse;
	}
	h4 {
		font-family:'Raleway', sans-serif;
		text-align:center;
		color:#0B3C5D;
		font-size:12pt;
		margin-bottom:0;
	}
	a:link {
		text-decoration:none;
	}
	.container {
	  width: 100%;
	}
}

/* everything else */
@media only screen and (min-width: 601px) {
	h4 {
		visibility:collapse;
	}
}

@media only screen and (min-width: 601px) and (max-width: 1000px) {
	.container {
	  width: 50%;
	}
	.image {
		visibility:collapse;
	}
	.overlay {
	  position: absolute;
	  bottom: 0;
	  left: 0;
	  right: 0;
	  height: 70%;
	  width: 90%;
	  opacity: 0.8;
	  background-color: #0B3C5D;
	}
}