* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Comic Sans MS', cursive, sans-serif;
  background: linear-gradient(to bottom, #ffecd2, #fcb69f);
  color: #333;
  line-height: 1.6;
}

header {
  background: #ff7e5f;
  color: #fff;
  padding: 1em;
  text-align: center;
}

header h1 {
  margin-bottom: 0.5em;
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 1.5em;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
}

nav a:hover {
  color: #ffe8d6;
}

.hero {
  text-align: center;
  padding: 3em 1em;
  animation: fadeIn 2s ease-in-out;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.2em;
  padding: 2em;
}

.card {
  background: rgba(255, 255, 255, 0.8);
  border-radius: 10px;
  padding: 1em;
  text-align: center;
  transition: transform 0.3s, background 0.3s;
}

.card img {
  width: 100px;
  height: auto;
  margin-bottom: 0.8em;
}

.card:hover {
  transform: scale(1.05);
  background: #ffe8d6;
}

#curiosidades {
  background: #ff7e5f;
  color: #fff;
  padding: 2.5em 1em;
  text-align: center;
  animation: slideUp 1.5s ease-in-out;
}

footer {
  background: #e35d5b;
  color: #fff;
  text-align: center;
  padding: 1em;
  font-size: 0.9em;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
