/* @font-face{font-family:'Calluna';
 src:url('https://s3-us-west-2.amazonaws.com/s.cdpn.io/4273/callunasansregular-webfont.woff') format('woff');
} */
.nav-bar {
  height: 280px;
  padding: 30px;
  color: white;
  background-color: #222731;
}

.section-name {
  text-align: center;
  font-size: 60px;
}
.section-desc {
  text-align: center;
  display: block;
  font-size: 15px;
  color: #6ddce9;
  padding-bottom: 10px;
}
.arrow {
  text-decoration: none;
  color: white;
  outline: none;
  position: absolute;
  top: 10;
  left: 10;
  max-width: 40px;
}





body {
	background: url(//subtlepatterns.com/patterns/scribble_light.png);
  font-family: Helvetica, sans-serif;
  min-height: 1000px;
  margin: 0;
  padding: 0;
}
#image-space {
	background-color: #3d738b;
	padding: 40px;
}
.grid {
	column-width: 320px;
	column-gap: 15px;
  width: 90%;
	max-width: 1100px;
	margin:  auto;

}

.item {
	background: #fefefe;
	border: 2px solid #fcfcfc;
	box-shadow: 0 1px 2px rgba(34, 25, 25, 0.4);
	margin: 0 2px 15px;
	padding: 15px;
	padding-bottom: 10px;
	transition: opacity .4s ease-in-out;
  display: inline-block;
  column-break-inside: avoid;
}

.item img {
	width: 100%; height: auto;
	border-bottom: 1px solid #ccc;
	padding-bottom: 15px;
	margin-bottom: 5px;

  -webkit-transition: .5s ease-in-out;
  -moz-transition: .5s ease-in-out;
  -o-transition: .5s ease-in-out;
  transition: .5s ease-in-out;
}

.desc p {
  font-size: .9rem;
	color: #444;
  line-height: 1.5;
}


@media screen and (max-width: 750px) {
  .grid { column-gap: 0px; }
  .item { width: 100%; }
}




.item-enlarge {
  position: fixed;
  top: -100%;
  width: 100%;
  background: rgba(0,0,0,.7);
  width: 100%;
  opacity: 0;
  -webkit-transition: opacity .5s ease-in-out;
  -moz-transition: opacity .5s ease-in-out;
  -o-transition: opacity .5s ease-in-out;
  transition: opacity .5s ease-in-out;
  overflow: hidden;
}
.item-enlarge img {
  margin: auto;
  position: absolute;
  top: 0;
  left:0;
  right:0;
  bottom: 0;
  max-height: 0%;
  max-width: 0%;
  border: 3px solid white;
  box-shadow: 0px 0px 8px rgba(0,0,0,.3);
  box-sizing: border-box;
  -webkit-transition: .5s ease-in-out;
  -moz-transition: .5s ease-in-out;
  -o-transition: .5s ease-in-out;
  transition: .5s ease-in-out;
}


a.close{
  display: block;
  width:50px;
  height:50px;
  box-sizing: border-box;
  background: white;
  color: black;
  text-decoration: none;
  position: absolute;
  top: -80px;
  right: 0;
  -webkit-transition: .5s ease-in-out;
  -moz-transition: .5s ease-in-out;
  -o-transition: .5s ease-in-out;
  transition: .5s ease-in-out;
}
a.close:before {
content: "";
display: block;
height: 30px;
width: 1px;
background: black;
position: absolute;
left: 26px;
top:10px;
-webkit-transform:rotate(45deg);
-moz-transform:rotate(45deg);
-o-transform:rotate(45deg);
transform:rotate(45deg);
}
a.close:after {
content: "";
display: block;
height: 30px;
width: 1px;
background: black;
position: absolute;
left: 26px;
top:10px;
-webkit-transform:rotate(-45deg);
-moz-transform:rotate(-45deg);
-o-transform:rotate(-45deg);
transform:rotate(-45deg);
}

.item-enlarge:target {
opacity: 1;
top: 0;
bottom: 0;
}
.item-enlarge:target img {
max-height: 100%;
max-width: 100%;
}
.item-enlarge:target a.close {
top: 0px;
}
