html, nav {
  background-color: black;
}

a, .quasi-link {
  color: #f8f9fa7f;
}

a:hover, .quasi-link:hover {
  color: #f8f9faff;
  text-decoration: none;
}

main a {
  color: #00adef7f;
}

main a:hover {
  color: #00adefff;
  text-decoration: none;
}

main p {
  color: #f8f9fa7f;
}

body {
  background-color: black;
}

.navbar-brand small {
  display:block;
  text-align: center;
  font-size: 0.5em;
}

.pre-load {
  background-color: black;
  position: fixed;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
  z-index: 9999;
}

.video-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-cover {
  position: absolute;
  /*top: 0;*/
  width: 100%;
  height: 100%;
  background: url('/static/imaxes/pattern.png') repeat, #0003;
  image-rendering: pixelated;
  filter: blur(0.71px);
  object-fit: cover;
}

.main-name {
  z-index: 1;
}

.bg-black {
  background-color: black;
}

.navbar-brand {
  font-weight: bold;
}

.about-main {
    margin-top: 20vh;
}

.cv-dl-link {
  color: white;
  font-weight: bold;
  font-variant: all-small-caps;
  font-style: italic;
  text-decoration: underline;
}

.cv-dl-link:hover {
  color: white;
  text-decoration: none;
}

.cv-part-title {
  font-weight: bold;
  font-variant: small-caps;
}

.cv-item-date {
  color: #f8f9faff;
  font-size: 0.9em;
}

.cv-item-title {
  color: #f8f9faff;
  text-transform: uppercase;
  font-style: italic;
}

.cv-item-comment {
  color: #f8f9fa7f;
}

.cv-err {
  color: red;
  font-weight: bold;
}

.img-part-title {
  font-weight: bold;
  font-variant: small-caps;
  font-size: 1.25em;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(2, calc((100% - 1 * 16px) / 2));
  grid-gap: 16px;
}

.gallery > a {
  display: contents;
}

.gallery > a > img {
    width: 100%;
}

.portrait {
    aspect-ratio: 2/3;
}

.landscape {
    aspect-ratio: 3/2;
}

@media only screen and (min-width: 576px) {
.gallery {
  grid-template-columns: repeat(4, calc((100% - 3 * 16px) / 4));
  /*grid-gap: calc((100% - 4 * 23%) / 3);*/
}
}

.cv-part-list > li {
    list-style: none;
}

.img-item-box {
  background-position: center;
  background-size: cover;
  margin: 2em;
}

.img-item-box >.img-item-comment {
  color: white;
  width: 100%;
  text-align: center;
  background-color: #0008;
  padding: 1em 0em;
  display: block;
}

#loading {
  animation: load_anim 1s linear infinite;
}

@keyframes load_anim {
  50% {
    opacity: .5;
  }
}
