body {
    margin: 0;
    padding: 0;
    font-family: "Open Sans", sans-serif;
}

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fcf4e6; /* mismo fondo que tu entrada */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 0.5s ease;
}

#preloader.oculto {
    opacity: 0;
    pointer-events: none;
}

.bloqueo-scroll {
    overflow: hidden;
    height: 100vh;
}

html.bloqueo-scroll,
body.bloqueo-scroll {
    overflow: hidden !important;
    height: 100vh !important;
}

#pantalla-entrada {
    position: fixed; /* asegura que quede clavada en viewport */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden; /* evita scroll interno */
}

.pantalla-entrada {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fcf4e6;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.8s ease;
    padding: 30px;
}

.entrada-contenido {
    position: relative;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* padding: 100px; */
    /* border: 2px solid blue; */
}

.sombra {
    opacity: 0.6;
    position: absolute;
    /* width: 150px; */
    left: 0;
    z-index: 2;
}

.sombra-superior {
    top: 66px;
}

.sombra-inferior {
    bottom: 197px;
}

/* Faja rectangular */
.faja-texto {
    background-color: #fcf4e6;
    border-top: 1px solid #81948b;
    border-bottom: 1px solid #81948b;
    width: 500px;
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.nombres-entrada-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 30px;
    /* border: 2px solid red; */
}

.entrada-nombres {
    font-family: var(--font-titulo);
    font-size: 8rem;
    font-weight: 400;
    color: #4a6360;
    margin: 20px 0;
}

.entrada-nombres-amp {
    font-size: 5rem;
}

.hojas {
    /* height: 150px; */
    width: 400px;
    position: relative;
    /* top: 15px; */
    z-index: 1;
    filter: drop-shadow(1px 1px 1px rgba(0, 0, 0, 0.7));
}

.texto-entrada {
    margin: 20px 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.entrada-subtitulo {
    font-size: 1.3rem;
    font-weight: 300;
    /* letter-spacing: 2px; */
    font-family: var(--font-texto);
    color: #35615b;
    /* margin-bottom: 0px; */
}

.entrada-subtitulo:first-child {
    font-weight: 600;
}

.btn-ingresar {
    color: #35615b;
    border: 2px solid #35615b;
    font-size: 1.2rem;
    /* font-weight: 600; */
    padding: 10px 25px;
    border-radius: 25px;
    cursor: pointer;
    /* margin-top: 20px; */
    transition: background 0.3s ease;
    z-index: 5;
}

.btn-ingresar:hover {
    background-color: #35615b;
    color: #fff;
}

.pantalla-entrada.oculta {
    opacity: 0;
    pointer-events: none;
}

@media screen and (max-width: 640px) {
    .sombra {
        width: 280px;
        /* border: 2px solid red; */
        left: 10px;
    }

    .sombra-superior {
        top: 44px;
    }

    .sombra-inferior {
        bottom: 168px;
    }
    .faja-texto {
        width: 300px;
    }
    .hojas {
        width: 250px;
    }
    .entrada-subtitulo {
        font-size: 1rem;
        /* margin-bottom: 10px; */
    }

    .nombres-entrada-container {
        gap: 30px;
    }
    .entrada-nombres {
        font-size: 5rem;
        font-weight: 400;
        /* margin-bottom: 20px; */
    }
    .entrada-nombres-amp {
        font-size: 3rem;
    }
}
