/**************
 * CSS Reset *
 **************/

/* Universal reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* HTML and body */
html, body {
    width: 100vw;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    font-weight: normal;
    font-size: inherit;
}

/* Links */
a {
    color: inherit;
    text-decoration: none;
    background-color: transparent;
}

a:hover {
    outline: 0;
}

/* Lists */
ol, ul {
    list-style: none;
}

/* Tables */
table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* Form elements */
button, input, select, textarea {
    font-family: inherit;
    font-size: 100%;
    margin: 0;
    padding: 0;
    vertical-align: baseline;
    border: none;
    background: transparent;
    cursor: pointer;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
input[type="url"],
textarea,
select {
    cursor: text;
}

input:disabled,
button:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

/* Images */
img {
    max-width: 100%;
    height: auto;
    display: block;
    border: 0;
}

/* Semantic elements */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}

/* Remove default focus outline */
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 0;
}

/* Remove spinner from number inputs */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield;
    appearance: textfield;
}