@import url('https://fonts.googleapis.com/css2?family=Creepster&display=swap');

body {
  background: url('https://sadhost.neocities.org/images/tiles/redsparkle.gif');
  font-family: 'Comic Sans MS', cursive, sans-serif;
  color: white;
  text-align: center;
  padding: 20px;
  position: relative;
}

/* Restante do CSS para o layout */
header {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 5px;
  gap: 8px;
  padding: 0 20px;
}

.gif-stack-left {
  position: relative;
  width: 120px;
  margin-right: 250px;
}

.header-gif-left {
  width: 110px;
  height: auto;
  z-index: 1;
}

.tortinho {
  transform: rotate(0deg);
}

.below-left-gif {
  position: absolute;
  top: 150px;
  left: 0;
  width: 300px;
  height: auto;
  z-index: 0;
  transform: translateX(-100px);
}

/* Novo GIF abaixo do below-left-gif */
.new-left-gif {
  position: absolute;
  top: 400px; /* Ajuste a posição conforme necessário */
  left: 0;
  width: 300px;
  height: auto;
  z-index: 0;
  transform: translateX(-100px);
}

.header-gif-right {
  width: 110px;
  height: auto;
  margin-left: 250px;
  z-index: 0;
}

.header-gif-center {
  width: 90px;
  height: auto;
  margin: 0 5px;
  z-index: 1;
  transform: translateX(-40px);
}

h1 {
  font-family: 'Creepster', cursive;
  font-size: 3em;
  color: red;
  margin: 0 5px 10px;
  z-index: 2;
  position: relative;
  margin-left: -30px;
  text-shadow: 1px 1px 2px black, 0 0 25px black, 0 0 5px black;
}

.under-title-gif {
  max-width: 90%;
  height: auto;
  margin-bottom: 20px;
  margin-top: -5px; /* aproxima do título */
  border: none;
  border-radius: 0;
}

footer {
  margin-top: 650px;
}

.gif-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.gif-row img {
  width: 160px;
  height: auto;
  border: none;
  border-radius: 8px;
}