:root {
  --primary-color: #ff4f91;
  --secondary-color: #fce4ec;
  --text-color: #333;
  --bg-color: #fff0f5;
  --off-white: #f4f4f4;
  --cranberry: #A60A3D;
  --border-radius: 12px;
  --shadow: 0 4px 15px rgba(236, 79, 145, 0.2);
  --border-weight: 0.8rem;
  --body-text: 1rem;
  --small-text: 0.8rem;
  --title-text: 3.052rem;
  --subtitle-text: 2.441rem;
  --button-text: 0.8rem;
  --caption-text: 0.64rem;
}

::-webkit-scrollbar {
  width: 30px;
}

::-webkit-scrollbar-track {
  background: #fff;
}

::-webkit-scrollbar-thumb {
  background: hotpink;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: deeppink;
}


* {
  scrollbar-width: auto;
  scrollbar-color: hotpink white;
}


@keyframes move {
  to {
    offset-distance: 100%;
  }
}


.item {
  display: none;
  box-sizing: border-box;
  background-color: whitesmoke;
  color: #A60A3D;
  border: 0.1rem solid #A60A3D;
  padding: 1rem;
  border: 1px solid #ccc;
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.2);
  width: 100%;
  padding: 1rem;
  border-radius: 8px;
  font-size: 12pt;
  position: relative;

}

body {
  margin: 0;
  padding: 0;
  background-image: url('../assets/background/113Yazawa-Nico-誰が七五三よ-SR-P7mLf9.webp');
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  font-family: "Varela Round";
  color: white;



}

.banner {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(255, 79, 145, 1.0);
  text-align: center;
  background-image: url('./assets/background/113Yazawa-Nico-誰が七五三よ-SR-P7mLf9.webp');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  align-items: center;
  justify-content: center;
  position: relative;
  color: #e4007f;
  border-bottom: 10px solid var(--cranberry);
}

.banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      rgba(166, 10, 61, 0.55),
      rgba(26, 12, 18, 0.65));
  backdrop-filter: blur(1px) brightness(0.8);
  z-index: 1;
}

.hero-text {
  position: relative;
  z-index: 2;
}

.content {
  background: linear-gradient(180deg,
      rgba(166, 10, 61, 0.55),
      rgba(26, 12, 18, 0.65),
      rgba(26, 12, 18, 0.65),
      rgba(166, 10, 61, 0.55));
}

.hero-text h1 {
  font-size: 2rem;
  margin: 0;
  color: #e4007f;
  font-family: 'Tinos', serif;
  text-shadow:
    -3px -3px 0 white,
    3px -3px 0 white,
    -3px 3px 0 white,
    3px 3px 0 white,
    -3px 0 0 white,
    3px 0 0 white,
    0 3px 0 white,
    0 -3px 0 white,
    -2px -2px 0 white,
    2px -2px 0 white,
    -2px 2px 0 white,
    2px 2px 0 white,
    -2px 0 0 white,
    2px 0 0 white,
    0 2px 0 white,
    0 -2px 0 white;
}

.hero-text p {
  margin-top: 0.5rem;
  font-size: 1rem;
  margin: 0;
  color: #e4007f;
  font-family: 'Tinos', serif;
  text-shadow:
    -3px -3px 0 white,
    3px -3px 0 white,
    -3px 3px 0 white,
    3px 3px 0 white,
    -3px 0 0 white,
    3px 0 0 white,
    0 3px 0 white,
    0 -3px 0 white,
    -2px -2px 0 white,
    2px -2px 0 white,
    -2px 2px 0 white,
    2px 2px 0 white,
    -2px 0 0 white,
    2px 0 0 white,
    0 2px 0 white,
    0 -2px 0 white;
}

.container {
  margin-top: 10%;
  display: flex;
  padding: 10pt;
  gap: 40px;
  flex-direction: column;
  flex-direction: column;
  align-items: center;

}

.content {
  width: 100%;
  border-left: 8px solid white;
}

.references {
  background: var(--primary-color);
  color: whitesmoke;
  width: 80vw;
  height: auto;
  padding: 1rem;
}

.references li {
  font-size: 10pt;
}

.left {
  flex: 1;
}

.right {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.button-grid {
  display: grid;
  grid-template-columns: repeat(1, 150px);
  grid-gap: 20px;
}

button {
  padding: 1rem;
  background: linear-gradient(135deg, var(--cranberry), #f58ab6, white);
  color: white;
  cursor: pointer;
  transition: background 0.3s ease;
  font-family: "Varela Round";

  font-size: larger;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  user-select: none;
  transition: transform .12s ease, box-shadow .12s ease;
  box-shadow: 0 6px 18px #ff4f91;
  -webkit-tap-highlight-color: transparent;
}

.button:active {
  transform: translateY(1px) scale(.998);
}

.button::before {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: 12px;
  pointer-events: none;
  border: 2px solid white;
  mix-blend-mode: normal;
  transition: inset .18s ease, border-color .18s ease, opacity .18s ease;
  opacity: 1;
}

.button:hover::before {
  inset: 4px;
  border-color: rgba(255, 255, 255, 0.24);
}

.toggled {
  transform: scale(.98);
  filter: brightness(.94);
}

.toggled::before {
  border-color: rgba(255, 255, 255, 0.5);
  inset: 8px;
  opacity: .9;
}

button:hover {
  background: var(--off-white) !important;
  color: var(--cranberry) !important;
  transform: scale(1.02);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

button.active:hover {
  background: var(--off-white) !important;
  color: white !important;
  transform: scale(1.2);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.chibi-container {
  position: relative;
}

.chibi-img {
  position: absolute;
  top: -40%;
  left: -50%;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 1;
  pointer-events: none;
}

.on-top-button {
  position: relative;
  z-index: 1;
  padding: 10px 20px;
}

.hamburger {
  display: none;
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  font-size: 1rem;
  background-color: var(--cranberry);
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  cursor: pointer;
}

.screen {
  position: relative;
  background-color: #ff4f91;
  display: flex;
  width: 90vw;
}

.main {
  flex: 1;
  background: none;
  padding: 1rem;
  border-radius: 10px;
}

.navbar {
  position: relative;
  top: 0;
  left: 0;
  height: fit-content;
  border-bottom: 4px solid white;
  background-color: #ff4f91;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  z-index: 1;
}

.navbar-title {
  font-size: 3vh;
  font-weight: bold;
  padding: 10pt;
}

.menu-btn {
  font-size: 3vw;
  cursor: pointer;
  background: white;
  border: none;
  color: #ff4f91;
  display: none;
}

.dropdown-content {
  margin-left: 3vw;
  display: none;
  flex-direction: column;
  background-color: white;
  width: 87vw;
  position: absolute;
  left: 0;
  z-index: 999;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.dropdown-content a {
  padding: 14px 16px;
  text-decoration: none;
  color: #333;
  border-bottom: 1px solid #eee;
}

.dropdown-content a:hover {
  background-color: #f1f1f1;
}

.dropdown-content.show {
  display: flex;
}

@media (max-width: 768px) {
  .menu-btn {
    font-size: 3vw;
    cursor: pointer;
    background: white;
    border: none;
    color: #ff4f91;
    display: block;
  }
}

#callResponse .video {
  width: 50vw;
}

.sidebar {
  display: none;
}

.side-nav button {
  width: 40vw;
}

.sub-content-wiki {
  display: block;
  padding: 1rem;
}

.sub-content-wiki-header {
  background-color: var(--primary-color);
  color: var(--off-white);
  padding: 2.5rem !important;
  text-align: center;
  margin-bottom: 5px;
  text-shadow:
    1px 1px 0 #fff,
    2px 2px 3px #c6006e;
}

.sub-content-wiki-header h1 {
  font-family: "Varela Round";
  margin: 0;
  font-size: var(--subtitle-text);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.sub-content-wiki-header .kanji-name {
  margin: 5px 0 0;
  font-size: var(--body-text);
  opacity: 0.9;
}

.profile-main {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
  align-items: center;
}

.profile-image-container {
  flex: 1 1 300px;
  text-align: center;
}

.profile-image-container img {
  max-width: 100%;
  cursor: pointer;
  height: auto;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.profile-basic-info {
  flex: 2 1 300px;
  background: var(--secondary-color);
  padding: 1rem;
  border-radius: var(--border-radius);
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.2);
}

.profile-basic-info h2,
.card h2 {
  font-family: 'Tinos', serif;
  color: var(--cranberry);
  margin-top: 0;
  border-bottom: 0.2rem solid var(--primary-color);
  padding-bottom: 0.2rem;
  display: flex;
  align-items: center;
}

.icon {
  width: 1rem;
  height: 1rem;
  margin-right: 1rem;
}

.profile-basic-info ul li {
  display: inline-block;
}

.details-grid section ul li {
  display: inline-block;
}

ul {
  list-style: none;
  padding-left: 0;
}

ul li {
  margin: 10px;
  margin-bottom: 1rem;
  line-height: 1.6;
  padding: 1rem 1.5rem;
  margin: 0.5rem 0.5rem;
  background: linear-gradient(135deg, #ff69b4, #ffaaff);
  color: var(--primary-color);
  font-family: "Varela Round";
  font-size: 1.2rem;
  border-radius: 15px;
  box-shadow: 5px 5px 6px #ff4f91;
  position: relative;

  text-shadow:
    2px 2px 2px white,
    -2px -2px 2px white,
    2px -2px 2px white,
    -2px 2px 2px white;

  display: flex;
  justify-content: space-between;
  /* pushes left and right */
  list-style: none;
  /* remove default bullet */


}

.song-list ul li {
  cursor: pointer;
}

li {
  transition: all 0.2s ease;
}

li:hover {
  background: linear-gradient(135deg, var(--off-white), var(--off-white)) !important;
  color: var(--cranberry);
  transform: scale(1.05);
}

ul li ul {
  padding-left: 1rem;
  margin-top: 1rem;
}

strong {
  color: var(--cranberry);
}

.color-box {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  background-color: #ff4f91;
  border: 0px;
  border-radius: 3px;
  vertical-align: middle;
  margin-right: 1rem;
}

.color-box-penlight {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  background-color: #d54e8d;
  border: 0px;
  border-radius: 3px;
  vertical-align: middle;
  margin-right: 1rem;
}

.details-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.card {
  flex: 1 1 calc(50% - 1rem);
  box-sizing: border-box;
  background-color: var(--off-white);
  border: 0.1rem solid var(--cranberry);
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
  .card {
    flex: 1 1 100%;
  }

  .content {
    width: 100% !important;
    left: 0 !important;
    border-left: 0;

  }
}

.stats-list span {
  display: inline-block;
}

.stats-list .stars {
  color: var(--cranberry);
  letter-spacing: 1rem;
}

.call-response hr {
  border: none;
  border-top: 0.1rem dashed var(--primary-color);
  margin: 1rem 0;
}

.call-response p {
  margin: 1rem 0;
  color: #A60A3D;
}

#popupFandom {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  justify-content: center;
  align-items: center;
  z-index: 9999;

}

#popupModal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 50%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.8);
}

#popupImage {
  display: flex;
  position: absolute;
  width: 80%;
  height: 80%;
  margin: 5% auto;
  border: 4px solid white;
  border-radius: 10px;
  box-shadow: 0 0 15px white;
  animation: fadeIn 0.3s ease-in-out;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.song-categories {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1rem;
  padding-bottom: 2px;
}

.song-categories .button {
  flex: 1;
  text-align: center;
  padding: 0.8rem 1rem;
  border-radius: 12px 12px 0 0;
  cursor: pointer;
  white-space: nowrap;
  background: whitesmoke !important;
  color: var(--cranberry);
}

.song-categories .button.active {
  background: var(--cranberry) !important;
  color: whitesmoke;
}

.song-categories .button::before {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: 12px 12px 0 0;
  pointer-events: none;
  border-top: 2px solid var(--cranberry);
  border-left: 2px solid var(--cranberry);
  border-right: 2px solid var(--cranberry);
  border-bottom: none;
  mix-blend-mode: normal;
  transition: inset .18s ease, border-color .18s ease, opacity .18s ease;
  opacity: 1;
}

.song-categories .button.active::before {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: 12px 12px 0 0;
  pointer-events: none;
  border-top: 2px solid whitesmoke !important;
  border-left: 2px solid whitesmoke !important;
  border-right: 2px solid whitesmoke !important;
  border-bottom: none;
  mix-blend-mode: normal;
  transition: inset .18s ease, border-color .18s ease, opacity .18s ease;
  opacity: 1;
}

.song-list {
  display: block;
  position: relative;
}

.song-list.active {
  display: block;
}

.song-list ul {
  padding-left: 0rem;
  column-count: 1;
}

.song-list ul li {
  margin-bottom: 1rem;
  text-align: center;
}

#song-selector {
  display: none;
}

.card.floating {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 95vw;
  height: 90vh;
  background-color: white;
  overflow: hidden;
}

.card .scrollable-content {
  position: relative;
  overflow-y: auto;
  height: 90%;
  padding: 2rem;
  z-index: 2;
  background-image: repeating-linear-gradient(to bottom,
      transparent 0px,
      transparent 23px,
      #c0c0c0 24px);
  font-size: 1.2em;
  line-height: 24px;
}

.watermark {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0%;
  background-image: var(--bg-image);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center right;
  width: 200%;
  height: auto;
  opacity: 0.2;
  pointer-events: none;
  z-index: 0;
}

.close-btn {
  z-index: 99999;
}

.lyrics {
  display: flex;
  gap: 2rem;
  justify-content: center;
  margin-top: 1rem;
  text-align: left;
  font-family: "valera round";
}

.lyrics>div {
  flex: 1;
}

#lyricsBox {
  font-family: "Varela Round";

}

.floating {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
}

.floating p {
  text-align: center;
  margin-bottom: 1.2rem;
  white-space: pre-line;
  padding: 2rem;
  color: #333;
  font-size: 14pt;
  border-radius: 1rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  line-height: 1.5;
}

.floating h1 {
  text-align: center;
  color: var(--cranberry);
  background-color: #f58ab6;
  display: inline-block;
  background-color: #FFF1FA;
  padding: 4px 30px;
  border-radius: 4px;
}

.floating h3 {
  text-align: center;
  color: var(--cranberry);
}

.details-grid .card {
  background-color: var(--off-white);
  padding: 1rem;
  border-radius: var(--border-radius);
  border: 0.1rem solid var(--cranberry);
  display: inline;
}

.details-grid .card {
  position: relative;
  overflow: hidden;
  background-image: repeating-linear-gradient(to bottom,
      #ffffff 0px,
      #ffffff 23px,
      #c0c0c0 24px);
  font-size: 1.2em;
  line-height: 24px;
}

.details-grid .card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--bg-image);
  background-size: cover;
  background-position: center right;
  opacity: 0.2;
  position: absolute;
  right: 0;
  width: 150%;
  height: auto;
}

#audio-widget button,
#audio-widget input {
  flex-shrink: 0;
}

.playPauseBtn {
  background-color: var(--cranberry);
  color: white;
  border: none;
  padding: 0.5rem 0.75rem;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

.playPauseBtn:hover {
  background-color: #ff1493;
}

.progressBar {
  width: 30vw;
  accent-color: #ff69b4;
}

.audio-widget span,
.timestamp {
  font-size: 0.9rem;
  color: var(--cranberry);
  margin-left: 0.5rem;
  white-space: nowrap;
}

.pagination {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  gap: 8px;
  text-align: center;


}

.pagination a {
  padding: 8px 16px;
  text-decoration: none;
  background-color: #f2f2f2;
  border: 1px solid #ccc;
  color: var(--cranberry);
  border-radius: 4px;
}

.pagination a:hover {
  background-color: #ddd;
}

.pagination a.active {
  background-color: var(--cranberry);
  color: white;
  pointer-events: none;
}

.pagination button:disabled {
  cursor: not-allowed;
  background: #aaa;
  cursor: default;
}

#pageInfo {
  color: var(--cranberry);
}




.title-container {
  text-align: center;
  margin-top: 50px;
}

footer {
  background: var(--cranberry);
  padding-top: 15px;
  padding-bottom: 15px;
  ;
}

.birthday-counter {
  background: whitesmoke;
  color: var(--cranberry);
  border-radius: 0 0 12px 12px;
  margin-top: -1rem;
}

.birthday-counter h5 {
  color: #A60A3D66;
  margin-top: -1rem;
  text-align: center;
}

@media (min-width: 768px) {
  .container {
    margin-top: 10%;
    display: flex;

    padding: 40px;
    gap: 40px;
    flex-direction: column;
    align-items: center;

  }

  .hero-text h1 {
    font-size: 3rem;
    margin: 0;
    color: #e4007f;
    text-shadow:
      -3px -3px 0 white,
      3px -3px 0 white,
      -3px 3px 0 white,
      3px 3px 0 white,
      -3px 0 0 white,
      3px 0 0 white,
      0 3px 0 white,
      0 -3px 0 white,
      -2px -2px 0 white,
      2px -2px 0 white,
      -2px 2px 0 white,
      2px 2px 0 white,
      -2px 0 0 white,
      2px 0 0 white,
      0 2px 0 white,
      0 -2px 0 white;
  }

  .hero-text p {
    margin-top: 0.5rem;
    font-size: 1.2rem;
    margin: 0;
    color: #e4007f;
    text-shadow:
      -3px -3px 0 white,
      3px -3px 0 white,
      -3px 3px 0 white,
      3px 3px 0 white,
      -3px 0 0 white,
      3px 0 0 white,
      0 3px 0 white,
      0 -3px 0 white,
      -2px -2px 0 white,
      2px -2px 0 white,
      -2px 2px 0 white,
      2px 2px 0 white,
      -2px 0 0 white,
      2px 0 0 white,
      0 2px 0 white,
      0 -2px 0 white;
  }

  .item {
    padding: 5rem;
  }

  .watermark {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0%;
    background-image: var(--bg-image);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center right;
    width: 200%;
    height: auto;
    opacity: 0.2;
    pointer-events: none;
    z-index: 0;
  }

  .button-grid {
    grid-template-columns: repeat(2, 150px);
  }

  .card.floating {
    width: 70vw;
  }

  .sidebar {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    background-color: #ff4f91;

    padding: 0.3rem;
    padding-left: 0.6rem;
    padding-right: 0.6rem;
    height: auto;
    position: relative;
    max-width: 20vw;
    padding: 1rem;
    box-sizing: border-box;
  }

  .side-nav {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    background-color: #ff4f91bb;
    height: auto;
    position: relative;
    width: fit-content;
    padding: 1rem;
    box-sizing: border-box;
  }

  #callResponse .video {
    width: 100%;
  }

  .screen {
    width: 80vw;
  }

  .side-nav button {
    width: 15vw;
  }

  .song-list ul {
    padding-left: 1rem;
    column-count: 2;
  }

  .hamburger {
    display: none;
  }
}

.quotediv {
  height: fit-content;
  background: white;
  color: #A60A3D;
  padding: 5px;
  border-radius: 12px;
}

@media (min-width: 600px) and (max-width: 899px) {
  .side-nav {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    background-color: #ff4f91bb;
    height: auto;
    position: relative;
    width: 100%;
    padding: 0rem !important;
    box-sizing: border-box;
  }

  .side-nav button {
    width: 100%;
  }

  .facebookFeed {
    display: none;
  }
}

@media (min-width: 700px) and (max-width: 1024px) {
  .side-nav {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    background-color: #ff4f91bb;
    height: auto;
    position: relative;
    width: 100%;
    padding: 0rem !important;
    box-sizing: border-box;
  }

  .side-nav button {
    width: 100%;
  }
}

@media (min-width: 900px) and (max-width: 1280px) {}

@media (orientation: portrait) {}

@media (orientation: landscape) {}

p {
  line-height: 1.5;
  color: #ff4f91;
}

.item.active {
  display: block;
}

.item h1 {
  padding: 2rem;
  line-height: 1.5;
}

.floating {
  display: none;
  height: 80vh;
}

.modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.modal-content {
  padding: 20px;
  margin: 10% auto;
  padding: 20px;
  border-radius: 10px;
  width: 80%;
  max-height: 100%;
  height: 80%;
  overflow-y: hidden;
  line-height: 1.25;
  color: black;
  white-space: pre-line;
  position: absolute;
  top: 0%;
  left: 50%;
  transform: translate(-50%, 0%);
  text-align: center;
  font-style: italic;
  background-color: white;
}

@media (min-width: 768px) {
  .modal-content {
    padding: 20px;
    margin: 10% auto;
    padding: 20px;
    border-radius: 10px;
    width: 60%;
    max-height: 100%;
    height: 80%;
    overflow-y: hidden;
    line-height: 1.25;
    color: black;
    white-space: pre-line;
    position: absolute;
    top: 0%;
    left: 50%;
    transform: translate(-50%, -20%);
    text-align: center;
    background-color: white;
    font-family: 'Tinos', serif;
  }
}

.modal-content::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--bg-image);
  background-size: cover;
  background-position: center right;
  opacity: 0.2;
  position: absolute;
  right: 0;
  width: 150%;
  height: auto;
}

.close {
  position: absolute;
  right: 15px;
  float: right;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10000000;
}

.close:hover {
  color: red;
}

.details-grid {
  margin: 50px auto;
  position: relative;
}

.buttons {
  position: absolute;
  bottom: 10px;
  right: 10px;
}

.audio-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  background: transparent;
}

.audio-widget {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 15px;
  background: linear-gradient(135deg, #ff4f91, #a60a3d);
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
  width: 100%;
  max-width: 500px;
}

.playPauseBtn {
  background: #fff;
  border: none;
  color: #ff4f91;
  font-size: 1.4rem;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, background 0.3s ease;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.playPauseBtn:hover {
  transform: scale(1.1);
  background: #ffe3ef;
}

.progress-container {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
}

.progressBar {
  flex: 1;
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  border-radius: 4px;
  background: #fff;
  cursor: pointer;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3);
}

.progressBar::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  background: #ff4f91;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.progressBar::-moz-range-thumb {
  width: 14px;
  height: 14px;
  background: #ff4f91;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.timestamp {
  font-size: 0.9rem;
  color: #fff;
  font-family: "Varela Round";
}

.scrollable {
  position: relative;
  overflow-y: auto;
  height: 90%;
  padding: 2rem;
  z-index: 2;
  background-image: repeating-linear-gradient(to bottom,
      transparent 0px,
      transparent 23px,
      #ffb6c1 24px);
  font-size: 1.2em;
  line-height: 24px;
  margin-top: -4rem;
}

@media (min-width: 700px) and (max-width: 1024px) {
  .scrollable {
    position: relative;
    overflow-y: auto;
    height: 90%;
    padding: 2rem;
    z-index: 2;
    background-image: repeating-linear-gradient(to bottom,
        transparent 0px,
        transparent 23px,
        #ffb6c1 24px);
    font-size: 1.2em;
    line-height: 24px;
    margin-top: -4rem;
  }

  .modal-content::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--bg-image);
    background-size: cover;
    background-position: center right;
    opacity: 0.2;
    position: absolute;
    right: 0;
    width: 150%;
    height: auto;
  }

  .close {
    position: absolute;
    right: 15px;
    float: right;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000000;
  }

  .close:hover {
    color: red;
  }

  .modal {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
  }

  .modal-content {
    padding: 20px;
    margin: 10% auto;
    padding: 20px;
    border-radius: 10px;
    width: 80%;
    max-height: 100%;
    height: 80%;
    overflow-y: hidden;
    line-height: 1.25;
    color: black;
    white-space: pre-line;
    position: absolute;
    top: 0%;
    left: 50%;
    transform: translate(-50%, 0%);
    text-align: center;
    font-style: italic;
    background-color: white;
  }
}

@media (min-width: 900px) and (max-width: 1280px) {}

@media (orientation: portrait) {}

@media (orientation: landscape) {}

:root {
  --bg: #0f1220;

  --fg: #e6e6f0;

  --accent: #7c9cff;

  --accent-2: #ff8bd1;

  --card: #171a2b;

}

.watermark {
  color: #ff4f91;

}

.watermark::after {

  content: "";
  inset: 0;
  pointer-events: none;

}

.moji {
  position: absolute;
  white-space: nowrap;
  transform: translate(-50%, -50%) rotate(var(--rot));
  font-weight: 700;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0);
  will-change: transform, opacity;
  animation: pop .3s ease-out;
  opacity: .95;
}

@keyframes pop {
  from {
    transform: translate(-50%, -50%) scale(.7) rotate(var(--rot));
    opacity: 0
  }

  to {
    transform: translate(-50%, -50%) scale(1) rotate(var(--rot));
    opacity: .95
  }
}

.floaty {
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% {
    translate: 0 0
  }

  50% {
    translate: 0 -10px
  }

  100% {
    translate: 0 0
  }
}

html {
  scroll-behavior: smooth;
}

.quotes {
  background: white;
  color: var(--cranberry);
  padding: 1rem;
  border-radius: var(--border-radius);
}

.pagination .button {
  box-shadow: none !important;
  border: 0.1rem solid var(--cranberry);
  background: white;
  color: var(--cranberry);
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;

}

.buttons .button {
  box-shadow: none !important;
  border: 0.1rem solid var(--cranberry);
  background: white;
  color: var(--cranberry);
  padding: 2px !important;

}


ul.icon-list {
  list-style: none;
  display: flex;
  gap: 0.1rem !important;
  padding: 0;
  margin: 0;
}

ul.icon-list li {
  background: #f3f3f3;
  color: var(--cranberry);
  padding: 10px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  box-shadow: none;
  border: 0.1rem solid var(--primary-color);
}

ul.icon-list li:hover {
  background: #e0e0e0;
}

ul.icon-list svg {
  width: 20px;
  height: 20px;
}

.sidebar {
  position: absolute;
  z-index: 99;
}

.content {
  left: 20vw;
  position: relative;
  width: 60vw;
}

.strips {
  display: none;
}

.buttons {
  position: relative;
  bottom: 10px;
  right: 0px;

}

.buttons .button {
  padding: 0.5em !important;
}


h3 {
  color: var(--primary-color);
}

.no-page {
  display: none;
}

.calendar {
  margin-top: 10px;
  margin-bottom: 10px;
  border-top: 0.7rem solid var(--cranberry);
  border-left: 1px solid var(--cranberry);
  border-right: 1px solid var(--cranberry);
  border-bottom: 1px solid var(--cranberry);
  padding: 1rem;
  height: 30px;
  width: 25px;
  background: lightcyan;
  text-align: center;
}

p {
  text-align: justify;
}