/* 1. h2: fuente 18px y texto azul */
h2 {
  font-size: 18px;
  color: blue;
}

/* 3. Elemento con ID mi-id: fuente 20px */
#mi-id {
  font-size: 20px;
}
#logo{
   color:rgb(255, 255, 255);
    font-size: 24px;
    font-family: Georgia, 'Times New Roman', Times, serif;
    padding-left: 10px;
    float: left;
    padding-top: 10px;
}
#logo1{
   color: rgb(0, 17, 255);
    font-size: 24px;
    margin-right: 20px;
    padding-left: 10px;
    text-align: left;
}
.subtitulo1{
    color: black;
    font-size: 24px;
    margin-right: 20px;
    padding-left: 10px;
    text-align: left;
}
/* 4. Flexbox para header y footer */
header, footer {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #333;
  color: white;
  padding: 20px;
}

/* 4. GRID para el contenido */
main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  padding: 20px;
}

/* 2. Tabla con CSS creativo */
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}
th {
  background: #4CAF50;
  color: white;
  padding: 10px;
  border: 1px solid #eb3f3f;
}
td {
  border: 1px solid #eb3f3f;
  padding: 8px;
  text-align: center;
}
tr:nth-child(even) {
  background: #f2f2f2;
}
td:hover {
  background: #ddd;
}
.enlace {
  display: flex;
  justify-content: space-around;
  align-items: center;
}
.enlace a {
    color: white;
    text-decoration: none;
}

.imagenes {
  grid-column: 1 / -1;
  margin-top: 20px;
}

.imagen-caja {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 15px;
  padding: 15px;
  background: #f7f7f7;
  border: 2px solid #333;
  border-radius: 12px;
}

.imagen-caja img {
  display: block;
  max-width: 100%;
  height: auto;
  border: 3px solid #333;
  border-radius: 10px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
}
