body {
  height: 100%;
  margin: 0;
  font-family: "IBM Plex Sans", sans-serif;
  overflow: hidden;
}

header {
  display: flex;
  justify-content: flex-end;
  padding: 10px 20px;
  background: none;
  position: fixed;
  top: 0;
  right: 0;
}

.quiz-section {
  height: 90%;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  color: #fff;
  text-shadow:
    -1px -1px 2px black,
     1px -1px 2px black,
    -1px  1px 2px black,
     1px  1px 2px black;
}

.value-display {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.food-value {
  display: inline-block;
  font-weight: bold;
}

h6 {
  font-size: 12px;
  padding: 15px;
  font-weight: 300;
  font-family: "IBM Plex Sans", sans-serif;
  
}

h1, h6, h2, h3, p, span {
border: #000;
opacity: 0;
transform: translateY(20px);
animation: fadeUp 0.6s ease forwards;
}

h1 { animation-delay: 0.1s; }
p  { animation-delay: 0.2s; }
h6 { animation-delay: 0.1s; } 
h2 { animation-delay: 0.1s; }
h3 { animation-delay: 0.1s; }
span { animation-delay: 0.1s; }



.top-btn {
  text-decoration: none;
  border: 1px solid #000;
  padding: 5px 10px;
  font-size: 14px;
  border-radius: 4px;
  background-color: #f9f9f9;
  color: #000;
  z-index: 1;
}

.resultado-container {
  margin-top: 80px;
  padding: 20px;
  text-align: center;
  align-items: center;
  z-index: 1;
  color: #fff;
}

.resultado-container h2 {
  font-size: 22px;
  margin-bottom: 20px;
  z-index: 4;
}

.resultado-container .dado {
  font-size: 24px;
  font-weight: bold;
  margin: 10px 0 20px 0;
  z-index: 4;
}

footer {
  padding: 20px;
  z-index: 4;
  transform: translateY(-30%);
  padding: 20px;
  display: flex;
  justify-content: center;
}

.button-index {
padding: 10px 20px;
font-size: 14px;
background-color: #fff;
border: 1px solid #000;
color: #333;
text-decoration: none;
border-radius: 4px;
cursor: pointer;
font-weight: bold;
}

.terra {
  position: fixed;
  width: 45vw;
  height: auto;
  left: -8%;
  top: 20vh; /* em vez de bottom: 30% */
  transform: translateX(-50%) rotateZ(20deg);
  z-index: 0;
  animation: flutuar-vertical 5s ease-in-out infinite;
}

.lua {
  position: fixed;
  width: 15vw;
  height: auto;
  left: 20%;
  top: 10vh; /* ou o valor desejado para posição vertical */
  transform: translateX(-50%); /* apenas horizontal */
  animation: oscilar-lua 6s ease-in-out infinite;
}

.planeta {
  position: fixed;
  width: 35vw;
  height: auto;
  right: 2vw;     /* em vez de -6% */
  bottom: 5vh;    /* em vez de 3% */
  animation: flutuar-planeta 7s ease-in-out infinite;
}

.scene{
  position: relative;
  z-index: -1;
}

canvas {
  position: fixed;
  top: 0;
  left: 0;
  z-index: -2; /* atrás de todos os elementos */
}


@keyframes flutuar-vertical {
  0%   { transform: translateY(0) rotateZ(20deg); }
  50%  { transform: translateY(-5px) rotateZ(20deg); }
  100% { transform: translateY(0) rotateZ(20deg); }
}

@keyframes oscilar-lua {
  0%   { transform: translateY(5%) translateX(-5%); }
  50%  { transform: translateY(3%) translateX(-4%); }
  100% { transform: translateY(5%) translateX(-5%); }
}

@keyframes flutuar-planeta {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-4px); }
  100% { transform: translateY(0); }
}

@keyframes fadeUp {
to {
  opacity: 1;
  transform: translateY(0);
  }   
}