body {
  margin: 0;
  padding: 0;
  background-image: url('banner.jpg'); /* L'immagine è nella stessa cartella del CSS */
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  height: 100vh;
  font-family: 'Segoe UI', 'Arial', sans-serif;
  color: white;
  text-align: center;
  position: relative;
}

.overlay {
  background: rgba(0, 0, 0, 0.6);
  position: fixed;
  inset: 0;
  z-index: -1;
}

header {
  position: relative;
  width: 100%;
  padding: 1rem 0;
  text-align: center;
}

h1 {
  font-size: 2.5em;
  margin-bottom: 10px;
}

.language-menu {
  position: absolute;
  top: 10px;
  right: 10px;
}

.language-toggle {
  font-size: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
}


  .language-options {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 40px;
    right: 0;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #ccc;
    border-radius: 5px;
    z-index: 999;
    padding: 10px;

    min-width: 160px; /* allarga il menu */
  }
  

  .language-options button {
    background: none;
    border: none;
    padding: 5px 18px;
    text-align: left;
    cursor: pointer;
    font-size: 16px;

    white-space: nowrap; /* evita andata a capo */
    display: flex;
    align-items: center;
    gap: 8px; /* spazio tra bandiera e testo */
  }

  .language-options button span.flag {
    margin-right: 8px;
    font-size: 20px;
    line-height: 1;
    
  }
  
.language-options button:hover {
  background-color: rgba(255,255,255,0.2);
  border-radius: 5px;
}

.audio-button {
  position: absolute;
  top: 10px;
  left: 10px;
}

.audio-button button {
  font-size: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.audio-control {
  font-size: 28px;
  cursor: pointer;
  opacity: 0.9;
  transition: opacity 0.3s;
  background-color: rgba(0, 0, 0, 0.3);
  padding: 5px 10px;
  border-radius: 8px;
}

.links {
  margin: 30px 0;
}

.links a {
  display: inline-block;
  margin: 10px;
  padding: 10px 20px;
  background-color: rgba(255, 255, 255, 0.15);
  color: #aaddff;
  text-decoration: none;
  font-weight: bold;
  border-radius: 6px;
  transition: background-color 0.3s;
}

.links a:hover {
  background-color: rgba(255, 255, 255, 0.3);
}

.collections {
  margin-top: 30px;
}

.collections ul {
  list-style: none;
  padding: 0;
}

.collections li a {
  color: #fff;
  text-decoration: underline;
  font-size: 1.2em;
}

#description {
  max-width: 800px;
  margin: 40px auto 0 auto;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.4);
  border-radius: 12px;
  line-height: 1.6;
}


.logo-title {
  margin-top: 2rem;
}


.logo {
  max-width: 120px;
  height: auto;
  margin-bottom: 1rem;
}

.top-left {
  position: absolute;
  top: 10px;
  left: 10px;
}

.top-right {
  position: absolute;
  top: 10px;
  right: 10px;
}

.logo-title .logo {
  width: 200px;   /* Aumenta la dimensione qui */
  height: auto;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

.logo-title h1 {
  font-size: 3.2em;
  margin: 0;
  color: white;
}