/* Decorative Background Image */
.img-hero {
    position: absolute;
    top: 0%;
    right: 0%;
    z-index: -2;
}

/* Text Highlights */
.wrapper {
  display: flex;
}

 /* Text Highlight One */
.text-effect {
    margin: auto;
}
.text-effect.no-js .background:before {
    transform: none;
}
.background {
    position: relative;
}
.background:before {
    position: absolute;
    content: '';
    z-index: -1;
    top: -2px;
    left: -5px;
    right: -5px;
    bottom: -2px;
    background-color: var(--bs-success);
    transform-origin: 0;
    transform: scaleX(0);
    animation-name: background-out;
    animation-duration: .8s;
    animation-iteration-count: 1;
}
.text-effect.in-view .background:before {
    animation-name: background;
    animation-duration: .8s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
}
@keyframes background {
    from {
        transform: scaleX(0);
    }
    to {
        transform: scaleX(1) rotate(-1deg);
    }
}
@keyframes background-out {
    from {
        transform: scaleX(1);
    }
    to {
        transform: scaleX(0);
    }
}

/* Text Highlight Two */
  .wrapperTwo {
    display: flex;
  }
.text-effectTwo {
    margin: auto;
}
.text-effectTwo.no-jsTwo .backgroundTwo:before {
    transform: none;
}
.title {
    color: #fff;
    text-align: center;
}
.backgroundTwo {
    position: relative;
}
.backgroundTwo:before {
    position: absolute;
    content: '';
    z-index: -1;
    top: -2px;
    left: -5px;
    right: -5px;
    bottom: -2px;
    background-color: var(--bs-success);
    transform-origin: 0;
    transform: scaleX(0);
    animation-name: background-outTwo;
    animation-duration: .8s;
    animation-iteration-count: 1;
}
.text-effectTwo.in-view .backgroundTwo:before {
    animation-name: backgroundTwo;
    animation-duration: .8s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
}
@keyframes backgroundTwo {
    from {
        transform: scaleX(0);
    }
    to {
        transform: scaleX(1) rotate(1deg);
    }
}
@keyframes background-outTwo {
    from {
        transform: scaleX(1);
    }
    to {
        transform: scaleX(0);
    }
}

/* Text Highlight Three */
.wrapperThree {
    display: flex;
}
.text-effectThree {
    margin: auto;
}
.text-effectThree.no-jsThree .backgroundThree:before {
    transform: none;
}
.backgroundThree {
    position: relative;
}
.backgroundThree:before {
    position: absolute;
    content: '';
    z-index: -1;
    top: -2px;
    left: -5px;
    right: -5px;
    bottom: -2px;
    background-color: var(--bs-success);
    transform-origin: 0;
    transform: scaleX(0);
    animation-name: background-outThree;
    animation-duration: .8s;
    animation-iteration-count: 1;
}
.text-effectThree.in-view .backgroundThree:before {
    animation-name: backgroundThree;
    animation-duration: .8s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
}
@keyframes backgroundThree {
    from {
        transform: scaleX(0);
    }
    to {
        transform: scaleX(1) rotate(-1deg);
    }
}
@keyframes background-outThree {
    from {
        transform: scaleX(1);
    }
    to {
         transform: scaleX(0);
    }
}
  
/* Text Highlight Four */
.wrapperFour {
    display: flex;
}
.text-effectFour {
    margin: auto;
}
.text-effectFour.no-jsFour .backgroundFour:before {
    transform: none;
}
.backgroundFour {
    position: relative;
}
.backgroundFour:before {
    position: absolute;
    content: '';
    z-index: -1;
    top: -2px;
    left: -5px;
    right: -5px;
    bottom: -2px;
    background-color: var(--bs-secondary);
    transform-origin: 0;
    transform: scaleX(0);
    animation-name: background-outFour;
    animation-duration: .8s;
    animation-iteration-count: 1;
}
.text-effectFour.in-view .backgroundFour:before {
    animation-name: backgroundFour;
    animation-duration: .8s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
}
@keyframes backgroundFour {
    from {
        transform: scaleX(0);
    }
    to {
        transform: scaleX(1) rotate(1deg);
    }
}
@keyframes background-outFour {
    from {
        transform: scaleX(1);
    }
    to {
        transform: scaleX(0);
    }
}
/* Drop Shadow */
.drop-shadow img {
    transform: none;
    transition: transform .4s ease;
    display: flex;
    width: 100%;
}
  .drop-shadow {
    position: relative;
    background-color: var(--bs-body-color);
    border-radius: var(--bs-border-radius);
}
.drop-shadow:before {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    position: absolute;
    background-color: var(--bs-success);
    border-radius: var(--bs-border-radius);
    content: '';
    z-index: -1;
    transform: none;
    transition: transform .4s ease;
}
.drop-shadow.in-view:before, .drop-shadow.no-jsShadow:before {
    transform: translate(16px, 16px);
}
.drop-shadow.in-view img, .drop-shadow.no-jsShadow img {
    transform: translate(-8px, -8px);
}

