.categories{
    padding: 0 0 10vh 0;
    clear: both;
}
.titre {
    font-family: 'Source Sans Pro', sans-serif;
    display: block;
    text-align: center;
    font-size: 36px;
    color:   #3498DB;
    text-transform: uppercase;
    font-weight: 500;
    padding: 6vh 0;
}
.grid {
  margin: 0 auto;
  padding: 0;
  width: 100%;
}
.grid li {
    float: left;
    position: relative;
    overflow: hidden;
    margin: 5px 5px 0px 0px;
}
.grid img {
  float: left;
  width: 100%;
  height: auto;
  position: relative;  
  -webkit-transform-style: preserve-3d;
  -webkit-backface-visibility: hidden;
  -webkit-transform: translate3d(0,0,0);
}

.grid .info {
  position: absolute;
  top:0;
  width: 100%;
  height: 100%;
  padding: 15px;
  background: rgba(0, 0, 0, 0.4);
  display: none;
  z-index: 2;
  -webkit-transform-style: preserve-3d;
  -webkit-backface-visibility: hidden;
	 -webkit-transform: translate3d(0,0,0);
}
.grid .content{
    display: flex;
    align-items: center;
    justify-content: center;
    align-content: center;
    flex-wrap:wrap;
    height: 100%;
    color: #fff;
    font-size: 29px;
    text-transform: uppercase;
    font-weight: 500;
}

.content p{width:100%;text-align:center;}

.content p:nth-child(1) {
    font-size:29px;font-weight:700;
}
.content p:nth-child(2) {
    font-size:14px;font-weight:100;
}
@media only screen and (max-width: 1200px){
.grid{display: flex;align-items: center;flex-wrap: wrap;justify-content: center;}
}
@media only screen and (max-width: 992px){
.grid .info {display:block !important}
}
@media only screen and (max-width: 768px){
.grid .content{font-size:18px;}
.grid li {    width: 100%;    max-height: 300px;}
}









