
body {
  background: url('assest/BG.png') center/cover no-repeat fixed;
  min-height: 100vh;
}

h1 {
  font-family: "Comic Sans MS", sans-serif ;
  color: #fff70d;
  font-size: 48px;
  font-weight: bold;
  text-align: left;
  margin-top: 20px;
  margin-left: 40px;
  -webkit-text-stroke-width: 2px; 
  -webkit-text-stroke-color: rgb(255, 93, 24); 
}

h2 {
    font-family: "Comic Sans MS", sans-serif ;
    color: #ffffff;
    background-color: blue;
    background-image: none;
    width: fit-content;
    font-size: 20px;
    font-weight: bold;
    text-align: left;
    margin-top: 0%;
    margin-left: 150px;
}

#sun-lying-down {
    display: fixed;
    margin-top: 300px;
    margin-left: 50px;
    width: 400px;
    height: auto;
}

#portrait-of-sun {
  position: absolute;
  top: 110px;
  right: -20px;
  width: 250px;
  height: auto;
}

#sun-bite {
  position: absolute;
  top: 220px;
  right: 25%;
  width: 430px;
  height: auto;
  z-index: 3;
}

#sun-icon-gift {
  position: absolute;
  top: -35%;
  right: -100px;
  width: 60%;
  height: auto;
}

.note-card {
  position: relative;
  display: inline-block;
  top: -680px;
  left: 350px;
  width: 350px;
  height: auto;
}

#note img {
  display: block;
  width: 100%;
  height: auto;
}

#note-text {
  font-family: "Comic Sans MS", sans-serif;
  font-size: 12px;
  position: absolute;
  top: 20%;  
  left: 35%;   
  padding: 16px;
  max-width: 180px;
  max-height: 240px;         
  overflow-y: auto;          
  overflow-x: hidden;        
}

.media-wrapper {
  position: absolute; 
  width: 600px;
  margin-top: -70%;
  margin-left: 45%;
}

.media-player img {
  display: block;
  width: 100%;                
  height: auto;
}

.media-video {
  position: absolute;
  top: 9%; left: 4%;        
  width: 92%; height: 87%;    
  object-fit: cover; 
}

/* ————————————
   MUSIC PLAYER CONTAINER
———————————— */
.player {
  width: fit-content;
  border: 2px solid #CECECE;
  border-radius: 100px;
  margin-left: 24%;
  margin-top: -46%;
  padding: 5px;

  background: linear-gradient(
    0deg,
    rgb(205,205,205) 0%,
    rgb(230,230,230) 30%,
    rgb(255,255,255) 100%
  );
}

/* ————————————
   WINDOW
———————————— */
.window {
  padding: 10px;
  width: 290px;
}

.window-body {
  display: block;
  margin: auto;
}

/* ————————————
   FLEX
———————————— */
.flex {
  display: flex;
}

/* ————————————
   RANGE SLIDER
———————————— */
.seek_slider {
  appearance: none;
  height: 6px;
  background: #e4d5dc;
  opacity: 0.7;
  border-radius: 8px;
}

.seek_slider::-webkit-slider-thumb {
  appearance: none;
  width: 8px;
  height: 8px;
  background: white;
  border: 1px solid #cecece;
  border-radius: 50%;
  cursor: pointer;
  position: relative;
  bottom: 3px;
}

/* Reset */
input[type=range] {
  appearance: none;
  width: 100%;
}
input[type=range]:focus {
  outline: none;
}

/* ————————————
   MUSIC PLAYER
———————————— */
#musicplayer {
  float: right;
  margin-left: 8px;
  padding-left: 10px;

  background: linear-gradient(0deg, #F1E3F0, white) padding-box,
              linear-gradient(to top, white, #A2A2A2) border-box;

  border-radius: 60em;
  border: 2px solid transparent;

  box-shadow: inset 1px 1px 10px rgba(128,128,128,0.27);
}

/* ————————————
   CLICK WHEEL
———————————— */
.wheel {
  margin: auto;
  padding-top: 0;

  background: linear-gradient(white, white) padding-box,
              linear-gradient(to top, white, #A2A2A2) border-box;

  border-radius: 50em;
  border: 2px solid transparent;

  box-shadow: inset 1px 1px 10px rgba(128,128,128,0.27);
}

.innerwheel {
  padding: 9px 12px;
  border-radius: 50em;
  border: 2px solid #E2E2E2;

  box-shadow: inset 1px 1px 10px rgba(128,128,128,0.17);
}

/* ————————————
   CLICK WHEEL BUTTONS
———————————— */
.wheelcontrols {
  text-align: center;
  font-size: 14px;
  padding-top: 2px;
  color: #aaa;
  opacity: 0.8;
}

.wheelcontrols button {
  background: none;
  border: none;
  color: #aaa;
  font-size: 14px;
  opacity: 0.6;
  padding: 2px;
  cursor: pointer;
}

.wheelcontrols button:hover {
  opacity: 1;
}

/* ————————————
   SONG TITLE
———————————— */
.songtitle {
  padding: 25px 15px 0 15px;
  font-size: 16px;
  font-family: "Myriad Pro";
  color: #A3A3A3;
}

/* ————————————
   BOTTOM CONTROL ICONS
———————————— */
.controls button {
  background: none;
  border: none;
  color: #ccb3be;
  opacity: 0.6;
  font-size: 14px;
  margin-left: 15px;
}

.controls button:hover {
  opacity: 1;
}

/* Play/Pause icon */
.playpause-track {
  font-size: 22px;
  padding: 3px;
}

/* ————————————
   SEEKING BAR TIME
———————————— */
.seeking {
  display: flex;
  justify-content: space-evenly;
  padding: 10px;
  padding-bottom: 0;
  color: #A3A3A3;
}

.current-time { padding-right: 5px; }
.total-duration { padding-left: 5px; }


/* ——————————————————————————————
   INFINITE IMAGE CAROUSEL
—————————————————————————————— */

.scroll-container {
  height: 50svh;
  display: flex;
  margin-top: 15%;
  justify-content: center;
  align-items: center;
}

.infinite-scroll-wrapper {
  overflow: hidden;
  width: 100%;
  position: relative;
}

.infinite-scroll-content {
  display: flex;
  flex-direction: row;
  white-space: nowrap;
  gap: 16px;
  animation: scroll 100s linear infinite;
  width: 100%;
}

.infinite-scroll-items {
  display: flex;
  flex-direction: row;
  flex-shrink: 0;
  gap: 16px;
}

.item-wrap {
  position: relative;
  min-width: 238px;
  height: 315px;
  flex-shrink: 0;
  overflow: hidden;
}

.item-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}

.item-wrap .text {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  color: #fff;
  font-weight: 500;
}

.item-wrap:hover img {
  transform: scale(1.05);
}

/* Pause on hover for desktop */
@media (min-width: 1024px) {
  .infinite-scroll-wrapper:hover .infinite-scroll-content {
    animation-play-state: paused;
  }
}

/* Animation */
@keyframes scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}


/* ——————————————————————————————
   PAINT CANVAS STYLES
—————————————————————————————— */
body {
  font-family: Tahoma, sans-serif;
  user-select: none;
}

/* Main paint window container */
.paint-window-shell {
  width: 400px;
  height: 300px;

  position: absolute;
  bottom: 60px;
  right: 80px;

  border: 2px solid #000;
  background: #c0c0c0;
  box-shadow: 4px 4px 0 #000;

  /* NEW → Enable resizing */
  resize: both;
  overflow: hidden;

  display: flex;
  flex-direction: column;
}

/* Title bar */
.paint-title-bar {
  height: 26px;
  background: #000080;
  color: #ffffff;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 0 8px;
  font-size: 13px;
  cursor: grab;
}

.paint-title-bar:active {
  cursor: grabbing;
}

.paint-buttons {
  display: flex;
  gap: 4px;
}

.paint-buttons .btn {
  width: 22px;
  height: 18px;
  border: 1px solid #ffffff;
  font-size: 12px;
  text-align: center;
  line-height: 18px;
}

/* Menu bar */
.paint-menu-bar {
  background: #c0c0c0;
  border-bottom: 2px solid #808080;
  padding: 2px 6px;
  font-size: 12px;

  flex-shrink: 0;
}

.paint-menu-bar span {
  margin-right: 12px;
}

/* Content wrapper (flex-grow forces iframe to scale) */
.paint-window-content {
  flex: 1 1 auto;

  padding: 4px;
  box-sizing: border-box;
  min-height: 0; /* prevents flex overflow */
  overflow: hidden;
}

#jspaint-frame {
  width: 100%;
  height: 100%;

  border: 2px solid #808080;
  background: #ffffff;
  box-sizing: border-box;

  /* So iframe shrinks properly */
  display: block;
}

/* ——————————————————————————————
   FONTS
—————————————————————————————— */

@font-face {
  font-family: windows;
  src: url("https://dl.dropbox.com/s/kaxqli0m8m9zvdc/Windows%20Regular.ttf?dl=0");
}

@font-face {
  font-family: pixeloid;
  src: url("https://dl.dropbox.com/s/ciawsaxsxpt039i/PixeloidSans-Bold.ttf?dl=0");
}

/* ——————————————————————————————
   CONTAINER
—————————————————————————————— */

#profile-box {
  padding: 0;
  width: 15em;
  height: fit-content;
  font-family: windows;
  margin-top: -75%;
  margin-left: 5%;
}

/* Blinking header */
#profile-blink {
  width: 18.3em;
  height: min-content;
  font-size: 1.75em;
  padding: 0.25em;
  color: #4bce12;  
  transform: rotate(-90deg);
  margin-left: -120%;

  animation: blinkingText 1.2s infinite;
  margin-bottom: 0.125em;
}

/* Card */
#profile-container {
  width: 16em;
  padding: 0.75em;
  border-radius: 0.75em;
  border: 1px solid #000;
  box-shadow: 0.35em 0.35em 0.5em #0000007a;

  background: linear-gradient(
    90deg,
    #f6f1c6 0%,
    #fdfff0 25%,
    #ffffe6 50%,
    #fdf4e5 75%,
    #f8ff97 100%
  );
}

/* Profile image */
#profile-img {
  width: 100%;
  height: 7.45em;
  object-fit: cover;
  border-radius: 0.5em;
  border: 1px solid #000;
}

/* Name field */
#profile-name {
  font-size: 0.875em;
  text-align: center;
  margin: 0.75em 0;

  font-family: windows;
  background: white;
  padding: 0.4em;
  border: 1px solid #000;
  border-radius: 5em;
}

/* Scrollbox */
#profile-scrollbox {
  line-height: 1.375em;
  font-size: 0.875em;
  height: 8em;
  overflow-y: auto;

  border: 1px solid #000;
  border-radius: 0.5em;
  padding: 0.5em;
  background: white;
}

/* ——————————————————————————————
   TEXT & ELEMENTS
—————————————————————————————— */

mark {
  display: inline-block;
  font-family: pixeloid;
  font-size: 0.875em;

  padding: 0.1em 0.35em;
  border-radius: 0.4em;
  border: 1px solid #000;

  color: #fff;
  background: radial-gradient(circle, #ffffff 0%, #f7f2da 100%);

  text-shadow:
    -1px 0 #000,
     0 1px #000,
     1px 0 #000,
     0 -1px #000,
     0 0 #000;
}

a {
  color: #b799cf;
}

strong {
  letter-spacing: -0.075em;
}

/* ——————————————————————————————
   ALWAYS-VISIBLE SCROLLBAR (WINDOWS STYLE)
—————————————————————————————— */

/* Force scrollbar to always show */
#profile-scrollbox {
  overflow-y: scroll;    
  scrollbar-width: thin; 
  scrollbar-color: #c7b2df #f2eaff;
}

/* Chrome / Safari / Edge */
#profile-scrollbox::-webkit-scrollbar {
  width: 10px;
  display: block;       /* ← forces visibility on macOS */
}

/* Track */
#profile-scrollbox::-webkit-scrollbar-track {
  background: #f2eaff;
  border-left: 1px solid #000;
}

/* Thumb */
#profile-scrollbox::-webkit-scrollbar-thumb {
  background: #c7b2df;
  border: 1px solid #000;
  border-radius: 4px;
}

/* Hover */
#profile-scrollbox::-webkit-scrollbar-thumb:hover {
  background: #b799cf;
}

/* ——————————————————————————————
   ANIMATIONS
—————————————————————————————— */

@keyframes blinkingText {
  0%, 49% {
    color: #000;
  }
  60%, 99% {
    color: white;
  }
  100% {
    color: #000;
  }
}
