.pagina-erro {
    height: 100vh;
    background-color: #0C4A29;
    position: relative;
    overflow: hidden;
}

.poppins-text {
    font-family: 'Poppins', sans-serif;
}

.poppins-text h1 {
    font-size: clamp(10rem, 10vh, 8rem);
}

.poppins-text p {
    font-size: clamp(1rem, 2.5vw, 2rem);
}

.forma-verde {
    z-index: 1;
    width: 45vw;
    bottom: -20%;
    right: 5%;
    animation: float 6s ease-in-out infinite alternate,
               fade 6s ease-in-out infinite;
}

.bubbles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.bubbles span {
    position: absolute;
    bottom: -10%;
    background: rgba(57, 219, 108, 0.7);
    border-radius: 50%;
    animation: bubbleMove linear infinite;
}

@keyframes bubbleMove {
    0% { transform: translateY(0) translateX(0) scale(1); opacity: 0.4; }
    50% { transform: translateY(-50vh) translateX(10px) scale(1.2); opacity: 0.8; }
    100% { transform: translateY(-100vh) translateX(-10px) scale(1); opacity: 0; }
}

@keyframes float {
    from { transform: translateY(0); }
    to { transform: translateY(20px); }
}

@keyframes fade {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

.menino {
    z-index: 3;
    width: 50vw;
    bottom: -30%;
    right: 10%;
}

.texto-erro {
    z-index: 4;
    left: 25%;
    top: 30%;
    color: white;
    max-width: 40%;
}

.texto-erro h1:hover {
    transition: text-shadow 0.15s ease-out;
}

.botao-voltar {
    position: absolute;
    z-index: 3;
    bottom: 10%; 
    left: 28%; 
    padding: 1rem 2rem; 
    font-size: 1.2rem; 
    background-color: rgba(57, 219, 10, 0.5); 
    color: white;
    transition: 0.3s;
}

.botao-voltar:hover {
    background-color: rgba(57, 219, 10, 0.7);
    color: white;
    transition: 0.3s;
}