html, body {
  margin: 0;
  padding: 0;
  background: black;
  overflow: hidden;
}

canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
}

#effectVideo {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  object-fit: cover;
  z-index: 1;
  pointer-events: none;
   opacity: 0;
  transition: opacity 2.5s ease;
}

#effectVideo.visible {
  opacity: 0.8;
}

#scrollContainer { height: 10000px; }

header.glass-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  padding: 16px 32px;
  display: flex; justify-content: space-between; align-items: center;
  backdrop-filter: blur(10px);
  background: rgba(196, 196, 196, 0.5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  z-index: 100;
  color: rgb(37, 37, 37);
  font-family: sans-serif;
  box-sizing: border-box;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transition: opacity 1s ease;
}

header.glass-menu.visible {
  opacity: 1;
}

.logo { font-size: 1rem; font-weight: bold; }
.hamburger { font-size: 1.8rem; cursor: pointer; user-select: none; color: rgb(37, 37, 37); transition: transform 0.3s ease; }
.hamburger.active { transform: rotate(90deg); }

#overlayMenu {
  position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
  backdrop-filter: blur(10px); background: rgba(155, 155, 155, 0.4);
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  z-index: 99; opacity: 0; pointer-events: none; transition: opacity 0.4s ease;
}

#overlayMenu ul { list-style: none; padding: 0; margin: 0; text-align: center; }
#overlayMenu ul li { margin: 20px 0; }
#overlayMenu ul li a {color: rgb(255, 255, 255); font-size: 2rem; text-decoration: none; font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; text-shadow: #000000 5px 0 10px; font-weight: bold; }
#overlayMenu.active { opacity: 1; pointer-events: auto; }
#overlayMenu ul li :hover {
  margin-left: 10px;
  color: rgb(223, 134, 0);
  text-shadow: #1d1d1d 5px 0 10px;
  transition: all 1s;
}

#loader {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle,rgba(0, 0, 0, 0.8) 50%, rgba(0, 0, 0, 0.45) 90%);
  z-index: 9998;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  opacity: 1;
  transition: opacity 0.8s ease;
}

#loader.fade-out {
  opacity: 0;
  pointer-events: none;
}

#loaderLogoWrapper {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

#loaderLogo {
  width: 120px;
  animation: pulse 1.5s infinite ease-in-out;
  transition: opacity 1s ease, transform 1s ease;
}
#loader img {
  width: 150px;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.1); opacity: 0.7; }
  100% { transform: scale(1); opacity: 1; }
}
#soundOptions button {
  background-color: white;
  color: black;
  font-size: 22px;
  padding: 12px 20px;
  border: none;
  cursor: pointer;
  border-radius: 16px;
  margin: 0 10px; /* espaçamento lateral */
  transition: background 0.3s ease;
  box-shadow: inset 0 0 1em rgb(83, 83, 83);
}

#soundOptions button:hover {
  box-shadow: 2px 0px 10px white;
}
#loaderContent {
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 1;
  transition: opacity 0.8s ease, transform 0.8s ease;
}

#loaderLogo.fade-out {
  
  transform: translateY(-120px);
}

#soundOptionsWrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, 30px);
  display: flex;
  flex-direction: row;
  gap: 50px;
  align-items: center;
  opacity: 0;
  transition: opacity 1s ease, transform 1s ease;
  z-index: 10;
}

#soundOptionsWrapper.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.sound-btn {
  position: fixed;
  bottom: 70px;
  right: 10px;
  background: rgba(255, 255, 255, 0);
  border: none;
  font-size: 20px;
  cursor: pointer;
  padding: 12px;
  z-index: 1000;
  transition: background 0.3s ease, transform 0.3s ease;
}

.sound-btn:hover {
  transform: scale(1.3);
}

#whatsappButton {
  position: fixed;
  bottom: 35px;
  right: 22px;
  width: 32px;
  height: 32px;
  z-index: 9999;
  background-color: #24242440;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#whatsappButton:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
  background-color: #057c0571;
}

#whatsappButton img {
  width: 32px;
  height: 32px;
}

header.glass-menu.fade-out,
#effectVideo.fade-out {
  opacity: 0;
  transition: opacity 1s ease;
  pointer-events: none;
}



@media (max-width: 1024px) {
 #soundOptions {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

#soundOptions button {
font-size: 10px;
}
#scrollContainer { height: 6000px; }
}