/* Estilos gerais */
body {
  font-family: 'Segoe UI', sans-serif;
  text-align: center;
  background-color: #fff8f0;
  margin: 0;
  padding: 0;
  color: #3e2723;
}

header {
  background-color: #b71c1c;
  color: #fff;
  padding: 20px;
}

h2 {
  margin: 15px 0;
  color: #b71c1c;
}

.opcoes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 10px 0;
}

#paes img,
#ingredientes img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border: 3px solid #ffcc80;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.2s, border-color 0.2s;
}

#paes img:hover {
  transform: scale(1.05);
  border-color: #ff9800;
}

#ingredientes img:hover {
  transform: scale(1.05);
  border-color: #f57c00;
}

/* Área do sanduíche */
#sanduiche {
  border: 2px dashed #ccc;
  padding: 20px;
  min-height: 150px;
  margin: 20px auto;
  width: 320px;
  background-color: #fff;
  border-radius: 8px;
}

#sanduiche img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  margin: 5px;
  border-radius: 6px;
  border: 1px solid #aaa;
}

/* Resumo do pedido */
#resumoPedido {
  margin: 20px auto;
  padding: 20px;
  width: 320px;
  background-color: #fff3e0;
  border: 2px solid #f57c00;
  border-radius: 8px;
  text-align: left;
}

/* Botões */
button {
  margin: 10px;
  padding: 10px 20px;
  border: none;
  background-color: #f57c00;
  color: white;
  font-size: 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.2s;
}

button:hover {
  background-color: #ef6c00;
}

/* Campo de texto */
input[type="text"] {
  padding: 8px;
  margin-top: 10px;
  width: 250px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

/* Animação */
@keyframes girarNoSanduiche {
  0% {
    transform: rotate(-360deg) scale(0.2);
    opacity: 0;
  }
  100% {
    transform: rotate(0deg) scale(1);
    opacity: 1;
  }
}

.ingrediente-animado {
  animation: girarNoSanduiche 0.6s ease-out;
}

/* Rodapé */
footer {
  background-color: #b71c1c;
  color: #fff;
  padding: 10px;
  margin-top: 30px;
}

/* Botões específicos */
.botao-adicionar {
  background-color: #4CAF50;
}

.botao-adicionar:hover {
  background-color: #388E3C;
}

.botao-remover {
  background-color: #f44336;
}

.botao-remover:hover {
  background-color: #d32f2f;
}
