#root {
  height: 100vh;
}

.base-wrap {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.footer-bottom {
  margin-top: auto;
}

.cover-image {
  min-width: 100vw;
  min-height: 50vh;
  background-image: url("/assets/0hJcGhBYrP3oaIAd46kAvduqRVqgzppL.png");
  background-size: cover;
  background-position: top right 25%;
}

#character-wrap {
  flex: auto;
  display: table;
}

#character {
  display: table-cell;
  vertical-align: middle;
}

#character-image {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: top left 50%;
}

#character-name {
  background-color: white;
  opacity: 80%;
  position: absolute;
  bottom: 20px;
  left: 30px;
  font-size: xx-large;
  font-weight: bold;
  padding: 5px;
}

#character-flavor {
  padding: 20px;
  background: rgba(0, 0, 0, 0.3)
}

#character-background {
  background-repeat: no-repeat;
  background-size: cover;
}

#character-lead,
#character-detail {
  color: white;
}

.header {
  z-index: 1000;
}

#transition-cover {
  width: 100vw;
  height: 100vh;
  background-color: cornsilk;
  border: none;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 999;
}

.transition-cover-appear {
  animation: transition-cover-appear 0.6s cubic-bezier(1, 0, 0.58, 1);
  animation-fill-mode: forwards;
}

.transition-cover-disappear {
  animation: transition-cover-disappear 0.6s cubic-bezier(1, 0, 0.58, 1);
  animation-fill-mode: forwards;
}

@keyframes transition-cover-appear {
  0% {
    width: 100vw;
  }

  100% {
    width: 0;
  }
}

@keyframes transition-cover-disappear {
  0% {
    width: 0;
    right: 0;
    left: auto;
  }

  100% {
    width: 100vw;
    right: 0;
    left: auto;
  }
}

#character-contents {
  max-width: 1280px;
  min-width: 1280px;
  max-height: 720px;
  min-height: 720px;
  margin: 0 auto;
  display: flex;
}

#character-list-column {
  max-width: 25%;
  min-width: 25%;
  max-height: 720px;
  min-height: 720px;
  margin: 0 auto;
}

#character-detail-column {
  max-width: 75%;
  min-width: 75%;
  max-height: 720px;
  min-height: 720px;
  margin: 0 auto;
}

.character-list-item {
  min-height: 120px;
  max-height: 120px;
  width: 100%;
  object-fit: cover;
  transition: all 0.3s ease-in-out;
  filter: grayscale(80%);
}

.character-list-item:hover {
  width: 110%;
  min-height: 120px;
  max-height: 120px;
  filter: grayscale(0%);
}

.character-list-item.selected {
  min-height: 120px;
  max-height: 120px;
  width: 110%;
  object-fit: cover;
  filter: none;
}

.character-list-item.selected:hover {
  min-height: 120px;
  max-height: 120px;
  width: 110%;
  object-fit: cover;
}

.character-select {
  background-color: #f0f0f0;
  min-height: 60px;
  max-height: 60px;
}

.character-select:hover {
  background-color: #e0e0e0;
}

#character-base {
  width: 100%;
  height: 100%;
  position: relative;
}

#character-background {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: -1;
}

.character-background-image {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: top left 50%;
}

#character-main {
  position: absolute;
  top: 0;
  left: 0;
}

#gallery-wrap {
  max-width: 1280px;
  min-width: 1280px;
}

.gallery-thumbnail-row {
  padding: 12px 0 12px 0;
}

.gallery-thumbnail {
  width: 296px;
  height: 296px;
  object-fit: cover;
}