/**
 * Reset browser styles
 */


/* Box sizing rules */

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


/* Remove default padding */

ul[class],
ol[class] {
    padding: 0;
}


/* Remove default margin */

body,
h1,
h2,
h3,
h4,
h5,
h6,
ul[class],
ol[class],
li,
figure,
figcaption,
blockquote,
dl,
dd {
    margin: 0;
}

p:first-child {
    margin-top: 0px;
    margin-bottom: 0px;
}

p:last-child {
    margin-bottom: 0px;
}


/* Set core body defaults */

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
}


/* Remove list styles on ul, ol elements with a class attribute */

ul[class],
ol[class] {
    list-style: none;
}


/* A elements that don't have a class get default styles */

a:not([class]) {
    text-decoration-skip-ink: auto;
}


/* Make images easier to work with */

img {
    max-width: 100%;
    height: auto;
    display: block;
}


/* Make videos easier to work with */

video {
    display: block;
    max-width: 100%;
    height: auto;
    outline: none;
}


/* Inherit fonts for inputs and buttons */

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

button {
    background: none;
    border: none;
    outline: none;
    color: unset;
    padding: 0;
    cursor: pointer;
}


/* Form fills out the entire container */

form {
    width: 100%;
}

form input {
    background: unset;
    border: unset;
}

form input:focus {
    user-select: unset;
    outline: none;
    outline-offset: unset;
}


/* Remove all animations and transitions for people that prefer not to see them */

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}