.card:hover{
    opacity: 0.8;
}

body, html {
    margin: 0;
    padding: 0;
    height: 100vh;
    background: #87CEEB; /* Cielo azzurro chiaro */
    overflow-x: hidden;
    position: relative;
  }

  /* Montagna principale */
  .mountain {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background-color: #6b6b6b; /* Grigio scuro */
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);

  }

  /* Neve sulla montagna */
  .mountain::before {
    content: '';
    position: fixed;
    left: 0;
    width: 100%;
    height: 50%;
    background-color: #e3e1e1;
    clip-path: polygon(50% 0%, 0% 100%, 100% 50%);
  }

  /* Montagna intermedia */
  .mountain-2 {
    position: fixed;
    bottom: 0;
    left: 60%;
    width: 500px;
    height: 500px;
    background-color: #8b8b8b; /* Grigio medio */
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  }

  /* Montagna sullo sfondo */
  .mountain-3 {
    position: fixed;
    bottom: 0;
    left: 20%;
    width: 400px;
    height: 400px;
    background-color: #a9a9a9; /* Grigio chiaro */
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  }

  /* Effetto parallax durante lo scroll */
  .mountain, .mountain-2, .mountain-3 {
    will-change: transform;
  }

  /* Animazione di scroll */
  @keyframes scroll {
    0% { transform: translateY(0); }
    100% { transform: translateY(-100vh); }
  }

  /* Contenuto del gioco */
  .game-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: #333;
  }

  .game-content h1 {
    margin-top: 20px;
    font-size: 2em;
  }


  .comic-bubble {
    position: relative;
    display: inline-block;
    background-color: #00bcd4; /* Colore di sfondo del fumetto */
    color: white; /* Colore del testo */
    padding: 20px;
    border-radius: 15px; /* Angoli arrotondati */
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    max-width: 200px;
    margin-top: 50px;
}


#footer{
  width: 150px;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

#newLogo{
  position: absolute;
    top: 25%;  
    left: 50%;
    transform: translate(-50%, -50%); /* Centra l'immagine sopra */
    width: 90%; /* Regola la dimensione dell'immagine interna */
  opacity: 0.8;
}

.fade-in {
  opacity: 0;
  transition: opacity 2s ease-in-out;
  z-index: 1;
  position: relative;
}

/* Quando aggiungi la classe "visible", parte la transizione */
.fade-in.visible {
  opacity: 1;
}
