/* CSS Reset */
*, *::before, *::after {
    box-sizing: border-box;
}

* {
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
}

body {
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
}

input, button, textarea, select {
    font: inherit;
}

p, h1, h2, h3, h4, h5, h6 {
    overflow-wrap: break-word;
}

a {
    text-decoration: none;
    color: inherit;
}

ul, ol {
    list-style: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* Remove default focus styles */
:focus {
    outline: none;
}

/* Custom focus styles */
:focus-visible {
    outline: 2px solid #0066cc;
    outline-offset: 2px;
}

/* Remove default form styles */
input, textarea, select {
    border: none;
    background: none;
}

/* Remove default button styles */
button, input[type="submit"], input[type="button"] {
    border: none;
    background: none;
    cursor: pointer;
}

/* Responsive images */
img {
    height: auto;
}

/* Remove iOS button styling */
input[type="submit"], input[type="button"], button {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

/* Remove iOS input styling */
input, textarea, select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 0;
}

/* Prevent text size adjust */
html {
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

/* Remove default margins */
blockquote, dl, dd, h1, h2, h3, h4, h5, h6, hr, figure, p, pre {
    margin: 0;
}

/* Remove default fieldset styles */
fieldset {
    margin: 0;
    padding: 0;
    border: 0;
}

/* Remove default legend styles */
legend {
    padding: 0;
}

/* Remove default menu styles */
menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Fix hidden attribute */
[hidden] {
    display: none !important;
}