
/* =====================================================
   PARIMAH THEME
   CSS RESET
===================================================== */


/* -----------------------------------------------------
   01. BOX SIZING
----------------------------------------------------- */

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


/* -----------------------------------------------------
   02. DOCUMENT RESET
----------------------------------------------------- */

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    margin: 0;
    min-height: 100vh;
}


/* -----------------------------------------------------
   03. ELEMENT RESET
----------------------------------------------------- */

h1,
h2,
h3,
h4,
h5,
h6,
p,
figure,
blockquote,
dl,
dd {
    margin: 0;
}

ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}


/* -----------------------------------------------------
   04. MEDIA ELEMENTS
----------------------------------------------------- */

img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
}

img {
    height: auto;
}


/* -----------------------------------------------------
   05. FORM ELEMENTS
----------------------------------------------------- */

button,
input,
textarea,
select {
    margin: 0;
    font: inherit;
}

button {
    cursor: pointer;
}

textarea {
    resize: vertical;
}


/* -----------------------------------------------------
   06. LINKS
----------------------------------------------------- */

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


/* -----------------------------------------------------
   07. TABLES
----------------------------------------------------- */

table {
    border-collapse: collapse;
    border-spacing: 0;
}


/* -----------------------------------------------------
   08. ACCESSIBILITY
----------------------------------------------------- */

:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}


/* -----------------------------------------------------
   09. REDUCED MOTION
----------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

}
