
body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: #ffffff;
  color: #333333;
}

.barra-superior {
  background-color: #1976d2;
  padding: 1em;
  text-align: center;
  color: white;
}

.contenedor {
  padding: 2em;
  max-width: 1200px;
  margin: auto;
}

.grid-unidades {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 2em;
  justify-items: center;
}

.unidad {
  text-align: center;
  transition: transform 0.3s ease;
}

.unidad:hover {
  transform: scale(1.05);
}

.unidad img {
  width: 100px;
  height: auto;
  transition: filter 0.3s ease;
}

.unidad img:hover {
  filter: drop-shadow(0 0 5px #63a4ff);
}

.unidad p {
  margin-top: 0.5em;
  font-weight: bold;
  color: #1976d2;
}


/* Estilo para el logo */
header .logo {
  display: block;
  margin: 0 auto;
}

/* Estilo para el texto debajo del logo */
header p {
  text-align: center;
  font-weight: bold;
  font-size: 1.2em;
  margin-top: 0.5em;
}
#frase-disenio {
  text-align: center;
  font-style: italic;
  margin: 1.5em auto;
  color: #1976d2;
  font-size: 1.1em;
}


/* Estilo para la página actual */
a.current-page {
  color: orange;
  font-weight: bold;
  border-bottom: 2px solid orange;
}

/* Estilo para el footer */
.footer-autor {
  background-color: #1976d2;
  color: white;
  text-align: center;
  padding: 1em;
  font-size: 0.9em;
}
.link-con-icono {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  text-decoration: none;
  color: #1976d2;
  font-weight: bold;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.link-con-icono:hover {
  color: #b35c00;
}

.link-con-icono img {
  height: 44px;
  width: auto;
  transition: transform 0.3s ease;
}

.link-con-icono:hover img {
  transform: scale(1.1);
}
