body {
  margin: 0;
  font-family: "Comic Sans MS", cursive, sans-serif;
  background: linear-gradient(to bottom, #ffefff, #ffd6f7);
  color: #333;
  text-align: center;
}

header {
  background-color: #ff5dc8;
  padding: 20px;
  color: white;
}

header h1 {
  margin: 0;
  font-size: 2.5em;
}

nav ul {
  list-style: none;
  padding: 0;
  margin-top: 10px;
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

nav ul li a {
  text-decoration: none;
  background-color: #ffffff;
  color: #ff5dc8;
  padding: 10px 20px;
  border-radius: 20px;
  transition: 0.3s;
}

nav ul li a:hover {
  background-color: #ffb3e9;
  color: white;
}

a {
  text-decoration: none;
  color: #000000;
  font-weight: bold;
}

main {
  padding: 20px;
}

.introducao {
  padding: 30px 15px;
  max-width: 700px;
  margin: 0 auto;
}

.introducao h2 {
  color: #cc2288;
  font-size: 2em;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

th,
td {
  border: 1px solid #ccc;
  padding: 0.75rem;
  text-align: center;
}

th {
  background-color: crimson;
  color: white;
}

.imagem-fundo {
  width: 90%;
  max-width: 700px;
  margin-top: 30px;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 400px;
  margin: 30px auto 0;
}

label {
  font-weight: bold;
}

input[type="text"],
input[type="submit"] {
  padding: 0.5rem;
  border-radius: 5px;
  border: 1px solid #ccc;
}

input[type="submit"] {
  background-color: #cc35cc;
  color: white;
  cursor: pointer;
  transition: 0.3s;
}

input[type="submit"]:hover {
  background-color: #4a1145;
}

footer {
  background-color: rgba(244, 39, 152, 0.95);
  padding: 20px;
  text-align: center;
  margin-top: 50px;
}

footer p,
footer a {
  color: #ffffff;
  font-size: 0.95em;
}

footer a {
  color: #4b2e83;
  text-decoration: none;
  margin: 0 12px;
}

.footer-icons a {
  margin: 0 10px;
  font-size: 1em;
  color: #ffffff;
  display: inline-block;
}

.footer-icons a:hover {
  color: #a84270;
}

.footer .socials a img {
  width: 30px;
  border-radius: 50%;
  margin: 0 10px;
  transition: transform 0.3s ease;
}

.footer .socials a img:hover {
  transform: scale(1.2);
}

/* ===== Responsividade ===== */
@media (max-width: 768px) {
  header h1 {
    font-size: 2em;
  }

  nav ul {
    gap: 2rem;
  }

  nav ul li a {
    font-size: 1rem;
    padding: 8px 16px;
  }

  .introducao h2 {
    font-size: 1.5em;
  }

  table,
  th,
  td {
    font-size: 0.9em;
  }

  .imagem-fundo {
    width: 95%;
  }

  form {
    width: 90%;
  }

  input[type="text"],
  input[type="submit"] {
    font-size: 1rem;
  }
}
