/* social links */
.social-links {
	display: flex;
	justify-content: center;
	gap: 1px;
	margin: 25px 0 15px;
}

.social-links a {
	text-decoration: none;
	color: #333;
	margin: 0 10px;
}

.social-links a:hover .social-icons {
	color: #ffc509;
	transform: translateY(-2px);
	filter: brightness(1.2) saturate(1.5);
}

.social-icons {
	width: 20px;
	height: 20px;
	transition: transform 0.2s ease, filter 0.2s ease;
}

/* message box */
#messageForm {
display: flex;
flex-direction: column;
align-items: center;
width: 90%;
min-width: 200px;
max-width: 600px;
margin: 20px auto;
}


#userMessage {
width: 100%;
height: 100px;
resize: none;
text-align: center;
vertical-align: middle;
padding-top: 20px;
box-sizing: border-box;
font-family: inherit;
font-size: 16px;
}


#userMessage:focus,
#userMessage:not(:placeholder-shown) {
outline: none;
padding-top: 20px;
text-align: center;
}

#messageForm button[type="submit"] {
width: 100%;
height: 30px;
cursor: pointer;
font-size: 16px;
font-weight: bold;
background-color: #fafafa;
border-top: none;
}


/* now playing */
.now-playing-container {
	display: flex;
	align-items: center;
	gap: -10px;
	margin: 0 auto;
	width: fit-content;
}

.now-playing-status {
	flex-shrink: 0;
	width: 30px;
	text-align: center;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	gap: 3px;
	height: 24px;
}

.equalizer {
	display: flex;
	align-items: flex-end;
	gap: 1px;
	transform: translateY(-4px);
}

.equalizer span {
	display: block;
	width: 3px;
	height: 12px;
	background-color: #7fcfff;
	border-radius: 2px;
	transform-origin: bottom;
	animation: wave 1s cubic-bezier(.43,.01,.37,1) infinite;
}

/* wave equalizer */
.equalizer span:nth-child(1) { animation-delay: 0s; }
.equalizer span:nth-child(2) { animation-delay: 0.08s; }
.equalizer span:nth-child(3) { animation-delay: 0.16s; }
.equalizer span:nth-child(4) { animation-delay: 0.24s; }
.equalizer span:nth-child(5) { animation-delay: 0.32s; }

@keyframes wave {
	0%   { transform: scaleY(0.4); }
	25%  { transform: scaleY(1.0); }
	50%  { transform: scaleY(0.6); }
	75%  { transform: scaleY(0.9); }
	100% { transform: scaleY(0.4); }
}

.now-playing {
	width: 200px;
	overflow: hidden;
}

.now-playing p {
	margin: 0;
	white-space: nowrap;
	display: inline-block;
	will-change: transform;
	animation: scroll var(--duration,10s) linear forwards;
}

@keyframes scroll {
	0%   { transform: translateX(var(--start,100%)); }
	100% { transform: translateX(var(--end,-100%)); }
}

.now-playing-count {
	flex-shrink: 0;
	width: 40px;
	text-align: center;
}

.count-text {
	font-size: 10px;
	display: inline-block;
	transform: translateY(1px);
	transform: translateX(-5px);
}

