/* ==========================================
   CNA V2

   File:
   reset.css

   Description:
   Base Reset & Global Styles

   Author:
   CNA

========================================== */


/* ===== Reset ===== */

*,
*::before,
*::after {
    margin:0;
    padding:0;
    box-sizing:border-box;
}


/* ===== HTML ===== */

html {
    scroll-behavior:smooth;
    font-size:16px;
}

/* ===== Body ===== */

body{
    background:var(--bg-primary);
    color:var(--text-primary);
    font-family:'Inter', sans-serif;
    text-rendering:optimizeLegibility;
    -webkit-font-smoothing:antialiased;
    -moz-osx-font-smoothing:grayscale;
    overflow-x:hidden;
    min-height:100vh;
}

/* ===== Selection =====*/

::selection {
    background:var(--color-secondary);
    color:white;
}

/* ===== Images ===== */

img {
    display:block;
    max-width:100%;
    height:auto;
}

/* ===== Links ===== */

a{
    color:inherit;
    text-decoration:none;
    transition:var(--transition-fast);
}

/* ===== Lists ===== */

ul,
ol {
    list-style:none;
}


/* ===== Buttons =====*/

button{
    border:none;
    background:none;
    font:inherit;
    color:inherit;
    cursor:pointer;
}


/* ===== Inputs ===== */

input,
textarea,
select,
button{
    font:inherit;
    outline:none;
}


/* ===== Textarea =====*/

textarea {
    resize:none;
}


/* ===== Tables ===== */

table{
    border-collapse:collapse;
    border-spacing:0;
}


/* ===== Scrollbar ===== */

::-webkit-scrollbar {
    width:10px;
}

::-webkit-scrollbar-track {
    background:var(--bg-secondary);
}

::-webkit-scrollbar-thumb{
    background:rgba(255, 255, 255, .12);
    border-radius:var(--radius-full); 
}

::-webkit-scrollbar-thumb:hover {
    background:rgba(255, 255, 255, .22);
}