/* ======================================================
   Sammy Portfolio v2
   Reset CSS
====================================================== */

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

html{
    scroll-behavior:smooth;
}

body{
    position:relative;
    min-height:100vh;
    font-family:var(--font);
    background:var(--bg);
    color:var(--text);
    line-height:1.65;
    -webkit-font-smoothing:antialiased;
    text-rendering:optimizeLegibility;
}

.particles-canvas{
    position:fixed;
    inset:0;
    width:100%;
    height:100%;
    pointer-events:none;
    z-index:0;
}

body > section,
body > footer{
    position:relative;
    z-index:1;
}

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

picture{
    display:block;
}

a{
    color:inherit;
    text-decoration:none;
}

ul,
ol{
    list-style:none;
}

button,
input,
textarea{
    font:inherit;
    border:none;
    outline:none;
}

button{
    cursor:pointer;
    background:none;
}

section{
    width:100%;
}

::selection{
    background:var(--primary);
    color:#fff;
}
