@font-face {
  font-family: afacad;
  src: url("../assets/fonts/Afacad-Regular.ttf");
}

@font-face {
  font-family: alice;
  src: url("../assets/fonts/Alice-Regular.ttf");
}

@font-face {
  font-family: lancelot;
  src: url("../assets/fonts/Lancelot-Regular.ttf");
}

body {
  background:
    url("../assets/vine_v5.png"), linear-gradient(to bottom, #570000, #b37267);
  background-position:
    -100px -100px,
    center center;
  background-repeat: repeat, no-repeat;
  background-attachment: scroll, scroll;
  background-size:
    500px auto,
    cover;
  background-blend-mode: color-burn, normal;
  min-height: 100vh;
  width: 100%;
  margin: 0;
}

h1 {
  font-family: afacad;
  text-align: center;
}

.container {
  min-height: 100vh;
  min-width: 75%;
  width: 75%;
  background: linear-gradient(to bottom, #000000, #540000);
  background-attachment: fixed;
  background-repeat: repeat;
  border-left: 5px rgba(0, 0, 0, 0.496) solid;
  border-right: 5px rgba(0, 0, 0, 0.478) solid;
}

.game-title {
  width: 600px;
}

.navbar {
  /* background: linear-gradient(
    to right,
    transparent 0%,
    #570000 25%,
    #570000 75%,
    transparent 100%
  ); */
  background: linear-gradient(
    to right,
    transparent 0%,
    #7a2c27 25%,
    #7a2c27 75%,
    transparent 100%
  );
}

.navbar-nav {
  justify-content: center !important;
  text-align: center;
}

.navbar-title {
  color: #ffdeb1;
  font-family: lancelot;
  font-size: 30px;
  text-decoration: none;
}

.nav-bar-btn {
  background: linear-gradient(to bottom, #000000, #761f1f);
  color: #ffdeb1;
  border: #d8c7af 2px solid;
  padding: 5px !important;
  margin: 5px 5px 5px 5px;
  font-family: lancelot;
  font-size: 20px;
  text-align: center;
  min-width: 150px;
  text-decoration: none;
  border-radius: 25px;
}

.nav-bar-btn:hover {
  background: linear-gradient(to bottom, #000000, #000000);
}

.navigation-button {
  width: 80%;
  text-align: center;
  cursor: pointer;
  color: #ffdeb1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: auto;
}

.navigation-button .navbar-title:hover {
  color: #c6a87d;
  transition: 0.2s ease-in-out;
}

.itch-link {
  color: #ffdeb1;
  cursor: pointer;
  text-decoration: none;
  font-family: lancelot;
  font-size: 18px;
  text-align: end;
  width: 75%;
  display: flex;
  align-items: center;
  justify-content: end;
}

.itch-link:hover {
  transition: 0.2s ease-in-out;
  color: #fa5c5c;
}

.game-wrapper {
  width: 75%;
  border: 5px solid #000000;
  border-radius: 10px;
  background-color: #000000;
  padding: 0px;
}

.divider-wrapper {
  display: flex;
  justify-content: center;
}

.divider {
  width: 350px;
}

.divider-2 {
  width: 250px;
}

#game-container {
  position: relative;
}

.load-game-btn {
  position: absolute;
  top: 90%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(to bottom, #000000, #761f1f);
  color: #ffdeb1;
  border: #d8c7af 2px solid;
  border-radius: 25px;
  padding: 5px 10px;
  font-family: lancelot;
  font-size: 24px;
  cursor: pointer;
  z-index: 10;
  width: 50%;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.load-game-btn i {
  font-size: 12px;
}

.load-game-btn:hover {
  background: linear-gradient(to bottom, #000000, #000000);
}

.about-container {
  width: 80%;
  margin: auto;
}

.content-container {
  background-color: rgba(0, 0, 0, 0.5);
  border: 2px solid #8c6439;
  border-radius: 10px;
  font-family: alice;
  font-size: 16px;
  color: #d8c7af;
  line-height: 1.3;
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.about-box {
  text-align: justify;
}

.content-title {
  position: absolute;
  top: -35px;
  z-index: 2;
  font-family: lancelot;
  font-size: 45px;
  color: #ffeed7;
  filter: drop-shadow(1px 1px 0px #8c6439) drop-shadow(-1px -1px 0px #8c6439)
    drop-shadow(1px -1px 0px #8c6439) drop-shadow(-1px 1px 0px #8c6439);
}

.column {
  max-width: 50%;
  min-height: 200px;
}

.content-row {
  padding: 50px 12px 0px 12px;
}

ul {
  margin-bottom: 0px;
}

.content-list {
  list-style-image: url("../assets/bat_icon_v2.png");
}

.gallery-container {
  margin: auto;
}

.gallery-thumbnail {
  display: block;
  flex-grow: 1;
  flex-shrink: 1;
  width: 15rem;
  object-fit: cover;
  object-position: 25% 12%;
  margin: 2px;
  cursor: pointer;
  transition: transform 0.2s ease;
  background-color: #1a1a304b;
  border: 3px solid #b89c7c;
  border-radius: 5px;
  max-height: 15rem;
}

.gallery-thumbnail:hover {
  transform: scale(1.05);
}

.gallery-link a {
  display: flex;
  align-items: center;
  color: #ffdeb1;
  cursor: pointer;
  text-decoration: none;
  font-family: lancelot;
  font-size: 18px;
  text-align: end;
}

.gallery-link {
  display: flex;
  align-items: center;
  justify-content: end;
}

.gallery-link a:hover {
  transition: 0.2s ease-in-out;
  color: #fa5c5c;
}

.content-body a {
  text-decoration: none;
  color: #fa5c5c;
  font-weight: bold;
}

.content-body a:hover {
  text-decoration: dotted 2px #fa5c5c underline;
}

.content-body h2 {
  font-size: 24px;
}

.paragraph-content {
  text-align: justify;
  width: 100%;
}

hr {
  width: 100%;
  border-top: 3px dotted #fa5c5c;
  opacity: 30%;
}

.active-btn {
  background: linear-gradient(to bottom, white, #ffdeb1);
  border: 2px solid #b89c7c;
  color: #000000b6;
  font-weight: bold;
}

.active-btn:hover {
  background: linear-gradient(to bottom, white, #ffdeb1);
  border: 2px solid #b89c7c;
  color: #000000b6;
  font-weight: bold;
}

#gallery {
  width: 90%;
  display: flex;
  justify-content: center;
}

.gallery-title {
  font-family: lancelot;
  font-size: 35px;
  color: #ffeed7;
  filter: drop-shadow(1px 1px 0px #8c6439) drop-shadow(-1px -1px 0px #8c6439)
    drop-shadow(1px -1px 0px #8c6439) drop-shadow(-1px 1px 0px #8c6439);
}

.gallery-thumbnail-v2 {
  display: block;
  flex-grow: 1;
  flex-shrink: 1;
  /* width: 17rem; */
  object-fit: cover;
  object-position: 25% 12%;
  margin: 2px;
  cursor: pointer;
  transition: transform 0.2s ease;
  background-color: #1a1a304b;
  border: 3px solid #b89c7c;
  border-radius: 5px;
  height: 11.25rem;
  /* max-height: 15rem; */
}

.sprite-thumbnail {
  flex-grow: 0;
  width: 12.5rem;
  height: 12.5rem;
  object-position: 15% 8%;
}

.chibi-thumbnail {
  flex-grow: 0;
  width: 12.5rem;
  height: 12.5rem;
  object-position: 0% 0%;
}

.gallery-thumbnail-v2:hover {
  transform: scale(1.05);
}

.chara-thumbnail {
  display: block;
  object-fit: cover;
  object-position: 15% 8%;
  margin: 2px;
  cursor: pointer;
  transition: transform 0.2s ease;
  background-color: #1a1a304b;
  border: 3px solid #b89c7c;
  border-radius: 5px;
  width: 10rem;
  height: 10rem;
}

.chara-thumbnail:hover {
  transform: scale(1.05);
}

.accordion {
  width: 100%;
}

.accordion-body {
  padding: 0px;
}

.accordion-item {
  background-color: rgba(0, 0, 0, 0);
  border: none;
  border-bottom: 5px dotted #b89c7c4c;
}

.accordion-button:not(.collapsed) {
  background-color: transparent;
  border: none;
  box-shadow: none;
  padding: 0px 0px 10px 0px;
}

.accordion-button {
  background-color: transparent;
  border: none;
  box-shadow: none !important;
  padding: 0px 0px 10px 0px;
}

.accordion-button::after {
  background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M2 5l6 6 6-6' fill='none' stroke='%23ffffff40' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>") !important;
}

.chara-nav {
  border-right: 3px solid #b89c7c52;
  margin-top: 30px;
  margin-right: 10px;
  max-height: 300px;
  z-index: 1;
}

.chara-box {
  z-index: 1;
}

.chara-icon {
  width: 4rem;
  height: 4rem;
  object-fit: cover;
  object-position: 50% 8%;
  display: block;
  cursor: pointer;
  border: 3px solid #e7c6a0;
  margin-bottom: 10px;
  margin-right: 10px;
  opacity: 50%;
}

.chara-icon:hover {
  opacity: 100%;
  transform: scale(1.05);
  transition: ease-in-out 0.2s;
}

.active-icon {
  opacity: 100%;
}

.chara-name {
  font-family: lancelot;
  font-size: 3.5rem;
  color: #ffeed7;
  filter: drop-shadow(1px 1px 0px #8c6439) drop-shadow(-1px -1px 0px #8c6439)
    drop-shadow(1px -1px 0px #8c6439) drop-shadow(-1px 1px 0px #8c6439);
  padding-top: 30px;
}

.chara-body {
  height: 800px;
}

.chara-row {
  position: relative;
}

.chara-row::before {
  content: "";
  position: absolute;
  background-image: var(--row-bg, url(../assets/cyrus_bedroom_v2.png));
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  pointer-events: none;
  width: 128%;
  height: 600px;
  top: 10%;
  z-index: 0;
  opacity: 25%;
}

.chara-profile {
  width: 45%;
  margin-top: 23%;
}

.profile-box-title {
  font-size: 2rem;
  top: -25px;
}

.profile-box {
  height: fit-content;
  font-size: 0.9rem;
  text-align: center;
  padding-top: 30px;
  font-family: alice;
}

.story-text {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: 50px;
  margin: auto;
}

.profile-divider {
  border: 1px solid #e7be8f;
  width: 50%;
  margin: 20px auto 16px auto;
}

.pref-box {
  margin: auto;
}

.pref-row {
  display: flex;
}

.pref-row label {
  background: linear-gradient(
    to right,
    transparent 0%,
    #7a2c27 25%,
    #7a2c27 75%,
    transparent 100%
  );
  padding: 5px 10px;
  width: 100px;
  text-align: center;
  font-family: lancelot;
  font-size: 1.2rem;
  margin: 5px 0px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pref-text {
  margin: 5px 0px;
  padding: 10px 10px;
}

.chara-gallery-title {
  font-size: 2rem;
}

.sprite-gallery {
  border: none;
}

.sprite-gallery-btn {
  cursor: default !important;
}

.warning-text {
  display: block;
}

.spoiler-warning {
  flex-direction: column;
  text-align: center;
}

.back-link {
  text-decoration: none;
  color: #b89c7c;
  opacity: 65%;
  font-family: lancelot;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.back-link:hover {
  opacity: 100%;
  transition: ease-in-out 0.2s;
}

#body-container {
  position: relative;
}

.to-top-btn {
  position: fixed;
  bottom: 10px;
  right: 10px;
  background-color: black;
  border-radius: 50%;
  width: 3rem;
  height: 3rem;
  font-size: 1rem;
  color: #b89c7c;
  box-shadow: 0 0 15px rgba(164, 57, 57, 0.6);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 50;
}

/*---------------------------- responsiveness -----------------------------*/

@media only screen and (max-width: 1250px) {
  .chara-profile {
    width: 100%;
    margin-top: 20px;
  }
}

@media only screen and (max-width: 1120px) {
  .container {
    width: 85%;
    min-width: 85%;
  }

  .about-container {
    width: 80%;
  }

  .chara-profile {
    width: 100%;
    margin-top: 20px;
  }
}

@media only screen and (max-width: 992px) {
  .itch-link {
    width: 90%;
  }

  .game-wrapper {
    width: 90%;
  }

  .nav-bar-btn {
    background: linear-gradient(
      to right,
      transparent 0%,
      black 25%,
      black 75%,
      transparent 100%
    );
    border: none;
  }

  .nav-bar-btn:hover {
    background: linear-gradient(
      to right,
      transparent 0%,
      #c6a87d 25%,
      #c6a87d 75%,
      transparent 100%
    );
    color: black;
    transition: 0.2s ease-in-out;
  }

  .active-btn {
    background: linear-gradient(
      to right,
      transparent 0%,
      #c6a87d 25%,
      #c6a87d 75%,
      transparent 100%
    );
    color: #000000b6;
    border: none;
  }

  .active-btn:hover {
    background: linear-gradient(
      to right,
      transparent 0%,
      #c6a87d 25%,
      #c6a87d 75%,
      transparent 100%
    );
    color: #000000b6;
    border: none;
  }

  .about-container {
    width: 90%;
  }

  .column {
    max-width: 100%;
    min-height: 200px;
    padding-bottom: 40px;
  }

  .content-row {
    padding-top: 0px;
  }

  .chara-name {
    padding-top: 0px;
  }

  .chara-row::before {
    width: 115%;
    height: 550px;
  }
}

@media only screen and (max-width: 768px) {
  .container {
    width: 95%;
    min-width: 95%;
  }

  .divider {
    width: 200px;
  }

  .load-game-btn {
    top: 50%;
    width: 75%;
    border: #d8c7af 1px solid;
    font-size: 18px;
  }

  .about-container {
    width: 95%;
  }

  .content-title {
    font-size: 30px;
    top: -20px;
  }

  .column {
    max-width: 100%;
    min-height: 200px;
    padding-bottom: 30px;
  }

  .about-row {
    margin-top: 20px !important;
  }

  .content-body h2 {
    font-size: 20px;
  }

  .gallery-title {
    font-size: 24px;
  }

  .gallery-thumbnail {
    height: 8rem;
    width: 8rem;
  }

  .gallery-thumbnail-v2 {
    height: 8rem;
    width: 8rem;
  }

  .chara-body {
    height: 500px;
  }

  .chara-icon {
    width: 3rem;
    height: 3rem;
  }

  .chara-name {
    font-size: 2.5rem;
  }

  .chara-row::before {
    width: 110%;
    top: 5%;
    height: 350px;
  }

  .chara-nav {
    max-height: 150px;
  }

  .chara-gallery-title {
    font-size: 2rem;
    margin-top: 20px;
  }

  .chara-thumbnail {
    width: 5rem;
    height: 5rem;
  }
}

@media only screen and (max-width: 340px) {
  .chara-body {
    height: 400px;
  }

  .chara-icon {
    width: 2rem;
    height: 2rem;
  }

  .chara-row::before {
    width: 115%;
    top: 2%;
    height: 300px;
  }
}
