#hexname {
  position: absolute;
  left: 19%;
  top: 12%;
  font-size: 22px;
  font-weight: 600;
  width: 62%;
  z-index: 99;
  line-height: 140%;
  color: #fff;
}

#hexlink {
  position: absolute;
  bottom: -1%;
  color: #fff;
  font-size: 18px;
  font-weight: 400;
  text-align: center;
  width: 100%;
  max-width: 100%;
  height: 60px;
  z-index: 98;
  background: none;
  line-height: 320%;
  opacity: 0.85;
}

#hexlink a {
  color: #fff;
  font-size: 18px;
  font-weight: 400;
  display: block;
  opacity: 1;
}

@media screen and (min-width: 1024px) and (max-width: 9999px) {
  .hex-grid-list {
    width: 80%;
  }

  .hex-grid-list {
    --amount: 3;
    --counter: 1;
    grid-gap: 1.5rem 3rem;
  }

  .hex-grid-item:nth-of-type(3n + 1) {
    grid-column: 1 / span 3;
  }

  .hex-grid-item:nth-of-type(3n + 2) {
    grid-column: 3 / span 3;
    grid-row: calc(var(--counter) + var(--counter) - 1) / span 2;
  }

  .hex-grid-item:nth-of-type(3n + 3) {
    grid-column: 5 / span 3;
  }

  .hex-grid-item:nth-of-type(n + 4) {
    --counter: 2;
  }

  .hex-grid-item:nth-of-type(n + 7) {
    --counter: 3;
  }

  .hex-grid-item:nth-of-type(n + 10) {
    --counter: 4;
  }

  .hex-grid-item:nth-of-type(n + 13) {
    --counter: 5;
  }

  .hex-grid-item:nth-of-type(n + 16) {
    --counter: 6;
  }

  .hex-grid-item:nth-of-type(n + 19) {
    --counter: 7;
  }

  .hex-grid-item:nth-of-type(n + 22) {
    --counter: 8;
  }

  .hex-grid-item:nth-of-type(n + 25) {
    --counter: 9;
  }

  .hex-grid-item:nth-of-type(n + 28) {
    --counter: 10;
  }

  .hex-grid-item:nth-of-type(n + 31) {
    --counter: 11;
  }

  .hex-grid-item:nth-of-type(n + 34) {
    --counter: 12;
  }

  .hex-grid-item:nth-of-type(n + 37) {
    --counter: 13;
  }

  .hex-grid-item:nth-of-type(n + 40) {
    --counter: 14;
  }

  .hex-grid-item:nth-of-type(n + 43) {
    --counter: 15;
  }

  .hex-grid-item:nth-of-type(n + 46) {
    --counter: 16;
  }

  .hex-grid-item:nth-of-type(n + 49) {
    --counter: 17;
  }

  .hex-grid-item:nth-of-type(n + 52) {
    --counter: 18;
  }

  .hex-grid-item:nth-of-type(n + 55) {
    --counter: 19;
  }

  .hex-grid-item:nth-of-type(n + 58) {
    --counter: 20;
  }

  .hex-grid-item:nth-of-type(n + 61) {
    --counter: 21;
  }
}

@media screen and (min-width: 200px) and (max-width: 1023px) {
  hex-grid-list {
    width: 100%;
  }
}

@media screen and (min-width: 200px) and (max-width: 640px) {
  .hex-grid-content img {
    display: block !important;
  }
}
