@import url("https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,900");
@import url("fontawesome-all.min.css");

/* Reset básico */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre, a,
abbr, acronym, address, big, cite, code, del, dfn, em,
img, ins, kbd, q, s, samp, small, strike, strong,
sub, sup, tt, var, b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, figure,
figcaption, footer, header, hgroup, menu, nav, output,
ruby, section, summary, time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}

body {
	line-height: 1;
	background: #fff;
	overflow: hidden;
	-webkit-text-size-adjust: none;
}

ol, ul {
	list-style: none;
}

blockquote, q {
	quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

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

/* Tipografía */
body, input, select, textarea {
	color: #fff;
	font-family: 'Source Sans Pro', sans-serif;
	font-size: 15pt;
	font-weight: 300;
	letter-spacing: -0.025em;
	line-height: 1.75em;
}

/* Enlaces */
a {
	border-bottom: dotted 1px;
	color: inherit;
	text-decoration: none;
	transition: border-color 0.2s ease-in-out;
}

a:hover {
	border-color: transparent;
}

/* Íconos FontAwesome */
.icon {
	text-decoration: none;
	position: relative;
}

.icon:before {
	display: inline-block;
	font-family: 'Font Awesome 5 Free';
	font-style: normal;
	font-variant: normal;
	font-weight: 400;
	text-rendering: auto;
	line-height: 1;
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
	text-transform: none !important;
}

.icon.solid:before {
	font-weight: 900;
}

.icon.brands:before {
	font-family: 'Font Awesome 5 Brands';
}

.icon > .label {
	display: none;
}

/* === FONDO PERSONALIZADO CENTRADO === */
#bg {
	/* Desactivamos el fondo animado antiguo */
	animation: none !important;
	background-image: url("../Imagenes/fondo.png");
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	background-attachment: fixed;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: -2;
}

/* === OVERLAY PARA CONTRASTE (OPCIONAL) === */
#overlay {
	background-color: rgba(0, 0, 0, 0.25); /* Ajusta la opacidad según necesidad */
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: -1;
}

/* Estructura principal */
#wrapper {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 1;
}

/* Contenedor principal */
#main {
	height: 100%;
	width: 100%;
	position: fixed;
	top: 0;
	left: 0;
	text-align: center;
}

#main:before {
	content: '';
	display: inline-block;
	height: 100%;
	margin-right: 0;
	vertical-align: middle;
	width: 1px;
}

/* Header */
#header {
	position: relative;
	display: inline-block;
	width: 90%;
	text-align: center;
	top: -1em;
	vertical-align: middle;
	cursor: default;
	opacity: 1;
}

#header h1 {
	font-size: 4.35em;
	font-weight: 900;
	letter-spacing: -0.035em;
	line-height: 1em;
}

#header p {
	font-size: 1.25em;
	margin: 0.75em 0 0.25em 0;
	opacity: 0.75;
}

/* Navegación */
#header nav {
	margin-top: 1.5em;
}

#header nav ul {
	padding: 0;
}

#header nav li {
	display: inline-block;
	height: 5.35em;
	width: 5.35em;
	line-height: 5.885em;
	position: relative;
}

#header nav a {
	border: 0;
	display: inline-block;
}

#header nav a:before {
	border: solid 1px #fff;
	border-radius: 100%;
	display: block;
	font-size: 1.75em;
	height: 2.5em;
	line-height: 2.5em;
	text-align: center;
	width: 2.5em;
	transition: all 0.2s ease-in-out;
}

#header nav a:hover:before {
	background-color: rgba(255, 255, 255, 0.175);
	color: #fff;
}

#header nav a span {
	display: none;
}

/* Footer */
#footer {
	position: absolute;
	bottom: 0;
	width: 100%;
	height: 6em;
	line-height: 8em;
	text-align: center;
	background: linear-gradient(to top, rgba(0,0,0,0.5) 75%, rgba(0,0,0,0));
}
