:root{
    --bs-primary: #3E1658;
    --bs-light-primary:#3E1658;
    --bs-bg-color:#EDEDED;

    --bs-danger:#FFA3A3;
    --bs-light-danger:#FF8A8A82;

    --bs-success:#02C530;
    --bs-light-success:#A9FF8AA3;

    --bs-font-family: 'SpaceGrotesk';
    --bs-color: #000;
}


/* Space Grotesk Light (300) */
@font-face {
    font-family: 'SpaceGrotesk';
    src: url('../fonts/SpaceGrotesk-Light.eot');
    src: url('../fonts/SpaceGrotesk-Light.eot?#iefix') format('embedded-opentype'),
    url('../fonts/SpaceGrotesk-Light.woff2') format('woff2'),
    url('../fonts/SpaceGrotesk-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

/* SpaceGrotesk Regular (400) */
@font-face {
    font-family: 'SpaceGrotesk';
    src: url('../fonts/SpaceGrotesk-Regular.eot');
    src: url('../fonts/SpaceGrotesk-Regular.eot?#iefix') format('embedded-opentype'),
    url('../fonts/SpaceGrotesk-Regular.woff2') format('woff2'),
    url('../fonts/SpaceGrotesk-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* SpaceGrotesk Medium (500) */
@font-face {
    font-family: 'SpaceGrotesk';
    src: url('../fonts/SpaceGrotesk-Medium.eot');
    src: url('../fonts/SpaceGrotesk-Medium.eot?#iefix') format('embedded-opentype'),
    url('../fonts/SpaceGrotesk-Medium.woff2') format('woff2'),
    url('../fonts/SpaceGrotesk-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

/* SpaceGrotesk SemiBold (600) */
@font-face {
    font-family: 'SpaceGrotesk';
    src: url('../fonts/SpaceGrotesk-SemiBold.eot');
    src: url('../fonts/SpaceGrotesk-SemiBold.eot?#iefix') format('embedded-opentype'),
    url('../fonts/SpaceGrotesk-SemiBold.woff2') format('woff2'),
    url('../fonts/SpaceGrotesk-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

/* SpaceGrotesk Bold (700) */
@font-face {
    font-family: 'SpaceGrotesk';
    src: url('../fonts/SpaceGrotesk-Bold.eot');
    src: url('../fonts/SpaceGrotesk-Bold.eot?#iefix') format('embedded-opentype'),
    url('../fonts/SpaceGrotesk-Bold.woff2') format('woff2'),
    url('../fonts/SpaceGrotesk-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
body {
    font-family: var(--bs-font-family), sans-serif;
    color: var(--bs-color);
    background-color: var(--bs-bg-color);
}

a {
    font-size: 14px;
    color: var(--bs-color);
}

h2 {
    font-size: 1.8rem;
    font-weight: 700;
    font-stretch: condensed;
    line-height: 1.1;
    color: var(--bs-primary);
}

::-moz-selection {
    background: var(--bs-primary);
    background: rgba(var(--bs-primary-rgb), .2);
}

::selection {
    background: var(--bs-primary);
    background: rgba(var(--bs-primary-rgb), .2);
}

input:focus,
textarea:focus,
select:focus {
    outline: 0;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
    -webkit-text-fill-color: var(--bs-body-color);
    -webkit-box-shadow: 0 0 0 50px rgba(var(--bs-primary-rgb),.2) inset;
    transition: background-color 5000s ease-in-out 0s;
}

.btn-primary {
    --bs-btn-color: var(--bs-primary);
    --bs-btn-bg: var(--bs-white);
    --bs-btn-border-color: var(--bs-primary);
    --bs-btn-hover-color: var(--bs-white);
    --bs-btn-hover-bg: var(--bs-primary);
    --bs-btn-hover-border-color: var(--bs-white);
    --bs-btn-focus-shadow-rgb: 49, 132, 253;
    --bs-btn-active-color: var(--bs-white);
    --bs-btn-active-bg: var(--bs-light-primary);
    --bs-btn-active-border-color: var(--bs-light-primary);
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: var(--bs-white);
    --bs-btn-disabled-bg: var(--bs-primary);
    --bs-btn-disabled-border-color: var(--bs-primary);
}

form p {
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.form-control:focus {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 .25rem rgba(var(--bs-primary-rgb), .25);
}

.form-check-input:checked {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
}

.form-check-input:focus {
    box-shadow: 0 0 0 .25rem rgba(var(--bs-primary-rgb), .25);
}

.form-container {
    max-width: 348px;
    position: relative;
    margin: 0 auto;
}
.contenedor{
    width: 454px;
    padding-left: 28px;
    padding-right: 28px;
    background-color: var(--bs-primary);
    border-radius: 1.5rem;
    margin-top: 13rem;
    margin-bottom: 7rem;
    z-index: 1;
    padding-bottom: 24.8px !important ;
    padding-top:23.73px !important;
}

.medico{
    width: 296px;
    position: absolute;
    top: 20px;

}

input[type="text"], input[type="password"], input[type="email"] {
    width: 100%;
    height: 48px !important;
    border-radius: 5px;
    font-weight: 300;
    font-size: 14px !important;
}

input[type="checkbox"]{
    width: 14px;
    height: 14px;
    border-radius: 0px !important;
    border: none;
}

input[type="checkbox"]:checked{
    border: 1px solid white;
}

label {
    font-size: 12px;
    cursor: pointer;
}

.form-floating label {
    font-weight: 300;
    color: rgba(var(--bs-body-color-rgb), .65);
    top: 5px !important;
}

.btn {
    height: 48px !important;
    width: 100%;
    min-width: 150px;
    font-weight: 300;
    font-size: 14px;
    border-radius: 5px;
}

/* Mensajes de error */
.mensajes-container {
    height: 20px;
    text-align: center;
}

.mensajes-container .mensaje-error {
    color: var(--bs-danger);
    font-size: 15px;

}

.mensajes-container .mensaje-correcto {
    color: var(--bs-success);
    padding: 0 1rem;
    font-size: 15px;
}

.graficos{
    justify-content: center;
    align-items: center;
    padding-left: 14%;
    padding-right: 14%;

}

.logo2, .grafico2{
    width: 7rem;
}

div.col.text-end{
    padding: 0;
}


.info>img{
    width: 4rem;
    padding: 0 !important;
}

@media(max-width:1400px){
    .graficos{
        margin-bottom: 10%;
    }
}

@media (min-width:1200px) {
    /* Estilos para los gráficos laterales */
    .lateral-izquierdo {
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        width: 15%;
    }


    .grafico-lateral {
        max-height: 90%;
        position: absolute;
        bottom: 0;
        left: 0;
    }

}
/** MEDIA QUERIES **/

@media (min-width:1400px) {
    h2{
        width: 80%;
    }

    .btn {
        width: auto;
        height: 39px !important;
    }

    .container{
        margin-bottom: 2rem;
    }
    .info{
        width: 456px;
        height: 106px;
        color: var(--bs-light-primary);
        gap: 19px;
        border: 2px solid var(--bs-light-primary);
        border-radius: 20px;
        padding: 1%;
        padding-left: 2%;
        font-weight: 100;

    }

    .graficos{
        position: absolute;
        align-items: end;
        bottom: 3%;
        right: 5rem;
        padding-right: 0;
        padding-left: 0;
    }

    .logo2{
        width: 158px;
    }
    .grafico2{
        width: 117px;
    }
    .medico {
        display: none;
    }
    .container {
        margin-left: auto;
        margin-right: auto;
    }

    .lateral-derecho{
        position: absolute;
        right: 0;
        height: 100vh;
        width: 40% !important;
        padding: 6rem 5rem 0 5%;
    }
    .texto-fijo {
        font-size: 55px;
        color: var(--bs-primary);
        line-height: 1.2;
        font-weight: 400;
        white-space: nowrap;
        text-align: end;
    }

    .texto-fijo b {
        font-weight: 700;
        padding-right: 0;
    }

}

@media (max-width: 1400px) {
    .info {
        display: none;
    }
    .lateral-izquierdo{
        display: none;
    }
}
