/* End of container */
.hexButton {
  cursor: pointer;
  width: 100px;
  height: 86.6025403784px;
  position: relative;
}
.hexButton:last-child {
  margin-right: 0;
}
.hexButton:hover .hex:last-child {
  opacity: 1;
  transform: scale(1.3);
}
.hexButton:hover .hex:first-child {
  opacity: 1;
  transform: scale(1);
}
.hexButton:hover .hex:first-child div:before, .hexButton:hover .hex:first-child div:after {
  height: 5px;
}

.hex {
  position: relative;
  width: 50px;
  height: 86.6025403784px;
  opacity: 0.5;
}
.hex:first-child {
  transform: scale(0.5) rotate(30deg);
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  z-index: 0;
}
.hex:last-child {
  transform: rotate(30deg);
  transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
  z-index: 1;
}
.hex div {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  background-color: red;
}
.hex div:before, .hex div:after {
  content: " ";
  position: absolute;
  background: #151515;
  width: 100%;
  height: 1px;
  transition: height 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.hex div:before {
  top: 0;
}
.hex div:after {
  bottom: 0;
}
.hex div:nth-child(1) {
  transform: rotate(0deg);
}
.hex div:nth-child(2) {
  transform: rotate(60deg);
}
.hex div:nth-child(3) {
  transform: rotate(120deg);
}