html {
  scroll-behavior: smooth;
}
/* Estilos gerais */
body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  background-color: #f4f4f4;
  color: #333;
}

header {
  background-color: #4CAF50;
  color: white;
  text-align: center;
  padding: 1rem;
}

nav {
  text-align: center;
  background-color: #333;
  padding: 0.5rem;
}

nav a {
  color: white;
  text-decoration: none;
  margin: 0 1rem;
}

nav a:hover {
  text-decoration: underline;
}

main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
}

section {
  margin-bottom: 2rem;
}

h2 {
  color: #4CAF50;
}

footer {
  text-align: center;
  background-color: #333;
  color: white;
  padding: 1rem;
}

/* Tabelas responsivas */
.tabela-responsiva {
  overflow-x: auto;
}

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

th, td {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: left;
}

th {
  background-color: #f2f2f2;
}

tr:nth-child(even) {
  background-color: #f9f9f9;
}

tr:hover {
  background-color: #f1f1f1;
}

/* Para dispositivos móveis */
@media screen and (max-width: 600px) {
  table, thead, tbody, th, td, tr {
    display: block;
  }
  thead tr {
    position: absolute;
    top: -9999px;
    left: -9999px;
  }
  tr {
    border: 1px solid #ccc;
    margin-bottom: 1rem;
  }
  td {
    border: none;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 50%;
  }
  td:before {
    position: absolute;
    top: 6px;
    left: 6px;
    width: 45%;
    padding-right: 10px;
    white-space: nowrap;
    content: attr(data-label);
    font-weight: bold;
    text-transform: capitalize; /* Dica: Isso deixa a primeira letra maiúscula no celular */
  }
}

/* Cards de temperos */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-around;
}

.temperos-cards {
  background-color: white;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 1rem;
  width: 300px;
  flex-grow: 1;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.temperos-cards h3 {
  color: #4CAF50;
  margin-top: 0;
}

.temperos-cards ul {
  list-style-type: none;
  padding: 0;
}

.temperos-cards li {
  margin-bottom: 0.5rem;
}