@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;600;700;800;900&display=swap');

*,
::before,
::after {
	box-sizing: border-box;
}

:root {
	--green: #3A9A75;
	--color-body: #FBFBFB;
	--black-ligth: #45464D;
	--green-ligth: #57BC90;
	--height-header: 3.5rem;
}

body {
	font-family: 'Poppins', sans-serif;

	background-color: var(--color-body)
}

html {
	scroll-behavior: smooth;
}

/*
    ESTILOS REUTILIZADOS
*/

.btn-menu {
	display: none;
}

.btn {
	background-color: var(--green);
	border: none;
	border-radius: .3rem;
	color: #fff;
	padding: .6rem .7rem;
	transition: background-color 400ms linear;
}

.btn:hover {
	background-color: var(--green-ligth)
}

#home,
#contact,
#about,
.app,
footer {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 90%;
	margin: 0 auto;
	padding: 1rem 0;
	flex-wrap: wrap;

}

[id] {
	scroll-margin-top: 4ex;
}

#home>div,
#contact>div,
#about>div,
.app>div {
	width: calc(50% - 3rem);
	margin-right: 3rem;
	opacity: 0;

}

#home>div:last-child,
#contact>div:last-child,
#about>div:last-child,
.app>div:last-child {
	margin: 0;
}

#home>div img,
#contact>div img,
#about>div img,
.app>div img {
	object-fit: cover;
	display: block;
	width: 100%;
}

#home>div h1,
.title-section {
	color: var(--green);
	font-size: .9rem;
}

.subtitle-section {
	font-size: 2rem;
	font-weight: 700;
	margin: .2rem 0 1.6rem 0;
}

.subtitle-section:first-letter {
	text-transform: uppercase;

}

#services,
#menu {
	padding: 1rem 0;
	width: 90%;
	margin: 0 auto;
	text-align: center;
}

a {
	text-decoration: none;
}

/**********************/



header {
	top: 0;
	left: 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 5%;
	width: 100%;
	height: var(--height-header);
	z-index: 10;
	background-color: var(--color-body);
}

header a {
	margin-left: 1rem;
	color: #000;
	font-weight: 500;
}

header>a {
	font-weight: 600;
	font-size: 1.5rem;
}

header nav a:hover {
	color: var(--green);
}

/*
    INICIO
*/
#home {
	margin-top: 3rem;
}

#home>div h1 {
	font-weight: 700;
	font-size: 3rem;
	margin: 0;
}

#home>div p {
	margin: 1rem 0;
	color: var(--black-ligth);
}

#home>div button {
	padding: 0;
}

#home>div button a {
	display: block;
	padding: .6rem .7rem;
	color: inherit;
}

#home>div:first-child {
	opacity: 0;
	animation: fadeDown 800ms forwards;
	animation-delay: 200ms;

}

#home>div:last-child {
	opacity: 0;
	animation: fadeDown 800ms forwards;
	animation-delay: 500ms;

}

/*
    NOSOTROS
*/

#about>div p:nth-child(3) {
	font-size: 1rem;
	color: var(--black-ligth);
	font-weight: 400;
	line-height: 1.2rem;
}

/*
    Servicios
*/
#services .services,
#menu .menu {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
}

#services .services .card-service,
#menu .menu .card-menu {
	width: calc(100% / 3 - 60px);
	opacity: 0;
	margin: 30px;
}

#menu .menu .card-menu .card-img img {
	max-width: 80%;
	margin: auto;
}

#services .services .card-service .card-img svg {
	width: 70px;
	height: 70px;
	fill: var(--green);
	margin: 0 auto 1rem auto;
}

#services .services .card-service .card-inf span,
#menu .menu .card-menu .card-inf span {
	font-weight: 600;
	font-size: 1.1rem;
}

#services .services .card-service .card-inf p,
#menu .menu .card-menu .card-inf p {
	color: var(--black-ligth);
	font-size: 1rem;
	font-weight: 400;
}

#menu .menu .card-menu .card-inf>div {
	display: flex;
	justify-content: space-evenly;
	align-items: center;
}

.app>div .links {
	display: flex;
	width: 125px;
}

.app>div .links img {
	width: 100%;
	margin-right: 1rem;
}

#contact>div:first-child {
	width: calc(70% -1.5rem);
}

#contact>div:last-child {
	width: calc(30% - 1.5rem);
	display: flex;
	justify-content: center;
	align-items: center;
}

footer {
	width: 90%;
	margin: 0 auto;
	justify-content: space-between;
	align-items: flex-start;
}

footer>div {
	width: calc(100% / 4 - 1rem);
	opacity: 0;
	margin-right: .8rem;

}

footer>div:last-child {
	margin: 0;
}

footer ul {
	padding: 0;
}

footer ul li {
	list-style: none;
	color: #000;
	margin: 1rem 0;
	color: var(--black-ligth);

}

footer ul li i {
	font-size: 1.2rem;
	margin-right: 1rem;
	cursor: pointer;
}

footer ul li a {
	cursor: pointer;
	color: var(--black-ligth);
	font-size: .9rem;
}

footer ul li a:hover {
	color: var(--green)
}

@keyframes fadeUp {
	from {
		transform: translateY(4rem)
	}

	to {
		opacity: 1;
		transform: translateY(0)
	}
}

@keyframes fadeDown {
	from {
		transform: translateY(-4rem)
	}

	to {
		opacity: 1;
		transform: translateY(0)
	}
}