/* ==========================================================
   RESET.CSS
   Fradesign Global
   Modern CSS Reset
   ========================================================== */

/* Box sizing */

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

/* Remove default margin */

* {
    margin: 0;
}

/* Base */

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

body {
    min-height: 100vh;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Media */

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

/* Forms */

input,
button,
textarea,
select {
    font: inherit;
    color: inherit;
}

button {
    cursor: pointer;
    background: none;
    border: none;
}

textarea {
    resize: vertical;
}

/* Typography */

p,
h1,
h2,
h3,
h4,
h5,
h6 {
    overflow-wrap: break-word;
}

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

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

/* Tables */

table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
}

/* Accessibility */

:target {
    scroll-margin-top: 120px;
}

[hidden] {
    display: none !important;
}

/* Focus */

:focus-visible {
    outline: 3px solid var(--color-primary);
    outline-offset: 3px;
}

/* Selection */

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

/* Horizontal rule */

hr {
    border: 0;
    border-top: 1px solid var(--color-border);
}

/* Disabled */

:disabled {
    cursor: not-allowed;
    opacity: .6;
}

/* Placeholder */

::placeholder {
    color: var(--color-text-light);
    opacity: .8;
}

/* Remove autofill background */

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
    -webkit-text-fill-color: inherit;
    transition: background-color 9999s ease-in-out 0s;
}

/* Embedded content */

iframe {
    border: 0;
}

/* Root */

#root,
#__next {
    isolation: isolate;
}