@font-face {
  font-family: 'Baby Doll';
  src: url('font/BabyDoll.woff2') format('woff2'),
       url('font/BabyDoll.woff') format('woff');
}

@font-face {
  font-family: 'PORKYS_';
  src: url('font/PORKYS_.TTF') format('truetype');
}

@font-face {
  font-family: 'Dreamer TM';
  src: url('DreamerTM-Regular.eot');
  src: local('Dreamer TM Regular'), local('DreamerTM-Regular'),
      url('DreamerTM-Regular.eot?#iefix') format('embedded-opentype'),
      url('DreamerTM-Regular.woff2') format('woff2'),
      url('DreamerTM-Regular.woff') format('woff'),
      url('DreamerTM-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

body {
  background: #ffe4ec url("images 2/pink2.gif") no-repeat center center;
  background-size: cover; 
  font-family: 'Baby Doll', sans-serif;
  color: #7a343f;
}

.wrap {
  width: 1080px;
  margin: 20px auto;
}

#container {
  background: #fff0f5;
  border: 2px solid #ff9fb8;
  border-radius: 14px;
  box-shadow: 0 0 25px rgba(255, 159, 184, 0.6);
  padding: 12px;
}

#header {
  background:
    url("images 2/flowers.png") center 20% / cover no-repeat,
    linear-gradient(#ffd1e1, #ff9fb8);
  height: 220px;
  border-radius: 12px 12px 0 0;
  position: relative;
  text-align: center;
  overflow: hidden;
}

#header img {
  width: 280px;
}

.header-title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -100%);
  text-align: center;
  white-space: nowrap;
  font-family: 'Dreamer TM', cursive;
  font-size: 100px;
  letter-spacing: 1px;
  color: #ff7cc8;
  text-shadow:
    -1px -1px 0 #fff,
     1px -1px 0 #fff,
    -1px  1px 0 #fff,
     1px  1px 0 #fff,
     0 0 6px rgba(255,182,206,0.8),
     0 0 12px rgba(255,105,180,0.6),
     0 0 18px rgba(255,105,180,0.4);
}

.welcome-bar { 
  width: 100%; 
  overflow: hidden; 
  white-space: nowrap; 
  background: #ffb8ce; 
  border-radius: 10px; 
  padding: 5px 0; 
  margin: 15px 0; 
  border: 2px solid #aa4152; 
} 

.welcome-text { 
  display: inline-block; 
  padding-left: 100%; 
  font-family: 'PORKYS_', cursive; 
  font-size: 1.3rem; 
  color: #ffffff; 
  text-shadow: 2px 2px #aa4152; 
  animation: scroll-left 14s linear infinite; 
} 

@keyframes scroll-left { 
  0% { transform: translateX(0); } 
  100% { transform: translateX(-100%); } 
}

.nav {
  display: flex;
  justify-content: space-evenly;
  gap: 6px;
  margin: 10px 0;
}

.nav-btn {
  background: linear-gradient(#fff0f5, #ffb8ce);
  border: 2px solid #ff9fb8;
  border-radius: 12px;  
  padding: 8px 18px;
  color: #ffffff;       
  font-family: 'PORKYS_';
  font-weight: bold;
  cursor: pointer;
  text-align: center;
  text-shadow: 1px 1px 0 #ff6aa3, -1px 1px 0 #ff6aa3, 1px -1px 0 #ff6aa3, -1px -1px 0 #ff6aa3;
}

.nav-btn:hover {
  background: linear-gradient(#ffffff, #ffc6da);
}

.flex {
  display: flex;
  gap: 15px;
}

.box {
  flex: 1;
  background: #fffafc;
  border-radius: 0;
  border: 2px solid #ff9fb8;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  height: 400px;
}

.content.scroll {
  flex: 1;
  overflow-y: auto;
  padding: 12px;
}

.titlebar {
  background: linear-gradient(#ffd1e1 0%, #ff9fb8 50%, #ffb8ce 100%);
  border: 2px solid #ff9fb8;
  border-radius: 0;
  padding: 6px 10px;
}

.content {
  padding: 12px;
  width: 100%;
  box-sizing: border-box;
}

.box:first-child .content {
  transform: scale(1);
  transform-origin: top left;
}

.box:first-child .content img {
  width: 100%;
  height: auto;
}

.titlebar h2 {
  margin: 0;
  font-size: 18px;
  font-family: 'PORKYS_';
  color: #ffffff;          
  text-shadow: 1px 1px #ff6aa3;
  text-align: left;
  padding-left: 10px;
}

.scroll {
  height: 190px;
  overflow-y: auto;
}

.footer {
  margin-top: 10px;
  padding: 8px;
  text-align: center;
  font-size: 13px;
  background: linear-gradient(#ffd1e1, #ff9fb8);
  border-radius: 0 0 12px 12px;
  color: #aa4152;
  font-family: 'PORKYS_';
}

a {
  color: #d94b8a;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.middle-box {
  flex: 2;
  text-align: left;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

.middle-box .small-banner {
  width: 100%;
  height: auto;
  margin: 0;
  border-radius: 0;
  border: 2px solid #ff9fb8;
  box-shadow: 0 0 10px rgba(255, 159, 184, 0.5);
  display: block;
}

.middle-box .middle-text {
  width: 100%;
  padding: 0;
  margin: 0;
}

.content.scroll {
  position: relative;
  padding: 12px;
  overflow-y: auto;
}


.keychain-hang {
  scale: 1.2;
  position: absolute;
  top: 18px;
  left: 70px;
  width: 280px;
  height: auto;
  transform: rotate(10deg);
  z-index: 10;
  pointer-events: none;
  max-width: none;
}



.highlight {
    background-color: #ff9fb8;
    color: black;
}


p {
    font-size: 18px; 
}

footer {
  margin-top: 10px;
  padding: 8px;
  text-align: center;
  font-size: 13px;
  background: linear-gradient(#ffd1e1, #ff9fb8);
  border-radius: 0 0 12px 12px;
  color: #aa4152;
  font-family: 'PORKYS_';
}