/* Reset Box Model */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Prevent iOS font size change */
html {
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: sans-serif;
}

/* Remove default header and paragraph styling */
h1, h2, h3, h4, h5, h6, p {
  margin: 0;
  padding: 0;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}

/* Remove default list styles */
ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Remove default link styling */
a {
	cursor: pointer;
	color: inherit;
	text-decoration: none;
	-webkit-tap-highlight-color: transparent;
}

/* Reset text input, select, and textarea styles */
input, button, select, textarea {
    font: inherit;
    margin: 0;
    border: none;
    background: none;
}

input, textarea, select {
  width: 100%;
}

input[type="radio"],
input[type="checkbox"] {
    box-sizing: border-box;
    padding: 0;
    appearance: none;
}

textarea {
    resize: vertical;
}

/* Media elements set to block and full width */
img, video, svg, canvas {
  max-width: 100%;
  height: auto;
  display: inline-block;
}

/* Prevent text selection on interactive elements */
button, a {
    user-select: none;
}

/* Remove focus outline except for keyboard users */
*:focus-visible {
    outline: 2px solid #000;
    outline-offset: 2px;
}

/* Reduce animations for users who prefer less motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    scroll-behavior: auto !important;
  }
}
