body {
      background-color: #f5f0e1; 
      color: #4e342e; 
      font-family:'Noto Sans';
    
    }

    


/* navbar */
    .navbar {
      background-color: #d7ccc8;
        padding-top: 0.25rem;
        padding-bottom: 0.25rem;
    }

  .navbar a {
      color: #4e342e;
      font-weight: bold;
      font-size: 20px;
    }
 .navbar a:hover {
      color: #a1887f;
    }
.custom-shadow {/* ombra della navbar */
  box-shadow: 0 4px 8px rgba(0,0,0,0.3); 
}
.navbar-brand img {
  max-height: 100px; 
  width: auto;      
}

/* Immagine principale + titolo + sottotitolo*/
.cover{
  background-image: url('/img/sfondo.png'); 
  background-size: cover;    /* l’immagine copre tutto */
  
  background-position: center; 
  background-repeat: no-repeat; /* evita ripetizioni */
  
}
#Titolo{
  font-family: "Shippori Mincho B1", serif;
  font-size: 80px;
  text-shadow:2px 2px 2px #000 ;
}
#Sottotitolo{
  font-family: "Shippori Mincho B1", serif;
  font-size: 30px;
   text-shadow:2px 2px 2px #000 ;
}

/* ogni volta che inserisco un nome in giapponese di uno yokai me lo scrive in verticale */
    .titleYokai{
       writing-mode: vertical-rl;
       text-orientation:upright;
       overflow: hidden;
      white-space: nowrap;
      transform: translateY(25%);
    font-size: 3rem;
    }
/* Immagini della home che portano a galleria e yokai */
   .position-relative img {
  transition: transform 0.5s ease, filter 0.5s ease;
}

.hover-zoom:hover img {
  transform: scale(1.05);
  filter: brightness(70%);
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  background-color: rgba(0, 0, 0, 0.4);
  transition: opacity 0.4s ease;
}

.hover-zoom:hover .overlay {
  opacity: 1;
}

/* fine Immagini della home che portano a galleria e yokai */





    .contentMain {
      padding: 40px 20px;
    }


    /* CSS per le card */
    .card {
      background-color: #efebe9;
      border-radius: 10px;
      overflow: hidden;
      box-shadow: 0 2px 8px rgba(0,0,0,0.1);
      transition: transform 0.3s;
    }
    .card img{
      height: 400px;
       object-fit: cover;
    }
    .card:hover {
      transform: scale(1.03);
    }
    #filtro:hover{
      transform: none;
    }



/* GalleriaKappa */

    .card-title {
      padding: 5px;
      color: #4e342e;
      justify-content: left;
      text-align: center;
      
    }



  
/* fine CSS per le card */

/* breadcrumb */
    .breadcrumb {
      text-decoration: none;
      padding: 10px 30px;
    }


    /* pagination */
.page-link {
  background-color: #d7ccc8; 
  color: #3e2723; 
  border: 1px solid #d8c3a5;
}
.page-item.active .page-link {
  background-color: #c9a27e; /* beige-marrone più marcato */
  border-color: #b88b6b;
  color: #fff;
}
/* footer */
    footer {
      background-color: #d7ccc8;
      color: #4e342e;
      padding: 20px;
      text-align: center;
      margin-top: 40px;
    }
    /* WebProjectPlan */
    .titleWebProjectPlan{
      font-size: 20px;
      margin-bottom: 10px;
      margin-top:10px;
    }



 
/* GalleriaYokai */
.yokai-card {
  position: relative;
  overflow: hidden;
  border: none;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  background-color: transparent;
  transition: transform 0.3s ease;
}
.yokai-card img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  filter: brightness(70%); /* scurisce leggermente per rendere leggibile il testo */
  transition: transform 0.5s ease;
}
.card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}
.card-titleYokai {
  color: #fff;
  font-size: 1.8rem;
  font-weight: bold;
  text-shadow: 2px 2px 5px rgba(0,0,0,0.8);
  
  padding: 10px 20px;
  border-radius: 8px;
}

.savedButton{
  font-size: 20px;
  background-color: #d7ccc8;
  color: white;
  text-align: left;
}
.savedButton:hover{
  background-color: #4e342e;
  color: white;
} 


.correlati{
max-width: 300px;

}
.correlati img{
  aspect-ratio: 4/3; object-fit: cover;
}
.correlati:hover{
  cursor:pointer;
}
.item{
  width: 670px;
}
.item:hover{
  cursor:zoom-in;
}
.regioni a{
opacity: 55%;
}
.regioni a:hover{
opacity: 100%;
}