.gallery-wrapper{
  display: block;
}
.gallery-wrapper .grid {
  padding: 60px;
  margin: 0 auto;
  max-width: 1200px;
}
@media screen and (max-width: 1172px) {
  .gallery-wrapper .hexgal
  {
    display: none;
  }
  .gallery-wrapper .mobgal{
    display: block;
  }
    
}

.gallery-wrapper .container{
  position: relative;
  bottom: -550px;
}

.gallery-wrapper .grid--item {
  position: relative;
  margin-top: -90px;
  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%);
}
.gallery-wrapper .grid--item:before {
  display: block;
  padding-top: 112.5%;
  content: '';
}
.gallery-wrapper .grid--item:nth-child(1), .gallery-wrapper .grid--item:nth-child(2) {
  margin-top: 0;
}
.gallery-wrapper .grid--item:nth-child(7n - 1), .gallery-wrapper .grid--item:nth-child(1) {
  margin-left: 185px;
}



.gallery-wrapper .img {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  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%);
}

.gallery-wrapper .img:before, .gallery-wrapper .img:after {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  content: '';
  opacity: 0;
  transition: opacity 0.5s;
}
.gallery-wrapper .img:before {
  background: rgba(128, 0, 128, 0.25);
}
.gallery-wrapper .img:after {
  background: linear-gradient(to top, transparent, rgba(0, 0, 0, 0.5), transparent);
}

.gallery-wrapper .container {
  position: relative;
  margin: -30px;
  top: 50%;
  left: 50%;
  width: 100%;
  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%);
}

@media screen and (max-width: 1172px){
   .hexgal {
    display:none !important;
  }
} 


@media screen and (max-width: 995px){
 .mobgal{
   display: block;
 }

} 
  

.gallery-wrapper h1,
.gallery-wrapper h2 {
  font-family: 'Arapey';
  font-style: italic;
  font-weight: 400;
}

.gallery-wrapper h1 {
  margin-top: 90px;
  text-align: center;
  font-size: 56px;
  color: #242424;
}

.gallery-wrapper h2 {
  font-size: 32px;
}

#galhead{
  font-family: "Raleway", sans-serif;
  font-size: 4rem;
  font-weight: 800;
  font-style: normal;
  margin: auto;
}



#galhead::after {
  content: "";
  background: linear-gradient(to right, #5ca9fb 0%, #6372ff 100%);
  height: 4px;
  width: 60px;
}

#galhead::before {
display: none !important;  
}

.gallery-wrapper h2:before, .gallery-wrapper 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;
}

.gallery-wrapper .desc {
  margin: 1em 0 0;
  font-family: 'ATC Overlook';
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: bold;
  font-size: 11px;
  line-height: 1.5;
  color: turquoise;
}

.gallery-wrapper .grid--item:hover .img:before,
.gallery-wrapper .grid--item:hover .img:after,
.gallery-wrapper .grid--item:hover .container {
  opacity: 1;
}
.gallery-wrapper .grid--item:hover .container {
  transform: translate(-50%, -50%) scale(1);
}
