* {
  color: black;
  background-color: #e7f0ff;
  font-family: Helvetica, Verdana, Geneva, Tahoma, sans-serif;
  font-size: 1em;
  margin: 0em;
  padding: 0px;
  box-sizing: border-box;
}

/* page element style */
.page {
  padding: 0rem;
  margin: auto;
  height: fit-content;
  max-width: 800px;
  /* ensures page covers viewport if content can't do it */
  min-height: 100vh;
  text-align: center;
}

/* everything inside page elements */
.page * {
  padding: 1rem;
  text-align: left;
  position: relative;
}

.size-label {
  display: flex;
  position: absolute;
  visibility: visible;
  bottom: 0px;
  right: 0px;
  z-index: 3;
  padding: 0rem;
  margin: 0px;
  width: 2.9rem;
  height: 0.9rem;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: white;
  font-size: 0.5rem;
  font-style: initial; /* not inheriting from a parent */
  font-weight: bold;
  background-color: rgb(0, 0, 0);
}

h1 {
  background-color: #dc493a;
  color: white;
}

h2 {
  padding: 0.3rem 0.5rem !important;
  left: 1rem;
  /* margin: 0.3rem; */
  background-color: #ece8ef;
  color: white;
  background: black;
  display: block;
  width: fit-content;
  margin-bottom: 1rem !important;
}

section {
  padding: 0px !important;
  margin-top: 1rem;
}

section.sub {
  margin-top: 0rem;
}

/* p,
section {
  background-color: #ece8ef;
} */

section > p {
  padding-top: 0rem !important;
}

section.sub > h3 {
  color: black;
  background: transparent;
  margin: 0px !important;
  padding: 0.5rem 1rem;
}

/* section.sub > p {
  padding-left: 1rem !important;
} */

section.sub > h3::before {
  content: "» ";
  font-family: serif;
}

a {
  background: none;
  padding: initial !important;
  margin: initial;
  color: blue;
  text-decoration: none;
}

/* use !important is there are further styles beyond print */
/* removes size-label spans when selecting for print */
@media print {
  .size-label {
    display: none;
  }
  .page {
    min-height: 2rem;
  }
}

@media (min-width: 810px) {
  .page {
    padding-top: 2.5vw;
  }
}

.size-label-hide {
  opacity: 0;
}
