.right {
  flex: 1;
}

.middle {
  flex: 3;
}

h1, p, a {
  text-align: center;
}

h1 {
  font-size: 24px;
}


h2 {
  font-size: 16px;
}

h2, p {
  line-height: 1.7;
}

.ch {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.character-buttons {
  width: 100%;
}

.character-buttons img {
  width: 11.5%;
  transition: 0.3s;
}

.character-buttons img:hover {
  cursor: pointer;
  scale: 1.05;
  transition: 0.3s;
}

.info {
  width: 100%;
}

.info img {
  width: 100%;
}

.info p {
  text-align: left;
}

.info-bottom, .info-top {
  display: flex;
  gap: 20px;
}

.info-bottom div, .info-top div {
  flex: 1;
}

.oc-chat {
  padding: 10px;
  max-height: 170px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border: 2px solid black;
  border-bottom: none;
  margin-top: 5px;
}

.chat-line {
  gap: 8px;
}

.chat-line.from-self p {
  text-align: right;
}

.chat-line.from-self .bubble {
  float: right;
}

.bubble {
  max-width: fit-content;
  padding: 6px 12px;
  border-radius: 5px;
  background: linear-gradient(180deg, #fff, #cce0ff);
  /* font-size: small; */
}

.divider {
  border: 1px dashed #cce0ff;
  margin-top: 5px;
}

.bottom {
  background-color: #cce0ff;
  width: 100%;
  height: 30px;
  border: 2px solid black;
  border-top: none;
  display: flex;
  justify-content: center;
  align-items: center;
}

.type {
  background-color: white;
  width: 95%;
  height: 70%;
  border-radius: 999px;
  border: none;
  font-family: inherit;
  padding: 10px;
}

.sender {
  font-size: small;
}

.hina {
  color: orange;
}

.miki {
  color: #9966ff;
}

.yuki {
  color: #6699ff;
}

.gumi {
  color: #0fbfbf;
}

.karin {
  color: #d91010;
}

.hiro {
  color: #e9ae1a;
}

.rie {
  color: black;
}

.akira {
  color: #49b159;
}

.naoki {
  color: #464fa0;
}

.sub-container {
  background-color: white;
  padding: 10px;
  color: black;
}

.dot {
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: inline-block;
  box-shadow: 1px 1px 0px #000000;
}

.dynamics-container {
  display: flex;
  gap: 10px;
}

.dynamics-container img {
  width: 100%;
  transform: rotate(1deg);
}

.dynamic p, .sub-container p {
  text-align: left;
}

.concept-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, flicker 10s infinite;
  margin-top: 7vh;
}

.content, .container {
  background-color: white;
  padding: 10px;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
  border: 2px solid black;
}
/* 
.container {
  max-height: 75vh;
  overflow-y: auto;
} */

.filter-buttons {
  text-align: center;
}

.filter-buttons button {
  padding: 5px 16px;
  margin: 0 5px;
  font-size: 20px;
  font-weight: bold;
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: black;
}

.filter-buttons button.current {
  background-color: white;
  color: black;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  border: 2px solid black;
}

@keyframes float {
  0%, 100% { transform: translateY(0) skew(0deg, 10deg); }
  50% { transform: translateY(-8px) skew(0deg, 10deg); }
}

@keyframes flicker {
  0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% { opacity: 1; }
  20%, 22%, 24%, 55% { opacity: 0.85; }
}

.sub-container.hidden {
  display: none;
}

.character-buttons img.current {
  scale: 1.05;
}

.info.hidden {
  display: none;
}

.spoilers {
  border: 2px solid black;
  background-color: white;
  font-family: inherit;
  padding: 5px;
  cursor: pointer;
}

.spoilers:hover {
  background-color: lightgray;
}

.misc img {
  width: 49%;
}

.skill {
  display: flex;
  justify-content: center;
  gap: 50px;
}

.skill img {
  width: 20%;
}

.border {
  text-align: center;
}

/* mobile wip */
@media (max-width: 1000px) {
  .right, .middle {
    width: 100%;
    flex: 1;
  }

  .middle {
    order: 2;
  }

  .right {
    order: 1;
  }
  
  .concept-wrap {
    animation: none;
    transform: skew(0);
    width: 100%;
    margin-top: 10px;
  }
}

@media (max-width: 700px) {
  .character-buttons img {
    width: 32%;
  }

  .info-bottom, .info-top {
    display: block;
  }
}

@media (max-width: 700px) {
  .character-buttons img {
    width: 31%;
  }
}