* {
    box-sizing: border-box;
}

.mySlides {
    display: none;
    font-family: inherit;
    font-size: 1em;
    line-height: 1.2;
    color: black;
}

img {
    vertical-align: middle;
}

/* Slideshow container */
.slideshow-container {
    max-width: 1000px;
    position: relative;
    margin: auto;
}


/* Caption text */
.text {
    color: #f2f2f2;
    font-size: 25px;
    padding: 8px 12px;
    position: absolute;
    bottom: 8px;
    width: 100%;
    text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 120px;
    position: absolute;
    top: 0;
}

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

@keyframes fade {
    from {
        opacity: .4
    }

    to {
        opacity: 1
    }
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {

    .prev,
    .next,
    .text {
        font-size: 11px
    }
}

/* Position the "next button" to the right */
.prev,
.next {
    margin-top: -22px;
    position: inherit;
    cursor: pointer;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 10px 15px;
    border: none;
    cursor: pointer;
    font-size: 20px;
    font-weight: bold;
    transition: background-color 0.3s ease;
    border-radius: 5px;
    z-index: 10;
}

/* Left Arrow Style with Blinking */
.text-left-arrow {
    font-size: 48px;
    font-family: Arial;
    fill: white;
    pointer-events: none;
    animation: blink 1.2s infinite;
    -webkit-animation: blink 1.2s infinite;
    text-shadow: 2px 2px 4px black;
}

/* Right Arrow Style with Blinking */
.text-right-arrow {
    font-size: 48px;
    font-family: Arial;
    fill: white;
    pointer-events: none;
    animation: blink 1.2s infinite;
    -webkit-animation: blink 1.2s infinite;
    text-shadow: 2px 2px 4px black;
}

@-webkit-keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
    background-color: none;
}

.slider {
    position: relative;
    max-width: 800px;
    margin: 50px auto;
    overflow: hidden;
    border-radius: 10px;
}

.slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}

.slide {
    min-width: 100%;
    transition: opacity 0.5s ease-in-out;
}


.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 24px;
    z-index: 10;
}

.arrow.left {
    left: 10px;
}

.arrow.right {
    right: 10px;
}


/* The dots/bullets/indicators */
.dot {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 1.70em;
    width: 1.70em;
    border-radius: 50%;
    background-color: white;
    cursor: pointer;
    margin: 0 2px;
    transition: background-color 0.6s ease;
}

.dot span {
    font-size: 1.50em;
    font-weight: bold;
    color: black;
    font-family: Arial, Helvetica, sans-serif;
    pointer-events: none;
    /* ensures dot handles the click */
}

.active,
.dot:after {
    background-color: gray;
    border-radius: 0 0 0 0;
    animation: mymove 2s infinite;
}

@keyframes mymove {
    50% {
        border-radius: 0 0 0 0;
        background-color: white;
    }
}