/*
 * Based on A Modern CSS Reset
 * https://www.joshwcomeau.com/css/custom-css-reset/
 */


/* Use a more-intuitive box-sizing model */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}  

body {
  /* Add accessible line-height */
  line-height: 1.5;
  /* Improve text rendering */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Avoid text overflows */
p, h1, h2, h3, h4, h5, h6 {
    overflow-wrap: break-word;
}

/* Improve line wrapping */
p {
    text-wrap: pretty;
}
h1, h2, h3, h4, h5, h6 {
    text-wrap: balance;
/*     -webkit-hyphens: auto;
        -moz-hyphens: auto;
            hyphens: auto; */
}

/* Improve media defaults */
img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
}

/* Inherit fonts for form controls */
input, button, textarea, select {
    font: inherit;
}

/* Enable keyword animations */
@media (prefers-reduced-motion: no-preference) {
    html {
        interpolate-size: allow-keywords;
    }
}

/* Ensure videos maintain their original aspect ratio while fitting within the screen boundaries. */
video:-webkit-full-screen {
    object-fit: contain;
}
video:-moz-full-screen {
    object-fit: contain;
}
video:-ms-fullscreen {
    object-fit: contain;
}
video:fullscreen {
    object-fit: contain; /* The standard property */
}
