:root {
  --max-width: 44rem;
}

* {
  box-sizing: border-box;
}

ul {
  list-style-type: disc;
  list-style-position: outside;
}

#heading {
  padding-bottom: 0;
}

#messageWrapper {
  position: absolute;
  padding: 0;
  padding-bottom: 0.5rem;
}

.guide {
  font-size: 1.1rem;
  font-weight: normal;
}

#sectionsWrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 50rem;
}

#sectionKeyFeatures {
  max-width: 40rem;
}

.sectionWrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.howtoLeftHeading,
.howtoHeading,
.howtoOption,
.howtoStep,
.howtoText {
  width: calc(100% - 1rem);
}

details > div {
  margin-bottom: 0.3rem;
}

.wrapper {
  max-width: 100vw;
}

.htDetailsCo > div,
.wrapper > div {
  margin-left: 2rem;
  margin-right: 2rem;
}

div.howtoShot,
.wrapper > div.howtoShot {
  padding: 2rem 0.5rem 3rem 0.5rem;
}

.howtoHeading {
  text-align: center;

  font-size: 1.1rem;
  font-weight: bold;

  margin-top: 1rem;
  margin-bottom: 1rem;
}

.howtoLeftHeading {
  max-width: var(--max-width);

  font-size: 1.1rem;
  font-weight: bold;

  margin-top: 1rem;
  margin-bottom: 0.2rem;
}

.howtoDescr, .howtoDescrAbove {
  width: 100%;
  max-width: 32rem;
  margin-bottom: 1rem;
  line-height: 1.4rem;
}

.howtoDescrAbove {
  margin-bottom: 0;
}

.howtoOptionNum {
  white-space: nowrap;
}

.howtoNum, .howtoOptionNum {
  font-weight: bold;
  font-size: 1.5rem;
  margin-right: 0.5rem;
}

.howtoStep, .howtoOption {
  font-size: 1rem;
  padding: 1rem 0 1rem 0;
  max-width: var(--max-width);
  display: flex;
  text-align: left;
}

.howtoOption {
  max-width: var(--max-width);
  padding: 1rem 0 0 0;
}

#option2 {
  margin-top: 2rem;
}

.howtoShot {
  width: 100%;
  max-width: 100%;
  margin-bottom: 1rem;
  background-color: var(--color-primary-fill);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.howtoImg {
  width: 100%;
  max-width: 38rem;
  border: 0.1rem solid var(--color-primary-border);
}

#linkExample {
  margin-top: 1rem;
  padding: 1rem 0 1rem 0;
  background-color: var(--color-primary-light);
  max-width: min(100%, 32rem);
  overflow-x: scroll;
}

.howtoCode {
  max-width: min(100%, 26rem);
  margin-top: 1rem;
  padding: 1rem 0 1rem 0;
  background-color: var(--color-primary-light);
  border-left: 0.4rem solid var(--color-secondary-fill);
  overflow-x: scroll;
}

.code {
  font-size: 0.9rem;
  padding: 0 0.5rem 0 0.5rem;
  background-color: var(--color-primary-light);
}

code {
  white-space: nowrap;
  font-size: 0.9rem;
  padding: 0 0.5rem 0 0.5rem;
  background-color: var(--color-primary-light);
  display: flex;
}

code.codeQuote {
  font-size: 1rem;
  padding: 0;
  display: inline;
}

.codeBold {
  font-weight: bold;
}

.howtoEmbed {
  margin-top: 1rem;
  width: 100%;

  display: flex;
  justify-content: center;
}

#iframe {
  max-width: 24rem;
}

#iframe.bass {
  max-width: 50rem;
}

#iframe.generator {
  max-width: 34rem;
}

#iframe.piano {
  max-width: 900px;
}

.howtoText, .howtoTextUnder {
  max-width: 30rem;
}

.howtoTextUnder {
  margin-top: 2rem;
}

.howtoTip {
  margin-bottom: 2rem;
}

.howtoLine {
  padding: 0.5rem 0 0.5rem 0;
}

div.retracted {
  display: none;
}

.tip {
  font-style: italic;
}

#howtoSeeWrapper, #howtoEnderW {
  margin-top: 2rem;
  width: 100%;
  max-width: 50rem;
  display: flex;
  justify-content: flex-end;
}

#howtoEnderW {
  margin-top: 0;
  justify-content: flex-start;
}

.seeAlso {
  text-align: center;
  margin-bottom: 0.5rem;
  font-weight: bold;
}

#needHelp {
  margin-top: 1rem;
}

.enderImg {
  width: 4rem;
}

.howtoIconImg {
  user-select: none;
  width: 1.4rem;
  margin-left: 0.2rem;
}

summary {
  cursor: pointer;
  margin-bottom: 0.5rem;
}

.solution {
  font-style: italic;
}

.answerW {
  padding: 1rem 1rem 1rem 0.5rem;
  background-color: var(--color-primary-fill);
}

.answerW > div {
  padding: 0 0 0.3rem 1rem;
}

.solutionW {
  margin-top: 1rem;
}

.person {
  font-weight: bold;
}

#ttButton {
  background-color: var(--color-primary-light);
}

#jumbledI {
  width: 100%;
  max-width: 30rem;
}

#skipStepI {
  width: 100%;
  max-width: 30rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

div.howtoGallery {
  width: 100%;
  max-width: 64rem;
  padding-top: 2.5rem;
  margin-bottom: 1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.howtoVideoW {
  width: 100%;
  max-width: 20rem;
  margin-left: 0.5rem;
  margin-right: 0.5rem;
  margin-bottom: 2.5rem;
  background-color: var(--color-primary-light);

  display: flex;
  flex-direction: column;
}

.howtoVideoTitle {
  font-weight: bold;
  display: flex;
  margin-bottom: 0.5rem;
  justify-content: center;
}

.howtoVideo {
  width: 100%;
}

.titleSection,
.titleMain {
  font-weight: normal;
}

picture {
  width: 100%;
  display: flex;
  justify-content: center;
}

.htSummary {
  list-style-type: none;
  pointer-events: none;
}

/* for epiphany/safari */
details > .htSummary::-webkit-details-marker {
  display: none;
}

.summaryText {
  pointer-events: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.optionBullet {
  content: "\25BD"; /* https://en.wikibooks.org/wiki/Unicode/List_of_useful_symbols#Dingbats */
  transform: rotate(-90deg);
  margin-right: 0.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.htDetails[open=""] > .htSummary > .htSummaryCo > .howtoOption > .summaryText > .optionBullet {
  transform: rotate(0);
}

.htDetails, .htSummary {
  width: 100%;
  display: flex;
}

.htDetails {
  flex-direction: column;
}

.htDetailsCo, .htSummaryCo {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
