/* songList.css */

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #fff;
  color: #000;
}

header {
  position: sticky;
  top:0;
  z-index: 5;
  background-color: #000000ba;
  padding: 20px;
  text-align: center;
  color: white;
}

main {
  padding: 20px;
  text-align: center;
}

.song-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
}

.song {
  background-color: #fffde7;
  padding: 15px;
  border-radius: 10px;
  width: 280px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  transition: transform 0.3s;
}

.song:hover {
  transform: translateY(-5px);
}

.song h3,
.song p {
  margin: 10px 0;
}

.song-image {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
}

.song-image img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
}

.overlay-wrapper {
  position: relative;
}

.overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.4);
  opacity: 0;
  transition: opacity 0.3s;
  border-radius: 8px;
  z-index: 1;
}

.play-button {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255,255,255,0.8);
  color: #000;
  font-size: 24px;
  padding: 10px 15px;
  border-radius: 50%;
  text-decoration: none;
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 2;
}

.overlay-wrapper:hover .overlay,
.overlay-wrapper:hover .play-button {
  opacity: 1;
}

.more-link {
  display: inline-block;
  margin-top: 15px;
  padding: 8px 16px;
  background-color: #000;
  color: #fff;
  text-decoration: none;
  border-radius: 20px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.more-link:hover {
  background-color: #333;
}

footer {
  margin-top: 50px;
  background-color: #000000ba;
  text-align: center;
  padding: 15px;
  color: #ffffff;
}
.back-home-button {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 16px;
  background-color: green;
  color: white;
  text-decoration: none;
  border-radius: 25px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.back-home-button:hover {
  background-color:black;
}
.menu {
  display: flex;
  gap: 20px;
}

.menu-link {
  color: white;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 20px;
  transition: 0.3s;
}

.menu-link:hover {
  background-color: white;
  color: black;
}

main {
  flex: 1;
  padding: 30px;
}

.album {
  margin-bottom: 40px;
}

.album h2 {
  margin-bottom: 10px;
  color: #333;
  border-bottom: 2px solid #ddd;
}

.songs {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.song {
  background-color: #f9f9f9;
  padding: 10px;
  width: 200px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.3s;
}

.song:hover {
  transform: scale(1.05);
}

.song img {
  width: 100%;
  border-radius: 10px;
}

.song p {
  margin: 10px 0 5px;
  font-weight: bold;
}

.song a {
  text-decoration: none;
  color: #2196f3;
  font-weight: bold;
}

.user-info {
  display: flex;
  align-items: center;
  gap: 10px;
  position: absolute;
  top: 95px;
  right: 25px;
  color: white;
  font-weight: bold;
}

.logout-btn {
  display: inline-block;
  padding: 6px 12px;
  background-color: #ff4d4d;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.logout-btn:hover {
  background-color: #e60000;
}



