*{
  margin: 0px;
  padding: 0px;
  text-decoration: none;
}

a{
  color: gold;
}

body {
  margin: 0;
  height: 100vh;
  background-image: url(Imagem\ de\ fundo.png); /* Caminho da imagem */
  overflow-y: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  image-rendering: auto;
  display: flex;
  flex-direction: column;
}

header {
  width: 100%;
  max-width: 100vw;
  height: 220px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 20px;
  box-sizing: border-box;
  overflow: hidden;
}

.container {
  display: flex;
  gap: 5vw;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  width: 100%;
  max-width: 600px;
}

.floating-item {
  width: 100px;
  height: 100px;
  background: rgba(132, 46, 244, 0.418);
  border-radius: 50%;
  border: solid gold 1px;
  box-shadow: 0 15px 25px rgba(0,0,0,0.25);
  animation: floatUpDown 3s ease-in-out infinite;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.3rem;
  color: gold;
  font-weight: bold;
  user-select: none;
  cursor: default;
  flex-shrink: 0;
}
.floating-item:nth-child(1) {
  animation-delay: 0s;
}
.floating-item:nth-child(2) {
  animation-delay: 0.3s;
}
.floating-item:nth-child(3) {
  animation-delay: 0.6s;
}
.floating-item:nth-child(4) {
  animation-delay: 0.9s;
}
.floating-item:nth-child(5) {
  animation-delay: 1.2s;
}

@keyframes floatUpDown {
  0%, 100% {
    transform: translateY(0);
    box-shadow: 0 15px 25px rgba(0,0,0,0.25);
  }
  50% {
    transform: translateY(-30px);
    box-shadow: 0 25px 35px rgba(0,0,0,0.35);
  }
}

/* Responsividade */
@media (max-width: 350px), (max-height: 600px) {
  header {
    height: 160px;
    padding: 6px 10px;
  }
  .container {
    gap: 110px;
    max-width: 350px;
  }
  .floating-item {
    width: 80px;
    height: 80px;
    font-size: 1rem;
  }
  .board{
    height: 100px;
    width: 100px;
  }
}

.Texto{
  display: flex;
  align-items: center;      /* Centraliza verticalmente */
  justify-content: center;
  height: 50vh;
  gap: 30px;
}

.Estrutura{
  display: flex;  
  flex-direction: column;
}

.Titulo1{
  font-family: 'Fredoka', sans-serif;
    font-size: 3.5rem;
    color: #fdd835;
    margin: 0;
}

.Titulo2{
  font-size: 6.2rem;
    font-weight: 700;
    color: #FEE440;
}

.Titulo3{
  color: #FDEC81;
}

.Imagem{
  width: 400px;
  height: 600px;
}

#lamp {
  position: fixed;
  top: 20px;
  right: 50%;
  transform: translateX(50%);
  z-index: 3;
  cursor: pointer;
  transition: top 2s ease, opacity 1.5s ease-in;
}

#lamp img {
  width: 60px;
}

#lamp.desce {
  top: 80%;
}

#lamp.some {
  opacity: 0;
}

#cortina {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: black;
      background-size: cover;
      z-index: 2;
      opacity: 1;
      pointer-events: none;
    }

  #cortina.fade-out {
      animation: fadeOut 8s forwards;
    }

    @keyframes fadeOut {
      from {
        opacity: 1;
      }
      to {
        opacity: 0;
      }
    }

#home {
  display: none;
  padding: 50px;
  text-align: center;
  background-color: #f0f0f0;
  height: 100vh;
}