
@font-face {
  font-family: 'Baby Doll';
  src: url('font/BabyDoll.woff2') format('woff2'),
       url('font/BabyDoll.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}



  
  @font-face {
    font-family: 'PORKYS_';
    src: url('font/PORKYS_.TTF') format('truetype');
    font-weight: normal;
    font-style: normal;
  }

  body {
   font-family: 'Baby Doll';
    background: url('IMG2/pinkback.jpeg') no-repeat center center fixed;
    background-size: cover;
    color: #333;
    margin: 0;
    padding: 0;
  }

header h1 {
  font-size: 6rem;
  color: #ffb8ce; 
  font-family: 'PORKYS_', cursive;
  text-shadow: 3px 3px #aa4152;
    text-align: center;
  margin-top: -20px;
  margin-bottom: 20px;

}

 h2 {
  font-family: 'PORKYS_', bold;
  color: #ffb8ce ;
  text-shadow: 3px 3px #aa4152;
  text-align: center;
  font-size: 3rem;
   margin-bottom: 10px;
   margin-top: 10px;
}
nav ul {
  list-style-type: none;
  padding: 0;
  margin: 20px 0;
  text-align: center;
}

nav li {
  display: inline-block;
  margin: 0 10px;
}
nav a {
  text-decoration: none;
  color: #663399;
  background-color: #f0d9ff;
  padding: 10px 16px; 
  font-size: 1.1rem;   
  border-radius: 8px; 
  border: 1px solid #cc99ff;
  transition: background-color 0.3s ease, transform 0.3s ease;
}


nav a:hover {
  background-color: #c39dda;
  transform: scale(1.1);
}


#wrapper {
  max-width: 1100px;
  margin:20px auto; 
  padding: 20px;
  background: url('./IMG/PinkStripes.jpeg') no-repeat center center fixed;
  background-size: cover;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
}

main {
  display: block;
}

footer {
  position: relative; 
  text-align: center;
  font-size: 0.9em;
  margin-top: 25px;
  padding: 10px;
  background-color: #ffe4ec;
  border-top: 2px dotted #f99;
}

.hello-box {
  margin: 10px auto;
  padding: 5px 20px 10px 20px; 
    max-width: 900px;
  background-color: #ffe4ec;
  border: 2px dashed #ffb6c1;
  border-radius: 12px;
  box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.1);
  position: relative; 
}


.scroll-heading {
  display: inline-block;
  font-size: 1.9rem;
  font-family: 'PORKYS_', bold;
  color: #ffb8ce;
  text-shadow: 2px 2px #aa4152;
  margin-top: 5px;
  margin-bottom: 5px;
  transform: rotate(-10deg) translateX(-10px);
}

.scroll-box {
    margin-top: 10px; 
  max-height: 700px;
  overflow-y: auto;
  overflow-x: hidden;
  font-size: 1.2rem;
  color: #333;
  padding-right: 0; 
  text-align: center;
}

.sticker {
  position: absolute;
  top: 5px; 
  right: 10px; 
  width: 60px;
  height: 60px;
  overflow: hidden;
   transform: rotate(20deg);
}

.sticker img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}


 .carousel-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    width: 100%;
    margin: 2rem auto;
  }

  .music-carousel {
    display: flex;
    overflow-x: scroll;
    scroll-behavior: smooth;
    width: 100%;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin; 
    scrollbar-color: #ff66b2 #f1f1f1; 
  }
 .carousel-group {
    display: flex;
    flex: 0 0 100%; 
    scroll-snap-align: start;
    justify-content: center;
    gap: 20px;
  }

 
  .carousel-item {
    flex: 0 0 calc(33.33% - 20px);
    text-align: center;
  }

  .carousel-item img {
    width: 100%;
    height: 250px; 
    object-fit: cover;
    border-radius: 10px;
  }

.song-info {
  margin-top: 10px;
}

.song-title {
  font-weight: bold;
  color: #663399;
  font-size: 1.1em; 
  margin: 5px 0;
}

.album-name {
  color: #a0522d;
  font-size: 1em;
  margin: 0;
  font-style: italic;
  word-wrap: break-word; 
  white-space: normal;  
  display: block;
  padding-bottom: 10px; 
}

.carousel-wrapper {
  margin: 2rem auto;
}

.image-row {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 15px;
  flex-wrap: wrap;
}

.image-caption-box {
  text-align: center;
  margin: 10px;
}

.image-caption-box img {
    width: 200px;    
  height: 200px;  
  object-fit: cover; 
  border-radius: 8px;
}

.image-caption-box .caption {
  display: block;
  margin-top: 5px;
  font-size: 0.9em;
 color: #aa4152;
  text-decoration: underline;
}

.image-caption-box .caption:hover {
  text-decoration: underline;
}

/* keychain */
.keychain-hang {
  position: absolute;
  top: -10px;
  left: -40px;
  width: 280px;
  height: auto;
  transform: rotate(10deg);
  z-index: 10;
  pointer-events: none;
  max-width: none;
}



@media (max-width: 768px) {
  body {
    padding: 0 10px;
    background-size: auto;
  }

  header h1 {
    font-size: 3.2rem;
    word-break: break-word;
    text-align: center;
    margin: 20px 0;
  }

    #wrapper {
    margin-top: 10; 
  }


 nav ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
  }

  nav li {
    display: inline-block;
    margin: 10px;
  }

  nav a {
    text-decoration: none;
    color: #663399;
    background-color: #f0d9ff;
    padding: 8px 15px;
    border-radius: 5px;
    border: 1px solid #cc99ff;
    transition: background-color 0.3s ease, transform 0.3s ease;
    font-size: 0.9rem;
  }

  nav a:hover {
    background-color: #eac6ff;
    transform: scale(1.1);
  }

  main section {
    padding: 10px;
    margin-bottom: 10px;
  }
  
 .collectible-grid {
    grid-template-columns: 1fr;
  }
  
 .three-column-grid {
    grid-template-columns: 1fr;
  }

  .collectible-card img {
    max-width: 100%;
  }

.item-card {
  background-color: #ffe3f1;
  padding: 10px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
}

.item-card img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  border-radius: 8px;
}
.keychain-hang {
  width: 160px; 
  left: -50px;  
}

  footer iframe {
    height: 300px;
  }
}