
:root{
    --rojo-principal: #ff3333;
    --bs-primary: #ff3333;
    --fondo: #ffffff; /*02813e*/
    --panel-login: #ffffff;
}

@font-face {
  font-family: Montserrat;
  src: url(../fuente/Nexa/Nexa-Regular.ttf);
}

html, body {
  font-family: 'Montserrat' !important;
  background-color: var(--bs-primary);
  background-image: repeating-linear-gradient(36deg, rgba(255,255,255, 0.1), rgba(255,255,255, 0.1) 1px, transparent 0px, transparent 2px);
}

body{
    width: 100vw;
    height: 100vh;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    .principal{
        width: 450px;
        max-width: 50%;
        padding: 15px 0;
        height: fit-content;
        background-color: var(--panel-login);
        box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
        border-radius: 50px 10px 50px 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        @media only screen and (max-width: 768px) {
            max-width: 90%;
            flex-direction: column;
            height: 90%;
        }
        @media (max-width: 576px) {
            height: 80%;
        }
        .d{
            width: 450px;
            display: flex;
            align-items: center;
            justify-content: center;
            @media only screen and (max-width: 768px) {
                width: 100%;
                h1{
                    font-size: 20px;
                }
            }
            h3{
                display: flex;
                align-items: center;
                justify-content: center;
                margin: 15px 0px;
                color: var(--bs-primary);
                font-weight: 700;
                img{
                    border-radius: 50%;
                    margin-right: 10px;
                }
            }
            .c-login{
                width: 85%;
                button{
                    width: 100%;
                    font-weight: 600;
                    background-color: var(--bs-primary);
                    background-image: none;
                    border: none;
                    border-radius: 15px;
                    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2), 0 3px 10px 0 rgba(0, 0, 0, 0.19);
                    margin-bottom: 10px;
                    &.iniciando{
                        p{
                            display: none;
                        }
                        div{
                            display: flex;
                        }
                    }
                    p{
                        margin: 0;
                    }
                    div{
                        display: none;
                        align-items: center;
                        justify-content: center;
                        span{
                            position: relative;
                            &.spinner-loading {
                                margin-right: 10px;
                            }
                            &.punto::after {
                                position: absolute;
                                bottom: -14px;
                                font-size: 22px;
                                display: inline-block;
                                animation: puntos steps(1, end) 1s infinite;
                                content: '';
                            }
                        }
                    }
                }
                .input-group-addon{
                    background-color: #ffffff;
                }
                img{
                    width: 80%;
                    border-radius: 15px;
                }
            }
        }
    }
}
#div-error{
    display: none;
    &.activo{
        display: block;
    }
}
.spinner-loading {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    vertical-align: -0.125em;
    border: 0.25em solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    -webkit-animation: .75s linear infinite spinner-loading;
    animation: .75s linear infinite spinner-loading;
    &.text-light {
        color:  #ffffff!important;
    }
}
@keyframes puntos {
    0%   { content: ''; }
    25%  { content: '.'; }
    50%  { content: '..'; }
    75%  { content: '...'; }
    100% { content: ''; }
}
@keyframes spinner-loading {
  to { transform: rotate(360deg); }
}
