body {
  font-family: 'Georgia', 'Times New Roman', serif;
  color: #3a3028;
  background-color: #a0e3ff;
  min-height: 100vh;
  margin: 0;
  padding-top: 60px;
}

.navbar {
  background: #4a3560 !important;
  font-family: 'Georgia', serif;
  letter-spacing: 0.1em;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  transition: transform 0.3s ease;
}

.navbar--hidden {
  transform: translateY(-100%);
}

.navbar-brand {
  font-size: 1.6rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

main {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  padding: 2.5rem 1rem;
}

h1 {
  font-family: 'Algerian', 'Rye', fantasy;
  font-size: 4rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #4a3560;
  -webkit-text-stroke: 1px black;
  margin-bottom: 0.3rem;
}

.letter-1 { color: #b1bdf7; }
.letter-2 { color: #68c9f3; }
.letter-3 { color: #1a9eff; }
.letter-4 { color: #3a8a45; }
.letter-5 { color: #7cdfe4; }
.letter-6 { color: #cab6cf; }

.subtitle {
  font-size: 1.3rem;
  font-style: italic;
  color: #7a82c0;
  margin-bottom: 0.5rem;
}

.author {
  font-size: 1.1rem;
  color: #6a5a4a;
  margin-bottom: 2rem;
}

.cover-carousel {
  max-width: 380px;
  margin: 0 auto 2rem auto;
}

.cover-carousel .carousel-inner {
  border-radius: 8px;
  box-shadow: 0 8px 30px rgba(60, 40, 20, 0.35);
}

.cover-img {
  max-width: 380px;
  width: 100%;
  border-radius: 8px;
  margin: 0 auto;
}

.cover-carousel .carousel-control-prev,
.cover-carousel .carousel-control-next {
  width: 15%;
  opacity: 1;
}

.cover-carousel .carousel-control-prev-icon,
.cover-carousel .carousel-control-next-icon {
  background-color: #4a3560;
  border-radius: 50%;
  padding: 1rem;
  background-size: 50%;
  transform: translateY(-1rem);
}

.fullscreen-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.fullscreen-overlay.active {
  opacity: 1;
  visibility: visible;
}

.fullscreen-overlay img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
}

.cover-carousel .carousel-indicators {
  margin-bottom: -1.5rem;
}

.cover-carousel .carousel-indicators button {
  background-color: #4a3560;
}

.description {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #4a4035;
  max-width: 550px;
  margin: 0 auto;
}

.illustrator {
  font-size: 0.95rem;
  color: #7a6a5a;
  margin-top: 1.5rem;
  font-style: italic;
}

.buttons {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.buttons .btn-primary {
  background-color: #7a82c0;
  border-color: #7a82c0;
}

.buttons .btn-primary:hover {
  background-color: #5f66a3;
  border-color: #5f66a3;
}

.section {
  max-width: 700px;
  scroll-margin-top: 60px;
}

.section h2 {
  color: #4a3560;
  margin-bottom: 1rem;
}

.person-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.person-text {
  text-align: left;
}

@media (min-width: 768px) {
  .person-content {
    flex-direction: row;
    align-items: flex-start;
    gap: 2rem;
  }

  .person-text {
    text-align: left;
  }
}

.portrait-img {
  max-width: 200px;
  width: 100%;
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(60, 40, 20, 0.25);
  margin-bottom: 1.5rem;
  flex-shrink: 0;
}

.btn-top {
  display: inline-block;
  margin-top: 1.5rem;
  color: #4a3560;
  text-decoration: none;
  font-size: 0.95rem;
}

.btn-top:hover {
  text-decoration: underline;
}

footer {
  border-top: 1px solid #c0d8e8;
  padding-top: 1rem;
  font-size: 0.9rem;
  color: #6a5a4a;
}

footer a {
  color: #4a3560;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

.section h1 {
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: 2rem;
  -webkit-text-stroke: 0;
  text-transform: none;
  letter-spacing: normal;
}

.section h3 {
  font-size: 1.1rem;
  color: #4a3560;
  margin-top: 1.5rem;
}
