* {box-sizing:border-box}

/* Slideshow container */
.carousel {
    position: relative;
    margin: auto;
}

/* Hide the images by default */
.carousel-item {
    display: none;
}

.carousel-item img {
    width: 100%
}

/* Next & previous buttons */
.prev, .next {
    color: white !important;
    background-color: rgba(0, 0, 0, 0.3);

    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;

    margin-top: -22px;
    padding: 16px;
    
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

/* Position the "next button" to the right */
.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
    background-color: rgba(0,0,0,0.8);
}


.dot-container {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    display: flex;
    justify-content: center;
    padding: 0;
    margin-right: 15%;
    margin-bottom: 1rem;
    margin-left: 15%;
}

.dot {
    border: 1px solid red;
    box-sizing: content-box;
    flex: 0 1 auto;
    width: 30px !important;
    height: 3px;
    padding: 0;
    margin-right: 3px;
    margin-left: 3px;
    text-indent: -999px;
    cursor: pointer;
    background-color: white;
    background-clip: padding-box;
    border: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    opacity: .5;
    transition: opacity .6s ease;
}

.active, .dot:hover {
    opacity: 1;
}


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

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