body {
  font-family: Arial, sans-serif;
  margin: 0;
  background: #f2f9ff;
  color: #222;
}

nav {
  background: #004c70;
  padding: 0.5rem;
  text-align: center;
}

nav a {
  color: white;
  margin: 0 1rem;
  text-decoration: none;
}

#google_translate_element {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  z-index: 1000;
  transform: scale(0.85);
  transform-origin: top right;
}

header {
  background: linear-gradient(to right, #0073aa, #00aa88);
  color: white;
  padding: 3rem 1rem 2rem;
  text-align: center;
  position: relative;
}

header h1 {
  font-size: 2.2rem;
  margin: 0.2rem;
}

header p {
  margin: 0;
  font-size: 1rem;
}

.opciones {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  padding: 2rem;
}

.opcion {
  background: white;
  padding: 1rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  text-align: center;
  width: 280px;
}

.opcion img {
  width: 100%;
  border-radius: 10px;
  height: 180px;
  object-fit: cover;
  margin-bottom: 1rem;
}

.opcion h2 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.opcion p {
  font-size: 0.95rem;
  color: #444;
  margin-bottom: 1rem;
}

.opcion a {
  display: inline-block;
  background: #0073aa;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
}

.opcion a:hover {
  background: #005e8a;
}

footer {
  text-align: center;
  padding: 2rem;
  font-size: 0.8rem;
  color: #777;
}

@media (max-width: 600px) {
  #google_translate_element {
    transform: scale(0.75);
    top: 0.2rem;
    right: 0.2rem;
  }
}

