/* --- Simple Image Slider --- */
.baa-simple-slider {
    position: relative;
    max-width: 100%;
    margin: auto;
    overflow: hidden;
}

.baa-slides-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.baa-slide {
    min-width: 100%;
    display: none;
}

.baa-slide.active {
    display: block;
    animation: baa-fade 1.5s;
}

.baa-slide img {
    width: 100%;
    display: block;
}

/* Fading animation */
@keyframes baa-fade {
    from {
        opacity: .4
    }

    to {
        opacity: 1
    }
}

/* Arrows */
.baa-prev,
.baa-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    background-color: rgba(0, 0, 0, 0.3);
    text-decoration: none !important;
    z-index: 10;
}

.baa-next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.baa-prev:hover,
.baa-next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Dots */
.baa-dots {
    text-align: center;
    padding: 10px;
    position: absolute;
    bottom: 0;
    width: 100%;
    z-index: 10;
}

.baa-dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.baa-dot.active,
.baa-dot:hover {
    background-color: #717171;
}

/* --- Rotating Text --- */
.baa-rotating-text {
    position: relative;
    overflow: hidden;
    vertical-align: bottom;
    height: 1.1em;
    /* Adjust based on line-height */
    width: 100%;
    justify-content: center;
}

.baa-text-item {
    display: none;
    /* Default hidden */
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    white-space: nowrap;

    /* Styled Text */
    text-align: center;
    font-size: 48px;
    font-weight: 700;
    color: #052272;
    font-family: 'Oswald';
    text-shadow: 0em 0.1em 0.1em rgba(0, 0, 0, 0.4);
    line-height: normal;
}

.baa-text-item.active {
    display: block;
    position: relative;
    /* Takes up space */
}

/* Slide Animations */
.baa-text-item.slide-in {
    display: block;
    position: absolute;
    top: 0;
    width: 100%;
    animation: baa-slide-in 0.5s forwards;
}

.baa-text-item.slide-out {
    display: block;
    position: relative;
    /* Keep taking space while sliding out */
    animation: baa-slide-out 0.5s forwards;
}

@keyframes baa-slide-in {
    0% {
        transform: translateX(100%);
        opacity: 0;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes baa-slide-out {
    0% {
        transform: translateX(0);
        opacity: 1;
    }

    100% {
        transform: translateX(-100%);
        opacity: 0;
    }
}