/*
Style: Professional Web Typography
Author: Donny Truong
Author URI: http://www.visualgui.com/
Description: Responsive design, readability
*/
/* Primary Styles
   Author: Donny Truong
*/
/* Base Rules */
@font-face {
  src: url("/https/prowebtype.com/fonts/Turnip-Book.woff2") format("woff2");
  font-family: "Turnip-Book";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}
@font-face {
  src: url("/https/prowebtype.com/fonts/Turnip-BookItalic.woff2") format("woff2");
  font-family: "Turnip-Book";
  font-style: italic;
  font-weight: 300;
  font-display: swap;
}
@font-face {
  src: url("/https/prowebtype.com/fonts/Turnip-Medium.woff2") format("woff2");
  font-family: "Turnip-Medium";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}
@font-face {
  src: url("/https/prowebtype.com/fonts/BildVariableV5[XHGT,wdth,wght].woff2") format("woff2");
  font-family: "Bild";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
}
@font-face {
  src: url("/https/prowebtype.com/fonts/InputMono-Regular.woff2") format("woff2");
  font-family: "InputMono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  src: url("/https/prowebtype.com/fonts/InputSans-Regular.woff2") format("woff2");
  font-family: "InputSans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@viewport {
  width: device-width;
}
:root {
  font-size: 100%;
}

body {
  color: #2F2230;
  background-color: #fff;
  font: 112.5%/1.5 "Turnip-Book", Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif;
  font-weight: 300;
  text-align: left;
  padding: 0;
  margin: 0 auto;
  font-kerning: normal;
  font-variant-ligatures: common-ligatures contextual;
  font-feature-settings: "kern", "liga", "clig", "calt", "salt";
}

h1 {
  font-size: 2.2em;
  margin: 1em 0;
  padding: 0;
  font-family: "Bild", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 700;
  line-height: 1.1;
  font-variation-settings: "wght" 700, "wdth" 100, "XHGT" 0;
}

h2 {
  font-size: 1.2em;
  margin: 1.5em 0 0.5em 0;
  padding: 0;
  font-weight: 600;
  line-height: 1.2;
  font-family: "Turnip-Medium", Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif;
}

main h1, main h2 {
  max-inline-size: 50ch;
  text-wrap: balance;
}
main p, main li {
  text-wrap: pretty;
  font-feature-settings: "onum";
}
main p a:link, main p a:visited, main p a:active, main p a:hover, main li a:link, main li a:visited, main li a:active, main li a:hover {
  text-decoration: underline;
  text-decoration-skip-ink: auto;
}

/*
p {margin:0; }
p + p {text-indent: 1.5em;  }
*/
[role=contentinfo] p {
  font-size: 0.8em;
  color: #777;
  /*font-family:$sans;*/
  font-weight: 300;
}

blockquote {
  padding: 0;
  margin: 2em 0 4em 0;
}
blockquote p {
  text-indent: -0.6em;
}

blockquote footer {
  text-align: right;
  font-family: "InputSans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 400;
}
blockquote footer cite {
  font-style: normal;
}

.footer-wrap {
  font-family: "InputSans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  border-top: 1px solid #f0f0f0;
  border-bottom: 1px solid #f0f0f0;
  font-weight: 400;
}

img, iframe, embed, object, video {
  width: 100%;
}

img {
  height: auto;
  vertical-align: middle;
}

a {
  color: #2F2230;
  text-decoration: none;
}

a:visited {
  color: #2F2230;
}

a:hover {
  color: #DF3651;
}

a {
  transition: all 0.5s ease;
}
a img {
  transition: opacity 0.2s ease-in-out;
}

a:hover img {
  opacity: 0.7;
}

sup {
  vertical-align: super;
}

pre {
  overflow-y: hidden;
  background: #f9f9f9;
  padding: 2em;
}

code {
  color: #044f7d;
  font-family: "InputMono", "Courier New", Courier, "Lucida Sans Typewriter", "Lucida Typewriter", monospace;
  font-size: 0.85em;
  font-weight: 400;
}

ul, ol, dd {
  margin: 0;
  padding: 0;
}

ul, ol {
  list-style-position: inside;
}

ul li li, ol li li {
  margin: 0 0 0 1em;
}

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #f0f0f0;
  margin: 1em 0;
  padding: 0;
}

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

textarea {
  resize: vertical;
}

figure {
  display: block;
  padding: 0;
  margin: 1.5em 0;
}

figcaption {
  padding-top: 1em;
  font-size: 0.8em;
  line-height: 1.3;
  font-family: "InputSans", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

figcaption, .gray {
  color: #777;
}

abbr {
  font-variant-caps: all-small-caps;
  font-feature-settings: "c2sc", "smcp";
  text-decoration: none;
}

.border {
  border: 1px solid #f0f0f0;
}

/* ------------------------------------------------------------------------------------------------------------------------------------------- */
/* Mobile First */
[role=banner], main, nav, [role=contentinfo] {
  padding: 0.5em 1em;
  margin: auto;
}

.pro, .web, .type {
  display: block;
}

.pro {
  font-variation-settings: "wght" 900, "wdth" 100, "XHGT" 100;
}

.web {
  font-variation-settings: "wght" 900, "wdth" 92, "XHGT" 100;
}

.type {
  font-variation-settings: "wght" 900, "wdth" 78, "XHGT" 100;
}

.cover-title h1 {
  margin: 0 0 0.1em 0;
  /*white-space: nowrap;*/
  font-size: 46vw;
  text-transform: uppercase;
  line-height: 0.82;
  font-weight: 900;
}

.version {
  text-transform: uppercase;
  font-size: 0.8em;
  font-family: "InputSans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  letter-spacing: 0.1em;
  margin: 0 0 3em 0;
  font-weight: 400;
}

.banner-wrap {
  border-bottom: 1px solid #f0f0f0;
}

.book-title h1 {
  font-size: 0.75em;
  text-transform: uppercase;
  font-family: "InputSans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 400;
}
.book-title cite {
  font-style: normal;
}

.book-author {
  font-size: 1.5em;
  font-weight: 600;
  font-family: "Turnip-Medium", Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif;
}

nav h1 {
  font-size: 1em;
  margin: 2em 0 0.5em 0;
  text-transform: uppercase;
  font-family: "InputSans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: normal;
}
nav li {
  font-size: 0.8em;
  margin: 0.4em 0;
}
nav [value="0"] {
  list-style: none;
  list-style-image: none;
}

[aria-current=page] a {
  color: #777;
}

.button a {
  font-family: "InputSans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  background: #2F2230;
  color: #fff;
  text-align: center;
  font-size: 1em;
  font-weight: 400;
  padding: 0.5em 1em;
}
.button a:hover {
  background: #2F2230;
}

.flex {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: space-between;
}

.pagination {
  margin: 2em 0;
  font-family: "InputSans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 400;
  font-size: 0.9em;
}

table {
  width: 100%;
  color: #777;
  font-size: 0.8em;
  margin-top: 2em;
}
table th {
  width: 25%;
}
table td {
  border-top: 1px solid #f3f3f3;
  vertical-align: top;
}
table thead {
  color: #2F2230;
}
table kbd, table code, table .qm {
  display: block;
}
table kbd {
  color: #2F2230;
  font-family: "Turnip-Book", Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif;
}
table .qm {
  font-family: "Turnip-Book", Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif;
  color: #DF3651;
}

#foreword, #praise {
  padding-top: 20%;
}

#foreword cite {
  font-style: normal;
}

blockquote p {
  margin-bottom: 0;
}
blockquote footer {
  margin-top: 0;
  text-transform: uppercase;
  font-size: 0.8em;
}
blockquote footer a {
  text-decoration: underline;
}

.demo {
  font-size: 7vw;
  padding-top: 1em;
}
.demo span {
  display: block;
}

/* ------------------------------------------------------------------------------------------------------------------------------------------- */
@media only screen and (min-width: 40em) {
  body {
    font-size: 131.3%;
  }

  [role=banner], main, nav, [role=contentinfo] {
    max-width: 32em;
    margin: auto;
    padding: 0.5em 3em;
  }

  ul, ol {
    list-style-position: outside;
  }

  .cover-title h1 {
    font-size: 22vw;
  }

  h1 {
    font-size: 3em;
  }

  .demo {
    font-size: 3vw;
  }

  [role=contentinfo] {
    clear: both;
  }
  [role=contentinfo] p {
    font-size: 0.75em;
  }

  table kbd, table code, table .qm {
    display: inline;
  }

  .footer-wrap {
    padding-bottom: 2em;
  }
}
/*Close media*/
/* ------------------------------------------------------------------------------------------------------------------------------------------- */
@media print {
  body {
    margin: 1em 2em;
    padding: 0;
    font-size: 175%;
    line-height: 1.4;
  }

  table kbd, table code, table .qm {
    display: inline;
    font-size: 0.6em;
  }

  .footer-wrap, .pagination, footer, .banner-wrap, .hide-for-print {
    display: none;
  }

  /*
  h1,h2,h3,h4,h5, figure, pre {
          page-break-after: avoid;
      }

   section {
          page-break-before: always;
      }   
    */
  pre {
    white-space: pre-wrap;
    padding: 0;
    background: #f9f9f9;
  }

  figcaption {
    font-size: 0.7em;
  }
}
/*Close media*/

/*# sourceMappingURL=style.css.map */
