/* image slider css */
/* Authored by Boaz James Otieno */

#slider-main{
    width: 100%;
    overflow: hidden;
}
.img-slide{
    width: 100%;
    height: 100vh;
    z-index: 5;
    overflow-y: hidden;
}
#prev{
    z-index: 10;
    color: #fff;
    position: absolute;
    background: rgba(0,0,0,0.61);
    border: none;
    margin-top: 40vh;
    left: 0;
    font-size: 30px !important;
    width: 40px;
    height: 100px;
    transition: .5s;
}
#prev:hover{
    color: #000;
    background: rgb(255,255,255,0.71);
}
#next{
    color: #fff;
    position: absolute;
    background: rgba(0,0,0,0.61);
    border: none;
    margin-top: -60vh;
    right: 0px;
    font-size: 30px !important;
    width: 40px;
    height: 100px;
    transition: .5s;
}
#next:hover{
    color: #000;
    background: rgb(255,255,255,0.71);
}
.circle{
    border: #ccc 3px solid;
    width: 20px;
    height: 20px;
    border-radius: 20px;
    background: transparent;
    display: inline-block;
    cursor: pointer;
}
#circles{
    margin-top: -15vh;
    margin-left: 48.6%;
    position: absolute;
    z-index: 9000;
}
.image-animated{
    animation: animateImage 5s ease-in-out; /* change time according to interval set */
}

@keyframes animateImage {
    0%{
        opacity: .2;
        transform: scale(1.2,1.2);
    }
    20%{
        opacity: 1;
        transform: scale(1,1);
    }
    80%{
        opacity: 1;
        transform: scale(1,1);
    }
    95%{
        opacity: .8;
        transform: scale(1.2,1.2);
    }
    100%{
        opacity: .8;
        transform: scale(1.2,1.2);
    }
}

@media (max-width: 767px) {
    .img-slide{
        height: 40vh;
    }
    #prev{
        font-size: 30px !important;
        margin-top: 8vh;
        margin-left: 0%;
        width: 25px;
        height: 70px;
    }
    #next{
        font-size: 25px !important;
        margin-top: -32vh;
        right: 0;
        width: 25px;
        height: 70px;
    }
    .circle{
        width: 15px;
        height: 15px;
        border-radius: 15px;
    }
    #circles{
        margin-top: -10vh;
        margin-left: 36%;
    }
}
@media (max-width: 568px) {
    .img-slide{
        height: 40vh;
    }
    #prev{
        font-size: 20px !important;
        margin-top: 12vh;
        margin-left: 0%;
        width: 20px;
        height: 50px;
    }
    #next{
        font-size: 20px !important;
        margin-top: -28vh;
        right: 0;
        width: 20px;
        height: 50px;
    }
}
