*{
	margin: 0;
	padding: 0;
}
html{
	box-sizing: border-box;
	font-size: 62.5%;/** !REM = 10px**/
}
body{
	font-family: "open sans";
	font-size: 1.6rem;
	line-height: 1.8;/* separacion entre las lineas*/
}
header{
	width: 100%;
	height: 60rem;
	background: #bc4e9c;
	background: linear-gradient(to right, hsla(340,95%,50%,0.459), hsla(317,45%,52%,0.664)),url(../img/portada.jpg);
	background-size: cover;/* Cambia el tamaño de la imagen del fondo*/
	background-attachment: fixed;/*Propiedad especifica si la imagen de fondo*/
	position: relative;
}nav{
	display: flex;
	justify-content: flex-end;/*posicion horizontal*/
	align-items: flex-start;/*posicion vertical*/
	padding: 3rem 5rem 0 0;/*colocar el menu*/
}
nav > a{
	color: #fff;
	font-weight: 300;
	text-decoration: none;
	margin-right: 2rem;
}
nav > a:hover{
	text-decoration: underline;
}
header .textos-header{
	display: flex;
	height: 43rem;
	width: 100%;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	text-align: center;
}
.textos-header h1{
	font-size: 5rem;
	color: #fff;
}
.textos-header h2{
	font-size: 3rem;
	font-weight: 300;
	color: #fff;
}
.wave{
	position: absolute;
	bottom: 0;
	width: 100%; 
}
/*sobre nosotros*/
main .sobre-nosotros{
	padding: 3rem 0 6rem 0;

}
.contenedorsobre-nosotros{
	display: flex;
	flex-direction: column;
	margin-top:5rem;
}
.contenedor-sobre-nosotros{
	display: flex;
	justify-content: space-evenly;
	margin: 5rem;
}
.titulo3{
	text-align: center;
	color: #4d0686;
	font-size: xx-large;

}
.imagen-sobre-nosotros{
	width: 45%;
	flex-shrink: 0;
}
.contenedor-sobre-nosotros .contenido-texto{
	width: 48%;
	flex-shrink: 0;
}
 /* crear un boton redondo*/
 .contenido-textos h3 span{
 	background: #4d0686;
 	color: #fff;
 	border-radius: 50%;
 	display:inline-block; /*sirve para poner ancho*/
 	text-align: center;
 	width: 3rem;
 	height: 3rem;
 	padding: 0.2rem;
 	box-shadow: 0 0 0.6rem 0 rgba(0, 0, 0, -5);
 	margin-right: 0.5rem;
}
/*Galeria*/
.portafolio{
	background: #f2f2f2;
}
.titulo1{
	text-align: center;
	color: #4d0686;
	margin-bottom: 5rem;
}
.galeria-port{
	display: flex;
	justify-content: space-evenly;
	flex-wrap: wrap;
}

.contenedor{
	display: flex;
	flex-direction:row;
}

.imagen-port{
	width:90%;
	margin-bottom: 1rem;
	overflow: hidden; /*recorta el desbordamiento*/
	position: relative;
	cursor: pointer; /* muestra una mano como puntero*/
	box-shadow: 0 0 0.6rem 0 rgba(0, 0, 0, .5);
}
.imagen-port > img{
	width: 100%;
	height:100%;
	object-fit: cover; /*comportamiento de la imagen*/
	display: block;
}
.hover-galeria{
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	transform: scale(0);
	background: hsla(273, 91%, 27%, 0.7);
	transition: transform .5s;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
}
.hover-galeria img{
	width: 5rem;
}
.hover-galeria p{
	color: #fff;
}
.imagen-port:hover .hover-galeria{
	transform: scale(1);
}

/*clientes*/
.cards{
	display: flex;
	justify-content: space-evenly;
}
.titulo2{
	text-align: center;
	color: #4d0686;
}
.cards .card{
	background: #4d0686;
	display: flex;
	width: 46%;
	margin-top:2rem;
	height:15rem;
	align-items: center;
	justify-content: space-evenly;
	border-radius: 5px;
	box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.6)
}
.cards .card img{
	width: 10rem;
	height: 10rem;
	object-fit: cover;
	border: 3px solid#fff;
	border-radius: 50%;
	display: block;
}
.cards .card > .contenido-texto-card{
	width: 60%;
	color: #fff,
}
.cards .card > .contenido-texto-card p{
	font-weight: 300;
	padding-top: 0.5px;
}
.servicios{
	background:#cfa7fd;
	padding-bottom: 3rem;
}

.titulo{
	text-align: center;
	margin-top: 5rem;
	margin-bottom: 5rem;
	color: #4d0686;
}

.contenedor1{
	display: flex;
	flex-direction: row;
	width:90%;
	margin-bottom:10rem;
	margin-left: 5.5rem;
	margin-right: 5.5rem;
}
.servicio-cont{
	display: flex;
	justify-content:space-between;
	align-items: center;
}
.servicio-ind{
	width: auto;
	text-align: center;
}
.servicio-ind img{
	width:60%;
}
.servicio-ind h3{
	margin: 1rem 0;
}
.servicio-ind p{
	font-weight: 500;
	text-align:center;
}
/*para pantallas mas pequeñas*/
@media screen and (max-width: 900px){
	header{
		background-position: center;
	}
	.contenedor-sobre-nosotros{
		flex-direction: column;
		justify-content: center;
		align-items: center;
	}
	.sobre-nosotros .contenido-textos{
		width: 90%,
	}
	.imagen-port{
		width: 44%,
	}
	/*clientes*/
	.cards{
		flex-direction: column;
		justify-content: center;
		align-items: center;
	}
    .cards .card{
		width: 90%;
	}
    .cards .card:first-child{
		margin-bottom: 3rem;
	}
	/*servicios*/
	.servicio-cont{
		justify-content: center;
		flex-direction: column;
	}
	.servicio-ind{
		width:100%;
		text-align: center;
	}
	.servicio-ind:nth{

	}







