html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}
@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #222222;
  background-color: #ffffff;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  padding: 0;
  font-weight: 700;
  line-height: 1.2;
  color: #222222;
  transition: color 250ms ease-in-out ease-in-out;
}

h1 {
  font-size: 28px;
  margin-bottom: 16px;
}
@media (min-width: 768px) {
  h1 {
    font-size: 32px;
    margin-bottom: 24px;
  }
}
@media (min-width: 1024px) {
  h1 {
    font-size: 36px;
  }
}

h2 {
  font-size: 24px;
  margin-bottom: 12px;
}
@media (min-width: 768px) {
  h2 {
    font-size: 28px;
    margin-bottom: 16px;
    margin-top: 16px !important;
  }
}

h3 {
  font-size: 20px;
  margin-bottom: 12px;
}
@media (min-width: 768px) {
  h3 {
    font-size: 24px;
  }
}

h4 {
  font-size: 18px;
  margin-bottom: 8px;
}

h5, h6 {
  font-size: 16px;
  margin-bottom: 8px;
}

p {
  margin: 0 0 16px 0;
}
p:last-child {
  margin-bottom: 0;
}

ul, ol {
  margin: 0 0 16px 16px;
  padding-left: 16px;
}
@media (min-width: 768px) {
  ul, ol {
    margin: 0 0 16px 32px;
    padding-left: 32px;
  }
}

li {
  margin-bottom: 8px;
}
li:last-child {
  margin-bottom: 0;
}

a {
  color: #8b0e0e;
  text-decoration: none;
  transition: color 250ms ease-in-out ease-in-out;
}
a:hover {
  color: #b41414;
}
a:active {
  color: #6b0a0a;
}
a:focus {
  outline: none;
}
/*
a:focus-visible {
  outline: 2px solid #8b0e0e;
  outline-offset: 2px;
} */

button {
  appearance: none;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
}

input,
textarea,
select {
  appearance: none;
  background-color: transparent;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
}
input:focus,
textarea:focus,
select:focus {
  outline: none;
}

input[type=text],
input[type=email],
input[type=password],
input[type=number],
input[type=tel],
input[type=url],
input[type=search],
textarea,
select {
  width: 100%;
  padding: 12px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 16px;
  background-color: #ffffff;
  color: #222222;
  transition: border-color 250ms ease-in-out ease-in-out, background-color 250ms ease-in-out ease-in-out;
}
input[type=text]:focus,
input[type=email]:focus,
input[type=password]:focus,
input[type=number]:focus,
input[type=tel]:focus,
input[type=url]:focus,
input[type=search]:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: #8b0e0e;
  box-shadow: 0 0 0 3px rgba(139, 14, 14, 0.1);
}
input[type=text]:disabled,
input[type=email]:disabled,
input[type=password]:disabled,
input[type=number]:disabled,
input[type=tel]:disabled,
input[type=url]:disabled,
input[type=search]:disabled,
textarea:disabled,
select:disabled {
  background-color: #f8f8f8;
  color: #999999;
  cursor: not-allowed;
}

textarea {
  resize: vertical;
  min-height: 100px;
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #222222;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 16px;
}

th, td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid #e0e0e0;
}

th {
  background-color: #f8f8f8;
  font-weight: 700;
}

pre, code {
  font-family: "Monaco", "Courier New", monospace;
  font-size: 14px;
}

code {
  background-color: #f8f8f8;
  padding: 4px 8px;
  border-radius: 4px;
  color: #6b0a0a;
}

pre {
  background-color: #f8f8f8;
  padding: 16px;
  border-radius: 8px;
  overflow-x: auto;
}
pre code {
  background-color: transparent;
  padding: 0;
  color: inherit;
}

blockquote {
  margin: 0 0 16px 0;
  padding: 0 0 0 16px;
  border-left: 2px solid #8b0e0e;
  color: #666666;
  font-style: italic;
}

hr {
  margin: 32px 0;
  border: none;
  border-top: 1px solid #e0e0e0;
}

/*
*:focus-visible {
  outline: 2px solid #8b0e0e;
  outline-offset: 2px;
}*/

.skip-to-content {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}
.skip-to-content:focus {
  position: static;
  width: auto;
  height: auto;
  padding: inherit;
  margin: inherit;
  overflow: visible;
  clip: auto;
  white-space: normal;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 300;
  padding: 16px;
  background-color: #8b0e0e;
  color: #ffffff;
}
