body {
  position: relative;
  font-family: helvetica;
  background-color: white;
  min-width: 100%;
  min-height: 100%;
  margin: 0;
}
header input {
  margin-left: 1em;
  margin-bottom: 1em;
  width: 50%;
  padding: .5em;
}
h1 {
  text-align: center;
  color: white;
  padding-top: 1em;
}

section {
  display: none;

}

section>h1 {
  align-self: center;
  margin: 0;
}

.active {
  display: flex;
  flex-direction: column;
  grid-column-start: 2;
  grid-column-end: 2;
}

nav {
  display: flex;
  flex-direction: row;
  align-self: stretch;
  grid-column-start: 1;
  grid-column-end: 4;
  grid-row-start: 1;
  grid-row-end: 4;
  position: fixed;
  bottom: 0;
  width: 100%;
  z-index: 100129;
}

nav>li {
  text-decoration: none;
  list-style-type: none;
  list-style: none;
  padding: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  background: linear-gradient(233deg, #ff2020, #f2ff40);
  background-size: 400% 400%;
  animation: AnimationName 10s ease infinite;
  color: white;
  border: solid white 3px;
  line-height: 2;
}

a {
  display: block;
  text-decoration: none;
  font-weight: 500;
  align-self: center;
  width: 100%;
  height: 100%;
  text-align: center;
  font-size: 1.5em;
  color:white;
}

img {
  object-fit: contain;
}

ul {
  display: grid;
  grid-gap: 1em;
  position: relative;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

ul li {
  list-style: none;
  padding-left: 1em;
  color: black;
}

header {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: black;
  top: 0;
  background: linear-gradient(233deg, #ff2020, #f2ff40);
  background-size: 400% 400%;
  animation: AnimationName 10s ease infinite;
}

header img {
  max-width: 10em;
}

.hidden {
  display: none;
}

.flex {
  display: flex;
}

.character {
  color: black;
}

.name {
  color: white;
}

.comics {
  margin: 2em;
  padding: 2em;
  margin-bottom: 5em;
}

#characterPage {
  background-color: rgba(0,0,0,.3);
    margin: 2em;
    width: 33%;
    top: 50%;
    margin-left: 50%;
    transform: translate(-50%);
}

#wrapper {
  position: fixed;
  width: 100%;
  height: 100vh;
  justify-content: center;
  align-items: center;
  z-index: 99;
  top: 0;
  background: white;
}

#loader {
  border: 16px none transparent;
  border-top: 60px dotted #ff2020;
  width: 120px;
  height: 50px;
  animation: spin 2s ease infinite;
  position: relative;
  align-self: center;
}

#loader::after {
  content: '';
  position: absolute;
  border: 16px none transparent;
  border-top: 60px dotted #f2ff40;
  opacity: .5;
  width: 120px;
  height: 1px;
  transition: .35s;
  animation: spinAfter 2s ease infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
    opacity: 1;
  }
  50% {
    transform: rotate(360deg);
    opacity: .5;
  }
  100% {
    transform: rotate(0deg);
    opacity: 1;
  }
}

@keyframes spinAfter {
  0% {
    transform: rotate(0deg);

  }
  50% {
    transform: rotate(360deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

@keyframes AnimationName {
    0%{background-position:0% 75%}
    50%{background-position:100% 26%}
    100%{background-position:0% 75%}
}
