#header, #footer, main, main div, main span, ol, ul {
  border: thick solid black;
}

html, body {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 100%;
  width: 100%;
  max-width: 100vw;
  margin: 0 auto;

  font-size: 16px;
  font-family: 'Open Sans', Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
  font-weight: normal;
  font-style: normal;
  color: black;
  line-height: 1.5rem;
  text-align: justify;
}

#header, #footer, main {
  background: white;
}

/* background animation */
#animation-base {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -666;
  background: black;
}

#animation-1 {
  mix-blend-mode: color-burn;
  animation: animation-1 48s linear infinite;
}

#animation-2 {
  mix-blend-mode: luminosity;
  animation: animation-2 48s linear infinite;
}

/* -north +south, -east +west */
@keyframes animation-1 {
  from { background-position: -240px 480px; }
  to { background-position: 720px 480px; }
}

@keyframes animation-2 {
  from { background-position: -720px 240px; }
  to { background-position: 240px -720px; }
}

.animation-panel, .animation-background {
  width: 100%;
  height: 100%;
}

.animation-panel {
  background-image: url(/images/fractal.png); /* 960 px by 960 px */
  background-size: cover;
}

.animation-background {
  background-image: url(/images/background.png);
  filter: invert();
}

/* global styles */
div#svelte {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

a:link, a:visited {
  color: #191a3d !important;
  text-decoration: none;
}

a:hover {
  color: #24266e !important;
  text-decoration: underline;
}

img {
  margin: 1rem;
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1;
}

h1 {
  text-shadow: 0 0 18px rgba(23, 23, 23, 0.98);
  margin-bottom: 2rem;
}

table {
  min-width: 75%;
  border-collapse: collapse;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 0.25rem;
}

table thead tr {
  color: #555;
  background-color: #eee;
}

table th, table td {
  padding: 0.5em;
}

tbody tr {
  border-bottom: thin solid #ccc;
}

hr {
  margin: 2rem 0;
  border: 0;
  height: 1px;
  background: #333;
  background-image: linear-gradient(to right, #888, #eee, #888);
}

/* reusable */
.flex {
  display: flex;
}

.fit-content {
  width: max-content;
}

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

.text-justify: {
  text-align: justify !important;
}

.two-column-container {
  display: inline-flex;
  justify-content: space-between;
  gap: 3rem;
}

.two-column-container > p, .two-column-container > div {
  word-wrap: break-word;
  hyphens: auto;
  max-width: 49%;
}

.text-medium {
  font-size: 18px;
}

.text-big {
  font-weight: bold;
  font-size: 28px;
}

.text-huge {
  font-weight: bold;
  font-size: 64px;
}

.text-massive {
  font-weight: bold;
  font-size: 128px;
}

.text-fancy {
  background: -webkit-linear-gradient(#0b65b4, #95b0cc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.spaced-column {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.padded {
  padding: 3rem !important;
}

.mb {
  margin-bottom: 3rem;
}

.mt {
  margin-top: 3rem;
}

.ml {
  margin-left: 3rem;
}

.mr { 
  margin-right: 3rem;
}

.m0 {
  margin: 0 !important;
}

.pv {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.ph {
  padding-left: 3rem;
  padding-right: 3rem;
}

.emphasize {
  margin: 1rem 0;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 0.25rem;
}

.column {
  flex-direction: column;
}

.right-inline-image {
  float: right;
  max-width: 40%;
  min-width: 30%;
}

.left-inline-image {
  float: left;
  max-width: 40%;
  min-width: 30%;
}
