/* === LINK E TESTI === */
a,
a:focus,
a:hover {
  color: #fff; /* I link restano bianchi anche al passaggio del mouse o al focus */
}

/* Evidenziazione di un elemento personalizzato */
.dany {
  color: #F04650;
  font-weight: 900;
}

.dany::before {
  /* Pseudo-elemento per icona o decorazione accanto al testo */
  background-size: 20px;
  background-repeat: no-repeat;
  display: inline-block;
  width: 22px;
  height: 20px;
  content: "";
}

h1.highlight {
    color: #f04650;
    font-weight: 900;
    font-size: 40px;
    margin-bottom: 1rem;
  }

/* Testi */
.lead {
  font-size: 20px;
  font-weight: 300; /* Più sottile */
}

/* === BOTTONI === */
.btn-default {
  color: #fff;
  font-size: 20px;
  text-shadow: none;
  background-color: #F04650; /* Rosso */
  border: 2px solid #fff;
  border-radius: 20px;
  padding: 0.5rem 2rem;
}

/* Hover/focus del bottone: colori invertiti */
.btn-default:hover,
.btn-default:focus {
  background-color: #fff;
  color: #F04650;
}

.btn-notify {
  border: 2px solid #F04650 !important;
}

/* === BODY === */
body {
  background: url(../images/Dany-redirect-bg_1251.jpg) no-repeat center center fixed;
  background-size: cover;
  color: #fff;
  text-align: left;
  font-family: 'Quicksand', sans-serif;
  font-size: 18px !important;
}

/* === COPERTINA === */
.cover-copy {
  color: #fff !important;
  max-width: 750px;
}

/* Layout centrale */
.cover-container {
  margin-right: auto;
  margin-left: auto;
}

.inner {
  padding: 20px;
}

/* === HEADER === */
.masthead-brand {
  margin-top: 10px;
  margin-bottom: 10px;
  color: #fff !important;
}

.nav-masthead {
  text-align: center;
  display: block;
  color: #fff !important;
}

.nav-masthead .nav-link {
  display: inline-block;
  color: #fff !important;
}

/* Versione desktop: brand a sinistra, navigazione a destra */
@media (min-width: 768px) {
  .masthead-brand {
    float: left;
  }
  .nav-masthead {
    float: right;
  }
}

/* === SEZIONE PRINCIPALE === */
.cover {
  padding: 0 20px;
}

.cover .btn-notify {
  padding: 10px 60px;
  font-weight: 500;
  text-transform: uppercase;
  border-radius: 40px;
  margin-top: 20px;
}

/* Titolo principale */
.cover-heading {
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 10px;
  font-size: 2rem;
  margin-bottom: 15px !important;
  color: #F04650 !important;
}

/* Sottotitolo */
.sub-header {
  max-width: 700px;
  font-size: 20px;
  letter-spacing: 5px;
  color: #fff !important;
  line-height: 35px;
  padding-top: 10px;
  font-weight: 400;
}

/* Versione desktop: aumenta la dimensione del titolo */
@media (min-width: 1024px) {
  .cover-heading {
    font-size: 4.4rem;
    letter-spacing: 15px;
  }
}

/* === FOOTER === */
.mastfoot {
  color: rgba(255, 255, 255, 0.5);
  padding-bottom: 20px;
}

/* Versione desktop: header e footer fissi */
@media (min-width: 1024px) {
  .masthead {
    position: fixed;
    top: 0;
  }
  .mastfoot {
    position: fixed;
    bottom: 0;
  }
  .site-wrapper-inner {
    vertical-align: middle;
  }
  .masthead,
  .mastfoot,
  .cover-container {
    width: 100%;
  }
}

/* Versione desktop large: larghezza massima */
@media (min-width: 1300px) {
  .masthead,
  .mastfoot,
  .cover-container {
    width: 1300px;
  }
}

/* === LAYOUT CENTRALE === */
.site-wrapper-inner {
  max-width: 1300px;
  margin: 0 auto;
  position: relative;
  height: 100vh; /* Altezza viewport per centrare il contenuto */
}

.inner.cover {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translate(0, -50%);
}

/* === IMMAGINE === */
img#gentileUtente {
  width: 300px;
}

/* === VERSIONE MOBILE === */
@media (max-width: 768px) {
  .inner.cover {
    position: relative;
    top: inherit;
    left: inherit;
    transform: none;
  }

  .site-wrapper-inner {
    max-width: 100%;
    margin: 0 auto;
    position: relative;
    height: auto;
  }

  .mastfoot {
    position: relative;
    bottom: auto;
    padding-top: 30px;
  }
  .cover .btn-notify {
    padding: 10px;
    width: -webkit-fill-available;
  }

  .sub-header{
    font-size: 18px;
  }
}
