/* 🎨 Configuração geral */
body {
  font-family: "Comic Sans MS", Arial, sans-serif;
  background-color: #d0eaff;
  margin: 0;
  padding: 0;
  color: #333;
}

/* 🏷️ Cabeçalho */
header {
  background: #4db8ff;
  color: white;
  padding: 1rem;
  text-align: center;
  border-bottom: 4px solid #3399ff;
  font-size: 1.3rem;
}

/* 📦 Cartões e containers */
.card {
  background: white;
  border-radius: 15px;
  padding: 1rem;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  max-width: 350px;
  margin: auto;
}

/* 🛍️ Grade de produtos e alunos */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
  padding: 1rem;
}

.grid .card {
  max-width: 100%;
}

/* 😀 Emojis grandes */
.emoji {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 0.5rem;
}

/* 🖱️ Botões */
button {
  background: #4db8ff;
  border: none;
  border-radius: 12px;
  padding: 0.6rem 1.2rem;
  color: white;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s ease;
  margin-top: 0.5rem;
}

button:hover {
  background: #3399ff;
}

/* 📝 Formulários */
form {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

input, select {
  padding: 0.5rem;
  border-radius: 10px;
  border: 1px solid #ccc;
  font-size: 1rem;
}

label {
  font-weight: bold;
}

/* 📱 Responsividade */
@media (max-width: 600px) {
  .grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  }
}
