* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

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;
}

h5 {
    font-family: "Comic Sans MS", sans-serif ;
    color: #ffffff;
    background-color: blue;
    background-image: none;
    width: fit-content;
    font-size: 10px;
    font-weight: bold;
    text-align: center;
    position: absolute;
    margin-top: 34%;
    margin-left: 450px;
    z-index: 500;
}

/* Hide scrollbar */
::-webkit-scrollbar {
  display: none;
}

#sun-lying-down {
    display: block;
    position: relative;
    z-index: 1;
    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; 
}

 /* SCROLL DOWN NOTE */
.scroll-down-note {
font-family: "Comic Sans MS", sans-serif ;
font-size: 25px;
position: absolute;
left: 30%;
transform: translateX(-50%);
margin-top: -25%;
z-index: 999;
background-size: 300vw 300vw;
text-align: -webkit-center;
background: repeating-linear-gradient(-45deg, red 0%, yellow 7.14%, #0f0 14.28%, #0ff 21.42%, cyan 28.56%, blue 35.7%, magenta 42.84%, red 50%);

-webkit-animation: 'slide' 10s infinite linear forwards;
animation: slide 10s infinite linear forwards;
-webkit-text-fill-color: transparent;
-webkit-background-clip: text;
background-clip: text;
}

@keyframes slide {
0% {
background-position-x: 0%;
}
100% {
background-position-x: 300vw;
}
}
/* ————————————
   MP3 Player Container
———————————— */
.player {
  width: fit-content;
  border: #CECECE solid 2px;
  border-radius: 100px;
  margin-left: 24%;
  margin-top: -45%;
  background: linear-gradient(0deg, rgba(205,205,205,1) 0%, rgba(230,230,230,1) 30%, rgba(255,255,255,1) 100%);
  padding: 5px;
  position: relative;
  z-index: 9999 !important;
  pointer-events: auto;
}

/* SEEK SLIDER */
.seek_slider {
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  background: #e4d5dc;
  opacity: 0.7;
  transition: opacity .2s;
  border-radius: 8px;
}

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

/* FONT */
button, input, label, option, select, table, textarea {
  -webkit-font-smoothing: none;
  font-family: "Myriad Pro";
  font-size: 11px;
}

@font-face {
  font-family: "Myriad Pro";
  src: url("https://dl.dropbox.com/scl/fi/z8hqw29h8a9i3a3cbbxkt/MYRIADPRO-REGULAR.OTF?rlkey=begwqxljs2gzyw26h00oeovzi&st=px0mbeax&dl=0") format("woff");
}

/* WINDOW */
.player-window {
  font-family: "Myriad Pro";
}

.player-window-body {
  display: block;
  margin: auto;
  padding: 10px;
  width: 290px;
}

/* RANGE SLIDER */
input[type=range] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
}

input[type=range]:focus {
  outline: none;
}

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

/* MUSIC PLAYER CONTAINER */
#musicplayer {
  display: block;
  float: right;
  background: linear-gradient(0deg, #F1E3F0, white) padding-box, linear-gradient(to top, white, #A2A2A2) border-box;
  border-radius: 60em;
  border: 2px solid transparent;
  margin-left: 8px;
  padding-left: 10px;
  box-shadow: inset 1px 1px 10px rgba(128,128,128,0.27);
}

/* CLICK WHEEL */
.wheel {
  display: block;
  margin: auto;
  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 {
  border-radius: 50em;
  border: 2px solid #E2E2E2;
  padding: 9px 12px;
  box-shadow: inset 1px 1px 10px rgba(128,128,128,0.17);
}

th { width: 20px; }

.wheelcontrols {
  font-size: 14px;
  text-align: center;
  padding-top: 2px;
  color: #aaa;
  opacity: 0.8;
}

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

.wheelcontrols button:hover {
  opacity: 1;
}

/* PLAY/PAUSE */
.playpause-track {
  font-size: 22px;
  padding: 3px;
}

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

/* CONTROLS */
.controls button {
  margin-left: 15px;
  font-size: 14px;
  color: #ccb3be;
  opacity: 0.6;
}

.controls button:hover {
  opacity: 1;
}

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

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


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

.strips {
  width: 100vw;           /* full viewport width */
  margin: 0;              /* no outer margin */
  padding: 0;             /* REMOVE padding causing the gap */
  overflow: hidden;       /* ensures no scrollbars */
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 20%;
}

.marquee {
  --duration: 35s;
  --gap: 20px;
  --play: running;

  width: 100%;
  overflow: hidden;
  position: relative;

  display: flex;
  align-items: center;
}

.marquee:hover {
  --play: paused;
}

.marquee__inner {
  display: flex;
  gap: var(--gap);
  width: max-content;

  animation: scroll-left var(--duration) linear infinite;
  animation-play-state: var(--play);
}

.marquee[data-direction="right"] .marquee__inner {
  animation-name: scroll-right;
}

.marquee__inner img:first-child {
  margin-left: 10px;   /* your original --gap value */
}

.marquee__inner img:last-child {
  margin-right: 10px;  /* same gap */
}

/* Preserve 3:4 ratio exactly like the CodePen */
.marquee__inner img {
  height: 300px;
  width: calc(300px * 0.75); /* 3:4 ratio */
  object-fit: cover;
  border-radius: 4px;
}

/* Keyframes match CodePen */
@keyframes scroll-left {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

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


/* ——————————————————————————————
   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;
}

/* ——————————————————————————————
   ID PROFILE CARD
—————————————————————————————— */

@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;
  position: relative;
  margin-top: -138.5%;
  margin-left: 8%;
  z-index: 4;
}

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

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

/* Card */
#profile-container {
  width: 13em;
  padding: 0.75em;
  border-radius: 0.75em;
  border: 1px solid #000;
  background: linear-gradient(
    90deg,
    #f6f1c6 0%,
    #fdfff0 25%,
    #ffffe6 50%,
    #fdf4e5 75%,
    #f8ff97 100%
  );
}

/* Profile image */
#profile-img {
  width: 100%;
  height: 5em;
  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;
}

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

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