.char-page {
  margin-top: 12vh;
  position: relative;
  width: var(--container-w);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-lg);
  justify-content: flex-start;
  align-items: flex-start;
  z-index: 1;
}

.media-block {
  padding: 1vh;
  /* background: url('img/currents.png');
  background-size: 100%;
  background-repeat: no-repeat; */
  background: linear-gradient(to bottom, var(--accent), var(--bg-main));
}

.char-name {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-family: 'DIOGENES';
  letter-spacing: 5px;
  color: rgba(255, 255, 255, 0.25);
  background-image: url('../img/backgrounds/texture.png');
  background-size: 100% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  animation: scrollBackground 10s linear infinite;
  margin-bottom: 0.8rem;
}

.char-quote {
  padding: 0.9rem;
  margin-bottom: 1.5rem;
  position: relative;
  border: 1px dashed var(--accent);
  background: rgba(5, 5, 8, 0.5);
  font-style: italic;
}

.char-quote::before {
  color: var(--accent);
  content: '«';
  margin-right: 0.3rem;
}

.char-quote::after {
  color: var(--accent);
  content: '»';
  margin-left: 0.3rem;
}

.char-bio h3 {
  margin-top: 1.5em;
}

.image-switcher {
  display: flex;
  /*justify-content: space-between;*/
  gap: 0.5rem;
  flex-wrap: wrap;
  width: 100%;
  margin-bottom: 0.75rem;
}

.char-image,
#objectModel {
  background-color: rgba(0, 225, 255, 0.25);
  /* background-image: url(../../img/backgrounds/texture.png);
  background-size: 200%;
  background-color: rgba(255, 255, 255, 0.25);
  background-position: center;
  background-blend-mode: overlay; */
  width: 100%;
  margin-bottom: 1rem;
  outline: 1px solid var(--accent);
}

#objectModel {
  display: none;
  min-height: 300px;
}

.stats-table {
  width: 100%;
  border-collapse: collapse;
}

.stats-table th,
.stats-table td {
  padding: 0.4rem 0.6rem;
  text-align: left;
}

.stats-table th {
  color: var(--accent);
}

.button {
  border: 2px solid var(--bg-main);
  background-image: linear-gradient(to bottom, #6aafff, #a2c0ff, #c9d3ff, #e8e8fe, #ffffff);

  color: black;
  font-weight: bold;
  padding: 5px;
}

.char-image {
  background: rgba(0, 225, 255, 0.267);
  padding: 1vh;
}

@keyframes scrollBackground {
  to {
    background-position-y: -100%;
  }
}

@media (min-width: 769px) {
  .left-column {
    flex: 2;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    min-width: 300px;
  }
  
  .media-block {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 250px;
  }
}

@media (max-width: 768px) {
  .char-page {
    flex-direction: column;
    top: 10vh;
    margin-top: 2vh;
  }
  
  .left-column {
    width: 100%;
    display: contents;
  }
  
  .char-name {
    text-align: center;
  }
  
  .name-quote-block {
    order: 1;
    width: 100%;
  }
  
  .media-block {
    order: 2;
    width: 100%;
  }
  
  .char-bio {
    order: 3;
    width: 100%;
    margin: 1.5rem 0;
    text-align: justify;
  }
}