@charset "UTF-8";

body,
html {
  margin: 0;
  padding: 0;
  background-color: #e7e7e7;
  font-family: monospace;
  font-size: 1.05rem;
  width: 100%;
}

body.dark {
  background-color: #202020;
}

h1 {
  font-size: 4rem;
  border-bottom: 16px solid #202020;
  box-shadow: 0 4px 0px #20202070;
  text-shadow: 0 4px 1px #20202070;
}

h3 {
  margin-top: 2em;
}

p,
li {
  max-width: 80ch;
}

.cont {
  width: 90%;
  max-width: 1220px;
  min-width: 345px;
  margin: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #202020;
}

.split {
  display: flex;
  justify-content: space-between;
  transition: height 0.25s ease;
  /* margin-top: 2em; */
  /* interpolate-size: allow-keywords; */
}

.split .text {
  width: 50%;
  flex: 1 1 auto;
  margin-right: 12px;
}

.split .text p:first-of-type {
  margin-top: 0;
}

.split img {
  max-width: 100%;
}

.split video {
  margin-top: 0;
}

.split h1 {
  font-size: 1.5em;
}

video,
img {
  max-width: 100%;
  margin: 8px auto;
  padding: 6px;
  border: 2px solid rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  background-color: rgba(0, 0, 0, 0.2);
  position: relative;
}

video.half,
img.half {
  width: 50%;
}

video.big,
img.big {
  width: 63%;
}

img.full {
  width: 100%;
}

img.rounded {
  border-radius: 999px;
}

img.semi-rounded {
  border-radius: 128px;
}

img.shadow {
  box-shadow: 0 4px 0px #20202070;
}

td {
  border-bottom: solid 1px #333331;
}

@media (max-width: 768px) {
  .split .text {
    width: 100%;
  }

  .split img,
  video {
    width: 100%;
  }

  .split video {
    margin-top: 1em;
  }

  video.big,
  img.big {
    width: 100%;
  }

  .split {
    flex-direction: column;
  }

  h1 {
    font-size: 3rem;
  }

  p,
  li {
    max-width: 100%;
  }
}
