:root {
    --background-color: #1e1e2e;
    --card-background-color: #313244;
    --text-color: #cdd6f4;     
    --subtext-color1: #bac2de; 
    --subtext-color0: #a6adc8; 
    --icon-color: #8f93ac; 
    --hover-color: #cba6f7; 
}

.button {
  position: absolute;
  top: 20px; 
  left: 20px; 
  z-index: 11;
  background-color: #313244;
  border: 3px #cba6f7 solid;
  border-radius: 10px;
  color: white;
  cursor: pointer;
  padding: 15px 15px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
}

button a {
	font-family: Monospace;
	text-decoration: none;
}


a {
  color: #cba6f7;
}

a:visited {
  color: #B0A6F7;
}

body {
  margin: 0;
  font-family: Monospace, sans-serif;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  color: #cba6f7;
  position: relative;
}

#particles-js{
  position:fixed;
  width: 100%;
  height: 100%;
  background-color: #1e1e2e;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 50% 50%;
}

.about-me {
  background-color: var(--card-background-color);
  max-width: 400px;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.icon {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-bottom: 10px;
}

h1 {
    font-size: 24px;
    margin: 0;
    color: var(--text-color);
}

p {
    font-size: 16px;
    color: var(--subtext-color0);
}

.social-icons {
    margin-top: 20px;
}

.social-icons a {
    font-size: 24px;
    margin: 0 10px;
    text-decoration: none;
    color: var(--icon-color);
}

.social-icons a:hover {
    color: var(--hover-color);
}


.overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}
.popup-content {
  background: #1e1e2e;
  padding: 20px;
  border-radius: 10px;
  text-align: left;
  position: relative;
}
.close-btn {
  position: absolute;
  color: #cba6f7;
  top: 10px; right: 10px;
  background: #1e1e2e;
  border: none;
  font-size: 30px;
  cursor: pointer;
}

.close-btn:hover {
  color: #eb0c0c;
}

.overlay-text h1 {
  color: #cba6f7;
  font-size: 2rem;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.6);
  margin-bottom: 10px;
  text-align: center;
}

.overlay-text p {
  color: #cba6f7;
  font-size: 1rem;
  text-align: center;
}

.fade-out {
  animation: fadeOut 1s forwards;
}

@keyframes fadeOut {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

.music-player {
  position: absolute;
  top: 20px;
  right: 20px;
  text-align: center;
  background-color: #1e1e2e;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(203, 166, 247, 0.3);
  width: 30%;

@media only screen and (max-width: 600px) {
  width: 50%;
}

@media only screen and (min-width: 600px) and (max-width: 1000px) {
  width: 25%;
}

@media only screen and (min-width: 1000px) and (max-width: 1149px) {
  width: 22%;
}

@media only screen and (min-width: 1150px) {
  width: 20%;
}

@media only screen and (min-width: 2500px) {
	width: 15%;
}

@media only screen and (min-width: 5000px){
	width: 10%;
}
}
#album-cover {
  width: 50%;
  border-radius: 12px;
}

#track-title {
  font-size: 1.5rem;
  margin: 10px 0 5px 0;
}

#track-artist {
  font-size: 1rem;
  color: #888;
}

.controls {
  margin-top: 15px;
  display: flex;
  justify-content: center;
  gap: 15px;
}

.control-button {
  font-size: 1.5rem;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

.control-button:hover {
  color: #61dafb;
}

.progress {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
  color: #cba6f7;
}

#progress-bar {
  width: 60%;
}

.extra-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 10px;
  gap: 10px;
}

#volume-slider {
  width: 100px;
}

#speed-control {
  cursor: pointer;
}
