@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@300;400;700&display=swap');


:root{
	--background: linear-gradient(135deg, #667eea7e 0%, #D4AC0D 100%);
	--color-primary: #1B2631;
	--color-secundary:  #F1C40F;
	--boton-padding:  20px 40px;
}

body{
	font-family: 'Raleway', sans-serif;
}

.contenedor{
	width: 90%;
	margin: 0 auto;
	overflow: hidden;
	padding: 80px 0;
	max-width: 1200px;
}

.subtitle{
	 color: var(--color-primary);
	 font-size: 2.5rem;
	 margin-bottom: 35px;
}

/*------------Sección  Encabezado ------*/

.fondo{
	height: 100vh;
	background-image: var(--background), url('../imagenes/fondo.jpg');
	background-repeat: no-repeat;
	background-size: cover;
	background-attachment: fixed;
	background-position: center;
	position: relative;
}

.fondo .contenedor{
	padding: 0;
}

.nav{
	display: flex;
	justify-content: flex-end;
	height: 70px;
	align-items: center;
	font-weight: 700;
}

.nav__items{
	color: #fff;
	text-decoration: none;
	margin-right: 20px;
	padding: 10px 15px;
	font-weight: inherit;
}

.nav__items--cta{
	border: 1px solid #fff;

}

.fondo__contenedor{
	display: flex;
	height: calc(100vh - 70px);
	align-items: center;
	color: #fff;
}

.fondo_wave{
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height:100px;
}

.fondo__title{
	font-size: 3.2rem;
}

.fondo__subtitle{
	font-size: 2rem;
	font-weight: 300;
	margin: 15px 0;
}

.fondo__cta{
	display: inline-block;
	background: var(--color-primary);
	padding: var(--boton-padding);
	color: #fff;
	text-decoration: none;
	border-radius: 40px;
}

.fondo__text{
	width: 80%;
	margin-bottom: 50px;
}


/*---------Sección Acerda de ------  */

.presentacion{
	text-align: center;
	padding-top: 0;
}

.presentacion__img{
	width: 300px;
	height: 300px;
	border-radius: 50%;
	margin-bottom: 10px;
	object-fit: cover;
	object-position: top;
}

.presentacion__txt{
	width: 80%;
	margin: 0 auto;
}

.presentacion__cta{
	display: inline-block;
	margin-top: 30px;
	background: var(--color-primary);
	color: #fff;
	text-decoration: none;
	padding: var(--boton-padding);
	border-radius: 40px;

}

.about{
	min-height: 400px;
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-row-gap: 80px;
	justify-items: center;
	align-items: center;
}

.about__img{
	text-align: center;
} 

.about__img--left{
	text-align: left;
}

.about__img--right{
	text-align: right;
}

.about_picture{
	max-width: 80%;

}
.about_parra{
	margin-bottom: 20px;
	line-height: 1.5;
	font-weight: 300;
}

/*----Sección galeria transpostes----*/
.Transportes{
	background: #f2f2f2;
}
.transportes__grid{
	display: grid;
	height: 550px;
	grid-template-areas: 
	"img1 img1 img2 img3"
	"img1 img1 img4 img5";
	gap:  10px;
}

.transportes__items{
	position: relative;
	width: 100%;
	height: 100%;
	overflow: hidden;

}
.transportes__img{
	width: 100%;
	height: 100%;
	object-fit: cover;
	cursor: pointer;
}

.transportes__items:nth-of-type(1){
	grid-area: img1;
}

.transportes__items:nth-of-type(2){
	grid-area: img2;
}

.transportes__items:nth-of-type(3){
	grid-area: img3;
}

.transportes__items:nth-of-type(4){
	grid-area: img4;
}

.transportes__items:nth-of-type(5){
	grid-area: img5;
}

.transportes__hover{
	position: absolute;
	background:#ea994c7c;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	color: #fff;
	text-align: center;
	display: flex;
	flex-direction: column;
	justify-content: center;
	transform: translateX(100%);
	cursor: pointer;
	transition: transform .3s ease-in-out;
}

.transportes__items:hover .transportes__hover{
	transform: translateX(0%);

}



.transportes__icon{
	margin-top: 10px;
	font-size: 10px;

}


/*---------------------Seccion Personal---------*/
.personal__grid{
	width: 100%;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 30px;

}

.personal__item{
	width: 95%;
	margin: 0 auto;
	background: var(--color-secundary);
	box-shadow: 0 8px 10px rgba(66, 66, 66, .5);
	border-radius: 7px;
	padding: 30px 25px;
	color: #2E4053;
	margin-bottom: 50px;
}

.personal__img{
	width: 100px;
	min-width: 100px;
	height: 100px;
	object-fit: cover;
	object-position: top;
	border-radius: 50%;
	border-radius: 3px solid #fff;
	margin-right: 30px;
}

.personal_person{
	display: flex;
	align-items: center;
	margin-bottom: 20px;
}

.personal__name{
	font-size: 1.5rem;
	margin-bottom: 10px;

}

.personal_verification{
	color: #EAFAA0;
	font-weight: 700;
}

.personal__review{
	font-weight: 500;

}

/*---------Sección footer ------  */
.nav--footer{
	font-weight: 300;
	justify-content: flex-start;
}

.nav__items--footer{
	padding: 10px;
	text-align: center;

}

.footer{
	background: var(--color-primary);
}

.footer__gird{
	display: grid;
	grid-template-columns: 3fr 2fr;
	column-gap: 20px;
	align-items: center;
}

.footer__title{
	font-weight: 400;
	color: #fff;
	font-size: 2rem;
	margin-bottom: 30px;
	text-align: center;

}

.footer__icons{
	display: flex;
	justify-content: space-evenly;
}

.footer__contener-icon{
	display: inline-block;
	width: 60px;
	height: 60px;
	color: #fff;
	text-align: center;
	border: 1px solid #fff;
	border-radius: 50%;
}

.footer__icon{
	color: inherit;
	font-size: 25px;
	text-decoration: none;
	line-height: 60px;
}

.fab.footer__icon{
	line-height: 60px;
}


/*------diseño responsive---*/

@media screen and (max-width: 800px){
	:root{
		--boton-padding:  18px 40px;
	}
	.nav{
		justify-content: space-around;
	}
	.nav__items--cta{
		border: none;

	}
	.nav__items{
		font-weight: 400;
		border-bottom: 1px solid #fff;
		margin-right: 0;
	}
	.nav__items--footer{
		border: none;
	}
	.fondo__text{
		width: 100%;
		margin-bottom: 80px;
	}
	.fondo__title{
		font-size: 2.5rem;
	}
	.fondo__subtitle{
		font-size: 1.5rem;
	}

	/*---aobout---*/
	.presentacion__img{
		width: 200px;
		height: 200px;
	}

	.presentacion__txt{
		width: 100%;
	}

	.about{
		grid-template-columns: 1fr;
	}
	.about.contenedor{
		padding-top: 30px;
	}
	.about__img--left{
		text-align: center;
	}
	.about__txt:last-child{
		grid-row: 3/4;
	}

	.about__img--right{
		text-align:center;
	}
	.about__txt:last-child{
		grid-row: 4/5;
	}
	
	/*------Transportes galeria---*/
	
	.transportes__grid{
		grid-template-areas: 
		"img1 img1 img2 img2"
		"img1 img1 img3 img3"
		"img4 img4 img5 img5"
	}

	/*-----Personal---*/

	.personal__grid{
		grid-template-columns: 1fr;
		gap: 30px;
	}

	/*---footer---*/
	.footer__gird{
		grid-template-columns: 1fr;
	}

	.footer__contact{
		grid-row: 1/2;
	}

}

/*-------movil-----*/

@media screen and (max-width: 500px){
	:root{
		--boton-padding:  18px 35px;
	}
	
	.subtitle{
		font-size: 2rem;
		margin-bottom: 20px;
	}
	
	.nav{
		flex-wrap: wrap;
		justify-content: space-evenly;
		margin-top: 10px;
	}

	.nav__items{
		padding: 0 10px;
		border: 0;
	}
	.fondo__text{
		text-align: center;
		margin-bottom: 100px;

	}
	.fondo__title{
		font-size: 2rem;
	}

	/*---aobout---*/

	.presentacion__img{
		width: 120px;
		height: 120px;
	}
	.about{
		row gap: 60px;
	}
	.about.contenedor{
		padding-top: 10px;
	}

	/*------Transportes galeria---*/

	.transportes__grid{
		grid-template-areas: 
		"img1"
		"img2"
		"img3"
		"img4"
		"img5";
		height: auto;
		grid-template-rows: repeat(5, 250px);
		grid-auto-rows: 250px;
		gap:  10px;
	}

	/*-----Personal---*/

	.personal__item{
		padding: 30px 15px;
	}
	
	.personal_person{
		flex-direction: column;

	}

	.personal__text{
		text-align: center;

	}

	.personal__item{
		margin: 0;
		margin-bottom: 20px;
	}
}