.overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    /*background: linear-gradient(to bottom, rgba(14, 29, 51, 0.8), rgba(14, 29, 51, 0.2));*/
}

.hero-slider {
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.hero-slider .carousel-cell {
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.hero-slider .carousel-cell .slide-content {
    position: relative;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    text-align: center;
}

.hero-slider .carousel-cell .slide-content .title {
    position: relative;
    font-family: 'Great Vibes', cursive;
    /*font-weight: 700;*/
    font-size: 3.2rem;
    /*letter-spacing: 3px;*/
    /*text-transform: uppercase;*/
    color: #ffffff;
    text-shadow: -1px -1px 0 #8e24aa, 1px -1px 0 #8e24aa, -1px 1px 0 #8e24aa, 1px 1px 0 #8e24aa;
}

.hero-slider .carousel-cell .slide-content .caption {
    font-family: 'Philosopher', sans-serif;
    font-size: 2.2rem;
    color: #c158dc;
    margin-bottom: 30px;
    text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}

.hero-slider .carousel-cell .slide-content .btn {
    display: inline-block;
    border: 1px solid #fff;
    padding: 14px 18px;
    text-transform: uppercase;
    font-family: 'Philosopher', sans-serif;
    /*font-size: 0.9rem;*/
    border-radius: 0%;
    letter-spacing: 2px;
    color: #fff;
    text-decoration: none;
}

.hero-slider .carousel-cell .slide-content .btn:hover {
    background: #8e24aa;
    color: #fff;
    transition: all .2s ease;
}

.hero-slider .flickity-prev-next-button {
    width: 80px;
    height: 80px;
    background: transparent;
}

.hero-slider .flickity-prev-next-button:hover {
    background: transparent;
}

.hero-slider .flickity-prev-next-button .arrow {
    fill: #c158dc;
}

.hero-slider .flickity-page-dots {
    bottom: 30px;
}

.hero-slider .flickity-page-dots .dot {
    width: 30px;
    height: 4px;
    opacity: 1;
    background: rgba(255, 255, 255, 0.5);
    border: 0 solid white;
    border-radius: 0;
}

.hero-slider .flickity-page-dots .dot.is-selected {
    background: #8e24aa;
    border: 0 solid #8e24aa;
}

/* --------------------------------
Masking
-------------------------------- */
.slide-content .title,
.slide-content .caption,
.slide-content .btn {
    position: relative;
    opacity: 0;
    -webkit-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
}

.slide-content.mask .mask {
    position: relative;
    overflow: hidden;
}

.slide-content.mask .title {
    -webkit-animation-duration: 0.4s;
    animation-duration: 0.4s;
    -webkit-animation-delay: 0.7s;
    animation-delay: 0.7s;
    -webkit-animation-name: slide-up;
    animation-name: slide-up;
    -webkit-animation-fill-mode: backwards;
    animation-fill-mode: backwards;
    opacity: 1;
}

.slide-content.mask .divider {
    display: inline-block;
    position: relative;
    margin: 5px auto;
    height: 2px;
    width: 60%;
    background-color: #ffffff;
    -webkit-animation: divider-mask 1s 0.3s both;
    animation: divider-mask 1s 0.3s both;
}

.slide-content.mask .caption,
.slide-content.mask .btn {
    -webkit-animation-duration: 0.4s;
    animation-duration: 0.4s;
    -webkit-animation-delay: 0.7s;
    animation-delay: 0.7s;
    -webkit-animation-name: slide-down;
    animation-name: slide-down;
}

@-webkit-keyframes slide-up {
    0% {
        opacity: 0;
        -webkit-transform: translateY(100%);
    }

    100% {
        opacity: 1;
        -webkit-transform: translateY(0);
    }
}

@keyframes slide-up {
    0% {
        opacity: 0;
        -webkit-transform: translateY(100%);
        transform: translateY(100%);
    }

    100% {
        opacity: 1;
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}

@-webkit-keyframes slide-down {
    0% {
        opacity: 0;
        -webkit-transform: translateY(-100%);
    }

    100% {
        opacity: 1;
        -webkit-transform: translateY(0);
    }
}

@keyframes slide-down {
    0% {
        opacity: 0;
        -webkit-transform: translateY(-100%);
        transform: translateY(-100%);
    }

    100% {
        opacity: 1;
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}

@-webkit-keyframes divider-mask {

    0%,
    100% {
        -webkit-transform: scaleX(0);
        transform: scaleX(0);
    }

    40%,
    60% {
        -webkit-transform: scaleX(1);
    }
}

@keyframes divider-mask {

    0%,
    100% {
        -webkit-transform: scaleX(0);
        transform: scaleX(0);
    }

    40%,
    60% {
        -webkit-transform: scaleX(1);
        transform: scaleX(1);
    }
}