

.slider-container {
    max-width: 650px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.slider {
    display: flex;
    transition: transform 0.5s;
    position: relative;
}

.slide {
    flex: 0 0 100%;
    position: relative;
    aspect-ratio: 16 / 9;
    height: auto;
    overflow: hidden;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


.caption {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    padding: 10px;
    color: #fff;
    text-align: center;
}

.caption a {
    color: #ffffff9f;
    text-decoration: none;
    font-size: 50pt;
}

.slider-controls {
    display: flex;
    align-items: center;
    margin-top: 0px;
    display: flex;
    text-align: center;
    justify-content: space-between;
    position: relative;
    top: -50%;
}

button {
    cursor: pointer;
    font-size: 40px;
    border: none;
    color: #fff;
    background-color: rgba(0, 0, 0, 0);
    margin: 0px;
    padding: 0px;
}

#prev, #next{
    padding: 0px 10px;
}

#pause{
    display: none;
}

.slider-indicators {
    margin-top: 0px;
    text-align: center;
    position: relative;
    top: -15%;
}

.slider-indicator {
    width: 10px;
    height: 10px;
    background: #888;
    border-radius: 50%;
    display: inline-block;
    margin: 0 5px;
    cursor: pointer;
}

.slider-indicator.active {
    background: #333;
}

@media screen and (max-width: 599px) {
    .caption{
        margin: 0px;
    }
}

@media screen and (max-width: 1019px) {
    .slider-controls {
        margin-top: 10px;
        display: flex;
        text-align: center;
        justify-content: space-between;
        position: relative;
        top: -50%;
    }
    
    .slider-indicators {
        margin-top: 10px;
        text-align: center;
        position: relative;
        top: -20%;
    }
}