h1 {
  margin-top: 320px;
  margin-left: 70px;
  color: #9ea493;
}

#header {
  margin-top: 20px;
  height: 400px;
  background-image: url('../images/gallery-banner.png');
  background-repeat: no-repeat;
  background-position: center center;
}

#listing {
  background-color: #f2f2f2;
  padding-top: 20px;
}

#listing ul {
  text-align: center;
}

#listing ul li {
  width: 280px;
  height: 290px;
  display: inline-block;
}

#listing ul li .label {
  margin-top: 245px;
  color: #6c5f3d;
  font-size: 17px;
  font-weight: 300;
  white-space: normal;
  line-height: normal;
  vertical-align: top;
  margin-right:40px;
}

#listing ul li .img {
  position: absolute;
  border-width: 5px;
  border-style: solid;
  border-color: #ffffff;
  -webkit-transition: .2s;
  transition: .2s;
}

#listing ul li .img img {
  width: 100%;
  height: 100%;
}

#listing ul li .first {
  margin-top: 25px;
  margin-left: 22px;
  z-index: 3;
  /*
  width: 135px;
  height: 200px;*/
  width: 200px;
  height: 200px;
}

#listing ul li:hover .first {
  margin-top: 15px;
}

#listing ul li .second {
  margin-top: 40px;
  margin-left: 0px;
  z-index: 2;
  /*width: 122px;
  height: 180px;
  */
  width: 180px;
  height: 180px;
  transform: rotate(-10deg);
  -moz-transform: rotate(-10deg);
  -webkit-transform: rotate(-10deg);
  -o-transform: rotate(-10deg);
  -ms-transform: rotate(-10deg);
}

#listing ul li:hover .second {
  margin-top: 35px;
  margin-left: -10px;
  transform: rotate(-15deg);
  -moz-transform: rotate(-15deg);
  -webkit-transform: rotate(-15deg);
  -o-transform: rotate(-15deg);
  -ms-transform: rotate(-15deg);
}

#listing ul li .third {
  margin-top: 40px;
  margin-left: 62px;
  z-index: 1;
/*
  width: 122px;
  height: 180px;
*/
  width: 180px;
  height: 180px;
  
  transform: rotate(10deg);
  -moz-transform: rotate(10deg);
  -webkit-transform: rotate(10deg);
  -o-transform: rotate(10deg);
  -ms-transform: rotate(10deg);
}

#listing ul li:hover .third {
  margin-top: 35px;
  margin-left: 72px;
  transform: rotate(15deg);
  -moz-transform: rotate(15deg);
  -webkit-transform: rotate(15deg);
  -o-transform: rotate(15deg);
  -ms-transform: rotate(15deg);
}

@media only screen and (min-width: 960px) and (max-width: 1199px) {
  #header {
    margin-top: 20px;
    height: 400px;
    background-size: contain;
  }
}

@media only screen and (min-width: 720px) and (max-width: 959px) {
  #header {
    height: 320px;
    background-size: contain;
  }
}

@media only screen and (min-width: 720px) and (max-width: 959px) {
  h1 {
    margin-top: 250px;
    margin-left: 30px;
    font-size: 40px;
    color: #9ea493;
  }
}

@media only screen and (max-width: 719px) {
  #header {
    height: 60px;
    background-size: contain;
    background-position: top right;
    margin-bottom: 20px;
  }
}

@media only screen and (max-width: 719px) {
  h1 {
    margin-top: 0;
    margin-left: 0;
    font-size: 40px;
    color: #9ea493;
  }
}

