body {
  //background-color: #00181F !important;
  //padding: 0 100px;
}

#main h1 {
  color: #000;
  font-weight: 100;
  letter-spacing: 3px;
  padding: 40px 0 70px;
}
#main #gallery .gallery-item {
  //height: 300px;
  //margin-bottom:5%;
}
#main #gallery .gallery-item .album {
  position: relative;
  width: 80%;
  margin: auto;
  -moz-transition: all 0.5s;
  -o-transition: all 0.5s;
  -webkit-transition: all 0.5s;
  transition: all 0.5s;
}
#main #gallery .gallery-item .album img {
  width: 100%;
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  border: 4px solid #FFF;
  -moz-box-shadow: 0 0 4px black;
  -webkit-box-shadow: 0 0 4px black;
  box-shadow: 0 0 4px black;
  -moz-border-radius: 6px;
  -webkit-border-radius: 6px;
  border-radius: 6px;
  -moz-transition: all 1s;
  -o-transition: all 1s;
  -webkit-transition: all 1s;
  transition: all 1s;
  -moz-transform-origin: 50% 50% 50%;
  -ms-transform-origin: 50% 50% 50%;
  -webkit-transform-origin: 50% 50% 50%;
  transform-origin: 50% 50% 50%;
}
#main #gallery .gallery-item .album img:first-child {
  position: relative;
  z-index: 1000;
}
#main #gallery .gallery-item .album img:first-child + img {
  -moz-transform: rotate(-4deg);
  -ms-transform: rotate(-4deg);
  -webkit-transform: rotate(-4deg);
  transform: rotate(-4deg);
}
#main #gallery .gallery-item .album img:last-child {
  -moz-transform: rotate(4deg);
  -ms-transform: rotate(4deg);
  -webkit-transform: rotate(4deg);
  transform: rotate(4deg);
}
#main #gallery .gallery-item .album:hover {
  width: 85%;
}
#main #gallery .gallery-item .album:hover img {
  z-index: 2000;
}
#main #gallery .gallery-item .album:hover img:first-child {
  z-index: 3000;
}
#main #gallery .gallery-item .album:hover img:first-child + img {
  left: -40px;
  -moz-transform: rotate(-10deg);
  -ms-transform: rotate(-10deg);
  -webkit-transform: rotate(-10deg);
  transform: rotate(-10deg);
}
#main #gallery .gallery-item .album:hover img:last-child {
  left: 40px;
  -moz-transform: rotate(10deg);
  -ms-transform: rotate(10deg);
  -webkit-transform: rotate(10deg);
  transform: rotate(10deg);
}
#main #gallery .gallery-item p {
  width: 100%;
  text-align: center;
  color: #000;
  padding-top: 20px;
  font-size:24px;
  padding-bottom:20px;
}


@media (min-width:980px ){
	.gallery-item{
		height:300px;
		margin-bottom:5%;
	}
}

@media (max-width:976px) and (min-width:651px){
	.gallery-item{
		margin-bottom:25%;
	}
}

@media (max-width: 300px){
.gallery-item {
   min-width:150px;
}