/* Estilos base. Se cargará el código definitivo en el siguiente paso. */
/* =========================================================
   COLBIOMEDICA DOCS
   ESTILOS BASE
========================================================= */

/* =========================================================
   RESET
========================================================= */

*,
*::before,
*::after{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

/* =========================================================
   HTML
========================================================= */

html{

    scroll-behavior:smooth;

    font-size:16px;

    -webkit-text-size-adjust:100%;

}

/* =========================================================
   BODY
========================================================= */

body{

    background:var(--gradiente-fondo);

    color:var(--texto-principal);

    font-family:var(--fuente-principal);

    font-size:var(--texto-base);

    line-height:var(--linea-normal);

    min-height:100vh;

    overflow-x:hidden;

}

/* =========================================================
   SELECCIÓN
========================================================= */

::selection{

    background:var(--color-turquesa);

    color:white;

}

/* =========================================================
   SCROLLBAR
========================================================= */

::-webkit-scrollbar{

    width:10px;

    height:10px;

}

::-webkit-scrollbar-track{

    background:var(--color-gris-100);

}

::-webkit-scrollbar-thumb{

    background:var(--color-gris-400);

    border-radius:20px;

}

::-webkit-scrollbar-thumb:hover{

    background:var(--color-azul-corporativo);

}

/* =========================================================
   TIPOGRAFÍA
========================================================= */

h1,h2,h3,h4,h5,h6{

    font-family:var(--fuente-titulos);

    font-weight:var(--peso-bold);

    color:var(--color-azul-corporativo);

    line-height:var(--linea-titulo);

}

h1{

    font-size:var(--texto-4xl);

}

h2{

    font-size:var(--texto-3xl);

}

h3{

    font-size:var(--texto-2xl);

}

h4{

    font-size:var(--texto-xl);

}

p{

    color:var(--texto-principal);

    margin-bottom:var(--espacio-4);

}

/* =========================================================
   ENLACES
========================================================= */

a{

    color:var(--texto-enlace);

    text-decoration:none;

    transition:var(--transicion-normal);

}

a:hover{

    color:var(--texto-enlace-hover);

}

/* =========================================================
   IMÁGENES
========================================================= */

img{

    display:block;

    max-width:100%;

    height:auto;

}

/* =========================================================
   LISTAS
========================================================= */

ul{

    list-style:none;

}

ol{

    padding-left:24px;

}

/* =========================================================
   TABLAS
========================================================= */

table{

    width:100%;

    border-collapse:collapse;

}

/* =========================================================
   INPUTS
========================================================= */

input,
textarea,
select,
button{

    font:inherit;

}

button{

    cursor:pointer;

}

/* =========================================================
   CONTENEDORES
========================================================= */

.container{

    width:min(100% - 40px,var(--ancho-contenido-maximo));

    margin:auto;

}

.container-admin{

    width:min(100% - 40px,var(--ancho-admin));

    margin:auto;

}

.container-catalogo{

    width:min(100% - 40px,var(--ancho-catalogo));

    margin:auto;

}

/* =========================================================
   UTILIDADES
========================================================= */

.oculto{

    display:none !important;

}

.centrado{

    text-align:center;

}

.texto-derecha{

    text-align:right;

}

.texto-izquierda{

    text-align:left;

}

.negrita{

    font-weight:700;

}

.flex{

    display:flex;

}

.grid{

    display:grid;

}

/* =========================================================
   SOMBRAS
========================================================= */

.sombra{

    box-shadow:var(--sombra-md);

}

.sombra-fuerte{

    box-shadow:var(--sombra-lg);

}

/* =========================================================
   TARJETAS
========================================================= */

.card{

    background:white;

    border-radius:var(--radio-lg);

    box-shadow:var(--sombra-sm);

    border:1px solid var(--borde-color);

}

/* =========================================================
   TRANSICIONES
========================================================= */

button,
input,
textarea,
select,
a{

    transition:var(--transicion-normal);

}

/* =========================================================
   FOCUS
========================================================= */

:focus-visible{

    outline:3px solid rgba(0,166,200,.35);

    outline-offset:3px;

}

/* =========================================================
   CARGA
========================================================= */

body{

    animation:fadeBody .25s ease;

}

@keyframes fadeBody{

    from{

        opacity:0;

    }

    to{

        opacity:1;

    }

}
