/* CSS Document */
    body {
        background: linear-gradient(135deg, #010f3e, #1f75db);
        font-family: Arial, sans-serif;
        color: #fff;
        display: flex;
        justify-content: center;    /* Center horizontally */
        align-items: center;        /* Center vertically */
        min-height: 100vh;          /* Ensure body takes full viewport height */
    }

    img{
        width: 100%;
        height: auto;
        display: block;
    }

    /* Logo Philips */
    nav{
        padding: 1.5rem;
        position: absolute;
    }
    .logo-philips{
        width: 125px;
        height: 23px;
    }
    .inicio{
        width: 90%;
        padding: 0 5%;
        margin:auto;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 1.5rem; 
        outline: 1px solid s; 
    }
    .logo-90{
        width: 239px;
        height: 420px;
    }
    .logo-90-small{
        width: 51px;
        height: 90px;
        position: absolute;
        bottom: 1.2rem;
        right: 1.2rem;
    }
    .foto-cero{
        width: 5rem;
        height:5rem;
        position: absolute;
        right:5rem;
        top:0px;
        background-color: #0b5ed7;
        animation: alfa-uno 3s forwards;
    }
    .foto-uno{
        width: 5rem;
        height:5rem;
        position: absolute;
        right:0px;
        top:0px;
        opacity:0;
        background-color: #bdffc1;
        animation: alfa-uno 5s forwards;
        animation-delay: 0.5s;
        background-position: center center;
    }
    .foto-dos{
        width: 5rem;
        height:5rem;
        position: absolute;
        right:0;
        top:5rem;
        animation: alfa-uno 4s forwards;
        background-color: #00126e;
    }
    .foto-tres{
        width: 5rem;
        height:5rem;
        position: absolute;
        left:0;
        top:15rem;
        animation: alfa-uno 5s forwards;
        animation-delay: 1s;
        background-color: #0b5ed7;
        opacity: 0;
    }
    .foto-cuatro{
        width: 5rem;
        height:5rem;
        position: absolute;
        left:0;
        top:20rem;
        animation: alfa-uno 4s forwards;
        background-color: #bdf0ff;
    }
    .foto-cinco{
        width: 5rem;
        height:5rem;
        position: absolute;
        left:0;
        top:25rem;
        animation: alfa-uno 3s forwards;
        background-color: #0b5ed7;
    }
    .foto-seis{
        width: 5rem;
        height:5rem;
        position: absolute;
        right:0;
        bottom:0;
        animation: alfa-uno 3s forwards;
        background-color: #bdf0ff;
    }
    .foto-siete{
        width: 5rem;
        height:5rem;
        position: absolute;
        right:0;
        bottom:5rem;
        animation: alfa-uno 4s forwards;
        background-color: #0b5ed7;
        animation-delay: 1s;
        opacity: 0;
    }
    .foto-ocho{
        width: 5rem;
        height:5rem;
        position: absolute;
        right:5rem;
        bottom:0rem;
        animation: alfa-uno 5s forwards;
        background-color: #00126e;
    }

    @keyframes alfa-uno {
        0% { opacity: 0; }
        50% { opacity: 1; }
        80% { opacity: 0; }
        100% { opacity: 0; } /* Pausa entre ciclos */
    }

    .foto-cero,
    .foto-uno,
    .foto-dos,
    .foto-tres,
    .foto-cuatro,
    .foto-cinco,
    .foto-seis,
    .foto-siete,
    .foto-ocho {
        animation-iteration-count: infinite;
    }

    .btn {
        background-color: rgba(255, 255, 255, 0.15);
        color: white;
        padding: 12px 30px;
        font-size: 1.2rem;
        border: 1px solid #648bcb;    
        border-radius: 15px;
        cursor: pointer;
        transition: background-color 0.3s ease;
    }

    /*.btn:hover {
        background-color: #0056b3;
        transition: background-color 0.5s ease;
    }*/

    .btn-pregunta {
        background-color: rgba(255, 255, 255, 0.15);
        color: white;
        padding: 0.8rem 1%;
        width: 75%;
        font-size: 1.1rem;
        border: 1px solid #648bcb;
        border-radius: 15px;
        cursor: pointer;
        transition: background-color 0.3s ease;
    }
    /*.btn-pregunta:hover {
        background-color: #0056b3;
        transition: background-color 0.5s ease;
    }*/
    .btn-error {
        background-color: #e9451f!important;
        color: white;
        padding: 0.8rem 1%;
        width: 75%;
        font-size: 1.1rem;
        border: 1px solid #648bcb;
        border-radius: 15px;
        cursor: pointer;
        transition: background-color 0.3s ease;
    }
    .btn-correcta {
        background-color: #26d96e!important;
        color: white;
        padding: 0.8rem 1%;
        width: 75%;
        font-size: 1.1rem;
        border: 1px solid #648bcb;
        border-radius: 15px;
        cursor: pointer;
        transition: background-color 0.3s ease;
    }

    .btn-pregunta:focus,.btn-pregunta:active, .btn-pregunta:focus-visible {
        outline: 0!important;
    }

    .tiempo {
        background-color: rgba(255, 255, 255, 0.15);
        color: white;
        width: 90%;
        height: 0.6rem;
        border: 1px solid #648bcb;
        border-radius: 5px;
        margin: 1rem 0;
    }
    .linea-de-tiempo{
        background-color: #5796ff;
        width: 50%;
        height: 0.6rem;;
    }
    .registro{
        width: 90%;
        padding: 0 5%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 1rem;  
        margin: auto;
    }
    .registro-fila {
        margin: auto;
        width: 80%;
        display: flex;
        align-items: baseline;
    }
    .registro-columna-izquierda{
        width: 25%;
    }
    .registro-columna-derecha{
        width: 75%;
    }
    .campo-de-texto{
        width: 98%;
        border: 1px solid rgba(255, 255, 255, 0.25);
        border-radius: 4px;
        font-size: 1rem;
        color: #fff;
        background-color: rgba(255, 255, 255, 0.25);
        height: 2rem;
        padding: 0 1%;
    }
    .campo-de-texto-desplegable{
        width: 100%;
        border: 1px solid rgba(255, 255, 255, 0.25);
        border-radius: 4px;
        font-size: 1rem;
        color: #fff;
        background-color: rgba(255, 255, 255, 0.25);
        height: 2rem;
    }
    .checkbox{
        margin-right: 1rem;;
    }
    .titular{
        font-size: 2rem;
        font-weight: bold;
        color:#fff;
        text-align: center;
        margin: 0 0 1rem 0;
    }
    .subtitulo{
        font-size: 1.2rem;
        font-weight:400;
        color:#fff;
        text-align: center;
        margin: -1rem 0rem 1rem 0rem;
        max-width: 35ch;
    }
    .legal{
        font-size: 0.75rem;
        color: #fff;
        font-weight: 300;
        margin: 1rem 0;
    }
    h1, h2{
        margin: 0;
        padding: 0;
    }
    p{
        margin-bottom: 0;
        padding: 0;
        line-height: 1rem;
        height: auto;
    }
    .pregunta{
        font-size: 1.25rem;
        font-weight:700;
        color:#fff;
        text-align: center;
        margin: 0rem 0rem 1rem 0rem;
        width: 85%;
    }
    .texto-final{
        font-size: 1.25rem;
        font-weight:400;
        color:#fff;
        text-align: center;
        width: 80%;
        margin-bottom: 1rem;
    }
    .contenedor-imagen{
        width: 86%;
        padding: 2%;
        border-radius: 15px;
        background-color: rgba(255, 255, 255, 0.15);   
    }
    .imagen-redondeada{
        border-radius: 16px;
    }
    #countdown {
        width: 100%;
        height: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 20rem;
        font-weight: 700;
        z-index: 100;
        position: absolute;
    }
    .final{
        width: 90%;
        padding: 0 5%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 1rem;  
        margin: auto;
    }
    #lottie-container {
        opacity: 50;
        transition: opacity 1s ease-in;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        text-align: center;
        z-index: 1100;
        width: 100%;
        height: 100vh;
    }
@media (min-width:801px){
    .contenedor{
        width: 38rem;
        height: 46rem;
        margin:auto;
        border: 1px solid rgba(255, 255, 255, 0.45);
        background: linear-gradient(135deg, #00126e, #16b7e6);
        background-size: cover;
        background-position: center;
        display: flex;
        flex-direction: column;
        position: relative;
        background-image: url("../images/fondo.jpg");
        
    }
}

@media (max-width:800px){

    .contenedor{
        width: 100%;
        height: 100dvh;
        margin:auto;
        border: 1px solid rgba(255, 255, 255, 0.45);
        background: linear-gradient(135deg, #00126e, #16b7e6);
        background-size: cover;
        background-position: center;
        display: flex;
        flex-direction: column;
        position: relative;
        background-image: url("../images/fondo.jpg");
        
    }
}