html,
body {
  background-color: #0c0d0f;
  color: #F5F7FA;
}

footer #copyright,
a:link,
a:visited,
header h1 a:link,
header h1 a:visited {
  color: #C9D1D9;
}

header h1 a:link,
header h1 a:visited {
  opacity: 10%;
  transition: opacity .2s, text-shadow .5s;
}

h2,
h3,
h4,
#controlbox {
  text-align: center;
}

#cb-prev:link,
#cb-prev:visited,
#cb-next:link,
#cb-next:visited {
  text-decoration: none;
  font-size: 1.3em;
  padding-left: 1em;
  padding-right: 1em;
  opacity: 75%;
  transition: opacity .2s, text-shadow .5s;
}

header h1 a:hover,
h2,
h3,
h4,
#cb-prev:hover,
#cb-next:hover {
  opacity: 100%;
  text-shadow: 0px 0px 8px #C9D1D9;
}

#cb-info {
  display: inline-block;
  padding-top: 1em;
  opacity: 50%;
}

.grid {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 5rem;
}

.grid div {
  width: 25em;
  object-fit: cover;
}

footer {
  opacity: 35%;
}

@media (max-width: 600px) {
  .grid {
    display: inline-block;
    margin-bottom: 1.5rem;
  }

  .grid div {
    width: auto;
    margin: 2rem auto;
  }
}
