/* PT Serif */
@import url('https://fonts.googleapis.com/css2?family=PT+Serif:ital,wght@0,400;0,700;1,400;1,700&display=fallback');

/*! minireset.css v0.0.6 | MIT License | github.com/jgthms/minireset.css */
html,
body,
p,
ol,
ul,
li,
dl,
dt,
dd,
blockquote,
figure,
fieldset,
legend,
textarea,
pre,
iframe,
hr,
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: 100%;
  font-weight: normal;
}

ul {
  list-style: none;
}

button,
input,
select {
  margin: 0;
}

html {
  box-sizing: border-box;
}

*, *::before, *::after {
  box-sizing: inherit;
}

img,
video {
  height: auto;
  max-width: 100%;
}

iframe {
  border: 0;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

td,
th {
  padding: 0;
}

/* Basic styling */

html {
  font-size: 16px;
}

a:visited {
  color: blue;
}

.ptserif {
  font-family: 'PT Serif', Georgia, 'Times New Roman', Times, serif;
}

.leading-normal {
  line-height: 1.5;
}

.w-prose {
  width: 700px;
}

.min-w-0 {
  min-width: 0;
}

.text-sm {
  font-size: 14px;
}

.s-2 {
  padding-top: 0.5rem;
}

.s-4 {
  padding-top: 1rem;
}

.s-8 {
  padding-top: 2rem;
}

.p-4 {
  padding: 1rem 1rem;
}

.h-full {
  height: 100%;
}

.flex-col {
  display: flex;
  flex-direction: column;
}

.flex-1 {
  flex: 1;
}

.text-center {
  text-align: center;
}

.line-through {
  text-decoration: line-through;
}

/* Based on: https://tailwindcss.com/docs/customizing-colors */
.bg-gray-100 {
  background: #F3F4F6;
}

.bg-white {
  background: white;
}

.bg-rb-red {
  background-color: #D23A36;
}

.bg-rb-orange {
  background-color: #D27E36;
}

.bg-rb-blue {
  background-color: #52ADB1;
}

.bg-rb-green {
  background-color: #98CC35;
}

/* Rounded, gray box */
.gbox {
  background: #F3F4F6;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  border: 1px solid #E5E7EB;
}

/* Footer */
.footer {
  padding: 2rem 0;
  background: linear-gradient(180deg, #E5E7EB 0%, #F3F4F6 100%);
  text-align: center;
  border-top: 1px solid #D1D5DB;
}

/* Asciidoc articles */

.adoc h1 {
  font-size: 30px;
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 0.5em;
}

.adoc h2 {
  font-size: 28px;
  margin-top: 1em;
  margin-bottom: 0.5em;
}

.adoc h3 {
  font-size: 18px;
  margin-top: 1em;
  margin-bottom: 4px;
  font-weight: bold;
}

.adoc .title {
  font-weight: bold;
}

.adoc .paragraph, .adoc .ulist, .adoc .olist, .adoc .listingblock, .adoc .quoteblock, .adoc .imageblock, .adoc table.tableblock {
  margin-bottom: 1em;
}

.adoc .ulist, .adoc .olist {
  margin-left: 1.75em;
}

.adoc .ulist li, .adoc .olist li {
  margin-bottom: 0.5em;
}

.adoc table.tableblock {
  border-bottom: 1px solid #ccc;
}

.adoc table.tableblock thead {
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  background: #F3F4F6;
}

.adoc table.tableblock td, .adoc table.tableblock th {
  padding: 0 0.5em;
}

.adoc pre {
  font-family: Menlo,ui-monospace,SFMono-Regular,Monaco,Consolas,'Liberation Mono','Courier New',monospace;
  font-size: 14px;
  padding: 1em;
  border-radius: 5px;
  border: 1px solid #E5E7EB;
  overflow: auto;
}

.adoc :not(pre) > code {
  border: 1px solid #E5E7EB;
  padding: 0 0.25em;
}

.adoc ul {
  list-style: disc;
}

.adoc blockquote {
  border-left: 10px solid #E5E7EB;
  background: #F3F4F6;
  padding: 1em 1em 0;
  overflow: hidden;
}

.adoc-outline ul {
  margin-left: 22px;
}

.adoc-outline a {
  color: black;
  text-decoration: none;
}

.adoc-outline a:hover {
  border-bottom: 1px solid #333;
}

.adoc-outline .sectlevel1 > li > a {
  font-weight: bold;
}

.rainbow-banner {
  display: flex;
}

.rainbow-banner > .color {
  flex: 2;
  min-width: 3px;
}

.rainbow-banner > .space {
  flex: 1;
  min-width: 2rem;
}
