.row {
  flex-direction: row;
  display: flex;
}

.odd-row {
  flex-direction: row;
  margin-left: 5vw;
  display: flex;
}

.even-row {
  flex-direction: row;
  margin-right: 5vw;
  display: flex;
}

.honeycomb {
  perspective: 1000px;
  flex-wrap: wrap;
  margin: 0 auto;
  display: flex;
}

.honeycomb .cell {
  width: 20vw;
  height: 17.32vw;
  position: relative;
}

.honeycomb-mobile {
  perspective: 1000px;
  margin: 0 auto;
  display: flex;
}

.honeycomb-mobile .cell {
  flex-shrink: 1;
  width: 10vw;
  height: 17.32vw;
  display: flex;
  position: relative;
}

.honeycomb-mobile .cell:nth-of-type(odd) {
  display: none;
}

.row-mobile {
  display: flex;
}

.honeycomb {
  text-align: center;
  background: linear-gradient(#ffc, #fca);
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  margin: 0 auto;
  padding: 20px 45px;
  font-size: 12px;
  display: flex;
  position: relative;
}

.honeycomb .cell {
  width: 133px;
  height: 199.5px;
  margin: -48.06px 5.5px;
  text-decoration: none;
  display: flex;
  position: relative;
  left: -30.5px;
  overflow: hidden;
  transform: rotate(-180deg);
}

.honeycomb .cell.odd-row {
  left: 30.5px;
}

.honeycomb .cell .cell-inner {
  width: 100%;
  height: 100%;
  overflow: hidden;
  transform: rotate(60deg);
}

.honeycomb .cell .cell-inner .content {
  color: #444;
  background-color: #fc0;
  width: 100%;
  height: 100%;
  display: block;
  transform: rotate(60deg);
}

.honeycomb .cell .cell-inner .content:hover {
  color: #fff;
  background-color: #000;
}

.honeycomb .cell:last-child {
  margin-right: 0;
}

.honeycomb .cell:nth-child(2n) .cell-inner .content {
  background-color: #fa0;
}

.honeycomb .cell:nth-child(2n) .cell-inner .content:hover {
  color: #fff;
  background-color: #000;
}

.span-innertext {
  transform: rotate(0);
}

.honeycomb .cell .content.cell-2 {
  background-image: url("https://colorincode.me/assets/hexagon-edge-colorincode-3.png");
  background-position: center;
  background-size: contain;
}

.honeycomb .cell .content.cell-2:hover {
  background-image: none;
}

.honeycomb .cell .content.cell-7 {
  background-image: url("https://pbs.twimg.com/profile_images/498860581072273408/q5v6iWVw_400x400.jpeg");
  background-position: center;
  background-size: contain;
}

.honeycomb .cell .content.cell-7:hover {
  background-image: none;
}
