
/********************** IMAGEN INICIO ****************************************************/

.imagen-inicio{
	width: 100%;
}

/********************** TEXTOS SLIDERS ****************************************************/

.project .serv-txt{
		position: absolute;
		left: 5%;
		right: 5%;
		bottom: 10%;
		display: flex;
		flex-direction: column;
}

.titulo{
	text-align: center;
	font-size: 35px;
	color: #8e8e8e;
}

.costo{
	text-align: center;
	font-size: 35px;
	color: #8e8e8e;
}

.precio{
	text-align: center;
	font-size: 30px;
	color: #000;
}

.contenido{
	text-align: justify;
	color:#000;
	font-size: 15px;
}

.linea{
	border-top: 2px solid #e56023;
	width: 300px;
}

.bg-gris{
	background-color: #e5e5e5;
}


.txt-naranja{
	color: #e56023;
}



/**************************   BARRA REDES SOCIALES  *************************************/

.container-bar{
	width: 100%;
	max-width: 50px;
	position: fixed;
	left: 0;
	top: 25%;
    z-index: 50;
}
.container-bar a{
	display: block;
	width: 50px;
	height: 50px;
	line-height: 50px;
	text-align: center;
	text-decoration: none;
	font-size: 18px;
	position: relative;
	transition: all 500ms ease;
	color: #fff;
}
.container-bar a:hover{
	background: #008000;
	
}
.container-bar .fa-facebook{
	background: #81c319;
	/**/
}
.container-bar .fa-whatsapp{
	background: #81c319;
	border-radius: 0px 5px 0px 0px;
}
.container-bar .fa-envelope{
	background: #81c319;
	border-radius: 0px 0px 5px 0px;
}
.container-bar .fa-instagram{
	background: #81c319;
}

.container-bar .fa-linkedin{
	background: #81c319;
}

.container-bar .fa-pinterest{
	background: #c8232c;
	
}
.container-bar #title{
	position: absolute;
	background: #008000;
	padding: 0px 8px;
	height: 30px;
	line-height: 30px;
	text-align: center;
	border-radius: 3px;
	font-size: 15px;
	top:12px; left: 0px;
	transition: all 500ms ease;
	opacity: 0;
	visibility: hidden;
	z-index: -1;
}
.container-bar a:hover #title{
	opacity: 1;
	visibility: visible;
	left: 64px;
}
.container-bar #title:after{
	position: absolute;
	content: '';
	border-left: 7px solid transparent;
	border-right: 6px solid #1c1c1c;
	border-top: 7px solid transparent;
	border-bottom: 7px solid transparent;
	right: 100%;
	top: 8px;
}
#btn-social{
	display: none;
}
.fa-play{
	cursor: pointer;
	transition: all 0.4s;
	font-size: 12px;
	margin-bottom: 5px;
	display: inline-block;
	transform: rotate(180deg);
	color: #008000;
}
#btn-social:checked ~ .fa-play{
	transform: rotate(0deg);
}
.icon-social{
	transition: all 0.4s;
	transform: translateX(0%);
	box-shadow: 0px 1px 10px rgba(0,0,0,0.3);
}
#btn-social:checked ~ .icon-social{
	transform: translateX(-100%);
	box-shadow: 0px 1px 10px rgba(0,0,0,0.0);
}





/**************************   TARJETAS 3D **********************************************/

.contenedor {
	max-width: 1200px;
	margin:50px auto;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
}

.contenedor_tarjeta {
	margin: 20px;
}

.contenedor_tarjeta a {
	display: inline-block;
}

.contenedor_tarjeta:hover figure {
	transform: perspective(600px) rotateY(180deg);
	-webkit-box-shadow: 0px 2px 10px 2px rgba(0,0,0,0.25);
	-moz-box-shadow: 0px 2px 10px 2px rgba(0,0,0,0.25);
	box-shadow: 0px 2px 10px 2px rgba(0,0,0,0.25);
}

/*.contenedor_tarjeta:hover figure img {*/
	/* Si queremos podemos aplicar un efecto blur a nuestra imagen al girar */
	/*filter:blur(2px);*/
/*}*/

figure {
	width: 300px;
	height: 350px;
	margin:0;
	position: relative;
	transition: all ease .5s;
	transform-style: preserve-3d;
	/* Nota:
		Establecemos que la imagen tendra una rotacion de 0grados al inicio porque si no
		ponemos esta propiedad nos da un poco de problemas en algunos navegadores al pasar el cursor.
	*/
	transform: perspective(600px) rotateY(0deg);
}

figure .frontal,
figure .trasera {
	width: 100%;
	height: 100%;
	border-radius: 5px;
	transition: all ease .5s;
}

figure .frontal {
	display: block;
	background: #000;

	/* Podemos ocultar la imagen al da la vuelta si lo queremos */
	/*backface-visibility: hidden;*/
}

figure .trasera {
	position: absolute;
	top: 0;
	padding: 20px;
	color: #fff;
	transform: perspective(600px) rotateY(180deg);
	backface-visibility: hidden;
	overflow: auto;
}

.contenedor_tarjeta:nth-child(1) figure .trasera{
	background: rgba(0,128,0,0.7);
	background: -moz-linear-gradient(top, rgba(0,128,0,0.7) 0%, rgba(129,195,25,1) 100%);
	background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(95,58,53,0.7)), color-stop(100%, rgba(129,195,25,1)));
	background: -webkit-linear-gradient(top, rgba(0,128,0,0.7) 0%, rgba(129,195,25,1) 100%);
	background: -o-linear-gradient(top, rgba(0,128,0,0.7) 0%, rgba(129,195,25,1) 100%);
	background: -ms-linear-gradient(top, rgba(0,128,0,0.7) 0%, rgba(129,195,25,1) 100%);
	background: linear-gradient(to bottom, rgba(0,128,0,0.7) 0%, rgba(129,195,25,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#5f3a35', endColorstr='#dd202f', GradientType=0 );
}

.contenedor_tarjeta:nth-child(2) figure .trasera{
	background: rgba(100,50,0,0.7);
	background: -moz-linear-gradient(top, rgba(100,50,0,0.7) 0%, rgb(236, 132, 47) 100%);
	background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(100,50,0,0.7)), color-stop(100%, rgb(236, 132, 47)));
	background: -webkit-linear-gradient(top, rgba(100,50,0,0.7) 0%, rgba(236, 132, 47,1) 100%);
	background: -o-linear-gradient(top, rgba(100,50,0,0.7) 0%, rgb(236, 132, 47) 100%);
	background: -ms-linear-gradient(top, rgba(100,50,0,0.7) 0%, rgba(236, 132, 47,1) 100%);
	background: linear-gradient(to bottom, rgba(100,50,0,0.7) 0%, rgba(236, 132, 47,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fbe8ca', endColorstr='#192c48', GradientType=0 );
}

.contenedor_tarjeta:nth-child(3) figure .trasera{
	background: rgba(0,128,0,0.7);
	background: -moz-linear-gradient(top, rgba(0,128,0,0.7) 0%, rgba(129,195,25,1) 100%);
	background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(95,58,53,0.7)), color-stop(100%, rgba(129,195,25,1)));
	background: -webkit-linear-gradient(top, rgba(0,128,0,0.7) 0%, rgba(129,195,25,1) 100%);
	background: -o-linear-gradient(top, rgba(0,128,0,0.7) 0%, rgba(129,195,25,1) 100%);
	background: -ms-linear-gradient(top, rgba(0,128,0,0.7) 0%, rgba(129,195,25,1) 100%);
	background: linear-gradient(to bottom, rgba(0,128,0,0.7) 0%, rgba(129,195,25,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#5f3a35', endColorstr='#dd202f', GradientType=0 );
}

figure .trasera .titulo {
	color: #fff;
	font-weight: normal;
	margin-bottom: 20px;
	font-family: 'Roboto', sans-serif;
	font-size: 24px;
}

figure .trasera hr {
	height: 2px;
	background: #fff;
	border: none;
	margin-bottom: 20px;
	opacity: .5;
}

figure .trasera p {
	font-family: 'Open Sans', sans-serif;
	line-height: 22px;
	font-size: 14px;
}

@media screen and (max-width: 992px) { 
	figure .trasera {
		/*position: relative;*/
		backface-visibility:visible;
		transform: perspective(600px) rotateY(0deg);
	}

	.contenedor_tarjeta:hover figure {
		transform: perspective(600px) rotateY(0deg);	
	}

}