.feature-box-outer {
  /* border: 8px solid rgba(255, 255, 255, 0.2); */
  padding: 1rem;
  margin-bottom: 48px;

  font-weight: 500;
  transition: ease-in-out 0.3s transform;
  /* box-shadow: 0 3px 6px rgba(0, 0, 0, 0.12); */
  color: black;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 3px 8px 0px;
  border-radius: 5px;
}

.feature-box-outer:hover {
  transition: ease-in-out 0.15s transform;
  transform: scale(1.02) rotate(-0.7deg);
}

.feature-box-outer:hover .feature-box-cta {
  text-decoration: underline;
}

.white {
  color: white;
  text-shadow: rgba(0, 0, 0, 0.15) 0px 3px 1px;
}

.big {
  font-size: 200%;
  font-weight: 500;
}

html {
  font-size: 20px;
  font-family: Fira Sans, arial, sans-serif;
  /* font-family: Inter, arial, sans-serif; */
}

body {
  margin: 0;
  color: black;
  background-color: #fbfbfb;
}

strong,
b,
.b {
  font-weight: 500;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
pre {
  font-size: 1rem;
  font-weight: 400;
  margin: 0;

  margin-bottom: 1.25rem;
}

p:last-child {
  margin-bottom: 0;
}

h1,
h2,
h3,
h4 {
  margin-top: 2.5rem;
}
h1:first-child,
h2:first-child,
h3:first-child,
h4:first-child {
  margin-top: 0;
}

h1 {
  font-weight: 500;
  font-size: 2rem;
}

.space {
  /** bigger margins for emphasis **/
  margin-top: 3rem;
  margin-bottom: 4rem;
}

h2 {
  font-weight: 500;
  font-size: 1.75rem;
}

h3 {
  font-weight: 500;
  font-size: 1.5rem;
}

/** h4 is just like a bold line of regular test. **/
h4 {
  font-weight: 500;
  font-size: 1rem;
}

p,
ul,
ol {
  line-height: 1.6rem;
}

li:not(:last-child) {
  margin-bottom: 0.4rem;
}

aside {
  padding: 1rem;
  margin-bottom: 1.25rem;

  background-color: white;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 3px 8px 0px;
  border-radius: 5px;
  color: #303030;
}

.content {
  /* Above 640px, the max column (screen) width is 640px */
  max-width: 600px;
  margin: 3rem auto;
  padding: 0 1rem;
}

.center {
  text-align: center;
}

.video-embed {
  margin-top: 1rem;
  margin-bottom: 2rem;
  background-color: #f8f8f8;

  position: relative;
  overflow: hidden;
  padding-bottom: 56.25%;
  height: 0;
}

.video-iframe {
  width: 100%;
  height: 100%;
  position: absolute;
}

.video-card {
  padding: 0.5rem 1rem;
  border-radius: 0.2rem;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
  margin: 2rem 0;

  background-color: #fbfbfb;
}

.footer {
  text-align: center;
  background-color: #f8f8f8;
  margin-top: 6rem;
  padding: 3rem 0;
  color: #909090;
}
.footer a:link {
  color: inherit;
  text-decoration: none;
}

.highlight,
mark {
  background-color: #fbf9c9;
  background-color: var(--gold-3);
}

.VideoThumbnailPlaceholder {
  background-size: contain;
  width: 100%;
  height: 100%;
  position: absolute;
}

.VideoThumbnailPlaceholder-play {
  /* width: 100%; */
  width: 100%;
  height: 100%;

  /* height: 0;
  position: relative;
  overflow: hidden;
  padding-bottom: 56.25%; */
  background-image: url(/static/play.png);
  background-size: contain;

  background-position: center 76%;
  transition: 0.3s opacity;
  opacity: 0.6;
}

.VideoThumbnailPlaceholder-play:hover {
  opacity: 0.8;
}

.skew-box-content {
  position: relative;
  padding: 30px 20px;
  margin-bottom: 2rem;
  margin-top: 1rem;
}

.skew-box {
  background-color: rgba(0, 0, 0, 0.07);
  border-radius: 6px;
  transform: skew(0, 2deg);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
}

/* .box-title {
  text-transform: uppercase;
  opacity: 0.6;
  font-size: 80%;
  margin-top: -0.8rem;
  margin-bottom: 1.25rem;
} */

.coming-soon {
  text-transform: uppercase;
  font-size: 90%;
  font-weight: 500;
  opacity: 0.5;
}

a:link,
a:active {
  color: var(--blue-1);
}

a:visited {
  color: var(--blue-1);
}

.home-link {
  color: black;
  font-weight: 500;
  text-decoration: none;
}

.home-link:hover {
  text-decoration: underline;
}

.inset-box {
  box-shadow: 0px 2px 6px 0 rgba(0, 0, 0, 0.15);
  margin: 40px 0;
  border: 1px solid rgba(0, 0, 0, 0.07);
  padding: 20px;
  border-radius: 3px;
}

.box-title {
  text-transform: uppercase;
  opacity: 0.5;
  font-size: 90%;
  font-weight: 500;
  margin-bottom: 1.25rem;
}

.inset-box > :first-child {
  margin-top: 0;
}
.inset-box > :last-child {
  margin-bottom: 0;
}

.nix-margins > :first-child {
  margin-top: 0;
}
.nix-margins > :last-child {
  margin-bottom: 0;
}

a:link code {
  color: inherit;
}

code {
  font-family: "Fira Mono", "Courier New", Courier, monospace;
  font-size: 100%;
  letter-spacing: -1px;
  color: black;
}

:not(pre) > code {
  color: red;
}

code.language-js {
  font-feature-settings: "ss01" on, "ss04" on, "liga" off;
  font-size: 80%;
  display: block;
  border-radius: 4px;
  overflow-y: auto;
  /* text-shadow: 0 0 2px tomato; */
}

.ReferenceQuote {
  margin: 1.25rem 0;
  padding: 1.25rem;
  background-color: white;
}

.ReferenceQuote-quote {
  font-style: italic;
  color: #606060;
}

.ReferenceQuote-quote:before,
.ReferenceQuote-quote:after {
  content: '"';
  color: #b0b0b0;
}

.ReferenceQuote-source {
  text-align: right;
}

pre code {
  display: block;
  padding: 12px; /** Because shiki useBackground is broken so it needs some padding to look OK */
}

code[bg] {
  padding: 12px;
  background-color: rgba(0, 0, 0, 0.04);
}

code[center] {
  text-align: center;
}

code[big="1"] {
  font-size: 100%;
}
code[big="2"] {
  font-size: 300%;
}

.compendium-title {
  text-align: center;
  margin: 80px 0;
  font-size: 250%;
}

.hero {
  color: white;
  padding: 20px 0;
}

.bg-green-600 {
  background-color: #38a169;
}
.bg-red-600 {
  background-color: #e53e3e;
}
.bg-purple-600 {
  background-color: #6b46c1;
}
.bg-blue-600 {
  background-color: #3182ce;
}

/* .pulled-up {
  margin-top: -40px;
}

.pulled-up .content {
  background-color: #fcfcfc;
  border-radius: 8px;
  padding-top: 20px;
  padding-bottom: 20px;
} */

hr {
  height: 0;
  border: none;
  height: 1em;

  margin: 0;
  margin-bottom: 1.25rem;
}

hr::after {
  font-family: "Fira code";
  content: "***";
  color: #c0c0c0;
  text-align: center;
  width: 100%;
  display: block;
}

table {
  width: 100%;
  margin: 1.5rem 0;
  border-collapse: collapse;
  font-size: 90%;
}

.truthy {
  background-color: hsl(120, 59%, 88%);
  opacity: 0.6;
  background-color: var(--green-3);
  border-radius: 0.2em;
  padding: 0.1rem 0.2rem;
}

.falsy {
  background-color: hsl(15, 59%, 88%);
  background-color: var(--red-3);
  border-radius: 0.2em;
  padding: 0.1rem 0.2rem;
}

table th {
  text-align: left;
  font-weight: 500;
  text-transform: uppercase;
  font-size: 80%;
}

th,
td {
  border-bottom: 1px solid #808080;
  padding: 8px 16px;
}

.step {
  border-radius: 100px;
  background-color: #808080;
  color: white;
  text-align: center;
  font-size: 80%;
  font-weight: 500;
}

ul.light-bullets {
  list-style: none;
}

ul.light-bullets li::before {
  content: "\2726";
  color: #a0a0a0;
  display: inline-block;
  width: 1em;
  margin-left: -1em;
}

ul {
  list-style: none;
}

ul li::before {
  content: "\2726";
  color: #c0c0c0;
  display: inline-block;
  width: 1.2em;
  margin-left: -1.2em;
}

/**
Quadruple Color Scheme

       Dark    Regular
Violet  #6E54A6    #8A74B9
        259,33,49  259,33,59
Teal    #3B9776    #4CB992
        158,44,41  158,44,51
Blue    #1E7FC3    #3499E0
        205,73,44  205,74,54

Semantic Colors
Green (90)
Red (15)

**/

/** Images in markdown **/

p > img {
  max-width: 100%;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 3px 8px 0px;
  background-color: white;
}

/** Header bar **/

.header-bar-outer {
  padding: 0.5rem;
  background-color: #f6f6f6;
}

.header-bar-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1024px;
  margin: 0 auto;
}

.header-bar-home {
  margin: 0.5rem;
}

.header-bar-links {
  display: flex;
  /* justify-content: space-around; */
  flex-wrap: wrap;
}
.header-bar-link {
  margin: 0.5rem;
}

@media (max-width: 320px) {
  .header-bar-links {
    display: block;
  }

  html {
    font-size: 16px;
  }
}
