.contener-slideshow {
    margin: 0 auto; /* A Enlever si on veut que le div prenne toute la largeur... */    
    width: 100%;     /* 100% = Largeur complète de la page */
    height: 400px;
    
    /*position: relative;
    overflow: hidden;*/
    background-color: rgb(0, 0, 0);

}

.slideshow {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.slideshow-item {
    width: inherit;
    height: inherit;
    position: absolute;
    opacity: 0;
    animation: cycleImages 31s infinite;
}

.slideshow-item img{
    width : 100%;
    height: 100%;
    object-fit: cover;
    animation: zoom 31s infinite;    
}

.slideshow-item:nth-child(1),
.slideshow-item:nth-child(1) img {
    animation-delay: 0s;
}
.slideshow-item:nth-child(2),
.slideshow-item:nth-child(2) img {
    animation-delay: 10s;
}
.slideshow-item:nth-child(3),
.slideshow-item:nth-child(3) img {
    animation-delay: 20s;
}

.slideshow-item-text{
    max-width: 50%;
    position: absolute;
    top:90%;
    left: 0;
    transform: translateY(-90%);
    background-color: rgba(0, 0, 0, .8);
    color: white;
    padding: 24px 24px;
}

.slideshow-item-text h5{
    font-size: 28px;
    font-family: 'Roboto', sans-serif;
    text-transform: uppercase;
    letter-spacing: 3px;
    padding-bottom: 20px;
}

.slideshow-item-text p{
    font-size: 22px;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 1px;
    font-weight: 300;
    font-style: italic;
}

@keyframes cycleImages {
    35% {
        opacity: 1;
    }
    40% {
        opacity: 0;
    }
}

@keyframes zoom {
    100%{
        transform: scale(1.3);
    }
}


@media only screen and (min-width: 1024px) and (max-width: 1199px){
    .slideshow-item-text{
        max-width: 60%;
    }
    .slideshow-item-text h5{
        font-size: 24px;
        padding-bottom: 18px;
    }

    .slideshow-item-text p{
        font-size: 18px;
    }
}

@media only screen and (min-width: 768px) and (max-width: 1023px){
    .slideshow-item-text{
        max-width: 70%;
        padding: 16px 16px;
    }

    .slideshow-item-text h5{
        font-size: 22px;
        padding-bottom: 12px;
    }

    .slideshow-item-text p{
        font-size: 16px;
    }
}

@media only screen and (min-width: 480px) and (max-width: 767px){
    .contener-slideshow {
        height: 350px;
    }
    .slideshow-item-text{
        max-width: 100%;
        width: 100%;
        padding: 16px;
        top:initial;
        bottom:0;
        transform: initial;
    }

    .slideshow-item-text h5{
        font-size: 20px;
        padding-bottom: 12px;
        text-align: center;
    }

    .slideshow-item-text p{
        font-size: 16px;
        text-align: center;
    }
}

@media only screen and (min-width: 0px) and (max-width: 479px){
    .contener-slideshow {
        height: 300px;
    }
    .slideshow-item-text{
        max-width: 100%;
        width: 100%;
        padding: 16px;
        top:initial;
        bottom:0;
        transform: initial;
    }

    .slideshow-item-text h5{
        font-size: 20px;
        padding-bottom: 12px;
        text-align: center;
    }

    .slideshow-item-text p{
        font-size: 16px;
        text-align: center;
    }

}