.flickity-enabled{position:relative}
.flickity-enabled:focus{outline:0}
.flickity-viewport{overflow:hidden;position:relative;height:100%}
.flickity-slider{position:absolute;width:100%;height:100%}
.flickity-enabled.is-draggable{-webkit-tap-highlight-color:transparent;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}
.flickity-enabled.is-draggable .flickity-viewport{cursor:move;cursor:-webkit-grab;cursor:grab}
.flickity-enabled.is-draggable .flickity-viewport.is-pointer-down{cursor:-webkit-grabbing;cursor:grabbing}
.flickity-button{position:absolute;background:hsla(0,0%,100%,.75);border:none;color:#333}
.flickity-button:hover{background:#fff;cursor:pointer}.flickity-button:focus{outline:0;box-shadow:0 0 0 5px #19f}
.flickity-button:active{opacity:.6}
.flickity-button:disabled{opacity:.3;cursor:auto;pointer-events:none}
.flickity-button-icon{fill:currentColor}.flickity-prev-next-button{top:50%;width:44px;height:44px;border-radius:50%;transform:translateY(-50%)}
.flickity-prev-next-button.previous{left:10px}
.flickity-prev-next-button.next{right:10px}
.flickity-rtl .flickity-prev-next-button.previous{left:auto;right:10px}
.flickity-rtl .flickity-prev-next-button.next{right:auto;left:10px}
.flickity-prev-next-button .flickity-button-icon{position:absolute;left:20%;top:20%;width:60%;height:60%}
.flickity-page-dots{position:absolute;width:100%;bottom:-25px;padding:0;margin:0;list-style:none;text-align:center;line-height:1}
.flickity-rtl .flickity-page-dots{direction:rtl}
.flickity-page-dots .dot{display:inline-block;width:10px;height:10px;margin:0 8px;background:#333;border-radius:50%;opacity:.25;cursor:pointer}
.flickity-page-dots .dot.is-selected{opacity:1}
.hero-slider {
    height: 100vh;
    overflow: hidden;
    margin-left: calc(-100vw / 2 + 100% / 2);
    margin-right: calc(-100vw / 2 + 100% / 2);
    max-width: 100vw;
    width: auto !important;
}
.hero-slider .carousel-cell {
    width: 100%;
    height: 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: uppercase;
    font-size: 2.2rem;
    color: #ffffff;
}
.hero-slider .carousel-cell .slide-content .btn {
    background-color: #fff200;
    display: inline-block;
    padding: 14px 24px;
    font-size: 1.2rem;
    font-weight: 700;
    color: black;
    text-decoration: none;
}
.hero-slider .carousel-cell .slide-content .btn:hover {
    background: white;
    color: black;
    transition: all 0.2s ease;
}

/* --------------------------------
Masking
-------------------------------- */
.slide-content .title,
.slide-content .caption,
.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 .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: #fff200;
    font-weight: 700;
    margin: 16px 0;
    padding: 0;
    font-size: 24px;
}
.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: 72px;
}
.hero-slider .carousel-cell:nth-child(1) .slide-content .caption {
    color: black;
    text-transform: none;
    font-weight: 700;
    margin: 16px 0;
    padding: 0;
    font-size: 48px;
}
.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;
}
#myVideo {
  position: fixed;
  right: 0;
  bottom: 0;
  min-width: 100%;
  min-height: 100%;
  opacity:.6;
}

/* Add some content at the bottom of the video/page */
.content {
  position: fixed;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  color: #f1f1f1;
  width: 100%;
  padding: 20px;
}
