/* Base Reset */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-user-select: none; /* Chrome/Safari */
  -moz-user-select: none; /* Firefox */
  -ms-user-select: none; /* IE10+ */
  user-select: none; /* Standard */
}

::-webkit-scrollbar {
  display: none;
}

/* General Elements */
html {
  font-family: sans-serif;
  line-height: 1.15; /* Firefox default */
  text-size-adjust: 100%; /* Prevent iOS zoom issues */
  scroll-behavior: smooth;
}

body {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.45;
  text-align: left;

  padding: 0;
  justify-content: center;
  align-items: center;
  height: 100svh;
  background: #012553;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  overscroll-behavior: none;
  box-sizing: border-box;
  font-family: "Dosis", sans-serif;
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-content: center;
  background-color: var(--backgroundSecondary);
  color: var(--colourD);
}

/* Headings */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: bold;
  margin: 0.67em 0;
}

/* Lists */
ul,
ol {
  padding-left: 40px;
  list-style-type: disc;
}

li {
  margin: 0;
}

/* Links */
a {
  background-color: transparent;
  text-decoration: none;
  color: transparent;
}

a:hover {
  text-decoration: underline;
}

/* Tables */
table {
  border-spacing: 0;
  border-collapse: collapse;
  width: 100%;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  background-color: #ffffff;
  overflow-x: auto;
}

td,
th {
  padding: 0;
  text-align: left;
}

/* Forms */
button,
input,
select,
textarea {
  font: inherit;
  margin: 0;
}

button {
  background-color: ButtonFace;
  color: ButtonText;
  border: none;
  -webkit-tap-highlight-color: transparent;
  outline: none;
}

input {
  background-color: white;
  color: initial;
  border: 1px solid #a9a9a9; /* Match Firefox default border */
  padding: 1px;
}

textarea {
  resize: vertical;
}

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

legend {
  color: inherit;
  display: block;
  font-size: 1.15em;
  font-weight: bold;
  padding: 0;
}

/* Buttons */
button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

/* Remove extra padding in Safari */
button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}
