/* THE LAWYNDE STYLES */

html {
  color: whitesmoke;
  background-color: darkslategray;
  font-family: Courier,  monospace;
  font-size: 1em;
  line-height: 1.5em;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  height: 100%;
  padding-top: 50px;
}

main {
  display: block;
  margin: 0;
  width: 100%;
  height: 575px;
  overflow-y: auto;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  cursor: all-scroll;
}

div.card {
  scroll-snap-align: center;
  flex-shrink: 0;
  border: 1px solid whitesmoke;
  background-color: #333;

  transform-origin: center center;
  transform: scale(1);
  transition: transform 0.5s;
  position: relative;
  box-shadow: 3px 3px 9px black;
}

div.card.landscape {
  width: 600px;
  height: 260px;
  padding: 80px 20px 0;
  margin: 0 auto 300px;
  text-align: center;
}

div.card.portrait {
  margin: 0 auto 150px;
  height: 520px;
  width: 400px;
  padding: 20px;
  text-align: left;
}

div.card.landscape.backside {
  padding: 20px;
  height: 300px;
  border-color: #333333;
  background-color: whitesmoke;
  color: black;
  font-size: 0.8em;
  text-align: left;
}

h1 {
  font-size: 80px;
  margin: 0.67em 0;
}

.backside h1 {
  font-size: 1.2em;
}

h2 {
  padding-top: 40px;
  font-size: 36px;
  color: silver;
}

strong {
  display: block;
  font-size: 36px;
  font-weight: bolder;
}

.silver {
  color: silver;
}

#card05 em, #card05 strong {
  padding-left: 16px;
}

#card02 hgroup {
  position: absolute;
  bottom: 24px;
}

#card03 {
  text-align: right;
}
#card03 em {
  font-size: 24px;
  color: darkgreen;
}

#card05 strong {
  color: yellow;
  line-height: 1.5em;
}
#card05 em {
  display: block;
  font-size: 36px;
  font-weight: bolder;
  line-height: 1.5em;
}


@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}

@media print {
  *,
  *::before,
  *::after {
    background: #fff !important;
    color: #000 !important;
    /* Black prints faster */
    box-shadow: none !important;
    text-shadow: none !important;
  }

  pre {
    white-space: pre-wrap !important;
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }


  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}

