:root {
    --width: 15vw; /* size of a hexagon */
    --heigth: calc(var(--width) * 1.732);
    --spacing: 1px; /* space between each heaxgon */
}

.hexagon {
    position: relative;
    display: inline-block;
    margin: 1px calc(var(--width) * 0.25 + var(--spacing));
    text-align: center;
}
.hexagon,
.hexagon::before,
.hexagon::after {
    width: var(--width);
    height: var(--heigth);
    border-radius: 20%/5%;
}
.hexagon::before {
    background-color: inherit;
    content: '';
    position: absolute;
    left: 0;
    transform: rotate(-60deg);
}
.hexagon::after {
    background-color: inherit;
    content: '';
    position: absolute;
    left: 0;
    transform: rotate(60deg);
}
.hexagon:nth-child(even) {
    top: calc(var(--heigth) * 0.5 + var(--spacing));
}
.hexagon:hover {
    cursor: pointer;
}
.hexanone {
    position: relative;
    display: inline-block;
    width: var(--width);
    height: var(--heigth);
    margin: 1px calc(var(--width) * 0.25 + var(--spacing));
}
.hexanone:nth-child(even) {
    top: calc(var(--heigth) * 0.5 + var(--spacing));
}
.hexagontent {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140%;
    z-index: 100;
    font-size: 4vw;
}
.ibws-fix {
    /* inline-block whitespace fix */
    font-size: 0;
    line-height: 0;
}
.honeycomb {
    margin: 0 auto;
    padding-bottom: var(--heigth);
    text-align: center;
}
