*{
  font-family: 'Montserrat', sans-serif;
  scroll-behavior: smooth;
  margin: 0;padding: 0;-webkit-box-sizing: border-box;
  box-sizing: border-box;
}
h1{
  color: white;

}
header {
  background: rgb(43, 85, 160, );
}
.alert-info-opacity {
    background-color: rgba(13, 202, 240, 0.7); /* Colore alert-info con opacità al 50% */
    color: #0c5460; /* Testo scuro per contrastare lo sfondo */
  }
.textlg{
    color: #d7d7d7;
  }
img[src$=".jpg"] {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); /* Ombra nera attorno al contenitore */
  }
  .whatsapp-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  color: blue;
  text-decoration: none;
  display: flex;
  align-items: center;
  z-index: 1;
}
.text-shadow{
  text-shadow: -1px -1px 7px rgba(43,85,160,0.50);
}
.whatsapp-button i {
  font-size: 3em;
  margin-right: 10px;
}
.video-container {
  position: relative;
  width: 100%;
  height: 80vh; /* Imposta l'altezza al 100% della viewport */
  overflow: hidden;
}

#video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* Per adattare il video alla dimensione del contenitore */
}

.content {
  position: absolute;
  top: 35%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2; /* Assicura che il contenuto sia sopra il video */
  color: white;
  text-align: center;
  width: 80%; /* Imposta una larghezza specifica per l'elemento content */
  height:85%; /* Imposta un'altezza specifica per l'elemento content */
  margin: 0;
  padding: 0;
}
@media (max-width: 768px){
  .content{
    height: 50%;
  }
}

.realgradient {
  width: 100%;
   /* Altezza a tua scelta */
  background: linear-gradient(to bottom, #11114E, #000000);
}
.bg-grey{
  background-color:#e4e5e0;
}
.realsolid{
  background-color: hsl(222, 53%, 20%);
}
.realsolidclaire{
  background-color: #2b55a0;
  border-radius: 50px 0 ;
}
.realsolidclaire1{
  background-color: rgba(0, 68, 204, 0.5);
}
.realsolidclaire2{
  background-color: rgba(43, 85, 160, 0.9);
}
/* Stili personalizzati per i link di navigazione */
.navbar .nav-link {
  color: white; /* Colore iniziale del testo */
  transition: color 0.5s; /* Transizione del colore */
  text-decoration: none;
  position: relative;
}

.navbar .nav-link:hover {
  color: white; /* Cambio colore al passaggio del mouse */
}

.navbar .nav-link::after {
  content: '';
  position: absolute;
  width: 0%;
  height: 2px; /* Spessore della sottolineatura */
  bottom: -2px; /* Posizionamento della sottolineatura */
  left: 0;
  background-color: white; /* Colore della sottolineatura */
  visibility: hidden;
  transition: width 0.5s ease-in-out; /* Stile della transizione */
}

.navbar .nav-link:hover::after {
  visibility: visible;
  width: 100%; /* Larghezza al passaggio del mouse */
  transition: width 0.5s ease-in-out; /* Nuovo stile della transizione */
}

/*carosello */

.custom-button {
  background-color: hsl(222, 53%, 20%);
  color: #fff;
  padding: 8px 16px;
  border-radius: 20px 0 ; /* Bordo arrotondato a sinistra */
  border: 2px solid ;

  display: inline-block;
  text-decoration: none;
  transition: background-color 0.7s, color 0.7s, border-color 1s, font-size 1s;
}

.custom-button:hover {
    background-color: hsl(222, 53%, 50%); /* Colore di sfondo più chiaro al passaggio del mouse */
  color: #d3d3d3;
  border-color: grey; /* Colore del bordo */
  font-size: 1.1em;
}

.custom-button:last-child {
  border-radius: 20px 0; /* Bordo arrotondato a destra */
}
ul .custom-button:last-child {
  border-radius:  10px; /* Bordo arrotondato a destra */
  height: 100%;
  margin-right: 0.8em;
}
@media (min-width:300px)and (max-width: 425px){
  ul .custom-button:last-child {
    margin-right: 0.2em;
    margin-left: 0.2em;
  }
  li {
    padding-top: 1em;
  }
}
.iconeinfo a{
  color:white;
  text-decoration: none;
  transition: 0.5s ease-in-out;
}
.iconeinfo a:hover{
  font-size: 1.2em;
  color: #cfb254 ;
  transition: 0.5s ease-in-out;
}
.iconeservizi a{
  color:#2b55a0;
  text-decoration: none;
  transition: 0.5s ease-in-out;
}
.iconeservizi a:hover{
  font-size: 1.2em;
  color: #cfb254 ;
  transition: 0.5s ease-in-out;
}
.custom-height {
      height:100%;

    }
.text-gold{
  color: #cfb254 ;
  line-height: normal;
}
/* Stili aggiuntivi per l'ingrandimento */
    .modal-body {
      text-align: center;
    }
    .carousel-thumbnails img {
      width: 100px;
      height: auto;
      margin-right: 5px;
      cursor: pointer;
    }
/* galleria */

  .galleria  img {
    width: 100%;

    }

    .hover-underline {
      text-decoration: none;
      position: relative;
    }

    .hover-underline::after {
      content: '';
      position: absolute;
      width: 0;
      height: 2px;
      bottom: -1px;
      left: 50%;
      background-color: #cfb254; /* Colore della sottolineatura */
      transition: width 0.7s ease-in-out, left 0.7s ease-in-out;
      transform: translateX(+10%);
    }

    .hover-underline:hover::after {
      width: 80%;
      left: 0;
    }
    .social-icons a {

           color: white; /* Colore iniziale bianco */
           transition: color 0.3s ease; /* Transizione morbida */
       }
       .social-icons a:hover {
           color: #007bff; /* Cambia colore ad azzurro al passaggio del mouse */
       }

    @media (min-width: 768px) {
          .bordo-oro-sinistra {
            border-right: 4px solid #cfb254; /* Specifica lo stile del bordo a sinistra */
            padding-right: 10px; /* Aggiunge spazio per rendere visibile il bordo */
            height: 100%;
            padding-top: 1.2em;
            padding-bottom: 1em;
          }
          .bordo-oro-destra {
            border-left: 4px solid #cfb254; /* Specifica lo stile del bordo a sinistra */
            padding-left: 10px; /* Aggiunge spazio per rendere visibile il bordo */
            height: 100%;
            padding-top: 1.2em;
            padding-bottom: 1em;
          }
          .content {

            top: 50%;

          }
        }

        .linkpersonale  a{
          color: white; /* Colore del testo bianco */
          text-decoration: underline white; /* Sottolineatura bianca */

          text-underline-offset: 0.3em; /* Spazio tra il testo e la sottolineatura */
          text-decoration-thickness: 0.1em;
          transition: 1s ease-in-out; /* Animazione di transizione */
        }
        .video-container {
          position: relative;
          width: 100%;
          height: 80vh; /* Imposta l'altezza al 100% della viewport */
          overflow: hidden;
        }
        /* Stile del link al passaggio del mouse (hover) */
        .linkpersonale a:hover {
          color: white; /* Colore del testo bianco */
          text-decoration-color: #cfb254; /* Sottolineatura oro */
          text-decoration-thickness: 2px; /* Spessore della sottolineatura */

          text-decoration-skip-ink: none; /* Evita che la sottolineatura sovrapponga il testo */
          transition: 1s ease-in-out;
        }

}
