body, html {
    height: 100%;
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background-color: #ffffff; /* Color de fondo general */
}

.header {
    background-color: #ffffff; /* Color de fondo del header */
    padding: 10px 20px; /* Reducir el tamaño del navbar */
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.logo {
    max-width: 10%;
}

.nav-list {
    list-style-type: none;
    display: flex;
    gap: 1rem;
    margin: 0;
    justify-content: flex-end;
    flex: 1;
}

.nav-list a {
    color: #023546;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
}

.home {
    background-image: url('../images/main-background.png'); /* Ruta a tu imagen de fondo para la sección home */
    background-size: cover;
    background-position: center;
    padding: 60px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: left;
    color: #023546;
}

.home-content {
    max-width: 1200px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

.home-text {
    flex: 1;
    padding: 20px;
}

.home-text #titulo-inicial {
    font-size: 4rem;
    font-weight: bold;
}

.home-text .texto-negrita {
    font-size: 1.5rem;
    font-weight: bold;
}

.home-text .texto-normal {
    font-size: 1.5rem;
}

.home-image {
    flex: 1;
    padding: 20px;
    display: flex;
    justify-content: center;
}

.home-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.registro {
    background-color: #dfe5ef; /* Color de fondo para la sección de registro */
    padding: 40px 20px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
}

.registro-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto; /* Ajustar el margen lateral */
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.registro-text {
    flex: 1;
}

.registro h2 {
    font-size: 1.5rem;
    font-weight: bold;
    color: #023546;
}

.registro .texto-normal {
    font-size: 1rem;
    color: #023546;
}

.form-container {
    background: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    width: 100%;
    margin: 0 auto; /* Centrar el formulario */
}

.form-container label {
    display: block;
    font-size: 1rem;
    color: #023546;
    margin-bottom: 8px;
}

.form-container input,
.form-container select {
    width: calc(100% - 20px);
    padding: 10px;
    margin-bottom: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.form-container button {
    background-color: #4370aa;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    width: 100%;
}

.form-container button:hover {
    background-color: #2a5389;
}

.registro-completo {
    display: none;
    text-align: center;
    margin-top: 20px;
}

.registro-completo img {
    max-width: 100px;
    margin-bottom: 20px;
}

.registro-completo .texto-negrita {
    font-size: 1.2rem;
    font-weight: bold;
    color: #023546;
}

.footer {
    text-align: center;
    padding: 20px;
    background-color: #fff; /* Fondo blanco para el footer */
    border-radius: 8px;
    margin-top: 20px;
}

.footer-logo {
    max-width: 150px;
}

.overlay, .end-overlay, .pause-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex; /* Mostrar la superposición por defecto */
    justify-content: center; /* Centrar el contenido horizontalmente */
    align-items: center; /* Centrar el contenido verticalmente */
    color: white; /* Color del texto */
    font-size: 20px; /* Tamaño del texto */
    cursor: pointer; /* Cambiar el cursor al pasar por encima */
}

.overlay {
    background-color: rgba(0, 0, 0, 0.5); /* Fondo semi-transparente para la superposición de inicio/pausa */
}

.end-overlay {
    background-color: black; /* Fondo completamente negro para la superposición de fin */
    display: none; /* Ocultar la superposición por defecto */
    z-index: 10; /* Asegurar que esté encima de las otras superposiciones */
}

.pause-overlay {
    background-color: rgba(0, 0, 0, 0.5); /* Fondo semi-transparente para la superposición de pausa */
    display: none; /* Ocultar la superposición por defecto */
    z-index: 5; /* Asegurar que esté por debajo de la superposición de fin */
}

/* Componentes del video */ 
.video-container {
    position: relative;
    width: 100%;
    max-width: 560px; /* Modificar para ajustar el ancho máximo del video */
    height: auto;
    margin: 0 auto; /* Centrar el contenedor del video */
    background: #000; /* Fondo negro para el contenedor del video */
}
.video-container iframe {
    width: 100%; /* Asegura que el iframe ocupe todo el contenedor */
    height: 315px; /* Altura fija del iframe */
    border: 0; /* Sin bordes alrededor del iframe */
}

.psic {
    background-color: #dfe5ef; /* Color de fondo para la sección de psic */
    padding: 40px 20px;
    display: flex;
    justify-content: center;
    align-items: flex-start; /* Centrar verticalmente */
}

.psic-container {
    max-width: 1200px; /* Ajustar al mismo ancho que la sección de registro */
    width: 100%;
    margin: 0 auto; /* Ajustar el margen lateral */
    text-align: center; /* Centrar el texto */
}

.psic h2 {
    font-size: 1.5rem;
    font-weight: bold;
    color: #023546;
    text-align: left; /* Alinear texto a la izquierda */
}

.psic .texto-normal {
    font-size: 1rem;
    color: #023546;
    margin-bottom: 20px;
    text-align: left; /* Alinear texto a la izquierda */
}

.plyr__video-embed {
    max-width: 100%;
    margin: 0 auto;
    border-radius: 8px;
    overflow: hidden;
}

.plyr__video-embed iframe {
    pointer-events: none; /* Deshabilitar los clics en el iframe */
}

.saludinteligente {
    background-color: #dfe5ef; /* Color de fondo */
    padding: 40px 20px;
}

.saludinteligente-container {
    max-width: 1200px; /* Ajustar al mismo ancho que la sección de registro */
    width: 100%;
    margin: 0 auto; /* Ajustar el margen lateral */
    display: flex;
    flex-direction: column;
}

.saludinteligente-content {
    display: flex;
    justify-content: space-between;
    align-items: center; /* Centrar verticalmente */
    width: 100%;
}

.saludinteligente-text {
    flex: 1;
    padding-right: 20px;
}

.saludinteligente h2 {
    font-size: 1.5rem;
    font-weight: bold;
    color: #023546;
}

.saludinteligente .texto-normal {
    font-size: 1rem;
    color: #023546;
    margin-bottom: 20px;
    text-align: left; /* Alinear texto a la izquierda */
}

.saludinteligente .texto-negrita {
    color: #023546;
    font-weight: bold;
}

.app-download {
    display: flex;
    justify-content: flex-start; /* Alinear los elementos a la izquierda */
    margin-bottom: 20px;
    gap: 20px; /* Añadir espacio entre los elementos */
}

.app-qr {
    text-align: center;
}

.app-qr img {
    max-width: 100px;
    margin-bottom: 10px;
}

.app-screenshot {
    flex: 1;
    display: flex;
    justify-content: center; /* Centrar la imagen horizontalmente */
    align-items: center; /* Centrar la imagen verticalmente */
}

.app-screenshot img {
    max-width: 250px; /* Hacer las imágenes más grandes */
    margin-left: 20px; /* Añadir espacio a la izquierda de las imágenes */
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 40px;
    width: 100%;
}

.step {
    display: flex;
    justify-content: space-between;
    align-items: center; /* Alinear contenido a la izquierda */
}

.step-text {
    flex: 1;
    color: #023546; /* Cambia a tu color deseado */
}

.step ul {
    text-align: left;
    max-width: 500px;
    margin-bottom: 20px;
    line-height: 1.6; /* Añadir espacio entre los elementos de la lista */
}

.step img {
    max-width: 250px; /* Hacer las imágenes más grandes */
    margin-left: 20px; /* Añadir espacio a la izquierda de las imágenes */
}

.final-id {
    display: flex;
    align-items: center;
    gap: 20px;
}

.final-id img {
    max-width: 100px;
}

.id-info {
    background-color: #fff;
    padding: 10px 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.id-info .texto-normal {
    margin: 0;
    font-size: 1rem;
    color: #023546;
}

.id-number {
    font-size: 1.2rem;
    font-weight: bold;
    color: #023546;
}

/* Estilos para la sección de MIDO */
.mido {
    background-color: #dfe5ef; /* Color de fondo para la sección de MIDO */
    padding: 40px 20px;
}

.mido-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto; /* Ajustar el margen lateral */
}

.mido-content {
    display: flex;
    justify-content: space-between;
    align-items: center; /* Centrar verticalmente */
    margin-bottom: 40px;
}

.mido-text {
    flex: 1;
}

.mido-text h2 {
    font-size: 1.5rem;
    font-weight: bold;
    color: #023546;
}

.mido-text .texto-normal {
    font-size: 1rem;
    color: #023546;
    margin-bottom: 20px;
}

.mido-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.mido-image img {
    max-width: 300px;
    border-radius: 50%; /* Hacer la imagen redonda */
}

.welcome-message {
    text-align: center;
    padding-top: 40px;
    padding-bottom: 40px;
}

.welcome-message h2 {
    font-size: 1.5rem;
    font-weight: bold;
    color: #023546;
}

.welcome-message .texto-negrita {
    font-size: 1.2rem;
    font-weight: bold;
    color: #023546;
}

.welcome-message .texto-normal {
    font-size: 1rem;
    color: #023546;
    margin-bottom: 20px;
}

/* Estilos para la sección de Soporte Técnico */
.soporte {
    background-color: #dfe5ef; /* Color de fondo para la sección de soporte */
    padding: 40px 20px;
}

.soporte-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto; /* Ajustar el margen lateral */
    text-align: left;
}

.soporte h2 {
    font-size: 1.5rem;
    font-weight: bold;
    color: #023546;
}

.soporte .texto-normal {
    font-size: 1rem;
    color: #023546;
    margin-bottom: 20px;
}

.soporte-info {
    list-style-type: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.soporte-info li {
    font-size: 1rem;
    color: #023546;
    margin-bottom: 10px;
}

.soporte-label {
    font-weight: bold;
    color: #023546;
}

.soporte-link {
    display: block;
    font-size: 1rem;
    color: #023546;
    font-weight: bold;
    text-decoration: none;
    margin-bottom: 20px;
}

.soporte-link:hover {
    text-decoration: underline;
}

.soporte-image {
    text-align: center;
}

.soporte-image img {
    max-width: 100%;
    height: auto;
}

#loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Fondo semi-transparente */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loading-content {
    text-align: center;
    color: #fff; /* Color del texto */
}

.loading-content img {
    width: 100px; /* Ajusta el tamaño del GIF según sea necesario */
}

.loading-content p {
    margin-top: 10px;
    font-size: 18px;
    font-weight: bold;
}

/* Media queries para dispositivos móviles */
@media (max-width: 768px) {
    .header {
        flex-direction: column;
        align-items: flex-start;
    }

    .logo {
        max-width: 50%;
    }

    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .home-content {
        flex-direction: column;
        text-align: center;
    }

    .home-text {
        padding: 10px;
    }

    .home-text #titulo-inicial {
        font-size: 2rem;
    }

    .home-text .texto-negrita,
    .home-text .texto-normal {
        font-size: 1rem;
    }

    .home-image {
        padding: 10px;
    }

    .registro-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .registro-text,
    .form-container {
        width: 100%;
        padding: 10px;
    }

    .psic-container {
        text-align: center;
    }

    .psic .texto-normal,
    .psic h2 {
        text-align: center;
    }

    .saludinteligente-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .saludinteligente-text {
        padding: 10px 0;
        width: 100%;
    }

    .app-screenshot {
        justify-content: flex-start;
        width: 100%;
    }

    .steps {
        gap: 20px;
    }

    .step {
        flex-direction: column;
        align-items: flex-start;
    }

    .step img {
        margin-left: 0;
        margin-top: 10px;
    }

    .mido-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .mido-text {
        text-align: center;
        margin-bottom: 20px;
    }

    .mido-image {
        margin-bottom: 20px;
    }

    .soporte-container {
        text-align: center;
    }

    .soporte-info {
        text-align: left;
    }
}