* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: sans-serif;
	font-size: 18px;
}

body {
	background-color: var(--almost-white);
}

:root {
	--almost-white: hsl(0, 0%, 98%);
	--medium-gray: hsl(0, 0%, 41%);
	--almost-black: hsl(0, 0%, 8%);
}

.header {
	width: 100%;
	overflow-x: hidden;
	min-height: 100vh;
}

.nav {
	width: 100%;
	height: 80px;
	position: fixed;
	top: 0;
	left: 0;
	background-color: var(--almost-white);
	z-index: 60;
	box-shadow: 0 0 5px rgba(0,0,0,0.4);
}

.nav::after {
	content: "";
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: transparent;
	pointer-events: none;
	background-color: rgba(0,0,0,0.7);
	opacity: 0;
	z-index: 1;
	transition: opacity 0.5s ease;
}

.nav.active::after {
	opacity: 1;
	pointer-events: unset;
}

.nav__container {
	width: 90%;
	height: 100%;
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.logo {
	margin-top: 15px;
}




/* Hamburger menu */
.btn-menu {
	background-color: transparent;
	outline: none;
	border: none;
	cursor: pointer;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 35px;
	height: 30px;
	position: relative;
	transition: all 0.4s ease;
	z-index: 300;
}

.btn-menu .line {
	display: block;
	width: 100%;
	height: 3px;
	background-color: var(--almost-black);
	transition: all 0.4s ease;
	pointer-events: none;
}

.btn-menu .line-1 {
	position: absolute;
	top: 0;
}

.btn-menu .line-3 {
	position: absolute;
	bottom: 0;
}

/* Classes when hamburger button is clicked */
.nav.active .btn-menu {
	transform: rotate(180deg);
}
.nav.active .btn-menu .line-1 {
	transform: translateY(13px) rotate(45deg);
}

.nav.active .btn-menu .line-2 {
	opacity: 0;
}

.nav.active .btn-menu .line-3 {
	transform: translateY(-13px) rotate(-45deg);
}
/* End Hamburger menu */



/* Links menu */
.menu {
	position: fixed;
	top: 0;
	right: 0;
	height: 100vh;
	width: 65vw;
	padding-top: 100px;
	background-color: #fff;
	list-style: none;
	padding-left: 5vw;
	padding-right: 5vw;
	z-index: 300;
	transform: translateX(101%);
	/*transition: all 0.5s;*/
}

.nav.active .menu {
	transform: translateX(0);
}

.menu * a {
	text-decoration: none;
	color: var(--medium-gray);
	cursor: pointer;
}

.nav-item {
	padding-bottom: 20px;
}

/* Submenus */
.nav__header {
	display: inline-flex;
	align-items: center;
	margin-bottom: 5px;
	cursor: pointer;
}

.collapsed-header {
	pointer-events: none;
}

.collapsed-arrow {
	margin-left: 15px;
	transition: transform 0.4s ease;
	pointer-events: none;
}

.menu-2 {
	list-style: none;
	padding-left: 30px;
	height: 0;
	overflow: hidden;
	transition: all 0.4s ease;
}
/* 40px y 30px extras */

.collapsed-item {
	padding: 5px 0;
}

.collapsed-link img {
	margin-right: 10px;
}

.nav__buttons {
	display: flex;
	flex-direction: column;
	align-items: center;
	grid-gap: 5px;
}

.nav-cta {
	display: block;
	padding: 10px 0;
	text-align: center;
}

.nav-cta.border {
	width: 100%;
	border: 1px solid;
	border-radius: 15px;
	transition: all 0.3s;
}

.nav-cta.border:hover {
	color: var(--almost-black);
}


/* Styles when menu is open */
.rotate-arrow {
	transform: rotate(180deg);
}

/* Class for dark background */
.capa {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	background-color: rgba(0,0,0,0.7);
	z-index: 50;
	opacity: 0;
	pointer-events: none;
	/*transition: opacity 0.5s ease;*/
}

.nav.active ~ .capa {
	opacity: 1;
	pointer-events: unset;
}


/* Hero Texts */
.header__hero {
	position: relative;
	margin-top: 80px;
	width: 100%;
	max-width: 1200px;
	overflow: hidden;
}

.hero-img {
	width: 100%;
	height: 45vh;
	overflow: hidden;
}

.hero-img img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center top;
}

.hero__texts {
	text-align: center;
}

.hero-title {
	width: 95%;
	margin: 30px auto 20px;
	font-size: 38px;
	font-weight: 700;
	color: var(--almost-black);
}

.hero-review {
	width: 95%;
	margin: 0 auto 30px;
	color: var(--medium-gray);
}

.hero-cta {
	display: inline-block;
	text-decoration: none;
	cursor: pointer;
	background-color: var(--almost-black);
	color: var(--almost-white);
	border: 1px solid transparent;
	padding: 15px 30px;
	border-radius: 12px;
	transition: all 0.3s;
}

.hero-cta:hover {
	background-color: var(--almost-white);
	color: var(--almost-black);
	border-color: inherit;
}

.hero__brands {
	width: 95%;
	margin: 0 auto;
	margin-top: 40px;
	padding-bottom: 20px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.hero__brands figure {
	width: 20%;
}

.hero__brands img {
	width: 100%;
}

@media screen and (min-width: 700px) { 
	.hero-img {
		height: 50vh;
	}

	.hero-img img {
		object-position: center top;
	}
}

@media screen and (min-width: 900px) {
	.nav {
		position: relative;
	}

	.btn-menu {
		display: none;
	}

	.menu {
		position: relative;
		transform: translateX(0);
		padding: 0;
		display: grid;
		grid-template-columns: repeat(2,1fr);
		grid-template-rows: 1fr;
		align-items: center;
		width: 85%;
		height: 100%;
		background-color: transparent;
	}

	.nav__header {
		margin: 0;
	}

	.nav__item__container {
		width: 100%;
		height: 100%;
		display: grid;
		grid-auto-flow: column;
		align-items: center;
		grid-gap: 20px;
	}

	.nav-item {
		padding: 0;
		display: block;
		position: relative;
	}

	.collapsed-arrow {
		margin-left: 8px;
	}

	.nav__buttons {
		width: 100%;
		flex-direction: row;
		justify-content: flex-end;
		grid-column: 2/3;
	}

	.nav-cta.border {
		width: auto;
		padding: 10px 40px;
		margin-left: 30px;
	}


	/* Start Submenu */
	.menu-2 {
		position: absolute;
		top: 40px;
		background-color: var(--almost-white);
		padding: 0 10px 0 15px;
		border-radius: 15px;
		width: 140px;
		box-shadow: 0 0 10px rgba(0,0,0,0.2);
	}

	.menu-2 {
		right: 20px;
	}

	.menu-2.left-0 {
		left: 0;
		width: 120px;
	}

	.collapsed-item {
		padding: 10px 0;
	}
	/* End Submenu */


	/* HERO */
	.header {
		min-height: 85vh;
	}

	.header__hero {
		top: 0;
		width: 80%;
		min-height: calc(85vh - 80px);
		margin: 10px auto 0;
		align-items: center;
		display: grid;
		grid-template-columns: repeat(2,1fr);
		grid-template-rows: 1fr;
		grid-gap: 40px;
		padding-bottom: 20px;
	}

	.hero-img {
		grid-column: 2/3;
		grid-row: 1/2;
		overflow: hidden;
		height: 100%;
		width: 100%;
	}

	.hero-img img {
		margin: 0 auto;
		object-position: center;
		object-fit: contain;
	}

	.hero__texts {
		text-align: left;
	}

	.hero-title {
		width: 100%;
		font-size: 60px;
		margin: 0;
	}

	.hero-review {
		width: 90%;
		margin: 40px 0;
	}
}

@media screen and (min-width: 1300px) {
	.hero__texts {
		width: 100%;
		height: 100%;
		display: flex;
		flex-direction: column;
		justify-content: flex-end;
	}

	.hero-title {
		font-size: 80px;
	}

	.hero-review {
		width: 75%;
		font-size: 20px
	}

	.hero-cta {
		text-align: center;
		width: 180px;
		font-size: 20px;
		padding: !0px 0;
	}

	.hero__brands {
		padding-bottom: 40px;
		margin-top: 50px;
	}
}