/*
Theme name:projet-ingenierie
Description:Theme dérivé de shapely pour Projet ingenierie
Author:DSI - MINES ParisTech
Template:shapely
Text Domain:shapely
*/

/* GLOBAL */

body {
	color : #333;
}


/* HOME */

.fond-bleu .wp-block-coblocks-row__inner {
	padding: 1em 0;
	background-color: rgba(66, 164, 171, 0.2);
}

/* PORTFOLIO */

.project2, .project2 div {
	margin-bottom: 0;
}

.project2 .image-tile {
	position: relative;
}

.project2 .image-tile:hover {
        opacity: 1;
        background: url(https://projet-ingenierie.minesparis.psl.eu/wp-content/uploads/2021/10/fond.png);
	background-position: center center;
	background-repeat: no-repeat;
}

.project2 .image-tile img {
        opacity: 1;
	transition: all 0.5s ease-out;
}

.project2 .image-tile:hover img {
	opacity: 0;
}

.project2 .image-tile h5 {
        opacity: 0;
	padding: 0 20%;
	position: absolute;
	top: 50%;
	transform: translate3d(0, 50px, 0);
	-webkit-transform: translate3d(0, 50px, 0);
	-moz-transform: translate3d(0, 50px, 0);
	transition: all 0.5s ease;
	-webkit-transition: all 0.5s ease;
	-moz-transition: all 0.5s ease;
}

.project2 .image-tile:hover h5 a {
	color: #ffffff;
}

.project2 .image-tile:hover h5 {
	opacity: 1;
	transform: translate3d(0, -50%, 0);
	-webkit-transform: translate3d(0, -50%, 0);
	-moz-transform: translate3d(0, -50%, 0);
	-webkit-transform: translate3d(0, -50%, 0);
}

/* TITLES */

h1.page-title {
	color: #ffffff;
}

#content h2 { font-size: 40px; font-weight: 300; }

/* PORTFOLIO */
.post-content .entry-header {
    margin-bottom: 2em;
}
