/* CSS Reset - Removes browser default styles */

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

/* HTML and body reset */
html, body {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
    line-height: 1;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
    display: block;
}

/* Remove default styling from common elements */
h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: inherit;
    margin: 0;
    padding: 0;
}

/* Paragraph reset */
p {
    margin: 0;
    padding: 0;
}

/* List reset */
ol, ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

li {
    margin: 0;
    padding: 0;
}

/* Quote reset */
blockquote, q {
    quotes: none;
    margin: 0;
    padding: 0;
}

blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}

/* Table reset */
table {
    border-collapse: collapse;
    border-spacing: 0;
    margin: 0;
    padding: 0;
}

td, th {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

/* Form element reset */
input, button, textarea, select {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
    background: none;
    outline: none;
}

button {
    cursor: pointer;
    background: none;
    border: none;
}

/* Link reset - THIS IS WHAT YOU NEED FOR LINKS */
a {
    margin: 0;
    padding: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
    color: inherit;
    text-decoration: none;
}

a:link, a:visited, a:hover, a:active {
    color: inherit;
    text-decoration: none;
}

/* Image reset */
img {
    border: 0;
    max-width: 100%;
    height: auto;
    vertical-align: top;
}

/* Strong and emphasis reset */
strong, b {
    font-weight: inherit;
}

em, i {
    font-style: inherit;
}

/* Code reset */
code, pre {
    font-family: inherit;
    font-size: inherit;
}

/* Form field reset */
fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

legend {
    border: 0;
    padding: 0;
    white-space: normal;
}

/* Address reset */
address {
    font-style: inherit;
}

/* HR reset */
hr {
    border: 0;
    height: 0;
    margin: 0;
    padding: 0;
}

/* Mark reset */
mark {
    background: transparent;
    color: inherit;
}

/* Small reset */
small {
    font-size: inherit;
}

/* Sub and sup reset */
sub, sup {
    font-size: inherit;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

/* Additional modern resets */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Remove focus outline (add your own if needed) */
*:focus {
    outline: none;
}

/* Remove tap highlight on mobile */
* {
    -webkit-tap-highlight-color: transparent;
}

/* Reset form elements appearance */
input[type="search"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

button, input[type="submit"], input[type="reset"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    cursor: pointer;
}

/* Reset select */
select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

/* Reset text areas */
textarea {
    resize: none;
    overflow: auto;
}