body {
  font-family: "Press Start 2P";
  background-color: #111;
  color: #ccc;
  box-sizing: border-box;
}

nav {
  position: absolute;
  right: 1rem;
  top: -2rem;
}

nav > ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.flex-col {
  display: flex;
  flex-direction: column;
}

.bf-logo {
  max-width: 16rem;
  margin: 0.5rem 1rem;
}

main {
  display: block;
  width: 95%;
  max-width: 80rem;
  position: relative;
  margin: 5vw auto 0;
  border-radius: 5px;
}

body a {
  color: #eeeeff;
  font-weight: 600;
}

body a:hover {
  color: #eeeeff;
  font-weight: 600;
  animation: 1s flicker ease-in-out infinite;
}

body strong {
  color: #eeeeff;
}

@keyframes flicker {
  0% {
    color: #eeeeff;
  }

  20% {
    color: #ffffff;
  }

  40% {
    color: #eeeeff
  }

  60% {
    color: #ddddff;
  }

  80% {
    color: #ccccff
  }

  100% {
    color: #ddddff;
  }
}

main>div.border {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 5px;
  pointer-events: none;
}

main>div.border>div.rainbow-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  scale: 15;
  z-index: -1;
  background: conic-gradient(from 0deg, indigo, violet, red, orange, yellow, green, blue, indigo);
  animation: 10s rotate ease-in-out infinite;
}

main>div.border>div.transparent-bg {
  position: absolute;
  width: calc(100% - 4px);
  height: calc(100% - 4px);
  border-radius: 5px;
  left: 2px;
  top: 2px;
  background-color: #111;
  z-index: -1;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

main>div.border {
  position: absolute;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  pointer-events: none;
}

main>div.header {
  position: absolute;
  top: -1.75rem;
  left: 1rem;
  background-color: #111;
}

main>div {
  text-align: left;
}

body>footer {
  display: block;
  position: relative;
  width: 100%;
  right: 0;
  text-align: center;
  padding: 0.5rem 1rem;
  box-sizing: border-box;
  margin: 0 auto;
  font-size: 0.5rem;
  line-height: 1.5;
  max-width: 70vw;
}

main>div.topics {
  display: flex;
  padding: 2rem;
  white-space: normal;
  line-height: 1.5;
}

@media(max-width:1024px) {
  main>div.topics {
    padding: 1.5rem;
  }
}

main>div.topics>div.col:first-child {
  width: 50%;
  padding-right: 1rem;
}

main>div.topics>div.col:last-child {
  flex-grow: 4;
}

main>div p {
  margin: 1rem 0;
}

main>div .hero-vid {
  width: 100%;
  border-radius: 5px;
  margin: auto 0;
}

@media(max-width:1024px) {
  nav {
    top: -3rem;
    left: 0;
    text-align: right;
    width: 100%;
  }

  main {
    margin-top: 4rem;
  }

  main>div p {
    margin: 0.5rem 0;
  }

  main>div.topics>div.col:first-child {
    width: 100%;
  }

  main>div.header {
    left: calc(50% - 141px);
    top: -1.5rem;
  }

  main>div.topics {
    flex-direction: column;
  }
}

.nowrap {
  white-space: nowrap ;
}
