.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-text {
    color: var(--white);
    font-size: 48px;
    line-height: 56px;
    text-align: center;
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 60px;
    z-index: 4;
    margin: 0;
    font-family: "Dancing Script", serif;
}

.hero-slideshow {
    width: 100%;
    max-width: 900px;
    height: 500px;
    position: relative;
    overflow: hidden;
}

.hero-slideshow > object {
    height: 240px;
    position: absolute;
    z-index: 2;
}

.hero-slideshow > object.normal {
    left: -28px;
    top: -24px;
}

.hero-slideshow > object.rotate {
    right: -28px;
    bottom: -20px;
    transform: rotate(180deg);
}

.slide {
    width: 100%;
    height: 100%;
    display: none;
    position: relative;
}

.slide > img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    max-width: 900px;
    z-index: 1;
}

.slide.show {
    display: block;
}

.slide-indicator-row {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    bottom: 12px;
    position: absolute;
    z-index: 3;
    cursor: pointer;
}

.slide-indicator {
    height: 15px;
    width: 15px;
    margin: 0 12px;
    border-radius: 50%;
    border: 2px solid var(--white);
}

.slide-indicator.filled {
    background-color: var(--white);
}

/* Fading animation */
.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from {opacity: .4}
    to {opacity: 1}
}



@media (min-width: 992px) {
    .hero-slideshow {
        height: 550px;
    }
}

@media (min-width: 768px) {
    .hero-slideshow {
        height: 500px;
    }
}


@media (min-width: 768px) {
    .hero-slideshow > object {
        min-height: 35vh;
    }
}
