* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
body {
  background-color:  #151719;
  justify-content: center;
  align-items: center;
  margin-top: 2%;
  text-align: center;
}
#hexGrid {
  display: flex;
  flex-wrap: wrap;
  width: 90%;
  margin: 0 auto;
  overflow: hidden;
  font-family: 'Raleway', sans-serif;
  font-size: 15px;
  list-style-type: none;
}
.hex {
  position: relative;
  visibility:hidden;
  outline:1px solid transparent;
}
.hex::after{
  content:'';
  display:block;
  padding-bottom: 86.602%;
}
.hexIn{
  position: absolute;
  width:96%;
  padding-bottom: 110.851%;
  margin:0 2%;
  overflow: hidden;
  visibility: hidden;
  outline:1px solid transparent;
  -webkit-transform: rotate3d(0,0,1,-60deg) skewY(30deg);
      -ms-transform: rotate3d(0,0,1,-60deg) skewY(30deg);
          transform: rotate3d(0,0,1,-60deg) skewY(30deg);
}
.hexIn * {
  position: absolute;
  visibility: visible;
  outline:1px solid transparent;
}
.hexLink {
    display:block;
    width: 100%;
    height: 100%;
    text-align: center;
    color: #fff;
    overflow: hidden;
    -webkit-transform: skewY(-30deg) rotate3d(0,0,1,60deg);
        -ms-transform: skewY(-30deg) rotate3d(0,0,1,60deg);
            transform: skewY(-30deg) rotate3d(0,0,1,60deg);
}
.hex video {
  left: -100%;
  right: -100%;
  width: auto;
  height: 100%;
  margin: 0 auto;
  -webkit-transform: rotate3d(0,0,0,0deg);
      -ms-transform: rotate3d(0,0,0,0deg);
          transform: rotate3d(0,0,0,0deg);
          z-index: 1;
}
.hex h1, .hex p {
  width: 100%;
  padding: 5%;
  box-sizing:border-box;
  background-color: rgba(0, 128, 128, 0.8);
  font-weight: 300;
  -webkit-transition:  -webkit-transform .2s ease-out, opacity .3s ease-out;
          transition:          transform .2s ease-out, opacity .3s ease-out;
}
.hex h1 {
  bottom: 50%;
  padding-top:50%;
  font-size: 1.5em;
  z-index: 1;
  -webkit-transform:translate3d(0,-100%,0);
      -ms-transform:translate3d(0,-100%,0);
          transform:translate3d(0,-100%,0);
}
.hex h1::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 45%;
  width: 10%;
  text-align: center;
  border-bottom: 1px solid #fff;
}
.hex p {
  top: 50%;
  padding-bottom:50%;
  -webkit-transform:translate3d(0,100%,0);
      -ms-transform:translate3d(0,100%,0);
          transform:translate3d(0,100%,0);
}
#box_1 {
  position: relative;
  max-height: 700px;
  max-width: 700px;
  margin: auto;
  margin-top: 0px;
}
#img_1 {
  position: absolute;
  top: 0%;
  left: 0%;
  width: 100%;
  z-index: 1;
}
#box {
  position: relative;
  max-height: 700px;
  max-width: 700px;
  margin: auto;
  margin-top: 0px;
}
#img_1_1 {
  position: absolute;
  top: 0%;
  left: 0%;
  width: 100%;
  z-index: 1;
}
.waviy {
  position: relative;
  -webkit-box-reflect: below -20px linear-gradient(transparent, rgba(0,0,0,.2));
  font-size: 60px;
}
.waviy span {
  font-family: 'Alfa Slab One', cursive;
  position: relative;
  display: inline-block;
  color: #ffc600;
  text-transform: uppercase;
  animation: waviy 1s infinite;
  animation-delay: calc(.1s * var(--i));
}
@keyframes waviy {
  0%,40%,100% {
    transform: translateY(0)
  }
  20% {
    transform: translateY(-20px)
  }
}
.hexLink:hover h1, .hexLink:focus h1,
.hexLink:hover p, .hexLink:focus p{
  -webkit-transform:translate3d(0,0,0);
      -ms-transform:translate3d(0,0,0);
          transform:translate3d(0,0,0);
}
@media (min-width:1201px) {
  #hexGrid{
    padding-bottom: 4.4%
  }
  .hex {
    width: 20%;
  }
  .hex:nth-child(9n+6){
    margin-left:10%;
  }
}
@media (max-width: 1200px) and (min-width:901px) {
  #hexGrid{
    padding-bottom: 5.5%
  }
  .hex {
    width: 25%;
  }
  .hex:nth-child(7n+5){
    margin-left:12.5%;
  }
}
@media (max-width: 900px) and (min-width:601px) {
  #hexGrid{
    padding-bottom: 7.4%
  }
  .hex {
    width: 33.333%;
  }
  .hex:nth-child(5n+4){
    margin-left:16.666%;
  }
}
@media (max-width: 600px) {
  #hexGrid{
    padding-bottom: 11.2%
  }
  .hex {
    width: 50%;
  }
  .hex:nth-child(3n+3){
    margin-left:25%;
  }
}
@media (max-width: 400px) {
    #hexGrid {
        font-size: 13px;
    }
}