@import url('https://fonts.googleapis.com/css2?family=Chewy&family=Montserrat&family=Poppins&family=Quicksand&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #fcecff;
  font-family: 'Poppins', sans-serif;
  color: #3d0066;
  line-height: 1.6;
}

/* HEADER */
header {
  background-color: #6900a8;
  padding: 1rem;
  text-align: center;
}

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.logo img {
  height: 70px;
  max-width: 100%;
}

/* TÍTULO ANIMADO */
.titulo-color {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.2rem;
  font-size: 2.5rem;
  font-weight: bold;
  margin-top: 0.5rem;
}

.letra {
  animation: colores 5s infinite;
}

/* Fuentes aplicadas */
.estilo1 { font-family: 'Chewy', cursive; }
.estilo2 { font-family: 'Montserrat', sans-serif; }
.estilo3 { font-family: 'Quicksand', sans-serif; }

@keyframes colores {
  0%   { color: #ff3c3c; }
  25%  { color: #ffa500; }
  50%  { color: #28a745; }
  75%  { color: #007bff; }
  100% { color: #800080; }
}

/* MENÚ */
.menu {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1rem;
}

.menu li {
  display: inline;
}

.menu li a {
  text-decoration: none;
  color: white;
  background-color: #8e44ad;
  padding: 0.7rem 1.5rem;
  border-radius: 20px;
  font-weight: bold;
  transition: background 0.3s ease;
  display: inline-block;
}

.menu li a:hover {
  background-color: #a55df0;
}

/* UBICACIÓN */
.ubicacion {
  padding: 2rem 1rem;
  text-align: center;
}

.ubicacion h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  color: #5b189a;
}

.ubicacion p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  padding: 0 1rem;
}

.mapa {
  max-width: 800px;
  width: 100%;
  margin: 0 auto 2rem;
}

.monstruo {
  width: 200px;
  max-width: 90%;
  margin-top: 1rem;
  border-radius: 1rem;
}

/* FOOTER */
footer {
  background-color: #6900a8;
  color: white;
  text-align: center;
  padding: 1rem;
  margin-top: 2rem;
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
  .titulo-color {
    font-size: 1.8rem;
  }

  .logo {
    flex-direction: column;
  }

  .menu {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }

  .ubicacion h2 {
    font-size: 1.6rem;
  }

  .ubicacion p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .titulo-color {
    font-size: 1.5rem;
  }

  .menu li a {
    font-size: 0.9rem;
    padding: 0.6rem 1.2rem;
  }
}
