
/* =========================================================
   TEN ONE RESORT
   Global CSS Reset
   reset.css
   ========================================================= */


/* =========================================================
   1. BOX SIZING
   ========================================================= */

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


/* =========================================================
   2. DOCUMENT
   ========================================================= */

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


/* =========================================================
   3. BODY
   ========================================================= */

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

    background-color: var(--color-background);
    color: var(--color-text);

    font-family: var(--font-body);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-regular);
    line-height: var(--line-height-normal);

    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;

    overflow-x: hidden;
}


/* =========================================================
   4. MAIN DOCUMENT ELEMENTS
   ========================================================= */

main,
header,
footer,
nav,
section,
article,
aside {
    display: block;
}


/* =========================================================
   5. HEADINGS
   ========================================================= */

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;

    font-family: var(--font-heading);
    font-weight: var(--font-weight-semibold);
    line-height: var(--line-height-heading);

    text-wrap: balance;
}


/* =========================================================
   6. PARAGRAPHS
   ========================================================= */

p {
    margin: 0;
    text-wrap: pretty;
}


/* =========================================================
   7. LINKS
   ========================================================= */

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


/* =========================================================
   8. LISTS
   ========================================================= */

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


/* =========================================================
   9. IMAGES
   ========================================================= */

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


/* Prevent image distortion */
img {
    height: auto;
}


/* =========================================================
   10. FIGURE
   ========================================================= */

figure,
figcaption {
    margin: 0;
}


/* =========================================================
   11. BUTTONS
   ========================================================= */

button,
input,
textarea,
select {
    margin: 0;

    font: inherit;
}


/* Remove browser button styling */
button {
    padding: 0;
    border: 0;

    background: none;

    color: inherit;

    cursor: pointer;
}


/* Disabled controls */
button:disabled,
input:disabled,
textarea:disabled,
select:disabled {
    cursor: not-allowed;
}


/* =========================================================
   12. FORM ELEMENTS
   ========================================================= */

input,
textarea,
select {
    width: 100%;

    border: 0;
    outline: none;

    color: inherit;
    background-color: transparent;
}


/* Prevent textarea resizing horizontally */
textarea {
    resize: vertical;
}


/* =========================================================
   13. PLACEHOLDER TEXT
   ========================================================= */

::placeholder {
    color: var(--color-text-muted);
    opacity: 1;
}


/* =========================================================
   14. TABLES
   ========================================================= */

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


/* =========================================================
   15. BLOCKQUOTES
   ========================================================= */

blockquote,
q {
    quotes: none;
}

blockquote::before,
blockquote::after,
q::before,
q::after {
    content: "";
}


/* =========================================================
   16. HORIZONTAL RULE
   ========================================================= */

hr {
    height: 1px;

    margin: 0;

    border: 0;

    background-color: var(--color-border);
}


/* =========================================================
   17. FIELDSET
   ========================================================= */

fieldset {
    min-width: 0;
    margin: 0;
    padding: 0;

    border: 0;
}


/* =========================================================
   18. ADDRESS
   ========================================================= */

address {
    font-style: normal;
}


/* =========================================================
   19. ABBREVIATIONS
   ========================================================= */

abbr[title] {
    text-decoration: underline dotted;
    cursor: help;
}


/* =========================================================
   20. CODE / PRE
   ========================================================= */

code,
kbd,
samp,
pre {
    font-family:
        "SFMono-Regular",
        Consolas,
        "Liberation Mono",
        Menlo,
        monospace;
}


/* =========================================================
   21. DETAILS / SUMMARY
   ========================================================= */

summary {
    cursor: pointer;
}


/* Remove default marker */
summary::-webkit-details-marker {
    display: none;
}


/* =========================================================
   22. FOCUS
   ========================================================= */

:focus {
    outline: none;
}


/* Accessible keyboard focus */
:focus-visible {
    outline: 2px solid var(--focus-outline-color);
    outline-offset: 3px;
    box-shadow: var(--focus-ring);
}


/* =========================================================
   23. SELECTION
   ========================================================= */

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


/* =========================================================
   24. HIDDEN
   ========================================================= */

[hidden] {
    display: none !important;
}


/* =========================================================
   25. VIDEO
   ========================================================= */

video {
    width: 100%;
    height: auto;
}


/* =========================================================
   26. SVG
   ========================================================= */

svg {
    flex-shrink: 0;
}


/* =========================================================
   27. ROOT WRAPPER
   ========================================================= */

#root,
.site-wrapper {
    min-height: 100vh;
}


/* =========================================================
   28. BUTTON / LINK TAP BEHAVIOUR
   ========================================================= */

button,
a {
    -webkit-tap-highlight-color: transparent;
}


/* =========================================================
   29. 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;
        scroll-behavior: auto !important;
    }

}

