body {
  position: relative;
  min-height: 100vh;
  margin: 0;
  font-family: sans-serif;
  color: black;
}

/* Sfondo fisso */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../img/cave-story.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -2; /* rimane sotto sia al testo che all’overlay */
}

/* Overlay per migliorare la leggibilità */
body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.0); /* nero trasparente al 40% */
  z-index: -1; /* tra lo sfondo e il contenuto */
}


/* Utils */
.container-pers{
    max-width: 1080px;
    margin: 0 auto;
    background-color: rgba(255, 255, 255, 0.75); 
    min-height: 100vh;
}
/* Header Generics */
header {
    padding-top: 5px;
}

/* Header Images */
.curly-quote{
    width: 19%;
}
.cs-title{
    height: auto; 
    max-width: 50%
}
.quote-air{
    width: 14%;
}


a {
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Images */
.enemies {
    width: 70%;
}

.quote-walking {
    height: 90%;
}

.maps {
    width: 60%;
}

.quote-walk{
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    transform: rotate(180deg);
}

/* Card  */
.card {
    color: #212529;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    width: 18rem;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

footer{
    background-color: pink;
}

.btn{
    background-color: rgba(0, 0, 255, 0.85);
}

#various-images {
  position: relative;
  width: 100%;
  height: 450px; /* aumenta se hai molte immagini */
  background: transparent;
  overflow: hidden;
}

#various-images img {
  position: absolute;
  width: 120px;
  height: auto;
  transition: transform 0.4s ease, filter 0.3s ease;
  filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.6));
  cursor: pointer;
}

#various-images img:hover {
  transform: scale(1.2) rotate(0deg);
  z-index: 10;
  filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.7));
}

