body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 20px;
  background-color: #f5f5f5;
}

h1 {
  text-align: center;
  color: #333;
}

#fileInput {
  margin-bottom: 10px;
  background-color: #2196f3;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

#fileInput:hover {
  background-color: #1976d2;
}

#playlist {
  list-style-type: none;
  padding: 0;
}

#playlist li {
  margin-bottom: 5px;
  background-color: #fff;
  padding: 10px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#playlist li:hover {
  background-color: #f2f2f2;
}

#playlist li span {
  margin-right: 10px;
}

#playlist li button {
  padding: 5px 10px;
  background-color: #ff5252;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

#playlist li button:hover {
  background-color: #ff1744;
}

#audioPlayer {
  width: 100%;
  margin-top: 10px;
}

#coverImage {
  display: block;
  margin: 20px auto;
  max-width: 300px;
  max-height: 300px;
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

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

.controls button {
  padding: 10px 20px;
  background-color: #333;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.controls button:not(:last-child) {
  margin-right: 10px;
}

.controls button:hover {
  background-color: #555;
}

/* Responsive Styles */

@media screen and (max-width: 768px) {
  body {
    padding: 10px;
  }
  
  #playlist li {
    flex-direction: column;
    align-items: flex-start;
  }
  
  #playlist li span {
    margin-right: 0;
    margin-bottom: 5px;
  }
  
  #playlist li button {
    margin-top: 5px;
    padding: 15px 30px; /* Increase button padding for mobile */
    font-size: 18px; /* Increase font size for mobile */
  }
  
  .controls {
    flex-direction: column;
    align-items: center;
  }
  
  .controls button {
    margin-top: 10px;
    padding: 15px 30px; /* Increase button padding for mobile */
    font-size: 18px; /* Increase font size for mobile */
  }
}