img {
	max-width: 100%;
	height: auto;
}

/* Container for flexboxes */
#container-page-4 {
  display: -webkit-flex;
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: center;
}

/* Create three equal columns that sits next to each other */
.element-page-4 {
  width: 32%;
  height: 50%;
  padding: 10px;
  background-color: transparent;
}

/* Style texte sur image OnHover */
.hvrbox,
.hvrbox * {
	box-sizing: border-box;
}

.hvrbox {
  position: relative;
	display: inline-block;
	overflow: hidden;
	max-width: 100%;
	height: auto;
  background-color: rgb(49, 52, 120);
  border-radius: 10px; 
}

.hvrbox img {
	max-width: 94.5%;
  margin-bottom: 0.5em;
  margin-top: 0.5em;
  margin-left: 0.5em;
  margin-right: 0.5em;
  border-radius: 10px; 
}

.hvrbox .hvrbox-layer_bottom {
	display: block;
}

.hvrbox .hvrbox-layer_top {
	opacity: 0;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.6);
  border-radius: 10px; 
	color: whitesmoke;
	padding: 15px;
	-moz-transition: all 0.4s ease-in-out 0s;
	-webkit-transition: all 0.4s ease-in-out 0s;
	-ms-transition: all 0.4s ease-in-out 0s;
	transition: all 0.4s ease-in-out 0s;
}

.hvrbox:hover .hvrbox-layer_top,
.hvrbox.active .hvrbox-layer_top {
	opacity: 1;
}

.hvrbox .hvrbox-text {
	text-align: center;
	font-size: 15px;
	display: inline-block;
	position: absolute;
	top: 50%;
	left: 50%;
	-moz-transform: translate(-50%, -50%);
	-webkit-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
}

.columns {
	width: 25%;	
}
