/* =======================================================
   APPSWORT LEARNING – CSS FINAL RESPONSIVE v3.2 (LIMPIO)
   Sin menú y sin footer
======================================================= */

/* -------------------------
   1. VARIABLES / BASE
------------------------- */
@import url("https://fonts.googleapis.com/css2?family=Titillium+Web:wght@400;700&display=swap");

:root {
  --font: "Titillium Web", sans-serif;
  --azul-oscuro: #006996;
  --azul-claro: #009ee2;
  --gris-texto: #555;
  --gris-suave: #f5f5f5;
  --color-gradiente-inicio: #fff;
  --color-gradiente-final: #fff;
  --header-height: 70px; /* ya no se usa, pero lo dejo por compatibilidad */
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
  height: 100%;
  font-family: var(--font);
  background: #fff;
  color: #000;
}

/* -------------------------
   2. CONTENEDOR GENERAL
------------------------- */

.container {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, var(--color-gradiente-inicio), var(--color-gradiente-final));
}

/* MAIN CENTRADO VERTICAL */
.main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;   
  align-items: center;      
  text-align: center;
  padding: 20px 0;
}

.email{
  color:#006996;
  font-size: 4rem;
  margin-top: 50px;

}

/* -------------------------
   3. RUTAS / ATAJOS
------------------------- */

.atajos-new {
  width: 100%;
  background: #fff;
  padding: 10px 20px;
  font-size: 0.9rem;
}

.atajos-item { color: var(--azul-oscuro); text-decoration: none; }
.atajos-item::after { content: " > "; }
.atajos-item:last-child::after { content: ""; }

@media (max-width: 768px) {
  .atajos-new { display: none; }
}

/* -------------------------
   5. CABECERA / TEXTOS
------------------------- */

.cabecera { margin-bottom: 25px; }
.cabecera_img { height: 80px; }

.titulo-texto {
  font-size: 2.6rem;
  margin-top: 15px;
  color: var(--azul-oscuro);
}

.titulo-descripcion {
  font-size: 1.5rem;
  width: 80%;
  margin: 15px auto 40px;
}

@media (max-width: 768px) {
  .cabecera_img { height: 60px; }
  .titulo-texto { font-size: 2rem; }
  .titulo-descripcion { font-size: 1.2rem; }
}

/* -------------------------
   6. PLANTILLA
------------------------- */

.plantilla {
  width: 90%;
  margin: 40px auto;
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.imagen {
  width: 100%;
  border-radius: 10px;
  filter: drop-shadow(5px 5px 5px rgba(0,0,0,0.35));
}

.descripcion { text-align: justify; font-size: 1.4rem; }

@media (max-width: 768px) {
  .plantilla { grid-template-columns: 1fr; }
  .descripcion { font-size: 1.2rem; padding: 0 10px; }
}

/* -------------------------
   7. LISTADO + LOGO CENTRAL + TEXTOS CENTRADOS
------------------------- */

.listado {
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.listado .titulo,
.listado .descripcion {
  width: 90%;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

/* SOLO ESCRITORIO → tamaño 45% */
@media (min-width: 769px) {
  .listado_logo_img {
    width: 45%;
    max-width: 80%;
  }
}

/* SOLO MÓVIL */
@media(max-width:768px){
  .listado_logo_img {
    width: clamp(200px, 70%, 350px);
  }
}

/* =======================================================
   8. SE HA ELIMINADO POR COMPLETO EL FOOTER
======================================================= */

/* =======================================================
   ANIMACIONES MODERNAS – APPSWORT (FIX v2)
======================================================= */

@keyframes fadeUp {
  0% { opacity: 0; transform: translateY(40px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes slideLeftBounce {
  0% { opacity: 0; transform: translateX(-120px); }
  70% { opacity: 1; transform: translateX(8px); }
  100% { transform: translateX(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/*** Logo con entrada lateral ***/
.listado_logo_img {
  opacity: 1;
  animation: slideLeftBounce 0.9s ease-out forwards;
}

/*** Título bajo el logo ***/
.listado .titulo {
  opacity: 0;
  animation: fadeUp 0.8s ease-out 0.1s forwards;
}

/*** Descripción bajo el título ***/
.listado .descripcion {
  opacity: 0;
  animation: fadeUp 0.8s ease-out 0.25s forwards;
}
