:root{
  --theme-color: #e3256b;
}

body {
  /* background: url('../Images/2svcyxsxny.jpg') no-repeat; */
  background: url('../Images/1682894781_new_digital-frontiers-18.jpg') no-repeat;
  background-size: cover;
  font-family: "Kanit", serif;
  font-weight: 200;
  font-style: normal;
  user-select: none;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(5px);
  z-index: -1;
}

#biobox {
  display: flex;
  flex-direction: column; /* Stack children vertically */
  align-items: center; /* Center children horizontally */
  position: absolute;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 20px;
  width: 30%;
  height: auto; /* Keep height auto to grow with content */
  left: 50%;
  top: 50%;
  transform: translateX(-50%) translateY(-50%);
  backdrop-filter: blur(20px);
  padding: 20px 0px 0px 0px; /* Add padding to give space around content */
  box-sizing: border-box; /* Ensure padding doesn't increase the width */
  min-height: 300px; /* Minimum height to ensure space for content and player */
}

#biobox > *:not(.audio-player) {
  flex: 1 0 auto; /* Allow bio content to take up available space but not grow beyond content */
}

#pfp {
  width: 100px;
  height: 100px;
  background: url('../images/5e1d13ea37ed1c635a1683dc36bd90d1.webp');
  background-size: contain;
  border-radius: 100px;
  margin-bottom: 15px; /* Space below the profile picture */
}

#username {
  color: white;
  font-size: 24px;
  font-weight: 300;
  margin-bottom: 10px; /* Space below the username */
}

#bio {
  color: white;
  text-align: center;
  margin-bottom: 20px; /* Space below the bio */
}

.audio-player {
  width: 100%;
  border-radius: 0px 0px 20px 20px;
  /* background: rgba(0, 0, 0, .4); */
  background: linear-gradient(to top, rgba(0, 0, 0, .7), rgba(0, 0, 0, 0));
  margin-top: auto; /* Push the audio player to the bottom */
}



/* Keep the rest of your CSS unchanged */
.volume-control input[type="range"] {
  background: linear-gradient(to right, var(--theme-color) 0%, var(--theme-color) 25%, #333 25%, #333 100%);
}

.song-info {
  margin-top: 4px;
  margin-left: 6px;
  margin-bottom: 0px;
}

.progress {
  background-color: var(--theme-color);
}

/* Bottom Right Menu */
#otherbios {
  position: absolute;
  width: 175px;
  height: 150px;
  bottom: 2%;
  right: 1%;
  text-decoration: none;
  align-items: center;
  justify-content: center;
  transition: .5s ease-in-out;
}

#ezbio, #guns, #fakecrime {
  display: flex;
  background: rgba(0, 0, 0, 0.4);
  color: var(--theme-color);
  width: 100%;
  height: 50px;
  text-decoration: inherit;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 400;
  transition: inherit;
}

#ezbio {
  border-radius: 20px 20px 0px 0px;
  border-bottom: rgba(50, 50, 50, .25) 1px solid;
}

#fakecrime {
  border-radius: 0px 0px 20px 20px;
  border-top: rgba(50, 50, 50, .25) 1px solid;
}

#ezbio:hover, #guns:hover, #fakecrime:hover {
  color: #e3166c;
  background: rgba(50, 50, 50, .4);
  transition: inherit;
}

/* Bio Favicons */
#gunssvg, #ezbioimg, #fakecrimeimg {
  width: 24px;
  height: 24px;
  margin-left: -30px; /* Adjust spacing between icon and text */
  margin-right: 5px;
}


/* Autoplay Fix */
#autoplayfix{
  z-index: 1;
  background: rgba(0, 0, 0, .6);
  height: 100%;
  width: 100%;
  position: absolute;
  left: 0%;
  top: 0%;
  overflow: hidden;
  backdrop-filter: blur(20px);
}

#autoplaytext{
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

/* UUID */
#UUID{
  position: absolute;
  left: 2%;
  top: 3%;
  color: white;
  background: rgba(0,0,0,.4);
  width: 3rem;
  justify-content: center;
  display: flex;
  font-size: 15px;
  align-items: center;
  border-radius: 1rem;
  transition: .25s ease-in-out;
}
#UUID:hover{
  transition: .25s ease-in-out;
  color: var(--theme-color);
}

/* Settings */
#settingsbutton{
  display: flex;
  position: absolute;
  right: .5%;
  background: rgba(0,0,0,.4);
  height: 32px;
  width: 32px;
  justify-content: center;
  align-items: center;
  border-radius: 8px;
  cursor: pointer;
}

#settingsmenu{
  display: flex;
  position: absolute;
  color: #e3256b;
  font-size: 16px;
  font-weight: 400;
  width: 10%;
  align-items: center;
  right: -10.5%;
  top: 4%;
  border-radius: 20px;
  height: 25%;
  flex-direction: column;
  justify-content: flex-start;
  padding: 10px 0px 0px 0px;
  transition: .5s ease-in-out;
}

.smsetting{
  background: rgba(0,0,0,.5);
  border-radius: 20px 20px 20px 20px;
  display: flex;
  width: 100%;
  height: auto;
  justify-content: center;
  transition: .5s ease-in-out;
  cursor: pointer;
  margin-bottom: 2px;
}

.smsetting:hover{
  background: rgba(50, 50, 50, .4);
  transition: .5s ease-in-out;
}


/* Spotify Code */
#listening-container{
  color: white;
  display: flex;
  align-items: center;
  width: 90%;
  margin-bottom: 1rem;
}

#album-art{
  width: 64px;
  padding-right: 1rem;
}

#progress { 
  position: absolute;
  background: red; /* Ensure green background */
  border-radius: 4px; 
  width: 0%;
  display: flex;
  max-width: 100%;
  overflow: hidden;
}
#progress-bar{
  margin: 5px 0px 5px 0px;
}

#progress-bar { 
  width: 100%;
  border-radius: 4px;  
  height: 6px;  
  overflow: hidden; /* Prevent overflow */
  position: relative; 
}
#progress { 
  height: 100%; 
  background: #e3256b; 
  border-radius: 4px; 
  width: 0%; 
  position: absolute; 
  transition: width 0.1s; 
  max-width: 100%; /* Ensure it doesn't exceed 100% */
}

#track-info{
  width: 100%;
  max-width: 100%;
}