/* ------------------ GLOBAL CSS ------------------ */
@font-face {
  font-family: digginboss;
  src: url(/lib/digginboss.ttf);
}
* {
  font-family: digginboss;
  text-decoration: 0;
  list-style: none;
  color: #fff;
  background: #000;
  font-weight: 500;
  margin: 0;
  padding: 0;
}
/* --------------------- TEXT --------------------- */
p {
  color: #fff;
  white-space: pre-line;
}
.c {
  text-align: center;
}
/* --------------------- IMG --------------------- */
img {
  max-width: 100%;
}
/* -------------------- HEADER -------------------- */
header {
  text-align: center;
  animation: fade-in .5s;
}
@keyframes fade-in {
from {opacity: 0;}
to {opacity: 1;}
}
/* -------------------- NAVBAR -------------------- */

/* Hover/Highlight Effects */
#active {background-color: #0ce;}
.nav a:hover, .nav #active:hover {color: #000; background: #fff;}
.nav a:hover>.navImg {filter: brightness(0%);}

.nav {
  display: flex;
  position: sticky;
  top: 0;
  z-index: 1;
}

.nav li a {
  font-weight: 700;
  text-align: center;
  display: inline-block;
  width: 12vw;
  padding: 0;
}

.nav a img {
  width: 2em;
  height: 2em;
  background: none;
}

/*  */

.nav2 {justify-content: center;}

.nav2 li a {padding: .5em 0;}

/*  */

.nav .dd {
  top: 100%;
  display: none;
  position: absolute;
}

.nav li:hover>.dd {display: block;}
.nav li:hover>.dd li a {padding: .6em 0;}

@media (max-width: 1120px) {
  .nav li a {
    width: 25vw;
    font-size: .9em;
  }
  .nav2 li .logo {
    width: 15vw;
    font-size: .9em;
  }
}

@media (max-width: 720px) {
  .nav li a {
    width: 25vw;
  }
  .nav li .logo {
    font-size: .8em;
  }
}

/* ------------------ VIDEO LIST ------------------ */
.videoList {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  grid-gap: .5rem;
}

.videoList a {
  display: inline-block;
  position: relative;
  padding-bottom: 56.25%;
  overflow: hidden;
  transition: opacity 0.2s;
}

.videoList a:hover {opacity: .6;}

.videoList img {position: absolute;}

.videoList a div {
  position: absolute;
  bottom: 0;
  max-width: 100%;
  width: 100%;
  padding: 0.5em 0;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.5);
}

@media (orientation: portrait) {
  .videoList {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }

  .videoList a div {
    padding: 0.3em 0;
    font-size: 80%;
  }
}

@media (max-width: 600px) {
  .videoList {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }

  .videoList a div {
    padding: 0.3em 0;
    font-size: 80%;
  }
}
/* ------------------ VIDEO PAGE ------------------ */
