.right-image {
  background-image: url('moni.jpg');
  background-size: cover;
  background-position: center;
  position: fixed;
   top: 1vh;           
  right: -15vw;        
  width: 45vw;        
  height: 180vh;       
  z-index: -1;      
}

.content {
  padding: 5vh 5vw;
  max-width: 50vw; 
}
   .main {
border-width:10px;
border-style:solid;
border-image: url("https://static.tumblr.com/yn7vk7p/DfHmp40xm/bo-ha26.gif") 8 fill round;
width: 400px;
height: 400px;
margin: 0 auto;
display: grid;
  grid-template-areas: 
    "header header"
    "submain sidebar";
  grid-template-columns: 1fr 200px; 
  grid-template-rows: 60px auto;   
  gap: 10px;
  padding: 10px;
}

.header {
  grid-area: header;
  background-image:url("donut.jpg");
   background-size: cover;      
  background-position: center;  
  background-repeat: no-repeat; 
  display: flex;
  align-items: center;
  justify-content: center;
    box-shadow: 0 0 10px rgba(0,0,0,0.1); 
    border-radius: 10px;

}

.header-image {
  margin-right: 200px;
  width: 260px; 
  height: auto;
}

.header-image2 {
  margin-left: -200px;
  width: 50px; 
  height: auto;
   animation: bounce 3s ease;
  animation-fill-mode: forwards; 
}


.header-image2:hover {
  animation: bounce 3s ease infinite;
}

.submain {
  grid-area: submain;
  background-image:url("greenbg.png");
   background-size: cover;      
  background-position: center;  
  background-repeat: no-repeat; 
  padding: 20px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1); 
}

.sidebar {
  grid-area: sidebar;
  background-image:url("hamster.jpg");
   background-size: cover;  
  background-position: center;  
  background-repeat: no-repeat; 
  padding: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1); 
   overflow: auto;
}


.text-container {
  height: 70%; 
  width: 90%;
  text-align: center;
  overflow-y: auto; 
  background-color: transparent; 
  padding: 10px;
   padding-top: 60px;
  box-sizing: border-box;
  position: relative;
   overflow-x: hidden;    
  white-space: normal;
  z-index: 1;
}


.text-wrapper {
  position: relative;
  height: 100%;
  overflow-y: auto;
  padding-top: 40px; 
  box-sizing: border-box;
}


.text-container {
  background-color: transparent;
  color: black;
  padding: 10px;
  box-sizing: border-box;
  white-space: normal;
  overflow-wrap: break-word;
}

.text-wrapper::before {
  content: "";
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  height: 40px; /* fade height */
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(0,0,0,1), rgba(0,0,0,0));
  z-index: 10;
}

.corkboard-main {
  position: absolute;
  top: 2vh;
  left: 0;
  width: 40vw;
  height: auto;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  z-index: 10;
}

.corkboard-img {
  width: 30vw;
  height: auto;
  max-height: 90vh;
  object-fit: contain;
  display: block;
}

.pinned-item {
  position: absolute;
  top: 6vh;
  left: 2vw;
  width: 7vw;
}


.item-beauty {
  top: 26vh;
  left: 14vw;
  width: 12vw;
}

.item-keychain {
  top: 6vh;
  right: 14vw;
  width: 7vw;
}

.item-stickers {
  top: 9vh;
  left: -6vw;
  width: 7vw;
}

.item-wife {
  top: -3vh;
  left: 21vw;
  width: 7vw;
}

.item-sof {
  top: 6vh;
  left: 15vw;
  width: 8vw;
  border-radius: 0.4vw;
}

.item-isl {
  top: 10vh;
  left: 21vw;
  width: 3.5vw;
  border-radius: 0.4vw;
}

#piano {
  width: 300px; 
  user-select: none;
}

.bounce-text {
    position: absolute;
    top: 460px;      
    left: 27%;
    transform: translateX(-50%);
    font-size: 16px;
    font-weight: bold;
    color: white;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.4);
    pointer-events: none; 
    animation: bounce 1.5s infinite;
    user-select: none;
  }

  @keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
  }

.item-ab {
  top: 23vh;
  left: 14vw;
  width: 9vw;
}

.pin-image {
  width: 100%;
  height: auto;
  display: block;
  z-index: 1;
  position: relative;
  border-radius: 0.3vw;
}

.tape-overlay {
  position: absolute;
  top: -1vh;
  left: 0.7vw;
  width: 4vw;
  transform: rotate(-5deg);
  z-index: 2;
  pointer-events: none;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-30px);
  }
  60% {
    transform: translateY(-15px);
  }
}

