/* Slideshow background */
.cb-slideshow {
    margin: 0;
    padding: 0;
    list-style: none;
}

.cb-slideshow li {
    list-style: none;
}

.container {
    position: relative;
    text-align: center;
}

.cb-slideshow,
.cb-slideshow::after {
    position: fixed;
    inset: 0;
    z-index: 0;
}

.cb-slideshow::after {
    content: "";
    background: transparent;
}

.cb-slideshow li span {
    position: absolute;
    inset: 0;
    color: transparent;
    background-size: cover;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    opacity: 0;
    z-index: 0;
    animation: imageAnimation 36s linear infinite;
}

.cb-slideshow li div {
    position: absolute;
    left: 0;
    bottom: 30px;
    width: 100%;
    text-align: center;
    color: #fff;
    opacity: 0;
    z-index: 1;
    animation: titleAnimation 36s linear infinite;
}

.cb-slideshow li:nth-child(2) span,
.cb-slideshow li:nth-child(2) div {
    animation-delay: 6s;
}

.cb-slideshow li:nth-child(3) span,
.cb-slideshow li:nth-child(3) div {
    animation-delay: 12s;
}

.cb-slideshow li:nth-child(4) span,
.cb-slideshow li:nth-child(4) div {
    animation-delay: 18s;
}

.cb-slideshow li:nth-child(5) span,
.cb-slideshow li:nth-child(5) div {
    animation-delay: 24s;
}

.cb-slideshow li:nth-child(6) span,
.cb-slideshow li:nth-child(6) div {
    animation-delay: 30s;
}

@keyframes imageAnimation {
    0% { opacity: 0; animation-timing-function: ease-in; }
    8% { opacity: 1; animation-timing-function: ease-out; }
    17% { opacity: 1; }
    25% { opacity: 0; }
    100% { opacity: 0; }
}

@keyframes titleAnimation {
    0% { opacity: 0; }
    8% { opacity: 1; }
    17% { opacity: 1; }
    19% { opacity: 0; }
    100% { opacity: 0; }
}
