body {
            margin: 0;
            padding: 0;
            font-family: Arial, sans-serif;
            text-align: center;
            background-color: black;
            overflow-x: auto;
            overflow-y: scroll; 
        }

        html, body {
            margin: 0;
            padding: 0;
            height: 100%;
            overflow-y: auto; 
            overflow-x: hidden; 
            scroll-behavior: smooth; 
            touch-action: manipulation; 
            scrollbar-color: white black;
            box-sizing: border-box;
        }

        .container {
            position: absolute;
            width: 100vw;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            color: white;
            font-family: 'Great Vibes', cursive;
            opacity: 0;
            transition: opacity 1s ease-in-out;
            padding-top: 150px;
        }

        .active {
            opacity: 1;
            z-index: 10;
        }

        .hidden {
            display: none;
        }

        .title {
            text-align: center;
            font-size: 3rem;
            font-family: 'Great Vibes', cursive;
            text-shadow: 0 0 10px white, 0 0 20px #c2bebe;
            position: fixed;
            top: 10px;
            left: 50%;
            transform: translateX(-50%);
            z-index: 1000;
            color: white;
            background-color: black;
            padding: 5px;
            width: 100%;
        }

        h1, .timer {
            font-family: 'Great Vibes', cursive;
        }

        h1 {
            font-size: 2em;
            text-shadow: 0 0 10px white, 0 0 20px #c2bebe;
            animation: glow 1.5s infinite alternate;
        }

        .timer {
            font-size: 1em;
        }

        ag {
            font-family: 'Raleway', sans-serif;
            font-size: 0.5em;
            font-weight: bold;
        }
        
        p, h2 {
            font-family: 'Raleway', sans-serif;
            font-size: 1.2em;
            max-width: 70vw;
            margin: 0 auto; 
            justify-content: center;
            word-wrap: break-word; 
        }


        img {
            max-width: 50vw;
            max-height: 50vh;
            width: auto;
            height: auto;
            margin-top: 20px;
            border-radius: 10px;
            box-shadow: 0 0 20px white;
        }

        @keyframes glow {
            from {
                text-shadow: 0 0 10px white, 0 0 20px white;
            }
            to {
                text-shadow: 0 0 20px #c2bebe, 0 0 30px #c2bebe;
            }
        }

        .buttons {
            margin-top: 20px;
            position: relative;
        }

        button {
            background-color: white;
            color: black;
            border: none;
            padding: 10px 20px;
            font-size: 1.2rem;
            font-family: 'Raleway', sans-serif;
            cursor: pointer;
            border-radius: 10px;
            margin: 5px;
        }

        button:hover {
            background-color: #c2bebe;
            color: white;
        }
        .popup {
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 80%; 
            max-width: 500px;
            max-height: 80vh; 
            background: white; 
            padding: 20px;
            box-shadow: 0px 0px 10px #c2bebe;
            display: none;
            z-index: 1000;
            border-radius: 10px;
            overflow-y: auto; 
            color: black;
        } 

        @media (max-width: 480px) {
            .popup {
                width: 85%;
                max-height: 85vh;
                padding: 15px;
            }
            }
        
        .popup2 {
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            background: white; 
            padding: 20px;
            box-shadow: 0px 0px 10px #c2bebe;
            display: none;
            z-index: 1000;
            border-radius: 10px;
            color: black;
        }   
        .popupcadeado {
            position: absolute;
            top: 8px;
            right: 12px;
            cursor: pointer;
            font-size: 15px;
            color: #c2bebe;
            font-weight: bold;
        }
        .popup .close-btn {
            position: absolute;
            top: 8px;
            right: 12px;
            cursor: pointer;
            font-size: 20px;
            color: #c2bebe;
            font-weight: bold;
        }        
        .close-btn-footer {
            bottom: 8px;
            right: 12px;
            cursor: pointer;
            font-size: 20px;
            color: #c2bebe;
            font-weight: bold;
        }
        .footer {
            position: fixed;
            top: 10px;
            width: 100%;
            text-align: center;
            color: white;
            font-size: 1rem;
            font-family: 'Great Vibes', cursive;
            background-color: black;
        }

        .creditos {
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            background: white;
            padding: 20px;
            box-shadow: 0px 0px 10px #c2bebe;
            display: none;
            z-index: 1000;
            border-radius: 10px;
            color: black;
        }
        .hearts {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: 99999;
        }
        .heart {
            position: absolute;
            bottom: -10px;
            color: red;
            font-size: 20px;
            opacity: 0.7;
            animation: float 5s linear infinite;
        }
        @keyframes float {
            0% { transform: translateY(0); opacity: 1; }
            100% { transform: translateY(-100vh); opacity: 0; }
        }
        
        audio {
            position: fixed;
            bottom: 10px;
            right: 10px;
            width: 200px;
            z-index: 1000;
        }
        .pause-btn {
            position: fixed;
            bottom: 10px;
            right: 10px;
            padding: 5px 10px;
            font-size: 1em;
            background-color: white;
            color: black;
            border: none;
            border-radius: 10px;
            cursor: pointer;
            transition: 0.3s;
            animation: infinite;
            z-index: 1000; 
        }
        
        .pause-btn:hover {
            background-color: #c2bebe;
            color: white;
        }
        .lock-btn {
            position: fixed;
            bottom: 10px;
            left: 10px;
            padding: 5px 10px;
            font-size: 1em;
            background-color: white;
            color: black;
            border: none;
            border-radius: 10px;
            cursor: pointer;
            transition: 0.3s;
            animation: infinite;
            z-index: 1000; 
        }

       .voltar-btn {
            position: fixed;
            top: 115px;
            left: 10px;
            padding: 5px 10px;
            font-size: 1em;
            background-color: white;
            color: black;
            border: none;
            border-radius: 10px;
            cursor: pointer;
            transition: 0.3s;
            animation: infinite;
            z-index: 1000;            /* apenas para garantir sobreposição de elementos internos */
       }

        #lockAnswer {
            font-family: 'Raleway', sans-serif;
            font-size: 14px;
            width: 90px;
            text-align: center;
            padding: 5px;
            border: 1px solid #ccc;
            border-radius: 5px;
        }

.menu-fixo {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  text-align: center;
  color: white;
  background-color: rgba(0, 0, 0, 0.9);
  padding: 10px 0 15px 0;
  z-index: 1000;
  box-shadow: 0 0 20px white;
  backdrop-filter: blur(6px);
}

/* Texto do tempo */
.menu-fixo .tempo {
  font-family: 'Great Vibes', cursive;
  font-size: 1.2rem;
  margin-bottom: 5px;
}

/* Título principal */
.menu-fixo h1 {
  font-family: 'Great Vibes', cursive;
  font-size: 2.8rem;
  text-shadow: 0 0 10px white, 0 0 20px #c2bebe;
  margin: 0;
}


/* Espaço abaixo do menu fixo */
main {
  margin-top: 140px; /* ajuste conforme a altura do menu fixo */
}

/* Botões do submenu */
#submenu {
  text-align: center;
}

.submenu-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.submenu-btn {
  width: 300px;
  padding: 10px 20px;
  background-color: white;
  color: black;
  border: none;
  border-radius: 10px;
  font-size: 1.2rem;
  font-family: 'Raleway', sans-serif;
  cursor: pointer;            
  box-shadow: 0 0 10px white;
  margin-top: 20px;          
}

.submenu-btn:hover {
    background-color: #c2bebe;
    color: white;
}

/* Área de conteúdo da subpágina */
.conteudo-subpagina {
    width: 90%;
    max-width: 800px;
    margin: 0 auto;
    min-height: 300px;
    text-align: center;
}

.grupo-imagens-flex {
  display: flex;           /* ativa o flex */
  flex-wrap: wrap;         /* permite quebra de linha se não couber */
  justify-content: center; /* centraliza o grupo */
  gap: 10px;               /* espaço entre imagens */
}
.grupo-imagens .imagem {
   max-width: 45%;
  border-radius: 20px;
  box-shadow: 0 0 20px white;
  cursor: pointer;
}

/* Personalização visual */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: black;
}

::-webkit-scrollbar-thumb {
  background: white;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: white;
}


