/* ==========================================================
   MX-DIG — Cartão Digital Marcia Xavier
   Design System
   Arquivo: components.css
   ========================================================== */


/* ==========================================================
   Reset Básico
   ========================================================== */

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


/* ==========================================================
   Documento
   ========================================================== */

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: var(--text-md);
    font-weight: var(--font-regular);

    color: var(--color-text);
    background: var(--color-background);

    line-height: 1.6;

    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}


/* ==========================================================
   Imagens
   ========================================================== */

img {
    display: block;
    max-width: 100%;
    height: auto;
}


/* ==========================================================
   Links
   ========================================================== */

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}


/* ==========================================================
   Listas
   ========================================================== */

ul,
ol {
    list-style: none;
}


/* ==========================================================
   Botões
   ========================================================== */

button {
    border: none;
    background: none;
    font: inherit;
    cursor: pointer;
}


/* ==========================================================
   Campos de formulário
   ========================================================== */

input,
textarea,
select,
button {
    font: inherit;
}


/* ==========================================================
   Containers
   ========================================================== */

.container {
    width: min(100% - 2rem, var(--container-width));
    margin-inline: auto;
}


/* ==========================================================
   Utilidades
   ========================================================== */

.hidden {
    display: none !important;
}

.text-center {
    text-align: center;
}

.full-width {
    width: 100%;
}