@font-face {
  font-family: "MyFont";
  src: url("../fonts/StarryTypeLA.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

/* -------- RESET -------- */
* {
  box-sizing: border-box;
}

img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0;
}

/* -------- BODY -------- */
body {
  margin: 0;
  background-color: #FFFFFF;
  font-family: "MyFont", sans-serif;
  font-weight: 200;
}

/* -------- CONTAINER -------- */
.container {
  margin: 0 auto;
  background: #fff;
}

/* -------- HEADER / NAV -------- */
header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 15px 25px;
  border-bottom: 1px solid #2C9AB7;
background: white;
}

.site-title {
  text-align: left;
}

.logo {
  margin: 0;
  font-size: 18px;
  letter-spacing: 4px;
  color: #454636;
}

.logo a {
  color: #454636;
  text-decoration: none;
}

.subtitle {
  font-size: 11px;
  letter-spacing: 2px;
  opacity: 0.7;
  margin-top: 4px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
  margin: 0;
  padding: 0;
}

nav a {
  color: #454636;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 2px;
  font-weight: bold;
}

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

/* -------- HERO -------- */
.hero {
  position: relative;
  width: 100vw;
  height: 100vh;
  background-image: url("portrait pictures/portrait-pics18.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-links {
  position: absolute;
  top: 50%;
  left: 6%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* link styling */
.hero-links a {
  color: white;
  text-decoration: none;
  font-size: 1.3rem;
  letter-spacing: 0.05em;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.hero-links a:hover {
  opacity: 0.7;
  transform: translateX(4px);
}



.hero2 {
  position: relative;
  width: 100vw;
  height: 100vh;
  background-image: url("fun-homepage.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero2-links {
  position: absolute;
  top: 50%;
  left: 6%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* link styling */
.hero2-links a {
  color: white;
  text-decoration: none;
  font-size: 1.3rem;
  letter-spacing: 0.05em;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.hero2-links a:hover {
  opacity: 0.7;
  transform: translateX(4px);
}


/* -------- GALLERY -------- */
.gallery-section {
  padding: 10px;
}

.gallery-grid {
  column-count: 3;
  column-gap: 0;
}

.gallery-card {
  break-inside: avoid;
  padding: 4px;
}

/* Responsive gallery */
@media (max-width: 900px) {
  .gallery-grid {
    column-count: 2;
  }
}

@media (max-width: 500px) {
  .gallery-grid {
    column-count: 1;
  }
}

/* -------- ABOUT -------- */
.about-section {
  padding: 60px 25px;
}

.about-flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}

.about-text {
  flex: 1.2;
}

.about-text h1 {
  font-size: 42px;
  margin-top: 0;
}

.about-image {
  flex: 1;
}

.about-image img {
}

/* Mobile about layout */
@media (max-width: 800px) {
  .about-flex {
    flex-direction: column;
  }

  .about-image img {
    max-width: 100%;
  }
}

.hover-image {
  position: relative;
}

.hover-text {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 1.5rem;
  color: white;

  opacity: 0;
  transition: opacity 0.1s ease;
}

.hover-image:hover .hover-text {
  opacity: 1;
}





.project {
  padding: 40px 25px;
  border-bottom: 1px solid #000;
}

.project-title {
  font-size: 24px;
  margin: 0;
}

.project-desc {
  margin: 8px 0 20px;
  opacity: 0.7;
}

/* scroll container */
.scroll-gallery {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  overflow-y: hidden;

  height: 300px; /* SET HEIGHT HERE */
  padding-bottom: 10px;

  scroll-behavior: smooth;
}

/* hide scrollbar but keep scroll */
.scroll-gallery::-webkit-scrollbar {
  height: 0;
}
.scroll-gallery {
  scrollbar-width: none;
}

/* images */
.scroll-gallery img {
  height: 100%;
  width: auto;
  flex-shrink: 0;
  object-fit: contain;

  cursor: pointer;
  transition: outline 0.15s ease, transform 0.15s ease;
}

 


.image-modal {
  display: none; /* hidden by default */
  position: fixed;
  z-index: 999;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);

  align-items: center;
  justify-content: center;
}


/* modal image */
.modal-img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
}

/* close button */
.close-modal {
  position: absolute;
  top: 25px;
  right: 35px;
  color: white;
  font-size: 40px;
  cursor: pointer;
}

.secret {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.15s ease;
}

.secret:hover {
  opacity: 0.6;
}

.subtitle a,
.subtitle a:visited {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.15s ease;
}

.subtitle a:hover {
  opacity: 0.6;
}

.secret-subtitle{
	  line-height: 28px;

}

.secret-subtitle,
.secret-subtitle a:visited {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.15s ease;
}

.secret-subtitle:hover {
  opacity: 0.6;
}


.letterboxd {
  padding: 50px 50px;
}

.letterboxd h2 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.entry {
  display: flex;
  gap: 24px;
  margin-bottom: 40px;
  align-items: flex-start;
}

.entry img {
  width: 220px;
  height: 220px;
  object-fit: cover;
  border: 2px solid #000;
}

.info h3 {
  margin: 0;
  font-size: 1.2rem;
}

.rating {
  letter-spacing: 3px;
  font-size: 1.1rem;
}

.chara-subtitle{
	font-size: 0.9;
	opacity: 80%;
}

.desc {
  opacity: 0.8;
  max-width: 420px;
}

.accordion-box {
  max-width: 1100px;
  margin: 40px auto;
  border-radius: 16px;
  background: white;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  overflow: hidden;
}


.accordion-header {
  width: 100%;
  background: #5D9884;
  color: white;
  padding: 16px 20px;
  font-size: 18px;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accordion-content {
  height: 0;
  overflow: hidden;
  transition: height 0.4s ease;
}

.accordion-inner {
  padding: 20px;
}


.arrow {
  transition: transform 0.3s ease;
}

.accordion-header.active .arrow {
  transform: rotate(180deg);
}

.favorite-bg{
  background-image: url("fun-pictures/polkadotbg.jpg");
  background-repeat: repeat;
  background-position: top left;
  background-size: auto;
}

.piano-bg{
  background-image: url("fun-pictures/pianobg.jpg");
  background-repeat: repeat;
  background-position: top left;
  background-size: auto;
}

.stars-bg{
  background-image: url("fun-pictures/stars-bg.jpg");
  background-repeat: repeat;
  background-position: top left;
  background-size: auto;
}

.wishboard{
  background: white;
  max-width: 900px;      /* width of the “paper” */
  margin: 80px auto;     /* centers it horizontally */
  padding: 60px;         /* inner spacing */
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  line-height: 28px;
}

.haikuboard{
  background: white;
  max-width: 900px;      /* width of the “paper” */
  margin: 80px auto;     /* centers it horizontally */
  padding: 60px;         /* inner spacing */
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  line-height: 28px;
  text-align: center;
}

.border{
	text-align: center;
	opacity: 30%;
}

.photo-row {
  display: flex;
  justify-content: center; /* centers the row */
  gap: 16px;               /* space between pics */
}

.photo-row img {
height: auto;
	width: auto;
  max-height: 200px;   /* small size */
  max-width: 200px;
  border-radius: 3px; /* optional, cute */
}

.page-pic img {
height: auto;
	width: auto;
  max-height: 200px;   /* small size */
  max-width: 200px;
  border-radius: 3px; /* optional, cute */
 justify-content: center;
	 margin: auto;
	padding: 7px;
}

.page-pic{
	justify-content: center;
}

.envelope img {
  width: 90px;      /* adjust */
  height: auto;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.envelope img:hover {
  transform: translateY(-2px);
  opacity: 0.75;
}



.envelope-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 12px;
  justify-items: center;
}



.envelope-item img {
  width: 48px; /* adjust */
  height: auto;
}

.envelope-label {
  margin-top: 8px;
  font-size: 0.85rem;
  color: #444;
  text-align: center;
}


.envelope-item {
  text-align: center;
  width: 50px; /* same as icon wrapper */
}


.envelope-icon {
  display: inline-flex;
  justify-content: center;
  width: 50px; /* pick a size */
}

.envelope-icon img {
  width: 32px;
  height: auto;
}





.video-section {
  max-width: 900px;
  margin: 80px auto;
  text-align: center;
}

.video-title {
  font-size: 1.6rem;
  margin-bottom: 6px;
}

.video-subtitle {
  font-size: 0.95rem;
  opacity: 0.7;
  margin-bottom: 18px;
}

video {
  width: 100%;
  height: auto;
	max-height: 600px;
  border-radius: 8px;
}


