:root {
  --dark: hsl(0deg 46.01% 31.96%);
  --light: hsl(0deg 45.95% 92.75%);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

main {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2em;
  padding: 4em;
}

body {
  font-family: "Source Code Pro", monospace;
  background-color: var(--light);
}

h1 {
  color: hsl(0deg 71.43% 16.4%);
  text-align: center;
}

thead,
tfoot,
.tr-divider {
  background-color: var(--dark);
  color: white;
}

tbody {
  background-color: var(--light);
}

table {
  border-collapse: collapse;
  border: 2px solid rgb(140 140 140);
  font-family: sans-serif;
  font-size: 0.8rem;
}

caption {
  caption-side: bottom;
  padding: 10px;
}

th,
td {
  border: 1px solid rgb(160 160 160);
  padding: 8px 10px;
}

td {
  text-align: center;
}

.th-divider {
  padding-top: 1em;
  padding-bottom: 1em;
}

.ul-container {
  width: fit-content;
  margin: 0 auto;
}

ul {
  list-style: none;
  text-align: left;
}

.th-col {
  display: flex;
  flex-direction: column;
  gap: 0.25em;
  border: 0;
}

input[type="text"],
input[type="number"],
input[type="date"],
input[type="time"],
select {
  width: 100%;
}

input[type="text"],
input[type="number"],
input[type="submit"],
select {
  padding: 0.25em 0.5em;
}
