@import url('https://fonts.googleapis.com/css2?family=Rozha+One&display=swap');

/* =========================
   RESET
========================= */
*{
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: 'Open Sans', sans-serif;
}

/* =========================
   FONDO TECNOLÓGICO
========================= */
body{
	font-family: "Rozha One", serif;
	min-height: 100vh;
	background:
		radial-gradient(circle at 15% 20%, rgba(0,255,255,.15), transparent 40%),
		radial-gradient(circle at 85% 30%, rgba(30,136,229,.25), transparent 45%),
		linear-gradient(160deg, #020024, #0e4e79 60%, #041c2f);
	background-attachment: fixed;
	color: #ffffff;
	position: relative;
	overflow-x: hidden;
}

/* =========================
   PARTICULAS ANIMADAS
========================= */
body::after {
	content: '';
	position: fixed;
	inset: 0;
	z-index: -1;
	background: radial-gradient(circle, rgba(255,255,255,0.05) 1px, transparent 1px);
	background-size: 50px 50px;
	opacity: 0.5;
	animation: particleMove 40s linear infinite;
}

@keyframes particleMove {
	from { background-position: 0 0; }
	to { background-position: 200px 200px; }
}

/* =========================
   NAVBAR
========================= */
nav{
	max-width: 1000px;
	margin: 50px auto;
	background: rgba(255,255,255,.08);
	backdrop-filter: blur(14px);
	border-radius: 22px;
	box-shadow: 0 25px 55px rgba(0,0,0,.45);
	border: 1px solid rgba(255,255,255,.15);
}

.menu-horizontal{
	list-style: none;
	display: flex;
	justify-content: center;
}

.menu-horizontal > li > a{
	display: block;
	padding: 16px 35px;
	color: white;
	text-decoration: none;
	font-size: 18px;
	letter-spacing: 1px;
	transition: all .35s ease;
}

.menu-horizontal > li > a:hover{
	background: linear-gradient(135deg, #00e5ff, #1e88e5);
	color: #000;
	border-radius: 18px;
}

/* =========================
   TITULOS
========================= */
.text {
	padding-top: 90px;
	text-align: center;
	font-size: 34px;
	letter-spacing: 5px;
	text-transform: uppercase;
	position: relative;
}

.text::after{
	content: "";
	display: block;
	width: 120px;
	height: 3px;
	background: linear-gradient(90deg, #00e5ff, #1e88e5);
	margin: 18px auto 0;
	border-radius: 10px;
}

/* =========================
   CONTENEDOR IMAGENES
========================= */
.img{
	display: flex;
	justify-content: center;
	gap: 35px;
	margin: 40px auto;
	flex-wrap: wrap;
}

/* =========================
   IMAGENES (SIN CAMBIOS)
========================= */
.imagen-b1,
.imagen-b2,
.imagen-b3{
	width: 300px;
	height: 300px;
	display: block;
	margin: 20px;
}

/* =========================
   TARJETAS TECNOLÓGICAS
========================= */
.image-container{
	display: inline-block;
	cursor: pointer;
	padding: 16px;
	border-radius: 22px;
	background: rgba(255,255,255,.08);
	backdrop-filter: blur(12px);
	border: 1px solid rgba(255,255,255,.15);
	box-shadow: 0 25px 55px rgba(0,0,0,.45);
	transition: transform .4s ease, box-shadow .4s ease;
}

.image-container:hover{
	transform: translateY(-14px);
	box-shadow: 0 35px 80px rgba(0,0,0,.65);
}

/* =========================
   TEXTO DOCENTE
========================= */
.cur{
	margin-top: 12px;
	padding: 12px;
	text-align: center;
	font-size: 18px;
	background: linear-gradient(135deg, #e3f2fd, #ffffff);
	color: #000;
	border-radius: 14px;
	box-shadow: inset 0 0 10px rgba(0,0,0,.08);
}

/* =========================
   LIGHTBOX (MISMO EFECTO)
========================= */
.fullscreen-image{
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.8);
	display: none;
	justify-content: center;
	align-items: center;
	padding: 10px;
	z-index: 9999;
}

.fullscreen-image img{
	max-width: 95%;
	max-height: 95%;
	object-fit: contain;
}

/* =========================
   CONTENEDOR BLANCO
========================= */
#html{
	margin: auto;
	padding: 30px;
	max-width: 1000px;
	background: white;
	border-radius: 20px;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px){
	.text{
		font-size: 26px;
		letter-spacing: 3px;
	}
}
