
.hero-slider {
    height: 100vh;
    overflow: hidden;
    /* margin-left: calc(-100vw / 2 + 100% / 2); */
    margin-left: 0;
    /* margin-right: calc(-100vw / 2 + 100% / 2); */
    margin-right: 0;
    max-width: 100vw;
    width: auto !important;
}
.hero-slider .carousel-cell {
    width: 100%;
    height: 100vh; /*650px;*/
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.hero-slider .carousel-cell .slide-content {
    position: relative;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 1170px;
    margin: 0 auto;
    z-index: 1;
}

.hero-slider .carousel-cell .slide-content p {
    line-height: normal;
}

.hero-slider .carousel-cell .slide-content .title {
    position: relative;
    font-size: 3.2rem;
    text-transform: uppercase;
    color: #ffffff;
}
.hero-slider .carousel-cell .slide-content .caption {
    text-transform: capitalize;
    font-size: 2.2rem;
    color: #ffffff;
}
.hero-slider .carousel-cell .slide-content .btn {
    /* background-color: #fff200; */
    display: inline-block;
    padding: 10px 20px;
    font-size: 1rem;
    font-weight: 700;
    /* color: black; */
    text-decoration: none;

        background: linear-gradient(90deg, rgb(238 51 51), rgb(50 37 107));  
    color: white;
    border: none;
    transition: all 0.3s ease-in-out;
    text-transform: uppercase;
    position: relative;
}
.hero-slider .carousel-cell .slide-content .btn:hover {
    /* background: white;
    color: black; */
    transition: all 0.2s ease;
     background: linear-gradient(45deg,rgb(78 55 227), rgb(234 40 49)); /* Reverse gradient */
    color: white !important;
}

/* --------------------------------
Masking
-------------------------------- */
.slide-content .title,
.slide-content .caption,
.slide-content .caption1,
.slide-content .caption2,
.slide-content .btn {
    position: relative;
    opacity: 0;
    animation-fill-mode: forwards;
}

.slide-content.mask .mask {
    position: relative;
    overflow: hidden;
}
.slide-content.mask .title {
    /*
    animation-duration: 2s;
    animation-delay: 0.2s;
    animation-name: slide-up;
    animation-fill-mode: backwards;
    animation-timing-function: cubic-bezier(0.85, 0, 0.15, 1);
    /**/

    animation: slide-up 2s cubic-bezier(0.85, 0, 0.15, 1) 0.2s backwards;
    opacity: 1;
}
.slide-content.mask .caption,
.slide-content.mask .caption1,
.slide-content.mask .caption2,
.slide-content.mask .btn {
    animation-duration: 2s;
    animation-delay: 0.2s;
    animation-name: slide-down;
    animation-timing-function: cubic-bezier(0.85, 0, 0.15, 1);
}

@keyframes slide-up {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
@keyframes slide-down {
    from {
        opacity: 0;
        transform: translateX(-100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes poof {
    0% {
        opacity: 0;
        background-position: 100% 150%;
        transform: rotateZ(0) scale(1);
    }
    50% {
        opacity: 0.5;
        background-position: 100% 100%;
        transform: rotateZ(-10deg) scale(1.5);
    }
    100% {
        opacity: 0;
        background-position: 100% 50%;
        transform: rotateZ(-20deg) scale(2);
    }
}

/* Slides */

.hero-slider .carousel-cell:nth-child(2) .slide-content {
    text-align: right;
}
.hero-slider .carousel-cell:nth-child(1) .slide-content,
.hero-slider .carousel-cell:nth-child(3) .slide-content {
    text-align: left;
}

.hero-slider .carousel-cell:nth-child(3) .slide-content .caption,
.hero-slider .carousel-cell:nth-child(2) .slide-content .caption {
    color: white;
    font-weight: 700;
    margin: 16px 0;
    padding: 0;
    font-size: 65px;
}
.hero-slider .carousel-cell:nth-child(3) .slide-content .title,
.hero-slider .carousel-cell:nth-child(2) .slide-content .title {
    color: white;
    font-weight: 700;
    margin: 16px 0;
    padding: 0;
    font-size: 24px;
}
.hero-slider .carousel-cell:nth-child(1) .slide-content .caption {
    color:white;
    text-transform: none;
    font-weight: 700;
    margin: 16px 0;
    padding: 0;
    font-size: 60px;
}
.hero-slider .carousel-cell .slide-content .caption1 {
     color:white;
     font-size: 16px;
    text-transform: uppercase;
}
.hero-slider .carousel-cell .slide-content .caption2 {
     color:white;
     font-size: 20px;
     letter-spacing: 0.2px;
}
.hero-slider .carousel-cell:nth-child(1) .slide-content .caption b {
    color: #fff200;
}

.floater {
    position: absolute;
    right: 48px;
    bottom: 50%;
    transform: translateY(50%);
    text-align: right;
    z-index: -1;
}

/*  Smokey static background */
.smoke {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-image: url(https://getbutterfly.com/static/flickity-revolution/smoke.gif);
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0.5;
    mix-blend-mode: color-dodge;
}
