﻿ body {
      font-family: "Poppins", sans-serif;
      margin: 0;
      padding: 0;
      overflow-x: hidden;
background: #f5f5dc;
    }

.navbar {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* ombra morbida */
  background-color: #ffffa0; /* il giallo leggermente più scuro che preferisci */
}

    .navbar {
      background: #ffff99;

      z-index: 1000;
    }
    .navbar-nav .nav-link { padding: 10px 15px; }
 .nav-link {
            color: #333 !important;
            font-weight: 500;
        }
  .nav-link.active {
            color: #008080 !important;
            font-weight: 600;
        }

    .navbar-title h1 {
      margin: 0;
      color: #008080;
      font-size: 1.8rem;
      font-weight: 700;
      line-height: 1.2;
    }
    @media (max-width: 768px) {
      .navbar-title h1 { font-size: 1.2rem; }
    }
    @media (max-width: 480px) {
      .navbar-title h1 { font-size: 1rem; }
    }

    .card-wrapper {
      position: relative;
      overflow: hidden;
      min-height: 280px;
      border-radius: 10px;
    }
    .card-side {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      transition: transform 0.4s ease;
      background: #ffffb0;
      padding: 10px;
    }
    .card-front { transform: translateY(0); z-index: 2; }
    .card-back  { transform: translateY(100%); z-index: 3; }
    .card-wrapper.show-back .card-front { transform: translateY(-100%); }
    .card-wrapper.show-back .card-back  { transform: translateY(0); }
    .card-img-top {
      max-height: 200px;
      object-fit: cover;
      border-radius: 10px 10px 0 0;
    }
    footer {
      background: #ffff99;
      text-align: center;
      padding: 20px 15px;
      font-size: 0.9rem;
    }
/* Description container */
.description-container {
  font-size: 0.7rem;
  margin-top: 0.5rem;
  text-align: center;
}
/* Thumbnails aggiuntive */
.card-back img {
  cursor: pointer;
  border-radius: 5px;
  object-fit: cover;
  transition: transform 0.3s;
}

.card-back img:hover {
  transform: scale(1.05);
}
/* Bottone scroll-top */
    #scrollTopBtn {
      width:45px; height:45px;
      border-radius:50%;
      padding:0;
      font-size:1.5rem;
      display:flex;
      justify-content:center;
      align-items:center;
      cursor:pointer;
      box-shadow:0 4px 6px rgba(0,0,0,0.2);
      position: fixed;
      bottom:35px;
      right:20px;
      display:none;
      z-index:1000;
background: #ffff99;
    }