/* global variables & sets: */
:root {
  /* colours: */
  --bg: rgb(253, 253, 253);
  --primary: rgb(60, 60, 60);
  --secondary: rgb(120, 120, 120);
  --tertiary: rgb(240, 240, 240);
}

html {
  text-transform: lowercase;
  background-color: var(--bg);

  font-size: 18px;

  text-wrap: pretty;
}

/* font-loads: */
/* #region */
@font-face {
  font-family: "alegreya";
  src: url("../fonts/alegreya_regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: block;
}
@font-face {
  font-family: "alegreya";
  src: url("../fonts/alegreya_italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 400;
  font-display: block;
}
@font-face {
  font-family: "alegreya";
  src: url("../fonts/alegreya_medium.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: block;
}
@font-face {
  font-family: "alegreya";
  src: url("../fonts/alegreya_bold.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: block;
}
@font-face {
  font-family: "alegreya";
  src: url("../fonts/alegreya_light.woff2") format("woff2");
  font-style: normal;
  font-weight: 300;
  font-display: block;
}
@font-face {
  font-family: "alegreya";
  src: url("../fonts/alegreya_light-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 300;
  font-display: block;
}
@font-face {
  font-family: "fira-code";
  src: url("../fonts/fira-code_regular.woff2");
  font-style: normal;
  font-weight: 300;
  font-display: block;
}

@font-face {
  font-family: "alegreya-sans";
  src: url("../fonts/alegreya-sans_regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: block;
}
@font-face {
  font-family: "alegreya-sans";
  src: url("../fonts/alegreya-sans_italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 400;
  font-display: block;
}
@font-face {
  font-family: "alegreya-sans";
  src: url("../fonts/alegreya-sans_bold.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: block;
}
@font-face {
  font-family: "alegreya-sans";
  src: url("../fonts/alegreya-sans_light.woff2") format("woff2");
  font-style: normal;
  font-weight: 300;
  font-display: block;
}
@font-face {
  font-family: "alegreya-sans";
  src: url("../fonts/alegreya-sans_light-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 300;
  font-display: block;
}
/* #endregion */

/* font-sets: */
/* #region */
body {
  font-family: "alegreya";
}

h1,
h2,
h3,
p,
li {
  font-family: "alegreya";
  color: var(--primary);
  margin: 0.5em 0;
}

.remark-slide-content h1 {
  font-weight: 600;
  font-size: 2rem;
  line-height: 1.3em;
}
.remark-slide-content h2 {
  font-weight: 400;
  font-size: 2rem;
}
.remark-slide-content h3 {
  font-weight: 500;
  font-size: 1.3rem;
}

figcaption {
  font-family: "alegreya-sans";
  color: var(--secondary);
  font-weight: 400;
  font-size: 0.8rem;
  border-left: 0.25em solid var(--secondary);
  padding-left: 0.6em;
  text-align: left; 
}
li {
  font-size: 1rem;
  list-style-type: square;
}
p {
  font-size: 1rem;
}

/* images: */
figure {
  display: flex;
  flex-direction: column;
  gap: 0.5em;

  justify-content: center;
}
figure img{
  max-height: 500px; 
  object-fit: cover;

}

#center{
  justify-content: center;
  align-items: center;
}

.two{
  display: flex; 
  justify-content: space-between; 
  gap: auto;
}


hr {
  all: unset;
  display: block;
  height: 2px;
  background-color: var(--tertiary);
  margin: 1rem 0;
}

/* code stuff: */
.remark-code,
.remark-inline-code {
  font-family: "fira-code";
  font-size: 0.8rem;
}
.hljs-default .hljs,
.hljs-default .hljs-subst {
  background-color: var(--bg);
  padding: 1rem;
}

a{
  text-decoration: underline dashed 0.04em;
  text-underline-offset: 0.2em;
  color: rgb(214, 32, 91);
  text-decoration-style: dashed; 
}
figcaption a{
  color: var(--secondary);
}
.grey{
  color: var(--secondary); 
  opacity: 70%; 
}
.pink{
  color: rgb(214, 32, 91); 
}
.unbold{
  font-weight: 400; 
}
.italic{
  font-style: italic; 
}
.footnote{
  position: absolute; 
  bottom: 3em; 
  right: 3em; 
  font-size: 0.8rem; 
}

/* endregion */

/* outside boundary */
.remark-slide-container {
  background-color: black;
}
.remark-slide-scaler {
  border: 0;
  box-shadow: 0 0 0 0;
}

.remark-slide-content {
  background-color: var(--bg);
}

.remark-slide-content {
  background-size: cover;
  /* background-position: center;
  background-repeat: no-repeat ; */
}
.remark-toolbar-timer{
  display: none !important; 
}