* {
	box-sizing: border-box;
	scroll-behavior: smooth;
}

body,
h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: "Lato", sans-serif;
}

body,
html {
	height: 100%;
	color: #777;
	line-height: 1.8;
}

h3 {
	font-weight: 300;
	line-height: 1;
}

#encabezado {
	text-align: center;
	padding: 12px 24px;
	font-size: 24px;
	letter-spacing: 5px;
}

#myNavbar {
	background: rgba(255, 255, 255, 0.5);
}
.w3-button {
	color: #333;
}

/* Create a Parallax Effect */
.bgimg-1,
.bgimg-2,
.bgimg-3 {
	background: fixed center no-repeat;
	background-size: cover;
}

/* First image (Logo. Full height) */
.bgimg-1 {
	background-image: url(../../w3images/port_home.jpg);
	min-height: 100%;
}

/* Second image (Portfolio) */
.bgimg-2 {
	background-image: url(../../w3images/port_portafolio.jpg);
	min-height: 400px;
}

/* Third image (Contact) */
.bgimg-3 {
	background-image: url(../../w3images/port_contact.jpg);
	min-height: 400px;
}

.w3-wide {
	letter-spacing: 10px;
}
.w3-hover-opacity {
	cursor: pointer;
}
.w3-hover-grayscale {
	cursor: pointer;
}

/*EFECTO OVERLAY*/
.caja_overlay {
	position: relative;
}

/* The overlay effect - lays on top of the container and over the image */
.overlay {
	position: absolute;
	bottom: 0;
	background: rgb(0, 0, 0);
	background: rgba(0, 0, 0, 0.5); /* Black see-through */
	color: #f1f1f1;
	width: 100%;
	transition: 0.5s ease;
	opacity: 0;
	color: white;
	font-size: 20px;
	padding: 20px;
	text-align: center;
}

/* When you mouse over the container, fade in the overlay title */
.caja_overlay:hover .overlay {
	opacity: 1;
}

.menu_portafolio a {
	text-decoration: none;
	color: #10adb9;
}

.menu_portafolio a:hover {
	text-decoration: underline;
}

#nombre_encabezado {
	white-space: nowrap;
	letter-spacing: 5px;
}

.web-links-container {
	padding: 0 20px;
}

.web-links {
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-gap: 3em;
}

.web-links > div {
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 300px;
	flex-direction: column;
	margin: 0;
	background: #ccc no-repeat center center;
	background-size: cover;
}

.web-links a > div {
	font-size: 14px;
	background: rgba(0, 0, 0, 0.7);
	border-radius: 0.3em;
	padding: 0.5em;
}

.web-links .secundo {
	background-image: url("../../w3images/secundo.jpg");
}

.web-links .aleximmo {
	background-image: url("../../w3images/aleximmo.jpg");
}

.web-links .elitis {
	background-image: url("../../w3images/elitis.jpg");
}

.web-links .immoks {
	background-image: url("../../w3images/immoks.jpg");
}

.web-links .metropole {
	background-image: url("../../w3images/metropole.jpg");
}

.web-links .onepagesite {
	background-image: url("../../w3images/onepagesite.jpg");
}

.web-links a {
	display: grid;
	place-items: center;
	align-items: flex-end;
	width: 100%;
	height: 100%;
	text-decoration: none;
	padding: 1em;
	transition: background 0.3s;
}

.web-links a:hover {
	background: rgba(0, 0, 0, 0.6);
}

.web-links i {
	color: #fff;
	font-size: 21px;
}

.web-links b {
	color: #fff;
	display: inline-block;
	font-weight: 300;
	text-transform: uppercase;
}

.web-links ul {
	margin: 0;
	padding: 0;
	list-style: none;
	line-height: 1.5;
}

.inline-list {
	padding: 0;
	margin-top: 0;
	text-align: center;
}

.inline-list li {
	display: inline-block;
	list-style: circle;
	margin: 0 3px;
	line-height: 1.5;
}

/* FOOTER SELECTORS */
.footer__topbtn {
	background: #7d2f05;
	border: none;
	color: #fff;
	position: fixed;
	bottom: 50px;
	right: -10%;
	font-size: 16px;
	text-align: center;
	display: grid;
	place-items: center;
	border-radius: 50%;
	width: 3em;
	height: 3em;
	cursor: pointer;
	transition: all .3s;
}
.footer__topbtn--visible {
right: 3%;
}
.footer__topbtn:hover {
	background: #f00;
}

/* Turn off parallax scrolling for tablets and phones */
@media only screen and (max-width: 800px) {
	p,
	li,
	label,
	a {
		font-size: 18px;
	}

	#encabezado {
		width: 80%;
		text-align: center;
		padding: 10px;
		font-size: 16px;
		letter-spacing: 0;
	}

	#nombre_encabezado {
		font-size: 18px;
		letter-spacing: 3px;
	}

	.bgimg-1,
	.bgimg-2,
	.bgimg-3 {
		background: #55a5c5;
		min-height: 150px;
	}

	.bgimg-1 {
		background-image: url(../../w3images/port_home_phone.jpg);
		background-size: cover;
		min-height: 300px;
	}

	.w3-wide {
		letter-spacing: 0;
	}

	.w3-bar .w3-button {
		font-size: 11px;
	}

	.web-links {
		grid-template-columns: 1fr;
	}
}
