@import url('https://fonts.googleapis.com/css?family=Poppins:100,200,300,400,500,600,700,800,900');

:root {
	--header-height: 4rem;
	/* --clr: #222327;
	--texto: white; */
	--clr: #f7931e;
	--texto: #154406;
	font-family: 'Poppins', sans-serif;
}

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

body {
	min-width: 360px;
	min-height: 100vh;
	background: var(--clr);
	display: flex;
	flex-direction: column;
}

.menu1 {
	display: flex;
	justify-content: space-between;
	width: 100%;
	height: var(--header-height);
}

.logo {
	font-size: 40px;
	width: 100%;
}

.logo a {
	text-decoration: none;
	color: var(--texto);
}

nav {
	display: none;
}

/* Boton whatsapp */
.btn-wsp {
	position: fixed;
	width: 55px;
	height: 55px;
	line-height: 55px;
	bottom: 130px;
	right: 10px;
	border-radius: 50px;
	text-align: center;
	font-size: 30px;
	box-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
	z-index: 100;
	background: #0df053;
	fill: white;
}

.btn-wsp svg {
	width: 20px;
	height: 20px;
}

.btn-wsp:hover {
	text-decoration: none;
	fill: #0df053;
	background: white;
}

.btn-wsp svg:hover {
	fill: #0df053;
}

/* Fin boton Whatsapp */

/* --------------------------Menu bottom-----------------*/
.menu2 {
	position: fixed;
	bottom: 0;
	width: 100%;
	color: aquamarine;
	display: flex;
	justify-content: center;
	z-index: 100;
}
.navigation {
	align-self: flex-end;
	position: relative;
	width: 100%;
	height: 70px;
	background: #fff;
	display: flex;
	justify-content: center;
	align-items: center;
	border-radius: 10px;
}

.navigation ul {
	display: flex;
	width: 350px;
}

.navigation ul li {
	position: relative;
	list-style: none;
	width: 70px;
	height: 70px;
	z-index: 1;
}

.navigation ul li a {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	width: 100%;
	text-align: center;
	font-weight: 500;
}

.navigation ul li a .icon {
	position: relative;
	display: block;
	line-height: 75px;
	font-size: 1.5em;
	text-align: center;
	transition: 0.5s;
	color: var(--clr);
}

.navigation ul li.active a .icon {
	transform: translateY(-32px);
}

.navigation ul li a .text {
	position: absolute;
	color: var(--clr);
	font-weight: 400;
	font-size: 0.75em;
	letter-spacing: 0.05em;
	transition: 0.5s;
	opacity: 0;
	transform: translateY(20px);
}

.navigation ul li.active a .text {
	opacity: 1;
	transform: translateY(10px);
}

.indicator {
	position: absolute;
	top: -50%;
	width: 70px;
	height: 70px;
	background: #29fd53;
	border-radius: 50%;
	border: 6px solid var(--clr);
	transition: 0.5s;
}

.indicator::before {
	content: '';
	position: absolute;
	top: 50%;
	left: -22px;
	width: 20px;
	height: 20px;
	background: transparent;
	border-top-right-radius: 20px;
	box-shadow: 0px -10px 0 0 var(--clr);
}

.indicator::after {
	content: '';
	position: absolute;
	top: 50%;
	right: -22px;
	width: 20px;
	height: 20px;
	background: transparent;
	border-top-left-radius: 20px;
	box-shadow: 0px -10px 0 0 var(--clr);
}

.navigation ul li:nth-child(1).active ~ .indicator {
	transform: translateX(calc(70px * 0));
}

.navigation ul li:nth-child(2).active ~ .indicator {
	transform: translateX(calc(70px * 1));
}

.navigation ul li:nth-child(3).active ~ .indicator {
	transform: translateX(calc(70px * 2));
}

.navigation ul li:nth-child(4).active ~ .indicator {
	transform: translateX(calc(70px * 3));
}

.navigation ul li:nth-child(5).active ~ .indicator {
	transform: translateX(calc(70px * 4));
}

/* -------------------------------------------------------------- */

.hero img {
	width: 100%;
	height: 300px;
}

h1 {
	color: var(--texto);
	padding: 0 15px;
	font-size: 25px;
	text-align: center;
	margin: 15px 0;
}

h2 {
	color: var(--texto);
	padding: 0 15px;
	text-align: center;
	font-size: 20px;
	padding: 10px 0;
}

h3 {
	color: var(--texto);
	text-align: center;
	font-size: 17px;
}

p {
	color: var(--texto);
	padding: 5px 15px;
	font-size: 20px;
}

.servicios img {
	width: 100%;
	border-radius: 25%;
}

.servicios {
	margin: 30px 0;
}

.servicios h3 {
	font-size: 25px;
}

.servicios p {
	font-size: 25px;
}

.servTexto {
	text-align: center;
}

.contacContent {
	align-self: center;
	margin: auto 0;
}

.contacContent p a {
	display: flex;
	align-items: center;
	text-decoration: none;
	color: var(--texto);
}

.map {
	margin: 10px;
}

.map iframe {
	width: 100%;
	height: 200px;
}

footer {
	width: 100%;
	margin-top: auto;
	display: flex;
	flex-direction: column;
	background: rgb(95, 160, 117);
	text-align: center;
	margin-bottom: calc(var(--header-height) + 20px);
}

footer::before {
	content: '';
	width: 100%;
	border: 10px solid var(--clr);
}

footer a {
	text-decoration: none;
	display: flex;
	justify-content: center;
	color: var(--texto);
}

footer a img {
	margin: 0 5px;
}

@media (min-width: 320px) and (max-width: 768px) {
	.servicios {
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		margin: 30px 10px;
	}
	.servicios img {
		width: 80%;
	}

	.logo {
		text-align: center;
	}

	.contacContent {
		width: 100%;
	}
}

/* ----------Media Querys de la vista de tablets y pcs en adelante------------ */
@media screen and (min-width: 768px) {
	.menu2 {
		display: none;
	}

	.contenido {
		margin: 15px 100px;
	}

	.hero {
		display: flex;
		justify-content: center;
		margin: 15px;
	}

	.hero img {
		width: 90%;
		height: auto;
	}

	.logo {
		font-size: 25px;
		margin: auto 0;
		margin-left: 15px;
	}

	.logo a {
		text-decoration: none;
		color: var(--texto);
		font-size: 30px;
		font-weight: bold;
	}

	.content {
		margin: auto 0;
		text-align: center;
	}

	nav {
		display: flex;
	}

	nav ul {
		display: flex;
	}

	nav ul li {
		color: var(--texto);
		list-style: none;
		display: flex;
		align-items: center;
		justify-content: center;
		text-align: center;
	}

	nav ul li a {
		display: flex;
		text-decoration: none;
		color: var(--texto);
		height: 80%;
		padding: 0 20px;
		justify-content: center;
		align-items: center;
		flex-direction: column;
		font-size: 18px;
	}

	nav ul li a:hover {
		background: white;
		color: black;
		border-radius: 20px;
	}

	.isActive::after {
		display: flex;
		content: '';
		width: 100%;
		border-bottom: 2px solid #0df053;
		height: 100%;
	}

	.contacContent {
		align-self: center;
		width: 100%;
	}

	.servicios {
		display: flex;
		flex-direction: row;
		align-items: center;
		justify-content: space-around;
	}

	.servicios img {
		width: 40%;
	}

	.servTexto {
		width: 50%;
	}

	.servs :nth-child(2) img {
		order: 2;
	}

	.servs :nth-child(4) img {
		order: 2;
	}

	.map iframe {
		width: 100%;
		height: 400px;
	}

	footer {
		margin-bottom: 0;
	}

	footer p {
		padding: 5px;
	}
}

@media screen and (min-width: 1024px) {
	.hero img {
		height: auto;
	}

	p {
		padding: 15px 5%;
	}
}
