aside address {
  font-style: italic;
}

main a {
  text-decoration: underline;
}

main a:hover,
main a:focus {
  text-decoration: none;
}

main blockquote {
  border-bottom: 1px solid currentColor;
  border-left: 5px solid currentColor;
  border-right: 1px solid currentColor;
  border-top: 1px solid currentColor;
  font-style: italic;
  margin: 1rem auto;
  padding: 1rem;
  position: relative;
  width: 100%;
}

main blockquote cite {
  display: block;
  font-size: 0.75rem;
  font-style: normal;
  opacity: 0.75;
}

main blockquote p {
  margin-bottom: 0;
}

main code {
  border: 1px solid currentColor;
  display: block;
  font-family: monospace;
  font-size: 83%;
  line-height: normal;
  margin-bottom: 1rem;
  padding: 1rem;
  width: 100%;
  word-wrap: break-word;
}

main details {
  border: 1px solid currentColor;
  margin: auto auto 1rem;
  overflow: hidden;
  width: 100%;
}

main details ol {
  padding: 0 1rem;
}

main details p {
  padding: 0 1rem;
}

main details summary {
  cursor: pointer;
  display: block;
  font-weight: 700;
  padding: 1rem 1rem 1rem 2rem;
  position: relative;
}

main details summary + * {
  margin-top: 1rem;
}

main details summary::-webkit-details-marker {
  display: none;
}

main details summary:before {
  content: "\2023";
  left: 1rem;
  position: absolute;
  top: 1rem;
  transform: rotate(0);
  transform-origin: 0.2rem 50%;
  transition: 0.25s transform ease;
}

main details ul {
  padding: 0 1rem;
}

main details[open] > summary:before {
  transform: rotate(90deg);
}

main dl {
  margin-bottom: 1rem;
}

main dl dd {
  font-style: italic;
}

main dl dd::after {
  content: "\201D";
}

main dl dd::before {
  content: "\201E";
}

main dl dt {
  clear: left;
  float: left;
  font-weight: 700;
  margin-right: 0.5rem;
}

main dl dt::after {
  content: ":";
}

main em,
main i {
  font-style: italic;
}

main figure {
  margin-bottom: 1rem;
  width: 100%;
}

main figure audio {
  width: 100%;
}

main figure figcaption {
  font-size: 83%;
  font-style: italic;
  margin-bottom: 1rem;
  opacity: 0.75;
  text-align: center;
}

main figure iframe {
  aspect-ratio: 16 / 9;
  border: none;
  height: 100%;
  overflow: hidden;
  width: 100%;
}

main figure img {
  aspect-ratio: 16 / 9;
  background-repeat: no-repeat;
  background-size: cover;
  font-style: italic;
  height: auto;
  max-width: 100%;
  object-fit: cover;
  vertical-align: middle;
  width: 100%;
}

main figure video {
  aspect-ratio: 16 / 9;
  height: 100%;
  width: 100%;
}

main hr {
  border-top: 1px dotted;
  margin: calc(1rem * 2) 0;
}

main ol {
  list-style-position: inside;
  list-style-type: upper-roman;
  margin-bottom: 1rem;
}

main p {
  margin-bottom: 1rem;
}

main picture {
  width: 100%;
}

main picture img {
  margin-bottom: 1rem;
  max-width: 100%;
  object-fit: contain;
  vertical-align: middle;
  width: 100%;
}

main s,
main del {
  opacity: 0.75;
  text-decoration: line-through;
}

main samp {
  font-family: monospace;
}

main small {
  font-size: smaller;
}

main strong,
main b {
  font-weight: 700;
}

main sub {
  font-size: smaller;
  vertical-align: sub;
}

main sup {
  font-size: smaller;
  vertical-align: super;
}

main table {
  border-collapse: collapse;
  font-size: 0.75rem !important;
  margin-bottom: 1rem;
  overflow-x: auto;
  width: 100%;
}

main table caption {
  font-size: 83%;
  font-style: italic;
  margin-bottom: 1rem;
  opacity: 0.75;
  text-align: center;
}

main table tbody tr {
  border-bottom: 1px solid currentColor;
}

main table tbody tr td {
  padding: 0.5rem;
}

main table tbody tr:last-of-type {
  border-bottom: none;
}

main table tfoot tr th {
  border-top: 1px solid currentColor;
  font-size: 83%;
  font-weight: 700;
  padding: 0.5rem;
  text-align: left;
}

main table thead tr th {
  border-bottom: 1px solid currentColor;
  font-size: 83%;
  font-weight: 700;
  padding: 0.5rem;
  text-align: left;
}

main ul {
  list-style-position: outside;
  list-style-type: square;
  margin-bottom: 1rem;
  margin-left: 1rem;
}

main form fieldset {
  border: 1px solid currentColor;
  margin-bottom: 1rem;
  padding: 1rem;
}

main form fieldset:last-of-type {
  margin-bottom: 0;
}

main form input[type="checkbox"][name="combine"] {
  background-image: url("../img/plus.svg");
}

main form input[type="checkbox"][name="combine"]:checked {
  background-image: url("../img/minus.svg");
}

main form button {
  border: 1px solid currentColor;
  cursor: pointer;
  display: block;
  padding: 0.5rem;
  text-align: center;
  width: 100%;
}

main form button:hover {
  opacity: 0.75;
}

main form input {
  display: block;
}

main form input[type="button"] {
  border: 1px solid currentColor;
  cursor: pointer;
  display: block;
  padding: 0.5rem;
  text-align: center;
  width: 100%;
}

main form input[type="button"]:hover {
  opacity: 0.75;
}

main form input[type="checkbox"] {
  border: 1px solid currentColor;
  cursor: pointer;
  height: 2rem;
  outline: 0;
  width: 2rem;
}

main form input[type="checkbox"]:checked {
  background-image: url("../img/checked.svg");
}

main form input[type="checkbox"]:disabled {
  cursor: not-allowed;
  opacity: 0.75;
}

main form input[type="reset"] {
  border: 1px solid currentColor;
  cursor: pointer;
  display: block;
  padding: 0.5rem;
  text-align: center;
  width: 100%;
}

main form input[type="reset"]:hover {
  opacity: 0.75;
}

main form input[type="submit"] {
  border: 1px solid currentColor;
  cursor: pointer;
  display: block;
  padding: 0.5rem;
  text-align: center;
  width: 100%;
}

main form input[type="submit"]:hover {
  opacity: 0.75;
}

main form select {
  border: 1px solid currentColor;
  cursor: pointer;
  display: block;
  padding: 0.5rem;
  width: 100%;
}

main form textarea {
  border: 1px solid currentColor;
  cursor: text;
  display: block;
  padding: 0.5rem;
  width: 100%;
}
