
@charset "UTF-8";
/* CSS Document */


.box.split {
    font-size: 50px;
    font-weight: 300;  
  }

.split:after {
  content: attr(data-letters);
  position: absolute;
  left: 0;
  z-index: 2;
  overflow: hidden;
  white-space: wrap;
  width: 100%;
  height: 100%;
  top: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  text-align: center;
  position: absolute;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  color: #fff; color: var(--bg-color);
  background: #f04939; background: var(--accent-color);
  -webkit-clip-path: polygon(0 0, 100% 0, 100% -400%, 0 100%);
          clip-path: polygon(0 0, 100% 0, 100% -400%, 0 100%);
  -webkit-transition: all .2s;
  transition: all .2s;
}

.split:hover:after {
    -webkit-clip-path: polygon(0 0, 100% 0, 100% 30%, 0 75%);
            clip-path: polygon(0 0, 100% 0, 100% 30%, 0 75%);
}

.splitname {
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  left: 0;
  right: 0;
  margin: auto;
  text-align: center;
  color: #fff; color: var(--nav-title-color);
}
