@font-face {
  font-family: 'Domine';
  src: url(../fonts/Domine-VariableFont_wght.ttf) format("truetype");
  font-display: swap;
}

html body {
  height: 100vh;
  font-family: "Helvetica Neue", Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;

  text-align: center;

  --text-color: #1A204F;
  --accent-color: #F7941A;
  /*--accent-color: #0d6efd;
  --accent-color: #007aff;
  --accent-color: rgb(35, 102, 185);
  --accent-color: rgb(52, 192, 99); */

  font-family: "Domine", serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;

  color: var(--text-color);
  background-color: #F5F5F7;
}

/* colors */

.bg-grey {
  background-color: #F5F5F7;
}

.bg-white {
  background-color: #FFFFFF;
}

.bg-dark {
  background-color: #212529;
}

body.dark {
  background-color: #000000;
  --text-color: #AAA;
}

body.dark .bg-white {
  background-color: #212529 !important;
}

body.dark .triangle-bl {
  width: 0;
  height: 0;
  border-bottom: 100px solid #212529;
  border-right: 100vw solid transparent;
}

.yellow {
  color: var(--accent-color);
}

/* typography */

h1,
h2,
h3,
h4,
h5 {
  box-sizing: border-box;
  display: block;
}

h1 {
  font-size: 35px;
  font-weight: 400;
  margin-bottom: 25px;
}

h2 {
  font-size: 35px;
  font-weight: 500;
  margin-bottom: 45px;
}

h3 {
  font-size: 25px;
  font-weight: 500;
  margin-bottom: 12px;
}

h1.huge {
  font-size: 80px;
  font-weight: 500;
  margin-bottom: 12px;
}

/* links */

a:not(.btn) {
  color: var(--accent-color);
  text-decoration: none;
}

a:hover:not(.btn) {
  color: var(--accent-color);
  text-decoration: underline;
}

/* buttons */

.btn {
  border-radius: 100px;
  padding-left: 25px;
  padding-right: 25px;
  margin-left: 7px;
  margin-right: 7px;
  background-color: var(--accent-color);
  border-color: var(--accent-color);
}

.btn:hover {
  border-color: #D55E00;
  background-color: #D55E00;
}

/* box */

a.box {
  transform: scale(1);
  transition: 0.3s;
  text-decoration: none;
  color: var(--text-color);
}

a.box:hover {
  transform: scale(1.015);
  transition: 0.3s;
  text-decoration: none;
  color: var(--text-color);
}

.box {
  border-radius: 30px;
  display: block;
  padding: 25px;
}

.br-30 {
  border-radius: 30px;
}

/* media queries */
/* viewport lg and smaller */
/* viewport md and smaller */
@media (max-width: 991.98px) {

}

/* viewport sm and smaller */
/* viewport xs */
@media (max-width: 575.98px) {
  h1,
  h2 {
    font-size: 27px;
  }

  h3 {
    font-size: 23px;
  }

  h1.huge {
    font-size: 60px;
  }
}

/* triangles */

.triangle-br {
  width: 0;
  height: 0;
  border-bottom: 100px solid #FFFFFF;
  border-left: 100vw solid transparent;
}

.triangle-bl {
  width: 0;
  height: 0;
  border-bottom: 100px solid #FFFFFF;
  border-right: 100vw solid transparent;
}

.triangle-tr {
  width: 0;
  height: 0;
  border-top: 100px solid #FFFFFF;
  border-left: 100vw solid transparent;
}

.triangle-tl {
  width: 0;
  height: 0;
  border-top: 100px solid #FFFFFF;
  border-right: 100vw solid transparent;
}

/* quarto styles */

details.code-fold {
  text-align: center;
  font-size: 0.7rem;
}

.sourceCode.cell-code {
  text-align: left;
  margin-right: 20px;
  margin-left: 20px;
}

.quarto-figure {
  margin: 0px;
}

h2 {
  border-bottom-style: none;
}
