.right {
  flex: 1;
}

.middle {
  flex: 3;
}

.intro, .outro {
  background-color: white;
  padding: 15px;
  border: 2px solid black;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
}

.intro, #comic-image {
  margin-bottom: 10px;
}

h1, p, a {
  text-align: center;
}

h1 {
  font-size: 24px;
}

.intro {
  justify-content: center;
  align-items: center;
  text-align: center;
  background-color: white;
}

.intro button {
  cursor: pointer;
  color: #99ccff;
  background: none;
  font-family: inherit;
  border: none;
  font-size: inherit;
}

.intro button:hover {
  opacity: 70%;
}

.archive {
  background-color: white;
  border: 2px solid black;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
}

.archive img {
  position: relative;
}

.list {
  display: flex;
  flex-direction: column;
  max-height: 75vh;
  overflow-y: auto;
  gap: 5px;
  padding: 15px;
}

.list a {
  text-align: left;
  padding: 5px;
  text-decoration: none;     
}

.list a:hover {
  background-color: #CFE8FF;
}

.comic-wrap {
  transform: skew(0deg, 10deg);
  display: inline-block;
  animation: float 2s ease-in-out infinite;
  transition: transform 0.3s ease;
  animation: float 1.5s ease-in-out infinite;
  margin-top: 7vh;
  /* font-size: small; */
}

@keyframes float {
  0%, 100% { transform: translateY(0) skew(0deg, 10deg); }
  50% { transform: translateY(-8px) skew(0deg, 10deg); }
}

/* mobile wip */
@media (max-width: 1000px) {
  .three-column-layout {
    flex-direction: column;
    gap: 0;
  }

  .right, .middle {
    width: 100%;
    flex: 1;
  }

  .middle {
    order: 2;
  }

  .right {
    order: 1;
  }
  
  .comic-wrap {
    animation: none;
    transform: skew(0);
    width: 100%;
    margin-top: 10px;
  }
}
