body {
margin: 0;
display: block;

background-color: #FFB7C5;
}
#wrapper {
display: flex; /* This aligns sidebar and main side-by-side */
  width: 95%;    /* Adjust this to your preference */
  margin: 0 auto;
  background: white; 
  min-height: 100vh;
}
#moveneko {
position: absolute;
bottom: 20px;
right: 20px;
left: 50%; transform: translateX(-400px);
margin: 0;
padding: 0;
z-index: 9999;
}

#sidebar {
width: 200px;  /* Fixed width for the menu */
background: #B4DC87;
margin: 0;
  background-image: url(https://media0.giphy.com/media/v1.Y2lkPTc5MGI3NjExNzYwNW00azluajJ5YXFubmdxejQ0YW9yOWcyZ3Rja2g2c2VraWpmdiZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9cw/JU1W8vq1vvfos/giphy.gif);
}

#sidebar-right {
  background: #ADD8E6; /* Maybe a soft Blue for contrast? */
  position: relative;
  height: 100%;
  border-left: 2px solid red;
  float: right;
  min-height: 100vh;
  text-align: center;
    background-image: url(https://media0.giphy.com/media/v1.Y2lkPTc5MGI3NjExNzYwNW00azluajJ5YXFubmdxejQ0YW9yOWcyZ3Rja2g2c2VraWpmdiZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9cw/JU1W8vq1vvfos/giphy.gif);
}

#header {
text-align: center;
background: pink;
background-color: #B4DC87;
font-family:
color: #333;
font-family: "Comic Sans MS", "Comic Sans", cursive;
background-image: url(https://media0.giphy.com/media/v1.Y2lkPTc5MGI3NjExNzYwNW00azluajJ5YXFubmdxejQ0YW9yOWcyZ3Rja2g2c2VraWpmdiZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9cw/JU1W8vq1vvfos/giphy.gif);
background-size: cover;
width: auto;
height: auto;
background-position: center;
align-items: center;
}
#main {
flex: 1; /* Takes up the rest of the space next to the sidebar */
  display: flex;
  background: #FFB7C5;
  flex-direction: column;
}
#content {
width: 25%; /* Let the flex parent handle the width */
padding: 20px;
background-color: #FFB7C5;
}

#content {
padding: 20px;
width: 80%;
display: flex;
flex-direction: column;
}

#homelink {
background: #B4DC87;
background-image: url(https://media0.giphy.com/media/v1.Y2lkPTc5MGI3NjExNzYwNW00azluajJ5YXFubmdxejQ0YW9yOWcyZ3Rja2g2c2VraWpmdiZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9cw/JU1W8vq1vvfos/giphy.gif);
font-size: 12px;
}

.sakuraart {
position: relative;
width: 100%;
}

.titlebar {
background-color: #FFB7C5;
  height: 40px;
  line-height: 40px; /* Centers text vertically */
  padding: 0 10px;
  margin-bottom: 10px;
}
.weatherwidget-io {
  height: 40px;
  background-color: #B4DC87;
  border-style: inset;
  border-color: red;
}

.image-container {
position: relative;
  width: 500; 
  height: auto;
  margin: 20px; /* Adds space between the photos */
  vertical-align: top;
  display: inline-block; /* Allows them to sit next to each other */
  overflow: hidden;
  
  /* polaroid */
  background-color: white;
  padding: 15px 15px 50px 15px; /* Extra padding at the bottom for the "rim" */
  border: 1px solid #ddd;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2); /* Soft shadow for depth */
  
  /* A slight tilt for that "scattered on a desk" look */
  transform: rotate(-2deg);
  transition: transform 0.3s ease, box-shadow 0.3s ease;

}

/* Make every other image tilt the opposite way */
.image-container:nth-child(even) {
  transform: rotate(3deg);
}

img {
  width: 100%;
  display: inline-block;
  transition: transform 0.5s ease;
  border-radius: 15px;
}

.overlay-text {
position: absolute;
  /* Moves text to the bottom white rim of the polaroid */
  bottom: 10px; 
  left: 0;
  right: 0;
  text-align: center;
  
  color: #FFB7C5; 
  background-color: black;
  font-family: 'Comic Sans MS', 'Cursive', sans-serif; 
  font-size: 1.2rem;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

/* Hover Effects */
.image-container:hover {
  transform: rotate(0deg) scale(1.05); /* Straightens and grows slightly */
  z-index: 20; /* Brings the hovered image to the very front */
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}

/* 1. This makes the specific image grow when its container is hovered */
.image-container:hover img {
  transform: scale(1.2);
}

/* 2. This makes the specific text appear when its container is hovered */
.image-container:hover .overlay-text {
  opacity: 1;
}

.tv-container {
  position: relative;
  width: 999px;  /* Match this to your TV image size */
  height: 645px;
  margin: 30px auto;
  background: #000; /* Black background like a turned-off TV */
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  border: 10px solid #444; /* Optional: extra frame */
}



#tv-screen {
  position: absolute;
  top: 8%;    /* Adjust these % to fit perfectly inside your TV frame */
  left: 7%;
  width: 68%;
  height: 83%;
  object-fit: contain;
  background-color: black;
  z-index: 50;
  opacity: 0.9;
}

#undertv {
  position: relative;
  color: blue;
  text-align: center;
  font-family: "Comic Sans MS", "Comic Sans", cursive;
}

.tv-frame {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url(../images/teevee.jpg); /* The TV with a transparent hole */
  background-size: 100% 100%;
  background-repeat: no-repeat;
  pointer-events: none; /* So you can still click "through" it if needed */
  z-index: 10;
}

.tv-controls {
  position: absolute;
   top: 75%;    /* Adjust these % to fit perfectly inside your TV frame */
  left: 79%;
  width: 18%;
  height: 50%;
  z-index: 100; /* Higher than the TV frame! */
}

/* 90s Button Style */
.tv-controls button {
padding: 15px 40px;
font-family: "Comic Sans MS", "Comic Sans", cursive;
font-weight: bold;
  font-size: 1.5rem; /* Makes the text much larger */
  letter-spacing: 2px;
  text-transform: uppercase;
  background: #B4DC87; /* Your Sakura Green */
  background-image: url(https://media0.giphy.com/media/v1.Y2lkPTc5MGI3NjExNzYwNW00azluajJ5YXFubmdxejQ0YW9yOWcyZ3Rja2g2c2VraWpmdiZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9cw/JU1W8vq1vvfos/giphy.gif);
  color: #333;
  border: 5px outset #eee;
  cursor: pointer;
}

.tv-controls button:active {
  border-style: inset;
}

/* This is the animation definition */
@keyframes tv-blink {
  0% { opacity: 1; filter: brightness(1); }
  50% { opacity: 0.3; filter: brightness(3); } /* The "Flash" */
  100% { opacity: 1; filter: brightness(1); }
}

/* This is the class we will apply via JavaScript */
.flicker-action {
  animation: tv-blink 0.15s ease-out;
}