.header-home {
  position: relative;
  min-height: 100vh;
  background-color: #20386A;
  padding-top: 80px;
  padding-bottom: 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
}
.header-home .content {
  position: relative;
  z-index: 2;
  margin-top: -10%;
}
@media (min-width: 1200px) {
  .header-home .content {
    margin-top: 0;
  }
}
.header-home .floating-left {
  position: absolute;
  top: 0;
  left: 0;
  width: fit-content;
  height: 100%;
  display: none;
}
@media (min-width: 1200px) {
  .header-home .floating-left {
    display: flex;
    align-items: end;
    padding-bottom: 5rem;
  }
}
.header-home .floating-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80%;
  height: fit-content;
  display: none;
}
@media (min-width: 1200px) {
  .header-home .floating-bottom {
    display: flex;
    justify-content: center;
    padding-right: 5rem;
  }
}

.hexagon-grid-wrapper {
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  overflow: hidden;
  justify-content: end;
}
@media (min-width: 1200px) {
  .hexagon-grid-wrapper {
    position: absolute;
    top: 0;
    right: 0;
    order: 99;
  }
}
.hexagon-grid-wrapper-inner {
  height: 100%;
  width: 140%;
  margin-left: -20%;
  margin-right: -20%;
  display: flex;
  align-items: center;
  overflow: hidden;
  justify-content: center;
}
@media (min-width: 1200px) {
  .hexagon-grid-wrapper-inner {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    justify-content: end;
  }
}

.hexagon-grid {
  aspect-ratio: 1311 / 1005;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 10px;
  width: 100%;
  max-width: 600px;
}
@media (min-width: 1200px) {
  .hexagon-grid {
    max-width: none;
    aspect-ratio: 1311 / 1405;
    grid-template-columns: repeat(7, 1fr);
    grid-template-rows: repeat(4, 1fr);
    height: 140%;
    width: auto;
    gap: 0;
  }
}
.hexagon-grid .hex1 {
  grid-area: 1 / 3 / 2 / 5;
}
@media (min-width: 1200px) {
  .hexagon-grid .hex1 {
    grid-area: 2 / 4 / 3 / 6;
    margin-top: -29%;
  }
}
.hexagon-grid .hex2 {
  grid-area: 2 / 2 / 3 / 4;
  margin-top: -29%;
}
@media (min-width: 1200px) {
  .hexagon-grid .hex2 {
    grid-area: 3 / 3 / 4 / 5;
  }
}
.hexagon-grid .hex3 {
  grid-area: 2 / 4 / 3 / 6;
  margin-top: -29%;
}
@media (min-width: 1200px) {
  .hexagon-grid .hex3 {
    grid-area: 3 / 5 / 4 / 7;
  }
}
.hexagon-grid .outline-hex1 {
  background-color: #6266a0;
  display: none;
}
@media (min-width: 1200px) {
  .hexagon-grid .outline-hex1 {
    display: flex;
    grid-area: 1 / 1 / 2 / 3;
  }
}
.hexagon-grid .outline-hex2 {
  background-color: #f7ae4b;
  opacity: 0.3;
  grid-area: 1 / 1 / 2 / 3;
}
@media (min-width: 1200px) {
  .hexagon-grid .outline-hex2 {
    opacity: 1;
    grid-area: 2 / 2 / 3 / 4;
    margin-top: -29%;
  }
}
.hexagon-grid .outline-hex3 {
  background-color: #e96a71;
  opacity: 0.3;
  grid-area: 1 / 5 / 2 / 7;
}
@media (min-width: 1200px) {
  .hexagon-grid .outline-hex3 {
    opacity: 1;
    grid-area: 2 / 6 / 3 / 8;
    margin-top: -29%;
  }
}
.hexagon-grid .outline-hex4 {
  background-color: #55af8e;
  opacity: 0.3;
  grid-area: 3 / 5 / 4 / 7;
  margin-top: -29%;
}
@media (min-width: 1200px) {
  .hexagon-grid .outline-hex4 {
    opacity: 1;
    grid-area: 4 / 6 / 5 / 8;
  }
}
.hexagon-grid.grid-on-page {
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 10px;
}
@media (min-width: 768px) {
  .hexagon-grid.grid-on-page {
    gap: 0;
  }
}
.hexagon-grid.grid-on-page .hex1 {
  grid-area: 1 / 2 / 2 / 4;
  margin-top: 0;
}
.hexagon-grid.grid-on-page .hex2 {
  grid-area: 2 / 1 / 3 / 3;
  margin-top: -29%;
}
.hexagon-grid.grid-on-page .hex3 {
  grid-area: 2 / 3 / 3 / 5;
  margin-top: -29%;
}

.hexagon-wrapper {
  perspective: 1000px;
  aspect-ratio: 265 / 306;
}
.hexagon-wrapper .hexagon-inner {
  transform-style: preserve-3d;
  transform: rotateY(0deg);
  transform-origin: 50% 50%;
  position: relative;
  width: 100%;
  height: 100%;
  transform: rotateY(0deg);
  backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  -webkit-transform-style: preserve-3d;
}
.hexagon-wrapper .hexagon-inner .hexagon {
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  background-color: white;
  aspect-ratio: 265/306;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
}
.hexagon-wrapper .hexagon-inner .hexagon-red {
  background-color: #e96a71;
  color: #fff;
}
.hexagon-wrapper .hexagon-inner .hexagon-yellow {
  background-color: #f7ae4b;
  color: #fff;
}
.hexagon-wrapper .hexagon-inner .hexagon-green {
  background-color: #55af8f;
  color: #fff;
}
.hexagon-wrapper .hexagon-inner .hexagon-top {
  z-index: 3;
}
.hexagon-wrapper.type-both {
  cursor: pointer;
}
.hexagon-wrapper.type-both .hexagon-bottom {
  z-index: 2;
  transform: rotateY(180deg);
}

.hexagon {
  padding-left: 1rem;
  padding-right: 1rem;
}
.hexagon .title {
  font-size: 20px;
  font-weight: 300;
}
@media (min-width: 1200px) {
  .hexagon .title {
    font-size: 26px;
  }
}
.hexagon .line {
  width: 45px;
  height: 1px;
  background-color: #20386A;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}
.hexagon .text {
  font-size: 12px;
}
@media (min-width: 1200px) {
  .hexagon .text {
    font-size: 16px;
  }
}
.hexagon-grid.grid-on-page .hexagon .title {
  font-size: 17px;
}