
/*hexagon colors*/
.services-box{
  text-align: center;
  line-height: 20px;
  margin-top: 10px;
  margin-bottom: 10px;
  padding: 0 20px;
  font-size: 14px;
  min-height: calc(100% - 20px);
  width: 100%;
}
.services-title{
  font-size: 20px;
  font-weight: 900;
  text-align: center;
  color: var(--brownish-grey);
  padding: 10px 0;
}
.services-box .btn-outline{
  margin-left:auto;
  margin-right:auto;
}
.hexagon-wrapper{
  position: relative;
  overflow: hidden;
  background: transparent;
  max-width: 320px;
  width: 100%;
  /*height: 320px;*/
  display: inline-block;
  margin:auto; 
}

.hexagon::after {
  transform: scale(1, 0.579) translate(70.71136%, 70.71136%) rotate(45deg);

}
.hexagon::after, .hexagon::before {
  position: absolute;
  content: "";
  display: block;
  width: 70.71%;
  height: 122.46%;
  transform-origin: 0 0;
  background-color: inherit !important;
}
.hexagon::before {
  transform: scale(1, 0.579) translate(70.71136%, -70.71136%) rotate(45deg);
}

.hexagon {
  position: relative;
  width: 100%;
  height: 50%;
  left: auto;
  top: 25%;
  z-index: 2;
  margin:auto; 
}

.hexagon .content-wrapper {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 3;
  display: flex;
  justify-content: center;
  padding:0 20px;

  text-align: center;
}
.hexagon .content{
 color: var(--warm-grey-three);
}

.hexagon-wrapper.hexagon-md {
  max-width: 250px;
  height: 250px;
  min-width:214px;
}
.hexagon-wrapper.hexagon-sm {
  max-width: 170px;
  /*  height: 170px;*/
  height: 196.86px;

}
.hexagon-wrapper.hexagon-xsm {
  max-width: 128px;
  height: 128px;
}





.hexagon-outline::after {
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
}
.hexagon-outline::before {
  border-left: 2px solid currentColor;
  border-top: 2px solid currentColor;
}
.hexagon-outline .content-wrapper{
  border-left: 2px solid currentColor;
  border-right: 2px solid currentColor;
}

.hexagon-outline-shadow{
  color: #979797;
}
.hexagon-outline-shadow::after {
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
}
.hexagon-outline-shadow::before {
  border-left: 2px solid currentColor;
  border-top: 2px solid currentColor;
}
.hexagon-outline-shadow .content-wrapper{
  border-left: 2px solid currentColor;
  border-right: 2px solid currentColor;
}




/* ==== hexagon inside images*/
.hexa, .hexa div {
  transform-origin: 50% 50%;
  overflow: hidden;
  width: 300px;
  height: 300px;
}
.hexa {
 width: 70px;
 height: 90px;
}
.hexa div {
  width: 100%;
  height: 100%;
}
.hexa {
  transform: rotate(120deg);
}
.hex1 {
  transform: rotate(-60deg);
}
.hex2 {
  transform: rotate(-60deg);
  background-color: var(--white-four);
}


@media (max-width: 1600px) {
  .hexagon-wrapper.hexagon-md {
    max-width: 190px;
    min-width:190px;
  }
}





