﻿/*.bandef {
    position: relative;
    display: none;
    white-space: nowrap;
    overflow: hidden;
}

    .bandef > div {
        position: absolute;
        -webkit-animation: marquee 20s linear infinite;  Chrome, Safari, Opera 
        animation: marquee 20s linear infinite;
    }

      Arrêt du défilement au survol 
    .bandef:hover > div {
        -webkit-animation-play-state: paused;
        animation-play-state: paused
    }

         Non-arrêt du défilement au survol pour les bannières définies 
        .bandef:hover > div.nonstop {
            -webkit-animation-play-state: initial !important;
            animation-play-state: initial !important
        }

         Arrêt du défilement au survol pour les bannières définies 
        .bandef:hover > div.stop {
            -webkit-animation-play-state: paused !important;
            animation-play-state: paused !important
        }*/
/*.bandef {
    border: solid red;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

    .bandef ul {
        width: 400%;
        height: 200px;
        padding: 0;
        margin: 0;
        list-style: none;
    }

    .bandef li {
        float: left;
    }*/

.banner__container {
    width: 100%;
    margin: 20px auto;
    position: relative;
    overflow: hidden;
}

.carousel {
    border-radius: 5px;
    width: 33%;
    display: flex;
    justify-content: flex-start;
}

.slider {
    display: flex;
    height: 100%;
    width: 500%;
    flex-shrink: 0;
    transition: all 0.5s;
}

section .slide {
    flex-basis: 20%;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
}

.controls button.next {
    position: absolute;
    right: 20px;
    top: 20px;
    background: none;
    border: none;
    cursor: pointer;
    outline: none;
    color: #c058dc;
}

.controls button.prev {
    position: absolute;
    left: 20px;
    top: 20px;
    background: none;
    border: none;
    cursor: pointer;
    outline: none;
    color: #c058dc;
}

.controls button i {
    font-size: 50px;
}

.slide img {
    width: 110px;
}

.slide-content {
    font-size: 18px;
    color: #000;
}
@media screen and (max-width: 375px) {
    .slide img {
        width: 80px;
    }

}
@media screen and (max-width: 480px){
    .banner__container {
        width: 100%;
        margin: 0px auto;
        position: relative;
        overflow: hidden;
    }

    .slide img {
        width: 80px;
    }
}