/* Custom CSS Reset */
/* Modified 10 DEC 2023 */

/* Box Sizing */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Base Styles */
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: none;
  text-size-adjust: none;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: inherit;
  -webkit-font-smoothing: antialiased;
  color: black;
  background: white;
  line-height: 1.5;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-size: 1em;
  font-weight: normal;
  line-height: 1.1;
}

/* Balance text wrapping on headings */
h1,
h2,
h3,
h4 {
  text-wrap: balance;
}

p,
a,
ul,
ol,
li,
blockquote,
article,
main,
aside,
footer,
header,
section {
  margin: 0;
  padding: 0;
  font: inherit;
  font-size: 100%;
  vertical-align: baseline;
}

/* Media Defaults */
img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* List Styles */
ul[role="list"],
ol[role="list"] {
  list-style: none;
}

/* Button and Input Styles */
button,
input,
textarea,
select {
  border: none;
  background-color: transparent;
  padding: 0;
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
  text-decoration-skip-ink: auto;
}

button {
  cursor: pointer;
}

/* Additional Resets */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* Override browser default styles */
::-moz-selection,
::selection {
  background-color: #b3d4fc;
  color: #000000;
  text-shadow: none;
}

/* Additional Form Element Styles */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}

button,
input {
  overflow: visible;
}

button,
select {
  text-transform: none;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

/* Make sure textareas without a rows attribute are not tiny */
textarea:not([rows]) {
  min-height: 10em;
}

/* Extra scroll margin for anchored elements */
:target {
  scroll-margin-block: 5ex;
}
