#box,
#box-links {
  background-color: #1D3354;
  border: 4px inset #C2F970;
  height:220px;
  margin: 10px;
  margin-top: 0;
  overflow:scroll;
  padding: 3px;
  width:260px;
}

#box li {
	color: #34E5FF;
	margin-bottom: 2px;
	font-family: "dosfontorig";
}

#box ul {
	padding-left: 15px;
}

#box p {
	font-family: "dosfont";
}

#button img{
	height: 31px;
	width: 80px;
}

#buttones {
  background-color: #1D3354;
  background-image: url("assets/img/carpet.png");
  border-radius: 10px;
  flex-shrink: 0;
  height: 50px;
  margin-bottom: 10px;
  margin-top: 10px;
  padding: 10px;
  text-align: center;
  z-index: 0;
}

#buttones img {
  margin-left: 10px;  
}

#container {
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  max-width: 1300px;
  min-height: 100vh;
  padding: 0 10px;
  z-index: 0;
}

#container a {
  color: #C2F970;
  cursor: url("assets/cursor/pointer.cur"), pointer;
  font-size: clamp(14px, 2.2vw, 18px);
  font-weight: bold;
}

#flex {
  display: flex;
  margin-bottom: 10px;
}

#funjogs {
  color: #C2F970;
  cursor: url("assets/cursor/default.cur"), default;
  margin-bottom: 10px;
}

#funjogs li a {
  color: #C2F970;
  cursor: url("assets/cursor/pointer.cur"), pointer;
  font-size: clamp(14px, 2.2vw, 18px);
  text-decoration: none;
}

#funjogs li a:hover {
  cursor: url("assets/cursor/pointer.cur"), pointer;
  text-decoration: underline;
}

#funjogs ul {
  list-style: none;
  padding: 0;
}

#guestbook {
	height: 100%;
	width: 100%;
}

#guestbook, .guestbook-iframe {
  cursor: url("assets/cursor/default.cur"), default !important;
}

#home-view {
  text-align: center;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

#logos {
  margin-top: auto;
}

.message-box {
  background-color: #0a0f12;
  border: 3px inset #34E5FF;
  border-radius: 8px;
  padding: 20px;
  margin: 20px 0;
}

.message-box h2 {
  margin-top: 0;
  margin-bottom: 16px;
}

.message-box p {
  margin: 0;
  font-family: "dosfontorig";
}

#imood{
	cursor: url("assets/cursor/pointer.cur"), pointer;
	height: auto;
	text-align: center;
	width: 100px;
}

#imood img{
	width: 160px;
}

#landing {
	display: flex;
	height: 400px;
	margin: 100px auto;
	max-width: 500px;
	text-align: center;
}

#landing a {
  color: #C2F970;
  cursor: url("assets/cursor/pointer.cur"), pointer;
  font-size: clamp(14px, 2.2vw, 18px);
  font-weight: bold;
}

#leftside{
	border-radius: 10px;
	margin-right: 10px;
	order: 1;
	text-align: center;
	min-width: 300px;
}

#leftside iframe {
  border: 0;
  display: block;
  margin-bottom: 10px;
  min-height: 40px;
  width: 100%;
}

#leftside p{
	font-size: 20px;
}

#linklist{
    color: #5F4BB6;
}

#linklist a {
  cursor: url("assets/cursor/pointer.cur"), pointer;
  font-size: clamp(16px, 2.5vw, 22px);
  text-decoration: none;
}

#linklist a:hover {
  text-decoration: underline;
}

#loading {
  align-items: center;
  background-color: #39344F;
  bottom: 0;
  cursor: url("assets/cursor/help.cur"), progress;
  display: flex;
  flex-direction: column;
  gap: 8px;
  height: 100%;
  justify-content: center;
  left: 0;
  position: fixed;
  right: 0;
  top: 0;
  width: 100%;
  z-index: 1;
}

#loading h1{
	color: #5F4BB6;
}

#loading img{
  height: auto;
  width: 5%;
}

.loading-progress {
  background-color: #1D3354;
  border: 2px inset #C2F970;
  height: 18px;
  max-width: 320px;
  overflow: hidden;
  width: 65%;
}

.loading-progress-fill {
  background-color: #34E5FF;
  box-shadow: 0 0 8px #34E5FF;
  height: 100%;
  transition: width 0.08s linear;
  width: 0;
}

#loading-progress-text {
  color: #C2F970;
  font-size: 16px;
  margin: 0;
}

#logos a{
    padding: 10px;
    width: 100%;
}

#logos img{
	height: auto;
	width: 50px;
}

#pfp {
  border: 3px solid #C2F970;
  border-radius: 50%;
  cursor: url("assets/cursor/help.cur"), pointer;
  display: block;
  transition: all 0.3s ease;
  width: 250px;
  height: 250px;
  object-fit: cover;
}

#pfp:hover {
  border-color: #34E5FF;
  box-shadow: 0 4px 20px #34E5FF66;
  transform: translateY(-8px);
}

#pfp:hover ~ .pfp-tooltip,
.pfp-container:hover .pfp-tooltip {
  opacity: 1;
}

#rightside{
	margin-left: 10px;
	order: 3;
	min-width: 300px;
}

#topBar {
  background-image: url("assets/img/carpet.png");
  cursor: url("assets/cursor/pointer.cur"), pointer;
  font-size: smaller;
  height: 30px;
  padding: 10px;
  text-align: center;
  width: 100%;
}

* {
  box-sizing: border-box;
  font-family: "dosfont";
}

.gallery-caption {
  color: #C2F970;
  font-size: 1em;
  font-weight: bold;
}

.gallery-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin-top: 24px;
}

.gallery-item {
  background: #1D3354;
  border: 2px solid #C2F970;
  border-radius: 10px;
  box-shadow: 0 2px 12px #0008;
  cursor: url("assets/cursor/help.cur"), pointer;
  padding: 12px;
  text-align: center;
  transition: all 0.3s ease;
  width: 160px;
}

.gallery-item img {
  border-radius: 8px;
  height: 120px;
  margin-bottom: 8px;
  object-fit: cover;
  width: 120px;
}

.gallery-item:hover {
  border-color: #34E5FF;
  box-shadow: 0 4px 20px #34E5FF66;
  transform: translateY(-8px);
}

.guestbook-iframe {
  background: #1D3354;
  border: 3px solid #C2F970;
  border-radius: 10px;
  box-shadow: 0 2px 12px #0008;
  display: block;
  margin: 10px 0;
  width: 100%;
}

.imood-world {
	cursor: url("assets/cursor/pointer.cur"), pointer;
	height: auto;
	text-align: center;
	width: 100px;
}

.imood-world img {
	width: 160px;
}

.lastfm-bar {
  align-items: center;
  display: flex;
  height: 40px;
  justify-content: stretch;
  padding: 0;
  width: 100%;
}

.lastfm-bar iframe {
  border: 0;
  flex: 1 1 100%;
  height: 40px;
}

.marquee-container {
  background: none;
  margin: 0 auto 10px auto;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.music-player {
  margin-top: 20px;
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.music-playlist {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 0 0 45%;
}

.album-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.album-cover {
  width: 100%;
  max-width: 500px;
  border: 3px solid #34E5FF;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(52, 229, 255, 0.3);
}

.album-details {
  background-color: #0a0f12;
  border: 2px solid #34E5FF;
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  width: 100%;
}

.album-details h2 {
  margin-top: 0;
  margin-bottom: 8px;
}

.album-details p {
  margin: 8px 0;
  font-family: "dosfontorig";
}

.track-item {
  align-items: center;
  background: #0a0f12;
  border: 2px solid #34E5FF;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
}

.track-item audio {
  width: 100%;
  accent-color: #34E5FF;
  background-color: #050708;
  color: #34E5FF;
}

.custom-player {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.player-button {
  background-color: #34E5FF;
  border: 2px solid #34E5FF;
  border-radius: 50%;
  color: #050708;
  cursor: pointer;
  flex-shrink: 0;
  font-size: 16px;
  height: 40px;
  width: 40px;
  transition: all 0.2s ease;
}

.player-button:hover {
  background-color: #C2F970;
  border-color: #C2F970;
  box-shadow: 0 0 8px rgba(34, 229, 255, 0.5);
}

.player-button.playing {
  background-color: #C2F970;
  border-color: #C2F970;
}

.player-info {
  flex: 1;
}

.player-controls {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 6px;
}

.time-display {
  font-size: 12px;
  color: #C2F970;
}

.progress-container {
  cursor: pointer;
}

.progress-bar {
  background-color: #050708;
  border: 1px solid #34E5FF;
  border-radius: 4px;
  height: 6px;
  overflow: hidden;
  width: 100%;
}

.progress-fill {
  background-color: #34E5FF;
  height: 100%;
  width: 0%;
  transition: width 0.1s linear;
  position: relative;
}

.progress-fill::after {
  content: '▼';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  color: #C2F970;
  font-size: 16px;
  line-height: 1;
  text-shadow: 0 0 4px rgba(194, 249, 112, 0.6);
}

.volume-slider {
  width: 100%;
  height: 4px;
  cursor: pointer;
  accent-color: #34E5FF;
  background: linear-gradient(to right, #34E5FF 0%, #34E5FF var(--value), #050708 var(--value), #050708 100%);
}

.volume-slider::-webkit-slider-thumb {
  appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #34E5FF;
  cursor: pointer;
  border: 1px solid #050708;
}

.volume-slider::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #34E5FF;
  cursor: pointer;
  border: 1px solid #050708;
}

.track-title {
  color: #C2F970;
  font-size: 1.15em;
  font-weight: bold;
  text-align: center;
}

.marquee-track {
  align-items: center;
  animation: marquee-scroll 32s linear infinite;
  display: flex;
  width: max-content;
}

.marquee-track img {
  height: 32px;
  margin: 0 8px;
  vertical-align: middle;
}

.movie-card {
  background: #1D3354;
  border: 2px solid #C2F970;
  border-radius: 10px;
  box-shadow: 0 2px 12px #0008;
	cursor: url("assets/cursor/pointer.cur"), pointer;
  padding: 12px;
}

.movie-card.is-open .movie-poster {
  margin-top: 10px;
  max-height: none;
  height: auto;
}

.movie-grid {
  display: grid;
  gap: 16px;
  margin-top: 16px;
}

.movie-note {
  color: #34E5FF;
  font-size: 0.95em;
  font-family: "dosfontorig";
}

.movie-poster {
  background: #0f1a1d;
  border: 2px solid #34E5FF;
  border-radius: 8px;
  margin-top: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, margin-top 0.35s ease;
}

.movie-poster img {
  border-radius: 6px;
  display: block;
  height: auto;
  width: 100%;
}

.movie-poster-placeholder {
  color: #C2F970;
  font-size: 0.9em;
  padding: 18px 10px;
  text-align: center;
}

.movie-title {
  color: #C2F970;
  font-size: 1.1em;
  font-weight: bold;
  margin-bottom: 6px;
}

.pfp-container {
  display: flex;
  justify-content: center;
  margin: 0 auto;
  position: relative;
}

.pfp-tooltip {
  background: #1D3354;
  border: 2px solid #34E5FF;
  border-radius: 8px;
  bottom: -40px;
  color: #34E5FF;
  font-size: 14px;
  left: 50%;
  opacity: 0;
  padding: 8px 12px;
  pointer-events: none;
  position: absolute;
  transform: translateX(-50%);
  transition: opacity 0.3s ease;
  white-space: nowrap;
}

.tooltip {
	display: inline-block;
	position: relative;
}

.tooltip .tooltiptext {
	left: 53%;
	margin-left: -270px;
	top: 100%;
}

.tooltip .tooltiptext {
	background-color: black;
	border-radius: 6px;
	color: #fff;
	position: absolute;
	text-align: center;
	visibility: hidden;
	width: 300px;
	z-index: 1;
}

.tooltip .tooltiptext::after {
  border-color: transparent transparent black transparent;
  border-style: solid;
  border-width: 5px;
  bottom: 100%;
  content: " ";
  left: 35%;
  position: absolute;
}

.tooltip a {
	color: #fff;
	font-size: clamp(14px, 2.2vw, 18px);
}

.tooltip:hover .tooltiptext {
	visibility: visible;
}

:root {
  cursor: url("assets/cursor/default.cur"), default;
}

@font-face {
  font-family: "dosfont";
  src: url("assets/fonts/mirage_gothic/Mirage final.ttf") format("truetype");
}

@font-face {
  font-family: "dosfontorig";
  src: url("assets/fonts/DosFont/DOS.ttf") format("truetype"),
       url("assets/fonts/DosFont/DOS1.ttf") format("truetype");
}

@keyframes marquee-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

aside {
  background-color: #1D3354;
  background-image: url("assets/img/carpet.png");
  border-radius: 10px;
  font-size: smaller;
  padding: 10px;
  width: 240px;
}

/* Firefox scrollbar (limited support) */
aside,
main {
  scrollbar-color: #34E5FF #0f1a1d;
  scrollbar-width: thin;
}

/* Custom scrollbar styling for theme */
aside::-webkit-scrollbar,
main::-webkit-scrollbar {
  width: 1px;
}

aside::-webkit-scrollbar-thumb,
main::-webkit-scrollbar-thumb {
  background: #34E5FF;
  border: 2px solid #0f1a1d;
  border-radius: 10px;
}

aside::-webkit-scrollbar-thumb:hover,
main::-webkit-scrollbar-thumb:hover {
  background: #C2F970;
  border: 2px solid #0f1a1d;
}

aside::-webkit-scrollbar-track,
main::-webkit-scrollbar-track {
  background: #0f1a1d;
  border-radius: 10px;
}

body {
  background-color: #1C2321;
  background-image: url("assets/img/moon.png");
  background-size: 100px;
  color: #fceaff;
  margin: 0;
}

footer {
  background-color: #1D3354;
  background-image: url("assets/img/carpet.png");
  border-radius: 10px;
  color: #34E5FF;
  flex-shrink: 0;
  height: 40px;
  margin-bottom: 10px;
  margin-left: 0;
  margin-right: 0;
  margin-top: auto;
  padding: 10px;
  text-align: center;
  z-index: 0;
}

h1 {
	font-size: clamp(28px, 5vw, 40px);
}

h2 {
	font-size: clamp(20px, 4vw, 35px);
}

h3 {
	color: #47B3FF;
	font-size: clamp(16px, 3vw, 25px);
}

h4 {
	color: #34E5FF;
	font-size: clamp(20px, 4vw, 35px);
}

hr {
	border-color: #1D3354;
	border-style: inset;
	border-width: 4px;
	height: 0;
	margin: 20px 0;
}

html {
  overflow-y: scroll;
}

li,
h1,
h2 {
	color: #34E5FF;
}

main {
  background-color: #1D3354;
  background-image: url("assets/img/carpet.png");
  border-radius: 10px;
  flex: 1;
  order: 2;
  padding: 20px;
}

nav {
  background-image: url("assets/img/carpet.png");
  cursor: url("assets/cursor/default.cur"), default;
  margin-bottom: 10px;
  min-height: 40px;
  padding: 6px 0;
  width: 100%;
}

nav li {
  padding: 0;
}

nav li a {
  background-color: #1D3354;
  border: 2px solid #C2F970;
  border-radius: 8px;
  box-shadow: 0 2px 0 #0f1a1d;
  cursor: url("assets/cursor/pointer.cur"), pointer;
  display: inline-block;
  font-size: clamp(14px, 2vw, 60px);
  padding: 6px 16px;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.2s ease;
}

nav li a:active {
  box-shadow: 0 1px 0 #0f1a1d;
  transform: translateY(1px);
}

nav li a:hover {
  border-color: #34E5FF;
  box-shadow: 0 3px 0 #0f1a1d, 0 0 12px #34E5FF66;
  cursor: url("assets/cursor/pointer.cur"), pointer;
  text-decoration: none;
  transform: translateY(-1px);
}

nav ul {
  align-items: center;
  display: flex;
  justify-content: space-evenly;
  list-style-type: none;
  margin: 0;
  padding: 0;
}

p {
	color: #34E5FF;
	font-size: clamp(16px, 2.5vw, 18px);
}

/* Mobile responsive styles */
@media screen and (max-width: 768px) {
  #container {
    padding: 0 5px;
  }
  
  #flex {
    flex-direction: column;
  }
  
  aside {
    width: 100%;
    margin: 0 0 10px 0 !important;
    order: unset;
  }
  
  #leftside {
    order: 1;
  }
  
  main {
    order: 2;
    padding: 15px;
  }
  
  #rightside {
    order: 3;
  }
  
  nav ul {
    flex-wrap: wrap;
    gap: 8px;
    padding: 4px;
  }
  
  nav li a {
    font-size: 14px;
    padding: 8px 12px;
  }
  
  nav {
    padding: 8px 4px;
  }
  
  #box,
  #box-links {
    width: 100%;
    margin: 10px 0;
  }
  
  .gallery-item {
    width: 140px;
  }
  
  .gallery-item img {
    width: 100px;
    height: 100px;
  }
  
  #pfp {
    width: 60%;
  }
  
  .marquee-track img {
    height: 28px;
  }
  
  #topBar {
    font-size: 12px;
  }
  
  .lastfm-bar iframe {
    height: 35px;
  }
  
  #buttones {
    height: 45px;
  }
  
  .movie-card.is-open .movie-poster {
    margin-top: 10px;
    max-height: 500px;
  }
}

@media screen and (max-width: 480px) {
  nav li a {
    font-size: 12px;
    padding: 6px 8px;
  }
  
  .gallery-grid {
    gap: 16px;
  }
  
  .gallery-item {
    width: 120px;
  }
  
  .gallery-item img {
    width: 90px;
    height: 90px;
  }
  
  #pfp {
    width: 70%;
  }
  
  main {
    padding: 10px;
  }
  
  .movie-grid {
    gap: 12px;
  }
}