html,
body {
	padding: 0;
	margin: 0;
	box-sizing: border-box;
	font-family: 'Open Sans', sans-serif;
	display: inline;
	height: 100%;
	/* overflow: hidden; */
}

/* NAVBAR */

.navbar-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	background-color: white;
	padding: 10px 20px;
}

.navbarLeft {
	font-family: 'Barlow', sans-serif;
	font-weight: 500;
}

.navbarLeft a {
	text-decoration: none;
	color: black;
}

.navbarLeft a:hover {
	color: #0099CC;
}

.navbar {
	overflow: hidden;
	height: 47px;
	transition: height 0.3s ease;
	overflow: hidden;
}


.navbar a {
	float: left;
	display: block;
	color: black;
	text-align: left;
	padding: 14px 16px;
	text-decoration: none;
	font-size: 17px;
}

.navbar a:hover {
	background-color: #0099CC;
	transition-duration: 0.5s;
	color: white;
}

.navbar .icon {
	display: none;
}

/* HOME */

.home {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-template-rows: repeat(1, 1fr);
	gap: 8px;
	background-image: linear-gradient(110deg, #000000, #777777);
	justify-content: center;
	align-items: center;
	text-align: center;
}

.logo {
	margin-top: 50px;
}

.logo img {
	margin-top: 20px;
	padding: 0 10px;
	width: 70%;
}

.titulo {
	grid-column-start: 1;
	grid-row-start: 2;
	font-family: 'Barlow', sans-serif;
	font-weight: 300;
	font-size: 40px;
	padding: 20px;
	text-transform: uppercase;
	color: white;
}

.subtitulo {
	grid-column-start: 1;
	grid-row-start: 3;
	color: white;
	padding: 30px 60px 30px 60px;
	margin-bottom: 50px;
	font-size: 20px;
}

.consulta {
	border: 2px #6DAB6F solid;
	background-color: #6DAB6F;
	padding: 16px;
	border-radius: 30px;
	color: white;
	text-decoration: none;
	font-family: 'Open Sans', sans-serif;
	font-weight: 400;
	font-size: 20px;
	text-align: center;
}

.consulta:hover {
	cursor: pointer;
	border: 2px #0099CC solid;
	background-color: #0099CC;
    color: white;
    transition-duration: 0.3s;
}

.portada {
	grid-row: span 3 / span 3;
	grid-column-start: 2;
	grid-row-start: 1;
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
}

.portada img {
	height: 100%;
	width: 100%;
	object-fit: cover;
}

.footer {
	height: 120px;
	background-color: black;
	color: white;
	text-align: center;
	display: flex;
	align-items: center;
	justify-content: space-around;
	margin-top: auto;
	padding: 15px;
	font-size: 20px;
	font-family: 'Barlow', sans-serif;
}

.footer img {
	height: 80%;
}

.links {
	display: flex;
	flex-direction: row;
	text-align: center;
}

.links a {
	text-decoration: none;
	color: white;
	margin: 5px;
}

.links a:hover {
	color: #FE9147;
	transition-duration: 0.3s;
}

.links i {
	font-size: 40px;
	margin: 15px;
}

/* --- MEDIA QUERIES MOBILE --- */

@media screen and (max-width: 767px) {
	body {
		overflow: auto;
	}

	/* NAVBAR */

	.navbar-container {
		display: block;
	}

	.navbar a:not(:first-child) {
		display: none;
	}

	.navbar.responsive {
		position: relative;
		height: 200px;
	}

	.navbar.responsive .icon {
		position: absolute;
		right: 0;
		top: 0;
	}

	.navbarLeft {
		display: none;
	}

	.navbar a.icon {
		float: inline-end;
		display: block;
	}

	.navbar.responsive a {
		float: none;
		display: block;
		text-align: left;
	}

	/* HOME */

	.home {
		grid-template-columns: 1fr;
		grid-template-rows: auto;
		text-align: center;
		padding: 20px;
		height: 80%;
	}

	.logo img {
		margin-top: 20px;
		padding: 0 10px;
		width: 85%;
	}

	.titulo {
		font-size: 25px;
		padding: 10px;
	}

	.subtitulo {
		font-size: 15px;
		padding: 20px;
	}

	.portada {
		grid-column: span 1;
		grid-row: auto;
		margin-top: 20px;
	}

	.portada img {
		display: none;
	}

	.consulta {
		font-size: 14px;
		padding: 10px 20px;
		margin-top: 20px;
	}

	.footer {
		height: 50px;
	}

	.footer p, .footer img {
		display: none;
	}

	.footer i {
		font-size: 28px;
	}
}

/* --- MEDIA QUERIES TABLET --- */

@media screen and (min-width: 768px) and (max-width: 1024px) {
	body {
		overflow: auto;
	}

	/* NAVBAR */
	.navbar-container {
		display: block;
	}

	.navbar a:not(:first-child) {
		display: none;
	}

	.navbar.responsive {
		position: relative;
		height: 200px;
	}

	.navbar.responsive .icon {
		position: absolute;
		right: 0;
		top: 0;
	}

	.navbarLeft {
		display: none;
	}

	.navbar a.icon {
		float: inline-end;
		display: block;
	}

	.navbar.responsive a {
		float: none;
		display: block;
		text-align: left;
	}

	/* HOME */
	.home {
		/* grid-template-columns: 1fr;
		grid-template-rows: auto; */
		/* gap: 10px; */
		/* padding: 20px; */
		display: flex;
		flex-direction: column;
		align-items: center;
		text-align: center;
	}

	.logo {
		order: -1;
	}

	.logo img {
		width: 400px;
	}

	.titulo {
		font-size: 40px;
		padding: 15px;
	}

	.subtitulo {
		font-size: 18px;
		padding: 20px 40px;
	/* 	margin-bottom: 15px; */
	}

	.consulta {
		font-size: 16px;
		padding: 12px 25px;
		margin-top: 15px;
	}

	.portada {
		order: -2;
		grid-column: span 1;
		grid-row: span 1;
		height: 100%;
		width: 100%;
		display: flex;
		justify-content: center;
		align-items: center;
		overflow: hidden;
	}

	.portada img {
		height: 30vh;
		width: 100%;
		object-fit: cover;
		object-position: top;
	}

	.footer {
		height: 50px;
		font-size: 18px;
	}

	.footer img {
		display: none;
	}

	.footer i {
		font-size: 28px;
	}
}
