body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #f8f9fa;
}

h1, h2 {
  font-weight: 600;
}

header {
  background-image: url('../img/banner.jpg');
  background-size: cover;
  background-position: center;
  color: white;
}
h1.display-5 {
  font-weight: 700;
}
/* Tabella Eventi personalizzata */
.eventi-tabella {
  background-color: #3e5f44;
  color: #fff;
  border-radius: 10px;
  overflow: hidden;
}

/* Intestazione */
.eventi-tabella thead th {
  background-color: #2f4f3f;
  color: #fff;
  border: none;
}

/* Celle corpo */
.eventi-tabella tbody td {
  background-color: #3e5f44;
  color: #fff;
  border: none;
}

/* Effetto hover */
.eventi-tabella tbody tr:hover td {
  background-color: #4f6f55;
}

footer {
  background-color: #343a40;
  color: #fff;
}
html, body {
  height: 100%;
  margin: 0;
}
.wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}


main {
  flex: 1;
}
/* Stile Banner Annuncio Moderno */
.alert-alpini {
  background: linear-gradient(90deg, #537d5d 0%, #3e5f44 100%);
  color: white;
  padding: 15px 25px;
  border-radius: 50px; /* Forma a pillola molto moderna */
  border: none;
  transition: transform 0.3s ease;
}

.alert-alpini:hover {
  transform: translateY(-3px); /* Effetto sollevamento al passaggio del mouse */
}

.icon-box {
  background: rgba(255, 255, 255, 0.2);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1.2rem;
  animation: pulse 2s infinite; /* Pulsazione per attirare l'occhio */
}

.title-alert {
  font-size: 0.8rem;
  letter-spacing: 1px;
  opacity: 0.9;
}

.text-alert {
  font-size: 1.05rem;
}

.btn-alpini-action {
  background-color: #ffffff;
  color: #3e5f44 !important;
  font-weight: bold;
  border-radius: 20px;
  padding: 5px 15px;
  white-space: nowrap;
}

.btn-alpini-action:hover {
  background-color: #e9ecef;
}

/* Animazione pulsante per l'icona */
@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

/* Adattamento Mobile */
@media (max-width: 576px) {
  .alert-alpini {
    flex-direction: column;
    border-radius: 15px;
    text-align: center;
    padding: 15px;
  }
  .icon-box { display: none; } /* Nascondi icona su piccoli schermi per spazio */
  .btn-alpini-action { margin-top: 10px; width: 100%; }
}