body {
    background-color: #1E1E1E !important;
}
#altezzha-scermata{
  min-height: 40vh;
}
.fotogalleria {
    max-height: 600px;
    max-width: 600px;
}
.spazio{
    height: 150px;
}
#galleria,#eventi{
    padding: 120px 0 0 0;
}
/* sezione hero */
#hero {

    height: 100vh;
    width: 100vw;
}

.logo-bianco-hero {
    width: 223.59px;
    height: 228.5px;
}



.hero-ristorante,
.hero-data {
    font-size: 20px;

}

.hero-titolo {
    font-size: 40px;
}

/* font stile */
.abril-fatface-regular {
    font-family: "Abril Fatface", serif;
    font-weight: 400;
    font-style: normal;
}

.italiana-regular {
    font-family: "Italiana", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.abel-regular, #modal-description {
    font-family: "Abel", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.aguafina-script-regular {
    font-family: "Aguafina Script", cursive;
    font-weight: 400;
    font-style: normal;
}

.aboreto-regular ,  #imgModalTitle{
    font-family: "Aboreto", system-ui;
    font-weight: 400;
    font-style: normal;
}

/* sezione locale */
.img-carosello-locale {
    height: 541.42px;
    width: 295px;
}
.img-profilo{
    max-width: 500px;
}
.titolo-locale {
    font-size: 40px;
    left: 50%;

    transform: translate(-50%, -50%);
}

.titolo-paragrafo-locale {
    font-size: 20px;
}

.linea-paragrafo-locale {
    background-color: #1E1E1E;
    width: 100px;
    height: 1px;
}

.paragrafo-paragrafo-locale,.primo-paragrafo-biografia,.secondo-paragrafo-biografia {
    font-size: 16px;
}

.carousel-item img {
    height: 500px;
}

.mosaico-locale {
    height: 300px;

}

/* sezione bio */
.nome-bio {
    margin: -14px 0 0 0;
    font-size: 30px;
}

.accordion-button::after {
    display: none !important;
    content: none !important;
}

/* menu  */
.voci-menu {
    font-size: 20px;
}

#headingOne::after, 
#headingTwo::after, 
#headingThree::after {
    content: "";
    display: none;
    width: 30px; /* Larghezza dell'immagine */
    height: 30px; /* Altezza dell'immagine */
    background-image: url("img/x.png"); /* Percorso dell'immagine */
    background-size: cover; /* Adatta l'immagine senza deformarla */
    background-position: center; /* Centra l'immagine */
    position: absolute; /* Posizionamento assoluto */
    right: 11%; /* Posiziona l'immagine a destra */
    transform: translateY(-143%);/* Regola il centramento verticale */
    z-index: 1; /* Metti dietro al contenuto principale */
    transition: opacity 0.5s ease-in; /* Aggiunge un'animazione fluida */
}
#headingOne.active::after, 
#headingTwo.active::after, 
#headingThree.active::after {
    display: block; /* Mostra quando l'accordion è aperto */
    opacity: 1; /* Mostra con effetto sfumatura */
}


.loghi-menu-piccoli{
    width: 30px;
    height: auto;
}
/* stile del carosello */
.accordion-header .close-btn {
    margin-left: auto;
}

.carousel-container {
    display: none;
}

.carousel-container.active {
    display: block;
}
.btn-x{
    right: 0;
    bottom: 50%;
    transform: translate(0, 50%);
}
.btn-x img{
    width: 30px;
    height: auto;
}
.accordion{
    --bs-accordion-active-bg:none!important;
    --bs-accordion-border-color:none!important;
}
.btn,#btn-antipasto,#btn-primi,#btn-secondi{
    max-width: 200px;
    font-weight: 200;
}

.carousel-item {
    display: none; /* Nascondi tutte le immagini inizialmente */
  }

  .carousel-item.active {
    display: block; /* Mostra solo l'elemento attivo */
  }

  .modal img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
  }

  /* Stili per il popup */
  .modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
  }

  .modal-content {
    background-color: white;
    padding: 20px;
    text-align: center;
    width: 80%;
    max-width: 500px;
  }

  .modal .close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 20px;
    background: none;
    border: none;
    color: #333;
    cursor: pointer;
  }
  li{
    list-style: none;
  }
 
   .rettangolo-degustazione{
    
    width: 90%;
    background-color: #333;
  }
  .primo-paragrafo-biografia{
    color: #a5a5a5;
  }
  .foto-rettangolo{
height:400px;
width: 100%;
object-fit: cover;

  }
@media screen and (min-width: 992px) {

    /* sezione hero  */
    .titolo-locale {
        left: 0;
        font-size: 60px;
    }

    .titolo-pc-locale {
        font-size: 60px;
    }
    .nome-bio {
        font-size: 40px;
    }
    /* menu  */
    .voci-menu {
        font-size: 20px;
    }
    #headingOne::after, #headingTwo::after, #headingThree::after {
        right: 21%;
        transform: translateY(-129%);
       
    }
    .position-re-bio{
        position: relative;
    }
    .position-ab-bio{
        position: absolute;
    }
}


/* voce del menu */
body {
    margin: 0;

    scroll-behavior: smooth;
  }
  .navbar{
    background-color: #1E1E1E;
    z-index: 1000;
    left: 0;
    display: flex;
    padding: 15px 30px; 
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Aggiunge un'ombra per evidenziare la navbar */
    transition: top 0.3s ease-in-out; /* Rende l'animazione più fluida */
    z-index: 1000;
  }
  .nav {
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    background-color: transparent;
    transition: background-color 0.3s, color 0.3s;
    
  }
  .accordion-button:focus {
    outline: 0;
   box-shadow: none !important; 
}
.tnumero-40{
    font-size: 40px;
    margin: 0 !important;
}
  .ttesto-40{
    font-size: 30px;
  }
  .logo {
    width: 35px;
  }
  
  .nav-links {
    display: flex;
    list-style: none;
    padding: 0;
  }
  
  .nav-links li {
    margin: 0 15px;
  }
  
  .nav-links a {
    text-decoration: none;
    font-size: 18px;
    transition: color 0.3s;
  }
  
  .hamburger {
    display: none;
    font-size: 24px;
    cursor: pointer;
  }
  .btn{
    font-family: "Abel", sans-serif!important;
    font-weight: 400;}
    #modal-description{
    color: rgb(108, 117, 125);
    }
    .carousel-item img{
        object-fit: cover;
    }
    .hamburger-menu {
        position: relative;
        z-index: 1000;
      }
      
      .hamburger-icon {
        width: 30px;
        height: 22px;
        cursor: pointer;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
      }
      
      .hamburger-icon span {
        height: 4px;
        background-color: white;
        border-radius: 2px;
        transition: all 0.3s ease;
      }
      
      .hamburger-icon.open span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
      }
      
      .hamburger-icon.open span:nth-child(2) {
        opacity: 0;
      }
      
      .hamburger-icon.open span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
      }
      
      .hamburger-links {
        position: absolute;
        top: 40px;
        width: 50vw;
    transform: translate(50%, 0);
        right: -50%;
        background-color: #1E1E1E;
        padding: 10px 20px;
        border-radius: 8px;
        display: none;
        flex-direction: column;
      }
      
      .hamburger-links a {
        color: white;
        text-decoration: none;
        padding: 8px 0;
        font-family: 'Italiana', sans-serif;
      }
      
      .hamburger-links.show {
        display: flex;
      }
      #customModal{
        z-index: 2;
      }
    
  @media (max-width: 768px) {
    .nav-links {
      display: none;
      flex-direction: column;
      position: absolute;
      top: 60px;
      right: 0;
      background-color: white;
      width: 200px;
      padding: 10px;
    }
    
    .nav-links.active {
      display: flex;
    }
    
    .hamburger {
      display: block;
    }
  }
  