/* DEFAULTS */
* {
	margin: 0;
	padding: 0;
	border: 0;
	outline: none;
	list-style: none;
	box-sizing: border-box;
	transition: ease 0.3s;
}
html {
	scroll-behavior: smooth;
}
a {
	text-decoration: none;
}
/* PROPIEDADES DE LA PAGINA */
body {
	background: #101010;
	color: white;
	font-family: 'Roboto';
	cursor: default;
}
.logo {
	font-family: 'Montserrat';
	font-weight: 700;
}
.slogan {
	font-family: 'Montserrat';
	font-weight: 500;
}
.url {
	font-family: 'Montserrat';
	font-weight: 800;
}
strong {
	color: #c62828;
}
div {
	width: 100%;
	overflow: hidden;
	position: relative;
	z-index: 500;
}
/* LOADER */
#loader {
	width: 100%;
	height: 100vh;
	position: fixed;
	z-index: 1100;
	top: 0;
	left: 0;
	background: rgba(0, 0, 0, 0.95);
	text-align: center;
	display: flex;
	flex-flow: column wrap;
	align-items: center;
	justify-content: center;
}
#loader img {
	width: 100px;
}
/* ENCABEAZADO */
header {
	width: 100%;
	height: 100px;
	padding: 0 20px;
	overflow: hidden;
	position: fixed;
	top: 0;
	background: black;
	display: flex;
	justify-content: space-between;
	align-items: center;
	z-index: 1000;
}
header .logo {
	display: flex;
	align-items: center;
	color: #fff;
}
header .logo img {
	width: 25px;
	margin-right: 5px;
}
/* menu */
#enlaces {
	font-family: 'Montserrat';
	font-weight: 500;
}
#enlaces ul {
	display: flex;
	flex-flow: row wrap;
}
#enlaces a {
	color: white;
	display: inline-block;
	padding: 20px 10px;
	padding-bottom: 17px;
	border-bottom: 3px solid #000;
	position: relative;
}
#enlaces a:hover {
	color: #c62828;
}
#enlaces a.active {
	columns: #c62828;
	border-bottom: 3px solid #c62828;
	font-weight: 600;
	color: #c62828;
}
#menu-toggle {
	display: none;
	background: none;
	border: none;
	cursor: pointer;
	z-index: 1001;
}
.hamburguesa {
	width: 25px;
	height: 3px;
	background-color: #fff;
	position: relative;
	display: inline-block;
	transition: all 0.3s ease;
}
.hamburguesa::before, .hamburguesa::after {
	content: '';
	width: 25px;
	height: 3px;
	background-color: #fff;
	position: absolute;
	left: 0;
	transition: all 0.3s ease;
}
.hamburguesa::before {
	top: -8px;
}
.hamburguesa::after {
	top: 8px;
}
#menu-toggle.active .hamburguesa {
	background-color: transparent;
}
#menu-toggle.active .hamburguesa::before {
	transform: rotate(45deg);
	top: 0;
}
#menu-toggle.active .hamburguesa::after {
	transform: rotate(-45deg);
	top: 0;
}
/* PORTADA */
.hero {
	height: 100vh;
	display: flex;
	justify-content: center;
	align-items: center;
	margin-top: 100px;
	background: url('img/hero.png') no-repeat fixed center center/cover;
	transition: linear;
}
.hero .overlay {
	max-width: 900px;
	background: rgba(0, 0, 0, 0.75);
	text-align: center;
	padding: 50px 0;
}
.hero .overlay img {
	width: 100px;
}
.hero .overlay .button {
	display: inline-block;
	padding: 10px 20px;
	background: #c62828;
	color: white;
	border-radius: 5px;
	font-size: 20px;
}
.hero h1 {
	font-size: 80px;
}
.hero h2 {
	font-size: 60px;
	margin-top: -15px;
	margin-bottom: 10px;
}
.hero h3 {
	font-size: 20px;
	letter-spacing: -1px;
	margin-bottom: 10px;
}
.hero h4 {
	font-size: 36px;
	letter-spacing: 5px;
	margin-bottom: 10px;
}
/* TITULOS DE SECCION */
#title h1, #title h1 > strong {
	font-family: 'Montserrat';
	font-weight: 700;
}
#title {
	text-align: center;
	padding: 50px 0;
}
/* FONDOS */
.claro {
	background: #202020;
}
/* GRIDS */
.grid {
	display: flex;
	flex-flow: row wrap;
	justify-content: space-around;
}
/* SERVICIOS */
.servicio {
	max-width: 320px;
	height: 200px;
	margin-bottom: 20px;
	background: #353535;
	border-radius: 5px;
	text-align: center;
	padding: 20px;
	display: flex;
	flex-flow: column wrap;
	align-items: center;
}
.servicio:hover {
	box-shadow: 0px 3px 15px #000;
	transform: scale(1.05);
}
.servicio .icon {
	font-family: 'Noto Emoji Color';
	font-size: 50px;
	margin-bottom: 5px;
}
.servicio h3 {
	font-family: 'Orbitron';
	font-size: 18px;
	margin-bottom: 5px;
}
.servicio p {
	font-size: 14px;
	font-weight: 400;
}
/* PORRTAFOLIO */
.item {
	max-width: 350px;
	height: 250px;
	border-radius: 10px;
	margin-bottom: 20px;
	opacity: 0.8;
}
.item img {
	width: 100%;
	transform: translateY(-30px);
	transition: linear 1s;
}
.item .info {
	position: absolute;
	bottom: 0;
	background: rgba(0, 0, 0, 0.75);
	padding: 15px;
	transform: translateY(100px);
	transition: linear 0.3s;
}
.item .info p {
	font-size: 14px;
}
.item .info h3 {
	font-size: 20px;
	color: #c62828;
	margin-bottom: 5px;
}
.item:hover {
	transform: scale(1.1);
	box-shadow: 0px 3px 5px #353535;
}
.item:hover img {
	transform: scale(1.1) translateY(0);
}
.item:hover .info {
	transform: translateY(0);
}
/* CONTENIDO */
.contenido {
	display: flex;
	justify-content: center;
}
.contenido .text {
	max-width: 900px;
	padding: 0 30px;
}
.contenido .text p {
	text-align: justify;
	margin-bottom: 1em;
	font-size: 18px;
}
/* NOSOTROS */
.nosotros .text {
	padding-bottom: 80px;
}
/* CONTACTO */
/* formulario */
.formulario {
	width: 100%;
	max-width: 480px;
	margin: 0 auto;
	background: #202020;
	padding: 20px;
	border-radius: 5px;
	margin-bottom: 80px;
}
.formulario input, .formulario select, .formulario textarea, .formulario button {
	width: 100%;
}
.formulario input, .formulario select, .formulario textarea {
	margin-bottom: 10px;
	background: #101010;
	color: white;
	padding: 5px 10px;
	border-radius: 5px;
}
.formulario input, .formulario select {
	height: 50px;
}
.formulario button {
	background: #81c784;
	color: white;
	font-size: 20px;
	font-weight: 500;
	padding: 20px 0;
	border-radius: 10px;
	cursor: pointer;
}
.formulario button:hover {
	transform: scale(1.01);
	background: #4caf50;
}
.formulario button:active {
	background: #c62828;
	border-radius: 30px;
	transform: scale(1.0);
}
/* RESPONSIVE DESIGN */
@media screen and (max-width: 1000px) {
	header .logo img {
		display: none;
	}
	#menu-toggle {
		display: block;
	}
	#enlaces {
		position: fixed;
		width: 100%;
		max-width: 480px;
		height: calc(100vh - 100px);
		top: 100px;
		right: 0;
		background: rgba(0, 0, 0, 0.9);
		transform: translateX(100vh); /* fuera de la pantalla */
	}
	#enlaces.active {
		transform: translateY(0); /* justo debajo del header */
	}
	#enlaces ul {
		width: 100%;
		height: 100%;
		flex-flow: column wrap;
		align-items: center;
		justify-content: center;
		text-align: center;
	}
	#enlaces li {
		width: 100%;
	}
	#enlaces a {
		display: block;
		width: 100%;
		border: none;
		font-size: 36px;
	}
	#enlaces a.active {
		border: none;
		color: #c62828;
	}
	.hero .overlay {
		height: 100%;
		display: flex;
		flex-flow: column wrap;
		justify-content: center;
		align-items: center;
	}
}
/* PIE DE PAGINA */
footer {
	width: 100%;
	overflow: hidden;
	display: flex;
	flex-flow: row wrap;
}
.autor {
	display: flex;
	justify-content: center;
	text-align: center;
	align-items: center;
	opacity: 0.6;
	padding: 20px 0;
}
.autor h1 {
	font-size: 18px;
}
.autor h1.logo {
	margin-right: 10px;
}
@media screen and (max-width: 768px) {
	.hero {
		background-attachment: scroll;
		background-size: auto;
	}
	.hero h1 {
		font-size: 48px;
	}
	.hero h2 {
		font-size: 36px;
	}
	.hero h3 {
		font-size: 14px;
		letter-spacing: -1.5px;
	}
	.hero h4 {
		font-size: 30px;
	}
	.contenido .text {
		padding: 0 60px;
	}
	.contenido .text p {
		font-size: 16px;
	}
	.nosotros .text {
		padding-bottom: 80px;
	}
	.contacto .text {
		padding: 0 20px;
	}
	.item .info {
		transform: translateY(0);
	}
	.autor h1.logo {
		margin: 0;
	}
	.autor h1.derechos {
		display: none;
	}
}