/*======================================
EIVOX RESET CSS
Version: 1.0
======================================*/

/*======================================
BOX SIZING
======================================*/

*,
*::before,
*::after{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

/*======================================
HTML
======================================*/

html{
    font-size:16px;
    scroll-behavior:smooth;
    -webkit-text-size-adjust:100%;
    -ms-text-size-adjust:100%;
}

/*======================================
BODY
======================================*/

body{
    width:100%;
    min-height:100vh;
    font-family:var(--font-primary);
    font-size:var(--font-md);
    font-weight:var(--weight-normal);
    line-height:1.5;
    color:var(--text);
    background:var(--background);
    overflow-x:hidden;
    -webkit-font-smoothing:antialiased;
    -moz-osx-font-smoothing:grayscale;
    text-rendering:optimizeLegibility;
}

/*======================================
IMAGES
======================================*/

img,
picture{
    display:block;
    max-width:100%;
    height:auto;
    border:none;
}

/*======================================
VIDEOS
======================================*/

video,
iframe{
    display:block;
    max-width:100%;
    border:none;
}

/*======================================
LINKS
======================================*/

a{
    color:inherit;
    text-decoration:none;
    transition:var(--transition);
}

/*======================================
LISTS
======================================*/

ul,
ol{
    list-style:none;
}

/*======================================
HEADINGS
======================================*/

h1,
h2,
h3,
h4,
h5,
h6{
    font-family:var(--font-secondary);
    font-weight:var(--weight-bold);
    line-height:1.2;
    color:var(--text);
}

/*======================================
TEXT
======================================*/

p{
    color:var(--text-light);
    line-height:1.7;
}

/*======================================
BUTTONS
======================================*/

button{
    border:none;
    outline:none;
    background:none;
    cursor:pointer;
    font:inherit;
}

/*======================================
FORM ELEMENTS
======================================*/

input,
textarea,
select{
    font:inherit;
    color:inherit;
    background:none;
    border:none;
    outline:none;
}

textarea{
    resize:vertical;
}

input::-ms-clear,
input::-ms-reveal{
    display:none;
}

/*======================================
TABLES
======================================*/

table{
    width:100%;
    border-collapse:collapse;
    border-spacing:0;
}

/*======================================
HR
======================================*/

hr{
    border:none;
}

/*======================================
QUOTES
======================================*/

blockquote,
q{
    quotes:none;
}

blockquote::before,
blockquote::after,
q::before,
q::after{
    content:"";
}

/*======================================
CODE
======================================*/

code,
pre{
    font-family:Consolas,monospace;
}

/*======================================
SELECTION
======================================*/

::selection{
    background:var(--primary);
    color:#ffffff;
}

/*======================================
SCROLLBAR
======================================*/

::-webkit-scrollbar{
    width:8px;
    height:8px;
}

::-webkit-scrollbar-track{
    background:var(--surface);
}

::-webkit-scrollbar-thumb{
    background:var(--border-light);
    border-radius:999px;
}

::-webkit-scrollbar-thumb:hover{
    background:var(--primary);
}

/*======================================
FOCUS
======================================*/

:focus-visible{
    outline:2px solid var(--primary);
    outline-offset:2px;
}

/*======================================
DISABLED
======================================*/

button:disabled,
input:disabled,
textarea:disabled,
select:disabled{
    opacity:.6;
    cursor:not-allowed;
}

/*======================================
HIDDEN
======================================*/

[hidden]{
    display:none !important;
}