@font-face {
    font-family: 'Atma-Bold';
    src: url('font/Atma-Bold.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

.main-title {
  font-family: 'Atma-Bold';
  font-weight: normal;
  font-size: 10em;
  font-weight: normal;
  color:rgb(0, 0, 0);
  text-align: center;
  margin: 100px 0 30px;
  line-height: 0.9;
  position: relative;
  z-index: 2;
}

body {
  background: rgb(253, 241, 247);
  color:rgb(253, 241, 247);
  font-family: 'Atma-Bold', 'Times New Roman', serif;
  margin: 0;
  min-height: 100vh;
  display: block;
  position: relative;
  padding-top: 80px;
}

html, body {
  overflow-x: auto;
}

.main-title::before {
  content: "";
  position: absolute;
  top: 70%;
  left: 50%;
  transition: transform 0.4s ease, opacity 0.4s ease;
  width: 130vw;
  height: 100vw;
  background-image: url("../images/velvetyne_logo_.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0.4;
  z-index: 1;
  pointer-events: none;
  animation: fadeInOut 4s ease-in-out infinite;
}

.main-title:hover::before {
  transform: translate(-50%, -50%) scale(1.05);
  opacity: 0.55;
}

.presentation-title {
  font-size: 2.5em;
  margin-top: 150px;
  line-height: 1.1;
  text-align: center;
  overflow: hidden;
}

.main-image {
  width: 40vw;
  max-width: 650px;
  height: auto;
  margin-top: -50px;
}

.image-link {
  display: inline-block;
}

.image-link img {
  display: block;
}

.intro {
  width: 100%;
  max-width: 1600px;
  display: flex;
  align-items: flex-start;
  gap: 35px;
  margin: 80px auto 0;
}

.intro .image-link {
  flex: 1;
}

.intro,
.extra {
  margin-left: auto;
  margin-right: auto;
}

.description {
  max-width: 110ch;
  font-size: 1rem;
  flex: 2;
  line-height: 1.65;
  color: #222;
  margin-top: 15px;
}

.description p {
  margin-bottom: 1.5em;
}

.extra {
  max-width: 97ch;
  font-size: 1rem;
  line-height: 1.65;
  color: #222;
  gap: 35px;
  margin-top: 80px;
  text-align: center;
}

.extra-title {
  font-size: 2.5em;
  margin-top: 130px;
  line-height: 1.1;
  text-align: center;
}

.extra p {
  font-size: 1rem;
}

.extra-row {
  display: flex;
  gap: 80px;
  max-width: 1600px;
  margin: 120px auto 0;
  margin-top: -60px;
  align-items: flex-start;
}

.extra-half {
  flex: 1;
  text-align: center;
}

.character {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 20px;
}

.character:not(:last-child) {
  margin-bottom: 50px;
}

.character p {
  margin-top: 0em;
  margin-bottom: 0em;
}

.character-images {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: nowrap;
}

.character-image {
  max-width: 100%;
  width: 100%;
  height: auto;
  flex: 1;
  margin-top: -25px;
}

.character-images figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
}

.character-large .character-image {
  max-width: 1100px;
}

.character-images figcaption {
  margin-top: 8px;
  font-size: 0.9rem;
  color: #555;
  text-align: center;
  max-width: 90%;
}

.character-images a {
  display: inline-block;
}

.character-images a:hover img {
  transform: scale(1.05);
  transition: transform 0.3s ease;
  cursor: pointer;
}

.character-name {
  display: grid;
  grid-template-columns: 1.5em auto;
  justify-content: center;
  gap: 0.5em;
  font-size: 1.5rem;
  text-align: left;
}

.character-name::before {
  content: "✦";
  opacity: 0.4;
}

.title-text {
  white-space: nowrap;
}

.main-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(253, 241, 247, 0.9);
  backdrop-filter: blur(6px);
  z-index: 1000;
}

.main-nav ul {
  display: flex;
  justify-content: center;
  gap: 50px;
  list-style: none;
  padding: 30px;
  margin: 0;
}

.main-nav a {
  text-decoration: none;
  color: #222;
  font-size: 1.5rem;
  letter-spacing: 0.05em;
}

.main-nav a:hover {
  text-decoration: none;
}

html {
  scroll-behavior: smooth;
}

.memo textarea{
  width: 40%;
  height: 150px;
  max-height: 60vh;
  padding: 15px;
  border: none;
  font-size: 0.95rem;
  line-height: 1.6;
  background: #fff3a8;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  border-radius: 14px;
  outline: none;
  font-family: 'Times New Roman';
  transform: rotate(-1deg);
  margin-top: 200px;
}

@keyframes fadeInOut {
  0% {
    opacity: 0;
  }
  30% {
    opacity: 0.4;
  }
  60% {
    opacity: 0.4;
  }
  100% {
    opacity: 0;
  }
}

.sources{
  margin: 140px auto 60px;
  padding-top: 25px;
  max-width: 97ch;
  text-align: center;
  color: #222;
  font-size: 0.95rem;
  opacity: 0.8;
  margin-top: 30px;
}

.sources a{
  color: inherit;
}