@import url(css.css);
body {
  /*background: #dedede;*/
  -webkit-font-smoothing: antialiased;
/*  min-width: 1200px;*/
}

.grid {
  padding: 15px 0;
  margin: 0 auto;
  max-width: 500px;
  overflow: hidden;
}

.grid--item {
  position: relative;
  margin-top: -35px;
  margin-right: 5px;
  margin-left: 5px;
  width: calc(33.33% - 10px);
  float: left;
  transition: all 0.5s;
  overflow: hidden;
  -webkit-clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  -webkit-shape-outside: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}
.grid--item:before {
  display: block;
  padding-top: 112.5%;
  content: "";
}
.grid--item:nth-child(1), .grid--item:nth-child(2) {
  margin-top: 0;
}

.grid--item:nth-child(7n-1), .grid--item:nth-child(1) {
  margin-left: 89px;
}

.img1 {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: #f39801;
  background-position: center center;
  background-size: cover;
  overflow: hidden;
  -webkit-clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}
.img1:before, .img1:after {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  content: "";
  opacity: 0;
  transition: opacity 0.5s;
}
.img1:before {
  background: rgba(128, 0, 128, 0.25);
}
.img1:after {
  background: linear-gradient(to top, transparent, rgba(0, 0, 0, 0.5), transparent);
}
.grid--item:nth-child(4) .img1{background: #a1a1a1}
.container {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  opacity: 1;
  text-align: center;
  color: white;
  will-change: transform;
  backface-visibility: hidden;
  transform: translate(-50%, -50%) scale(0.9);
  transition: all 0.5s;
  -webkit-shape-outside: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  shape-outside: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}

/*h1,
h2 {
  font-family: "Arapey";
  font-style: italic;
  font-weight: 400;
}*/
/*
h1 {
  margin-top: 90px;
  text-align: center;
  font-size: 56px;
  color: #242424;
}*/

/*h2 {
  font-size: 32px;
}
h2:before, h2:after {
  display: inline-block;
  margin: 0 0.5em;
  width: 0.75em;
  height: 0.03em;
  background: turquoise;
  content: "";
  vertical-align: middle;
  transition: all 0.3s;
}*/

.desc {
  font-size: 22px;font-weight:bold;color:#fff;text-align: center;
}
.desc1 {
  font-size: 20px;font-weight:bold;color:#fff;text-align: center;
}

.grid--item:hover .img1:before,
.grid--item:hover .img1:after,
.grid--item:hover .container {
  opacity: 1;
}
.grid--item:hover .container {
  transform: translate(-50%, -50%) scale(1);
}
@media(max-width: 1200px){
  .grid{max-width: 430px;}
  .grid--item:nth-child(7n-1), .grid--item:nth-child(1) {margin-left: 78px;}
  .grid--item{margin-top: -30px}
  .desc{font-size: 22px;}
  .desc1{font-size: 18px;}
}
@media(max-width: 992px){
  .grid{max-width: 360px;}
  .grid--item:nth-child(7n-1), .grid--item:nth-child(1) {margin-left: 62px;}
  .grid--item{margin-top: -22px}
  .desc{font-size: 16px;}
  .desc1{font-size: 14px;}
}
@media(max-width: 768px){
  .grid{max-width: 500px;}
  .grid--item:nth-child(7n-1), .grid--item:nth-child(1) {margin-left: 85px;}
  .grid--item{margin-top: -35px}
  .desc{font-size: 24px;}
  .desc1{font-size:20px;}
}
@media(max-width: 576px){
  .liangdian{border:none;margin-top: 0}
  .grid{max-width: 300px;}
  .grid--item:nth-child(7n-1), .grid--item:nth-child(1) {margin-left: 55px;}
  .grid--item{margin-top: -20px}
  .desc{font-size: 14px;}
  .desc1{font-size: 12px;}
}