body {
  background-color: #f9f9f9;
}

.section {
  padding: 10 !important;
}

.title-custom {
  color: #fe4a49;
  text-align: center;
  margin-top: 1rem;
  font-size: 3rem;
}

.search-bar {
  margin: 1rem auto;
  max-width: 600px;
}

.card-custom {
  background-color: #f0f0f0;
  border: 1px solid #d4d4d4;
  border-radius: 10px;
  text-align: center;
  padding: 1rem;
}

.card-custom img {
  border-radius: 5px;
}

.title-custom-card {
  color: #fe4a49;
  font-weight: bold;
}

.buttons-container {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.buttons-container button {
  background-color: transparent;
  border: none;
  cursor: pointer;
}

.fixed-button {
  position: fixed !important;
  bottom: 60px;
  right: 60px; /*per metterlo tutto a destra*/
  z-index: 1000; /*per metterlo sopra a tutti gli elementi*/
}

#filterPanel {
  position: fixed;
  top: 0;
  right: -10000px;
  width: min(450px, 100vw);
  height: 100vh;
  display: flex;
  background-color: #f5f5f5;
  box-shadow: -2px 0 5px rgba(0, 0, 0, 0.2);
  transition: right 0.3s ease;
  padding: 1rem;
  overflow-y: scroll;
}

.delete.is-pulled-right {
  position: absolute;
  top: 5px;
  right: 5px;
}

#filterPanel.is-visible {
  right: 0; /* Mostra il pannello */
  z-index: 2000; /*per metterlo sopra a tutti gli elementi*/
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Colore scuro traslucido */
  z-index: 1999; /* Assicurati che sia sotto al pannello */
  display: none; /* Nascondi inizialmente */
}

.overlay.is-visible {
  display: block; /* Mostra overlay quando visibile */
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  z-index: 2001;
}

.modal.is-active {
  display: flex;
}

.card-custom-modal {
  background-color: #eaf7f7;
  border: 1px solid #d4d4d4;
  border-radius: 10px;
  padding: 1rem;
  width: 90%;
  max-width: 800px;
  margin: 0 auto;
}

#bottonemodale {
  position: absolute;
  top: 15px;
  right: 15px;
}

figure.image img {
  object-fit: cover;
}

#toggleFilters {
  border: none;
  background: white;
}

.big-checkbox {
  transform: scale(1.3);
}

label.label {
  color: #3e3f3f;
}

.fa-sliders-h {
  color: #a0a0a0;
}
