.iconbox {
  border: 3px solid transparent;
  background: none;
  text-align: left;
  @include media-breakpoint-down(xl) {
    padding: 30px !important;
  }
  @include media-breakpoint-down(md) {
    padding: 20px !important;
  }

  & > .icon {
    // width: 75px;
    // height: 75px;
    background: transparent;
    border-radius: $border-radius;
    position: relative;
    // margin-bottom: 23px;

    // .icon-image,
    // i {
    //   top: 50%;
    //   left: 50%;
    //   position: absolute;
    //   transform: translate(-50%, -50%);
    // }

    .icon-image {
      width: 45px;
      height: 45px;
    }

    i {
      font-size: $font-size-26;
    }
  }

  .box-content {
    color: #000000;
    flex: 1 1 0;
    margin: auto 0;
    position: relative;
    text-align: center;

    .iconbox-headline {
      font-family: $font-family-primary;
      font-weight: $font-weight-bold;
      word-break: break-word;
      font-size: 1rem;
      padding: 0px;
      @include media-breakpoint-up(md) {
        font-size: 1.25rem;
      }
    }

    .iconbox-content {
      font-size: $font-size-14;
      font-weight: $font-weight-normal;
      line-height: $line-height-18;
      text-align: center;
    }
  }
}

.iconbox-link-wrapper {
  &:hover .iconbox {
    background: $secondary-color;
    &.hover-style-1 {
      box-shadow: 0 0 15px #ffffff70;
    }

    //.box-content:after {
    //  animation: arrow2 0.5s linear 1;
    //  -webkit-animation-name: arrow2 0.5s linear 1;
    //}

    * {
      color: $black;
    }
  }
}
