@font-face {
	font-family: "Inter";
	font-style: normal;
	font-weight: 300;
	font-display: swap;
	src: url('/fonts/inter-v12-latin-300.woff2') format('woff2'),
	     url('/fonts/inter-v12-latin-300.woff') format('woff');
}

@font-face {
	font-family: "Inter";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('/fonts/inter-v11-latin-regular.woff2') format('woff2'),
	     url('/fonts/inter-v11-latin-regular.woff') format('woff');
}

@keyframes fadeUp {
	from { opacity: 0; transform: translate(-50%, -45%); }
	to   { opacity: 1; transform: translate(-50%, -50%); }
}

@keyframes fadeIn {
	from { opacity: 0; }
	to   { opacity: 1; }
}

body, html {
	height: 100%;
	margin: 0;
}

.bgimg {
	background-image: url('/images/portada.webp');
	height: 100%;
	background-position: center;
	background-size: cover;
	position: relative;
	color: white;
	font-family: "Inter", system-ui, sans-serif;
	font-size: clamp(14px, 2vw, 20px);
}

.bgimg::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(to bottom, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.5) 100%);
}

.middle {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	text-align: center;
	z-index: 1;
	animation: fadeUp 1.2s ease both;
}

h1 {
	font-size: clamp(2.5rem, 6vw, 5rem);
	font-weight: 300;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	margin: 0 0 0.5rem;
}

h2 {
	font-size: clamp(1rem, 2.5vw, 1.6rem);
	font-weight: 300;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	margin: 0.75rem 0 0;
	opacity: 0.85;
}

hr {
	border: none;
	height: 2px;
	width: 50px;
	margin: 0.75rem auto;
	background: linear-gradient(90deg, transparent, #e8c97a, transparent);
}

.bottom {
	position: absolute;
	bottom: 0;
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 0.75rem 1rem;
	border-top: 1px solid rgba(255,255,255,0.2);
	box-sizing: border-box;
	z-index: 1;
	animation: fadeIn 2s ease 0.8s both;
}

.bottomleft {
	text-align: center;
	font-style: italic;
	font-size: clamp(0.85rem, 2vw, 1.1rem);
	opacity: 0.75;
	letter-spacing: 0.05em;
}
