body {
  background-color: #F5F0E8;
  font-family: sans-serif;
  margin: 0;
  padding: 40px;
}

#main {
  display: flex;
  align-items: flex-start;
  padding: 100px 1px;
  gap: 40px;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: flex;
  align-items: flex-start;
  gap: 40px;
}

h1 {
  color: #A8C5A0;
  font-size: 3.5rem;
  font-weight: 300;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  margin: 0;
  letter-spacing: 0.1em;
  padding-right: 40px;
}

h2 {
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.content-body {
  padding-top: 10px;
  border-left: 1px solid #C8C8C8;
  padding-left: 40px;
  align-self: stretch;
}

.bio-content-body {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  padding-top: 10px;
  border-left: 1px solid #C8C8C8;
  padding-left: 40px;
  align-self: stretch;
  width: 100%;
}

.cursor {
  display: inline-block;
  width: 3px;
  height: 1em;
  background-color: #A8C5A0;
  margin-left: 2px;
  vertical-align: middle;
  animation: blink 0.7s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.nav-wrapper {
  position: relative;
  display: inline-flex;
}

.tab-line {
  position: absolute;
  bottom: 0;
  height: 2px;
  background-color: #A8C5A0;
  transition: none;
}

nav {
  position: fixed;
  top: 20px;
  right: 20px;
}

.tab-btn {
    border: none;
    background-color: transparent;
    font-size: 20px;
    font-family: 'Playwrite IE', cursive;
    font-style: italic;
}

hr {
  border: none;
  border-top: 1px solid #C8C8C8;
  margin: 1rem 0;
}

p {
  margin-bottom: 1rem;
}

.section-gap {
  margin-top: 5rem;
}

@keyframes helloIn {
  0% {
    opacity: 0;
    transform: scale(0.6);
    filter: blur(8px);
  }
  100% {
    opacity: 1;
    transform: scale(1);
    filter: blur(0px);
  }
}

.hello-anim {
  display: inline-block;
  animation: helloIn 1.2s ease-out forwards;
}

@keyframes writeIn {
  from { clip-path: inset(0 100% 0 0); }
  to   { clip-path: inset(0 0% 0 0); }
}

.write-anim {
  display: inline-block;
  animation: writeIn 1.2s ease-out forwards;
}

h2 {
  font-family: 'Playwrite IE', cursive;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  color: #B8D4E8;
}

p {
  margin-bottom: 1rem;
  font-family: 'Kiwi Maru', serif;
}

img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 50%;
}

.bio-left {
  position: fixed;
  right: 500px;
  top: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  opacity: 0;
  pointer-events: none;
}

.bio-right {
  flex: 1;
}

#profile-img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
}

.social-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 10px;
  pointer-events: none;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: #A8C5A0;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  transition: transform 0.3s ease;
  z-index: 10;
  pointer-events: auto;
}

.social-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  pointer-events: none;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 90px;
  height: 36px;
  border-radius: 20px;
  background-color: #fff;
  border: 1px solid #C8C8C8;
  text-decoration: none;
  color: #555;
  font-size: 0.85rem;
  font-family: 'Kiwi Maru', serif;
  opacity: 0;
  transform: translateY(20px);
  transition: background-color 0.2s;
}

.social-link:hover {
  background-color: #F5F0E8;
}

#mobile-warning {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #F5F0E8;
  z-index: 9999;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 40px;
  box-sizing: border-box;
}

#mobile-warning p {
  font-family: 'Kiwi Maru', serif;
  color: #888;
  line-height: 2;
}

@media (max-width: 768px) {
  #mobile-warning {
    display: flex;
  }
}

#ignore-warning {
  margin-top: 1.5rem;
  padding: 10px 24px;
  border: 1px solid #C8C8C8;
  border-radius: 20px;
  background-color: transparent;
  font-family: 'Kiwi Maru', serif;
  color: #888;
  cursor: pointer;
  font-size: 0.9rem;
}

#ignore-warning:hover {
  background-color: #A8C5A0;
  color: white;
  border-color: #A8C5A0;
}

.profile2-img {
  width: 150px;
  height: 150px;
  object-fit: contain;
  margin-left: 20rem;
  size: 100;
}

.profile2-img + p {
  letter-spacing: 0.5em;
}

h4 {
  font-family: 'Kiwi Maru', serif;
  color: #A8C5A0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 20px;
  background-color: #fff;
  border-radius: 20px;
  width: 100%;
  box-sizing: border-box;
}

.gallery-item {
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.8s ease;
}

.gallery-item:hover img {
  transform: scale(1.2);
}

#modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

#modal-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.8);
}

#modal-img {
  position: relative;
  width: 90vw;
  height: 90vh;
  object-fit: contain;
  border-radius: 8px;
  z-index: 1001;
}

#modal-close {
  position: fixed;
  top: 20px;
  right: 30px;
  background: transparent;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  z-index: 1002;
}

.info-btn {
  position: fixed;
  bottom: 100px;
  right: 54.5px;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
}

.info-btn.visible {
  opacity: 1;
  pointer-events: auto;
}

.info-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: #B8D4E8;
  color: white;
  font-size: 1.2rem;
  font-family: 'Kiwi Maru', serif;
}

.info-tooltip {
  pointer-events: none;
  display: none;
  position: absolute;
  bottom: 54px;
  right: 0;
  width: 280px;
  background-color: #fff;
  border: 1px solid #C8C8C8;
  border-radius: 12px;
  padding: 16px;
  font-size: 0.8rem;
  line-height: 1.8;
}

