.slider {
    position: relative;
    display: flex;
    flex-flow: column;
    overflow: hidden;
    height: 96%;
    border-radius: 4px;
    z-index: 2;
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 10px;
    border: 0.06656em solid #000000;
    color: black;
    font-weight: bold;
    font-size: 10px;
    transition: 0.6s ease;
    border-radius: 50%;
    /*opacity: 0;*/
    background-color: rgba(171, 179, 183, 0.59);

}

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

.prev {
    left: 0;
    border-radius: 1px 1px 1px 1px;
}

.prev:hover, .next:hover {
    color: floralwhite;
    background-color: grey;
    border-color: #fff5f7;
}

.slider:hover .prev, .slider:hover .next, .slider:hover .dot {
    opacity: 1;
    transition: opacity .3s;
}

.text {
    color: #f2f2f2;
    font-size: 15px;
    padding-bottom: 12px;
    position: absolute;
    bottom: 0;
    width: 100%;
    text-align: center;
    background-color: #222428;
    opacity: 1;
}
.text1 {
    color: #f2f2f2;
    font-size: 15px;
    padding: 12px;
    position: absolute;
    top: 0;
    right: 0;
    width: 30%;
    text-align: center;
    background: #1E73BE;
    opacity: 1;
    -webkit-animation: reveal 1s cubic-bezier(0, 1, 0.5, 1) 1 normal forwards;
    -moz-animation: reveal 1s ease-in 1 normal forwards;
    -o-animation: reveal 1s cubic-bezier(0, 1, 0.5, 1) 1 normal forwards;
    animation: reveal 1s cubic-bezier(0, 1, 0.5, 1) 1 normal forwards;
    -webkit-animation-delay: 2s;
    -moz-animation-delay: 2s;
    -o-animation-delay: 2s;
    animation-delay: 2s;

}
.text2 {
    color: #f2f2f2;
    font-size: 15px;
    padding: 12px;
    position: absolute;
    bottom: 0;
    right: 0;
    width: 30%;
    text-align: center;
    background: #BF525A;
    opacity: 1;
    -webkit-animation: reveal 1s cubic-bezier(0, 1, 0.5, 1) 1 normal forwards;
    -moz-animation: reveal 1s ease-in 1 normal forwards;
    -o-animation: reveal 1s cubic-bezier(0, 1, 0.5, 1) 1 normal forwards;
    animation: reveal 1s cubic-bezier(0, 1, 0.5, 1) 1 normal forwards;
    -webkit-animation-delay: 2s;
    -moz-animation-delay: 2s;
    -o-animation-delay: 2s;
    animation-delay: 2s;
}
.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: transparent;
    border-radius: 50%;
    display: inline-flex;
    transition: background-color .6s ease;
    border: 1px solid white;
    opacity: 1;
}
.Slides {
    display: none;
    height: 100%;
}
.Slides a {
    color: inherit;
    border: 1px solid;
    padding: 5px;
    margin-top: 10px;
    display: inline-block;
    transition: all .3s;
    position: relative;
}

.Slides a:hover {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid transparent;
    text-decoration: none;
    letter-spacing: 2px;
    padding-right: 30px;
}
.slideImage {
    width: 100%;
    height: 100%;
    background-position: center center;
    vertical-align: middle;
    object-fit: cover;
    z-index: 1;
}

.slideImage1 {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    vertical-align: middle;
    object-fit: cover;
    z-index: 1;
    animation: move 40s ease;
    /* Add infinite to loop. */

    -webkit-animation: move 40s ease;

    -moz-animation: move 40s ease;
    position: absolute;
}

.dotPosition {
    padding: 8px 12px;
    position: absolute;
    top: 0;
}

.active, .dot:hover {
    background-color: white;
}


.fade {
    -webkit-animation-name: fade;
    -webkit-animation-duration: 5s;
    animation-name: fade;
    animation-duration: 5s;
}

@-webkit-keyframes fade {
    from {
        opacity: .8
    }
    to {
        opacity: 1
    }
}

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



@-webkit-keyframes reveal {
    0% {
        opacity: 0;
        -webkit-transform: translateY(100%);
        -moz-transform: translateY(100%);
        -o-transform: translateY(100%);
        transform: translateY(100%);
    }
    100% {
        opacity: 1;
        -webkit-transform: translateY(0);
        -moz-transform: translateY(0);
        -o-transform: translateY(0);
        transform: translateY(0);
    }
}


@-webkit-keyframes move {
    0% {
        -webkit-transform-origin: bottom left;
        -moz-transform-origin: bottom left;
        -ms-transform-origin: bottom left;
        -o-transform-origin: bottom left;
        transform-origin: bottom left;
        transform: scale(1.0);
        -ms-transform: scale(1.0);
        /* IE 9 */

        -webkit-transform: scale(1.0);
        /* Safari and Chrome */

        -o-transform: scale(1.0);
        /* Opera */

        -moz-transform: scale(1.0);
        /* Firefox */
    }
    100% {
        transform: scale(1.2);
        -ms-transform: scale(1.2);
        /* IE 9 */

        -webkit-transform: scale(1.2);
        /* Safari and Chrome */

        -o-transform: scale(1.2);
        /* Opera */

        -moz-transform: scale(1.2);
        /* Firefox */
    }
}
