body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  background-color: #111;
  color: white;
  height: 100%;
  overflow: vertical;
  background-size: cover;
}

.page-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('cover.jpg');
  background-size: cover;
  background-position: center;
  filter: blur(50px) saturate(50%);
  z-index: -1;
}

.album-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  width: 100%;
  flex-direction: column;
  text-align: center;
}

.album {
  width: 40%;
  max-width: 45vh;
  background-color: rgba(0, 0, 0, 0.7);
  border-radius: 10px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.7);
  padding: 20px;
  max-height: 200vh;
  overflow: auto; 
} 

.album-art-container {
  position: relative;
  width: 100%;
  max-height: 100vw;
  height: 100cw;
  padding-bottom: 100%; /* Square aspect ratio */
  background-size: cover;
  background-position: center;
  border-radius: 10px;
  
}

.album-art {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.album-art:hover {
	 filter: brightness(50%);
}

.current-track {
  margin-bottom: 20px; /* ensures space between now playing and tracklist */
  padding: 10px;
  background-color: rgba(0, 0, 0, 0.6);
  border-radius: 5px;
  font-size: 14px;
  text-align: center;
  color: #fff;
}

.current-track .main-audio {
  margin-top: 10px;
  width: 100%;
}

.play-button {
  font-size: 48px;
  color: white;
  display: none;
  z-index: 2;
}

.album-art-container:hover .play-button {
  display: block;
}

.album-info {
  margin-top: 20px;
}

h1, p {
  margin: 5px 0;
}

.track-list {
  margin-top: 20px;
  max-height: 0px;
  overflow-y: auto;
  display: block;
  transition: max-height 0.5s ease;
}

.track-button {
  background-color: rgba(0, 0, 0, 0.6);
  color: #fff;
  border: none;
  border-radius: 5px;
  padding: 5px 10px;
  cursor: pointer;
  transition: background-color 0.3s;
  width: 100%;
}

.track-button:hover {
  background-color: rgba(255, 255, 255, 0.1);
}


.play-button:hover {
  color: #aaa;
  cursor: pointer;
}


.links {
  margin-top: 20px;
}

.links a {
  width: 96%;
  color: white;
  text-decoration: none;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 1%;
  margin: 1%;
  display: block;
  transition: background-color 1s ease;
  border-radius: 10px;
}

.links a:hover {
  background-color: rgba(0, 0, 0, 1);
  
}

.links a i {
  margin-right: 8px;
  font-size: 22px;
}

@media (max-width: 1018px) {
  .album {
    width: 90%;
    padding: 15px;
    max-width: 90vw;
  }
  h1 {
    font-size: 3vh;
  }
  p {
    font-size: 3vw;
  }
}

@media (max-height: 872px) {
  .album {
    padding: 15px;
    width: 60%;
  }
  h1 {
    font-size: 100%;
  }
  p {
    font-size: 80%;
  }
  .links a i {
	   font-size: 80%;
  }
}

