.clients{
    position: relative;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    background-color: white;
    padding: 0;
}
.clients h2{
    top: 15px;
}

.clients ul{
   padding: 5em 0 0 0 ;
   margin: 0;
   display: flex;
   justify-content: space-evenly;
   flex-wrap: wrap;
   position: relative;
}

.client{
    border-radius: 5px;
    overflow: hidden;
    width: 97%;
    height: 150px;
    position: relative;
    margin: 1em auto;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15), 
                0 2px 2px rgba(0, 0, 0, 0.15), 
                0 4px 4px rgba(0, 0, 0, 0.15), 
                0 8px 8px rgba(0, 0, 0, 0.15), 
                0 16px 16px rgba(0, 0, 0, 0.15);
    transform-style: preserve-3d;
    transition: .8s .2s;

}

.client img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.client__card {
    font-size: 1em;
    color: white;
    margin: 0;
    position: absolute;
    width: 100%;
    bottom: 0;
    left: 0px;
}

.client__card__title{
    background-color: rgba(0, 0, 0, 0.60);
    font-weight: 300;
    letter-spacing: 2px;
    position: absolute;
    bottom: 0;
    left: 0px;
    width: 100%;
    text-align: center;
    margin: 0;
    padding: 0.5em;
    transition: all 1.5s ease;
}

.client__card__text__wrapper {
    font-size: 0.75em;
    visibility: hidden;
    opacity: 0;
    position: absolute;
    bottom: -90px;
    padding: 1rem;
    color: white;
    transition: all 1.5s ease;
}

.client:hover{
    transform: scale(1.10);
} 

.client:hover .client__card__title{
    padding-bottom: 126px;
}

.client:hover .client__card__text__wrapper {
    visibility: visible;
    bottom: 10px;
    opacity: 1;
}

.clients__connexion{
    background-color: #262626;
    position: relative;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    width: 100%;
    height: 250px;
    margin-top: 3em;
}

.clients__connexion__section{
    width: 100%;
    height: 250px;

    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-direction: column;
}
.clients__connexion__login, .clients__connexion__contact{
    width: 100%;
}

.clients__connexion__login{

}

.clients__connexion__contact{

}



.clients__connexion h3{
    color: #f29400;
    font-size: 1.3em;
    width: 100%;
    justify-content: center;
}

.clients__connexion .button-link{
    width: 100%;
  
}
.clients__connexion .button-styled{
    margin-bottom: 0;
    min-width: 185px;
  
}

@media (orientation: landscape) {
    .client{
        width: 45%;
    }
  }
@media (min-width: 600px) {
    .client{
        width: 45%;
    }
    .clients__connexion{
        background-position: center center;
        margin: 5em 0 3em 0 ;
    }
    .clients__connexion__section{
        flex-direction: row;
        justify-content: space-evenly;
    }
    .clients__connexion__login, .clients__connexion__contact{
        width: auto;
        padding: 2em;
        border-radius: 5px;
    }
    .clients__connexion__section h3{
        padding-bottom: 1em;
        font-size: 1.7em;
    }
}
@media (min-width: 992px) {
    .client{
        width: 23%;  
      }
}