/* =========================================================
   MAJRAWI CSS RESET
   Version: 2.0
========================================================= */

*,
*::before,
*::after{

    margin:0;

    padding:0;

    box-sizing:border-box;

}

html{

    scroll-behavior:smooth;

    -webkit-text-size-adjust:100%;

}

body{

    min-height:100vh;

    font-family:var(--font-family);

    background:var(--bg-color);

    color:var(--text-color);

    text-rendering:optimizeLegibility;

    -webkit-font-smoothing:antialiased;

    -moz-osx-font-smoothing:grayscale;

    overflow-x:hidden;

}

img,
picture,
svg,
video,
canvas{

    display:block;

    max-width:100%;

}

input,
button,
textarea,
select{

    font:inherit;

    color:inherit;

}

button{

    background:none;

    border:none;

    cursor:pointer;

}

a{

    color:inherit;

    text-decoration:none;

}

ul,
ol{

    list-style:none;

}

/* =========================================================
   TABLES
========================================================= */

table{

    border-collapse:collapse;

    border-spacing:0;

    width:100%;

}

/* =========================================================
   FORM ELEMENTS
========================================================= */

input,
textarea,
select{

    outline:none;

    border:none;

    background:transparent;

}

textarea{

    resize:vertical;

}

input::placeholder,
textarea::placeholder{

    color:var(--text-light-color);

}

/* =========================================================
   MEDIA
========================================================= */

iframe{

    border:0;

    width:100%;

}

audio,
video{

    width:100%;

}

/* =========================================================
   SELECTION
========================================================= */

::selection{

    background:var(--primary-color);

    color:#ffffff;

}

/* =========================================================
   ACCESSIBILITY
========================================================= */

:focus-visible{

    outline:3px solid var(--primary-color);

    outline-offset:3px;

}

[hidden]{

    display:none !important;

}

/* =========================================================
   SCROLLBAR
========================================================= */

::-webkit-scrollbar{

    width:10px;

    height:10px;

}

::-webkit-scrollbar-track{

    background:var(--surface-alt);

}

::-webkit-scrollbar-thumb{

    background:var(--primary);

    border-radius:var(--radius-full);

}

::-webkit-scrollbar-thumb:hover{

    background:var(--primary-dark);

}

/* =========================================================
   UTILITIES
========================================================= */

hr{

    border:0;

    border-top:1px solid var(--border-color);

}

strong{

    font-weight:700;

}

em{

    font-style:italic;

}

/* =========================================================
   END
========================================================= */