html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

html {
    overflow-y: hidden; 
}

.auth-container {
    height: 100vh;
    min-height: -webkit-fill-available; 
    overflow-y: auto; 
}

.auth-bg-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.auth-bg-image {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.auth-bg-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, var(--overlay-opacity));
}

.auth-content-container {
    position: relative;
    z-index: 1;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contenedor-principal {
    height: auto;
    min-height: unset; 
    max-height: none;   
}

.logo-alcaldia {
    position: absolute;
    top: 40px;
    right: 40px;
}

.logo-alcaldia img {
    width: 150px;
    height: auto;
    max-width: 20vw; 
}

.seccion-superior {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 10px 40px 30px 40px;
}

.lado-izquierdo {
    display: flex;
    flex-direction: row; 
    align-items: center;
    gap: 10px; 
    margin-top: 20px;
}

.imagen-usamos {
    max-height: 150px;
    width: auto;
    height: auto;
    max-width: 50vw;
}

.imagen-visor {
    max-height: 100px;
    width: auto;
    height: auto;
    max-width: 15vw;
}

.seccion-central {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.imagen-evolucionamos {
    max-width: 75%;
    width: 75%;
    height: auto;
    margin-bottom: 80px;
}

.seccion-inferior {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    margin-bottom: 40px;
}

.botones-container {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 30px;
    padding-right: 100px;
    background-color: #071726; 
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    flex-wrap: wrap;
}

.panel-text {
    font-family: 'Metropolis', sans-serif !important;
    font-size: 20px;
    margin-right: 5px;
    color: #ebeff1;
}

.btn-newSecondary {
    font-family: 'Metropolis', sans-serif;
    padding: 4px 16px;
    font-size: 20px;
    background-color: #ebeff1;
    border-radius: 30px;
    cursor: pointer;
    color: #071726 !important;
    border: none;       
    outline: none;      
    box-shadow: none;   
    -webkit-appearance: none; 
}

.btn-newSecondary a {
    text-decoration: none;
    color: inherit; 
}


@media (max-width: 768px) {

    .contenedor-principal {
        grid-template-rows: auto auto auto;
        aspect-ratio: auto; 
        height: auto; 
    }

    .lado-izquierdo {
        flex-direction: column; 
        margin-top: 20px;
    }

    .imagen-usamos, .imagen-visor {
        max-width: 40%;
        max-height: none;
    }

    .imagen-evolucionamos {
        max-width: 85%;
        width: 85%;
        height: auto;
        margin-bottom: 20px;
    }

    .logo-alcaldia {
        position: relative;
        top: 0;
        right: 0;
        margin-top: 10px;
        display: flex;
        justify-content: center;
        width: 100%;
    }

    .logo-alcaldia img {
        width: 130px;
        max-width: 60%;
    }

    .botones-container {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        border-radius: 20px;
        padding: 10px;
        width: fit-content; 
        margin: 0 auto; 
        background-color: #152029;
    }

    .boton, .boton-ini, .boton-end {
        max-width: 100px;
        width: 100%;
        padding: 0px 0;
    }

    .seccion-superior {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 0 20px 10px 20px;
    }

    .seccion-inferior {
        display: flex;
        align-items: flex-end;
        justify-content: flex-end;
        margin-top: 10px;
    }
    .btn-newSecondary {
        font-size: medium;
    }
}

