File size: 2,440 Bytes
b0dd51d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
/* Reset some default styles */
body, h1, h2, p, figure, audio {
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: #f5f5f5;
  color: #333;
}

.header {
  background-color: #ff9900;
  color: #fff;
  padding: 20px;
  text-align: center;
}

.song-box {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}

.song-info {
  display: flex;
  align-items: center;
  margin-right: 20px;
}

.song-cover {
  width: 100px;
  height: 100px;
  object-fit: cover;
  margin-right: 20px;
}

.song-details {
  display: flex;
  flex-direction: column;
}

.song-title {
  font-weight: bold;
  margin-bottom: 5px;
}

.song-artist {
  font-size: 14px;
  color: #888;
}

footer {
  background-color: #333;
  color: #fff;
  padding: 10px;
  text-align: center;
}
.audio-player { 
  display: flex; 
  align-items: center;
  margin-bottom: 10px; /* Add a little space below the player */
}

.progress-container {
  width: 250px; /* Adjust width as needed */
  height: 5px;
  background-color: #333;
  border-radius: 5px;
  cursor: pointer;
  margin-bottom: 5px; /* Small margin below the bar */
}

.progress {
  height: 100%; 
  background-color: #1ed760; /* Spotify green */
  border-radius: 5px;
  width: 0%; /* Start with 0% progress */
  transition: width 0.2s ease-out;
}

.time {
  margin-left: 10px;
  color: #ccc; /* Light font color */
  font-size: 14px; 
}
.time {
  margin-left: 10px;
  color: #ccc; /* Light font color */
  font-size: 14px; 
}
.player-controls-wrapper { 
  display: flex; /* Keeps buttons in a row */
  justify-content: center; /* Centers them horizontally */
  margin-bottom: 15px; /* Spacing below buttons */
}

.player-btn {
  background-color: #333; /* Dark background */
  border: none;
  color: #fff;      /* White text */
  border-radius: 50%;   /* Circular  */
  cursor: pointer;
  font-size: 18px;   
  width: 35px;      
  height: 35px;
  margin: 0 5px; /* Spacing between buttons */
  transition: background-color 0.3s ease; /* For hover effect */
}

.player-btn.play-pause {
  font-size: 20px; /* Slightly bigger play/pause icon */
}

.player-btn:hover {
 background-color: #555; /* Slightly darker on hover */
}