* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
.titulo{
    position: absolute;
    top: 20%;
    left: 22%;
}

body {
    background-color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    overflow: hidden;
}

.container {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 9 / 19;
    background-color: #1e1e1e;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.8);
    border: 2px solid #333;
}

.final {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 9 / 19;
    background-color:white;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.8);
    border: 2px solid #333;
}

.portada {
    width: 100%;
    height: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    background-image: url(img/fondo_borroso.png);
}

.texto {
    position: absolute;
    top: 15%;
    width: 80%;
    left: 10%;
    color: white;
    font-family: Helvetica, sans-serif;
    font-size: 1.2rem;
    text-align: center;
}
.texto01 {
    position: absolute;
    top: 35%;
    width: 80%;
    left: 10%;
    color: black;
    font-family: Helvetica, sans-serif;
    font-size: 135%;
    text-align: center;
}

.boton {
    position: absolute;
    bottom: 20%;
    left: 50%;
    transform: translateX(-50%);

    width: 250px;
    height: 80px;
    background-image: url('./img/boton_entrada.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;

    cursor: pointer;
}

.boton:hover {
    background-image: url('./img/boton_Variante2.svg');
}

.boton-start {
    position: absolute;
    bottom: 20%;
    left: 50%;
    transform: translateX(-50%);

    width: 250px;
    height: 80px;
    background-image: url('./img/start.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;

    cursor: pointer;
}

.boton-start:hover {
    background-image: url('./img/start_V2.svg');
}

.nav-icon {
    position: absolute;
    cursor: pointer;
    width: 60px;
    height: 60px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 10;
}

.home {
    top: 20px;
    left: 20px;
    background-image: url('./img/home.svg');

    cursor: pointer;
}

.home:hover {
    background-image: url('./img/homeVariante2.svg');
}

.ojo-L {
    left: 1%;
    top: 42%;
    background-image: url(./img/ojo-open.svg);
    cursor: pointer;
}

.ojo-L:hover {
    background-image: url(./img/ojoVariante2.svg);
}

.ojo-R {
    right: 1%;
    top: 42%;
    background-image: url(./img/ojo-open.svg);
    cursor: pointer;
}

.ojo-R:hover {
    background-image: url(./img/ojoVariante2.svg);
}

.arrow-up {
    top: 80%;
    left: 42%;
    background-image: url('./img/adelante.svg');
    cursor: pointer;
}

.arrow-up:hover {
    background-image: url('./img/adelanteVariante2.svg');
}

.ojo {
    bottom: 8%;
    left: 42%;
    background-image: url('./img/ojo-open.svg');
    cursor: pointer;
}

.ojo:hover {
    background-image: url('./img/ojoVariante2.svg');
}

.arrow-down {
    bottom: 8%;
    left: 42%;
    background-image: url('./img/atras.svg');
    cursor: pointer;
}

.arrow-down:hover {
    background-image: url('./img/atrasVariante2.svg');
}

.arrow-left {
    left: 1%;
    top: 42%;
    background-image: url('./img/izquierda.svg');
    cursor: pointer;
}

.arrow-left:hover {
    background-image: url('./img/izquierdaVariante2.svg');
}


.arrow-right {
    right: 1%;
    top: 42%;
    background-image: url('./img/derecha.svg');
    cursor: pointer;
}

.arrow-right:hover {
    background-image: url('./img/derechaVariante2.svg');
}

.box {
    position: absolute;
    width: 120px;
    height: 250px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    z-index: 5;
}

.inicio {
    width: 100%;
    height: 100%;
    background-image: url(./img/img32.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
}

.hab3 {
    width: 100%;
    height: 100%;
    background-image: url(./img/img33.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
}

.hab3-1 {
    width: 100%;
    height: 100%;
    background-image: url(./img/img29.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
}

.hab3-1_1 {
    width: 100%;
    height: 100%;
    background-image: url(./img/img28.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
}

.hab3-2 {
    width: 100%;
    height: 100%;
    background-image: url(./img/img27.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
}

.hab3-3 {
    width: 100%;
    height: 100%;
    background-image: url(./img/img26.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
}

.hab3-4 {
    width: 100%;
    height: 100%;
    background-image: url(./img/img25.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
}

.hab4 {
    width: 100%;
    height: 100%;
    background-image: url(./img/img34.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
}

.hab4-1 {
    width: 100%;
    height: 100%;
    background-image: url(./img/img41.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
}

.hab4-2 {
    width: 100%;
    height: 100%;
    background-image: url(./img/img24.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
}

.hab4-3 {
    width: 100%;
    height: 100%;
    background-image: url(./img/img23.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
}

.hab5 {
    width: 100%;
    height: 100%;
    background-image: url(./img/img31.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
}

.hab5-1 {
    width: 100%;
    height: 100%;
    background-image: url(./img/img20.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
}

.hab5-1_1 {
    width: 100%;
    height: 100%;
    background-image: url(./img/img19.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
}

.hab5-1_2 {
    width: 100%;
    height: 100%;
    background-image: url(./img/img18.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
}

.hab5-1_3 {
    width: 100%;
    height: 100%;
    background-image: url(./img/img17.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
}

.hab5-2 {
    width: 100%;
    height: 100%;
    background-image: url(./img/img16.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
}

.hab5-3 {
    width: 100%;
    height: 100%;
    background-image: url(./img/img10.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
}

.hab5-3_1 {
    width: 100%;
    height: 100%;
    background-image: url(./img/img8.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
}

.hab5-3_2 {
    width: 100%;
    height: 100%;
    background-image: url(./img/img7.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
}

.hab5-3_3 {
    width: 100%;
    height: 100%;
    background-image: url(./img/img6.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
}

.hab5-3_4 {
    width: 100%;
    height: 100%;
    background-image: url(./img/img5.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
}


.hab5-4 {
    width: 100%;
    height: 100%;
    background-image: url(./img/img9.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
}

.hab5-5 {
    width: 100%;
    height: 100%;
    background-image: url(./img/img4.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
}

.hab5-6 {
    width: 100%;
    height: 100%;
    background-image: url(./img/img3.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
}

.hab5-7 {
    width: 100%;
    height: 100%;
    background-image: url(./img/img2.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
}

.hab5-8 {
    width: 100%;
    height: 100%;
    background-image: url(./img/img1.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
}

.hab5-9 {
    width: 100%;
    height: 100%;
    background-image: url(./img/img22.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
}

.hab5-10 {
    width: 100%;
    height: 100%;
    background-image: url(./img/img21.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
}

.hab6 {
    width: 100%;
    height: 100%;
    background-image: url(./img/img39.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
}

.hab6-1 {
    width: 100%;
    height: 100%;
    background-image: url(./img/img40.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
}

.hab6-2 {
    width: 100%;
    height: 100%;
    background-image: url(./img/img37.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
}
.hab6-3 {
    width: 100%;
    height: 100%;
    background-image: url(./img/img36.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
}
.hab6-4 {
    width: 100%;
    height: 100%;
    background-image: url(./img/img42.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
}

.hab6-5 {
    width: 100%;
    height: 100%;
    background-image: url(./img/img38.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
}

.salida{
     width: 100%;
    height: 100%;
    background-image: url(./img/img43.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
}
.ventana-automatica {
    position: absolute;
    bottom: 25%;
    left: 50%;
    transform: translateX(-50%);
    width: 85%;
    z-index: 100;
   
    opacity: 0; 
    animation: aparecer 0.8s ease-out forwards; 
    animation-delay: 0.5s;
}

@keyframes aparecer {
    from {
        opacity: 0;
        transform: translate(-50%, 20px); 
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0); 
    }
}
.contenido-modal {
    background-color: rgba(100, 149, 237, 0.9);
    color: #000;
    padding: 20px;
    border-radius: 8px;
    font-family:  Helvetica, sans-serif;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

.ventana-1, .ventana-2 {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 85%;
    z-index: 100;
    opacity: 0;
}

.ventana-1 {
    bottom: 25%;
    animation: aparecer 0.8s ease-out forwards;
    animation-delay: 0.5s;
}

.ventana-2 {
    bottom: 45%;
    animation: aparecer 0.8s ease-out forwards;
    animation-delay: 3.5s;
}

.contenido-azul {
    background-color: rgba(100, 149, 237, 0.9);
    color: #000;
    padding: 15px;
    border-radius: 8px;
    font-family: Arial, sans-serif;
    font-size: 14px;
}

.contenido-negro {
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 15px;
    border-radius: 8px;
    font-family: Arial, sans-serif;
    font-size: 14px;
    border: 1px solid white;
}

@keyframes aparecer {
    from {
        opacity: 0;
        transform: translate(-50%, 10px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}