*{
    /* Fix the alias on iOS devices */
    -webkit-font-smoothing: antialiased;
    font-synthesis: none !important;
    box-sizing: border-box;
}

body {
    /* remove margins  */
    margin: 0;
}

main {
    /* Render the `main` element consistently in IE */
    display: block;
}
a {
    /* Remove the gray background on active links in IE 10. */
    background-color: transparent;
}

/*
  * Prevent `sub` and `sup` elements from affecting the line height in
  * all browsers.
*/
sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sub {
    bottom: -0.25em;
}

sup {
    top: -0.5em;
}

img {
    /* Remove the border on images inside links in IE 10. */
    border-style: none;
}

/* Forms
    ========================================================================== */

/*
  * 1. Change the font styles in all browsers.
  * 2. Remove the margin in Firefox and Safari.
*/

button,
input,
optgroup,
select,
textarea {
    font-family: inherit;
    font-size: 100%;
    line-height: 1.15;
    margin: 0;
}

button,
input {
    /* Show the overflow in IE and Edge. */
    overflow: visible;
}

/*
  * Remove the inheritance of text transform in Edge, Firefox, and IE.
  * 1. Remove the inheritance of text transform in Firefox.
*/
button,
select {
    text-transform: none;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
    /* Correct the inability to style clickable types in iOS and Safari. */
    -webkit-appearance: button;
}

/**
  * Remove the inner border and padding in Firefox.
  */

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
    border-style: none;
    padding: 0;
}

progress {
    /* Add the correct vertical alignment in Chrome, Firefox, and Opera. */
    vertical-align: baseline;
}

textarea {
    /* Remove the default vertical scrollbar in IE 10+. */
    overflow: auto;
}

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
    /* Correct the cursor style of increment and decrement buttons in Chrome. */
    height: auto;
}

/*
  * 1. Correct the odd appearance in Chrome and Safari.
  * 2. Correct the outline style in Safari.
*/

[type="search"] {
    -webkit-appearance: textfield;
    outline-offset: -2px;
}

[type="search"]::-webkit-search-decoration {
    /* Remove the inner padding in Chrome and Safari on macOS. */
    -webkit-appearance: none;
}

/*
  * 1. Correct the inability to style clickable types in iOS and Safari.
  * 2. Change font properties to `inherit` in Safari.
*/

::-webkit-file-upload-button {
    -webkit-appearance: button;
    font: inherit;
}

[hidden] {
    /* Add the correct display in IE 10. */
    display: none;
}