/* ===== Effetti speciali dei pulsanti della navbar ===== */

.button-wrapper {
  position: relative;
  width: 180px;
  cursor: pointer;
}

.svg-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0;
}

.button-rect {
  fill: var(--main-red-dark);
  transition: filter 0.3s;
}

.fracture,
.bandage {
  opacity: 0;
  transition: opacity 0.2s;
}

.button-text {
  position: relative;
  z-index: 1;
  color: var(--main-red); /* testo rosso di default */
  font-weight: bold;
  display: flex;
  align-items: center;
}

.button-text a.nav-link {
  text-decoration: none;
  display: flex;
  align-items: center;
  width: 100%;
  height: 100%;
}
