/* ==========================================
   RESET CSS
========================================== */

/* Reset Universal */

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ==========================================
   HTML
========================================== */

html {
    scroll-behavior: smooth;
}

/* ==========================================
   BODY
========================================== */

body {
    min-height: 100vh;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

/* ==========================================
   IMAGENS E MÍDIA
========================================== */

img,
picture,
svg,
video,
canvas {
    display: block;
    max-width: 100%;
}

/* ==========================================
   FORMULÁRIOS
========================================== */

input,
button,
textarea,
select {
    font: inherit;
    border: none;
    outline: none;
    background: none;
}

/* ==========================================
   BOTÕES
========================================== */

button {
    cursor: pointer;
    border: none;
    background: transparent;
}

/* ==========================================
   LINKS
========================================== */

a {
    color: inherit;
    text-decoration: none;
}

/* ==========================================
   LISTAS
========================================== */

ul,
ol {
    list-style: none;
}

/* ==========================================
   TABELAS
========================================== */

table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* ==========================================
   TEXTAREA
========================================== */

textarea {
    resize: none;
}

/* ==========================================
   INPUT NUMBER
========================================== */

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    appearance: none;
    margin: 0;
}

/* ==========================================
   INPUT SEARCH
========================================== */

input[type="search"] {
    appearance: none;
}

/* ==========================================
   SELEÇÃO DE TEXTO
========================================== */

::selection {
    background: var(--color-primary);
    color: var(--color-white);
}