body {
  font-family: 'Segoe UI', sans-serif;
  background: #e9fdfd;
  margin: 0;
  padding: 0;
}

header {
  background: #007f99;
  color: white;
  padding: 20px;
  text-align: center;
}

.logo {
  font-size: 24px;
  font-weight: bold;
}

.ro {
  color: #0040ff;
}

.es {
  color: #ff0000;
}

nav.idiomas button {
  margin: 5px;
  padding: 10px;
  border: none;
  background: white;
  color: #007f99;
  font-weight: bold;
  cursor: pointer;
}

main {
  padding: 20px;
  text-align: center;
}

.paises {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.pais {
  width: 280px;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  background: white;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.pais:hover {
  transform: scale(1.03);
}

.pais img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.cat-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 10px;
}

.cat {
  background-color: #007f99;
  color: white;
  padding: 10px 16px;
  border-radius: 25px;
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-width: 120px;
  text-align: center;
}

.cat:hover {
  background: #005c70;
  animation: latido 0.6s;
}

@keyframes latido {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 rgba(255, 255, 255, 0);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(255, 174, 201, 0.4);
  }
}

@media (min-width: 600px) {
  .paises, .cat-list {
    flex-direction: row;
    justify-content: center;
  }
}
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
