/* RESET */
* {
  box-sizing: border-box;
}

/* BASE */
body {
  margin: 0;
  font-family: "Comic Sans MS", Verdana, sans-serif;
  background-image: url("data/background.webp"); /* DESKTOP */
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  color: black;
}

/* LINKS */
a {
  color: blue;
  text-decoration: underline wavy hotpink;
}

/* HERO */
#hero {
  position: relative;
  height: 100vh;
  padding: 60px 20px;
  text-align: center;
  overflow: hidden;
}

#hero h1,
#hero h3 {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.85);
  display: inline-block;
  padding: 12px 18px;
  border: 3px solid black;
  box-shadow: 6px 6px 0 black;
}

#hero-shark {
  position: relative;
  z-index: 2;
  display: block;
  margin: 40px auto 0;
  width: 320px;
}

/* GLITTER SOLO HERO */
#hero-glitter {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

#hero-glitter img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* GIF WALL */
#gif-wall {
  padding: 40px;
  text-align: center;
}

#gif-wall img {
  width: 120px;
  margin: 10px;
}

/* INFO BRAT */
#info-blocks {
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 30px;
  background: repeating-linear-gradient(
    45deg,
    rgba(0,255,0,0.2),
    rgba(0,255,0,0.2) 12px,
    rgba(255,255,255,0.9) 12px,
    rgba(255,255,255,0.9) 24px
  );
  border: 4px dashed hotpink;
  box-shadow: 0 0 0 6px limegreen;
}

#info-blocks h2 {
  background: yellow;
  display: inline-block;
  padding: 8px 14px;
  border: 3px solid black;
  box-shadow: 5px 5px 0 black;
  margin-bottom: 30px;
}

.infoBox {
  margin-bottom: 30px;
  background: rgba(255,255,255,0.95);
  padding: 16px 18px;
  border: 3px solid black;
  box-shadow: 6px 6px 0 black;
  transform: rotate(-0.6deg);
}

.infoBox:nth-child(even) {
  transform: rotate(0.6deg);
  background: rgba(255,230,255,0.95);
}

.infoBox h3 {
  margin: 0;
  background: lime;
  display: inline-block;
  padding: 4px 8px;
  border: 2px solid black;
}

.infoBox p {
  margin-top: 8px;
}

/* VISUAL */
#visual-stage {
  min-height: 60vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

#visual-stage img {
  width: 300px;
}

/* MOBILE — SOLO BODY CAMBIA */
@media (max-width: 768px) {
  body {
    background-image: url("data/jelly.gif");
    background-attachment: scroll;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }

  #hero {
    min-height: 100vh;
    background-image: url("data/background.webp");
  }
}
