/* informatica.css */

/* Reset básico */
body, h1, h2, p, a {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body.pagina-informatica {
  font-family: 'Segoe UI', sans-serif;
  background-color: #f5f7fa;
  color: #333;
  line-height: 1.6;
}

/* Encabezado */
header {
  background-color: #002b5c;
  color: white;
  padding: 20px;
}

.encabezado-flex {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 20px;
  background-color: #002b5c;
  color: white;
}

.logo-wrapper {
  position: absolute;
  left: 20px;
}

.logo-carreras {
  height: 80px;
  width: auto;
}

.titulo-carrera {
  margin: 0 auto;
  font-size: 24px;
  text-align: center;
}


/* Contenedor principal */
.contenedor-bloques {
  max-width: 960px;
  margin: 30px auto;
  padding: 0 20px;
}

/* Bloques tipo tarjeta */
.bloque {
  background: white;
  border: 1px solid #ddd;
  border-left: 6px solid #002b5c;
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 30px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

.bloque:hover {
  transform: translateY(-5px);
}

.bloque h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.4em;
  color: #002b5c;
}

.bloque ul {
  padding-left: 20px;
  list-style-type: disc;
  margin-top: 8px;
}

.bloque li {
  margin-bottom: 8px;
}

/* Enlaces */
a {
  color: #002b5c;
  text-decoration: none;
  font-weight: bold;
}

a:hover {
  text-decoration: underline;
}

/* Footer fijo con logo */
footer.pie {
  background-color: #002b5c;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 15px;
  font-size: 0.9em;
  position: fixed;
  bottom: 0;
  width: 100%;
  transform: translateY(0);
  transition: transform 0.3s ease;
  z-index: 100;
}

.logo-footer {
  height: 50px;
  width: auto;
  margin-bottom: 8px;
}
