:root {
  --uc-red: #E00122;
  --uc-dark-red: #B8011C;
  --uc-black: #000000;
  --uc-bearcats-black: #333333;
  --uc-grey: #F3F3F3;
  --uc-steger-silver: #A7A5AA;
  --uc-main-street-mist: #D8D5D0;
  --uc-gettler-gold: #D1B179;
  --uc-tangeman-tan: #EADBC1;
  --uc-body-font: "Open Sans", Arial, sans-serif;
  --uc-display-font: "Jost", Arial, sans-serif;
  --uc-mono-font: "JetBrains Mono", "Fira Code", "Courier New", monospace;
}

body {
  font-family: var(--uc-body-font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--uc-bearcats-black);
  background:
    linear-gradient(180deg, rgba(224, 1, 34, 0.04), rgba(224, 1, 34, 0) 5rem),
    #ffffff;
}

h1,
h2 {
  font-family: var(--uc-display-font);
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--uc-red);
}

h3,
h4,
h5,
h6 {
  font-family: var(--uc-display-font);
  font-weight: 700;
  color: var(--uc-dark-red);
}

a,
a > code {
  color: var(--uc-dark-red);
  text-decoration-color: rgba(184, 1, 28, 0.35);
}

a:hover,
a:active,
a:focus {
  color: var(--uc-red);
}

code {
  font-family: var(--uc-mono-font);
  color: var(--uc-dark-red);
  background: rgba(243, 243, 243, 0.9);
}

p code {
  white-space: inherit;
}

pre {
  word-break: normal;
  word-wrap: normal;
  border: 1px solid rgba(216, 213, 208, 0.75);
  border-left: 4px solid var(--uc-red);
  border-radius: 0;
  background: #fbfbfb;
}

pre code {
  white-space: inherit;
  color: inherit;
  background: transparent;
}

blockquote {
  margin: 1.25rem 0;
  padding: 0.85rem 1rem;
  border-left: 4px solid var(--uc-red);
  background: var(--uc-grey);
  color: var(--uc-bearcats-black);
}

p.caption {
  color: #666666;
  margin-top: 10px;
}

div.puzzle,
div.fyi,
div.demo,
div.note {
  margin: 1.25rem 0;
  padding: 1rem 1rem 1rem 5.5rem;
  min-height: 120px;
  color: var(--uc-bearcats-black);
  background-color: rgba(243, 243, 243, 0.92);
  background-size: 58px;
  background-repeat: no-repeat;
  background-position: 16px center;
  border-left: 6px solid var(--uc-red);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.05);
}

div.puzzle {
  background-image: url("div-icons/Your-turn.png");
  border-left-color: var(--uc-red);
}

div.fyi {
  background-image: url("div-icons/fyi.png");
  border-left-color: var(--uc-dark-red);
}

div.demo {
  background-image: url("div-icons/Live-code.png");
  border-left-color: var(--uc-bearcats-black);
}

div.note {
  background-image: url("div-icons/Lightbulb.png");
  border-left-color: var(--uc-gettler-gold);
}

.book .book-summary {
  background:
    linear-gradient(180deg, rgba(224, 1, 34, 0.05), rgba(224, 1, 34, 0) 10rem),
    #ffffff;
  border-right: 1px solid rgba(216, 213, 208, 0.85);
}

.book .book-summary ul.summary li a,
.book .book-summary ul.summary li span {
  padding: 9px 15px;
  color: var(--uc-bearcats-black);
  border-left: 3px solid transparent;
}

.book .book-summary ul.summary li.active > a,
.book .book-summary ul.summary li a:hover {
  color: var(--uc-red);
  border-left-color: var(--uc-red);
  background: linear-gradient(90deg, rgba(224, 1, 34, 0.12), rgba(224, 1, 34, 0));
}

.book .book-body .page-wrapper .page-inner section.normal {
  font-family: var(--uc-body-font);
  color: var(--uc-bearcats-black);
}

.footer {
  color: var(--uc-dark-red);
  font-family: var(--uc-display-font);
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
