* {
  box-sizing: border-box;
}
.indexMain{ width:80%}
.content {
  display: flex;
  flex-wrap: wrap;
  margin-top: 10px;
}

.wrapper {
  width: 20%;
  max-height: 200px;
  padding: 20px;
}


.box {
  position: relative;
  /*max-height: 300px;*/
  border-radius: 10px;
  overflow: hidden;
 
}

.box h2{
  position: absolute;
  color: #ffffff;
  z-index: 99;
  width: 100%;
  font-weight: 500;
  font-size: 30px;
  bottom:0;
  text-align: center;
 -webkit-box-reflect: below 2px linear-gradient(transparent, rgba(0, 0, 0, .5));

}
.box p {
  bottom: 0;
  font-size: 14px;
  letter-spacing: 1px;
}
.box:hover {
  transition: all .3s ease-in-out;
}
.box:hover:before {
  transition: all .3s ease-in-out;
}
.box img {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 1;
  transition: all .3s ease-in-out;
}
.box img:hover {
  transition: all .3s ease-in-out;
}
.box:hover img {
 -moz-transform:scale(1.05); -webkit-transform:scale(1.05); -o-transform:scale(1.05); transform:scale(1.05);
 transition: 0.7s;
}

.box img:after {
  content: '';
  position: absolute;
  background-color: rgba(0, 0, 0, 0.6);
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  opacity: 0;
}


.vintage h2 {
  top: 50%;
  transform: translate3d(0, 60px, 0);
  text-align: center;
}
.vintage p {
  opacity: 0;
  bottom: 0;
  transform: translate3d(0, -10px, 0);
  font-size: 14px;
  letter-spacing: 1px;
  text-align: center;
}
.vintage:before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  /* background: linear-gradient(to bottom, rgba(72, 76, 97, 0) 0%, rgba(72, 76, 97, 0.8) 75%);*/
  z-index: 2;
  bottom: -100%;
  left: 0;
}
.vintage:hover:before {
  bottom: 0;
}
.vintage:hover h2 {
  bottom: 40px;
  transform: translate3d(0, 20px, 0);
}
.vintage:hover p {
  opacity: 1;
  transform: translate3d(0, -30px, 0);
}


@media screen and (min-width: 2000px) {
	.wrapper {
  max-height: 600px;
}
  .content {

  padding: 0 3px;
}


}
@media screen and (max-width: 780px) {
	
  .content {

  padding: 0 3px;
}

.wrapper {
  width: 50%;
  padding: 3px;
}
}
