.music-player {
	position: absolute;
	top: 10px;
	right: 10px;
	width: 400px;
	box-sizing: content-box;
}

.music-top-background {
	position: absolute;
	background-image: url("/sites/modulo/chips.png");
	/* background-image: url("/resources/img/chips.png"); */
	height: calc(120px / 2 + 20px);
	width: 400px;
	z-index: 2;
}
.music-top {
	position: relative;
	top: 0;
	z-index: 4;

	background-color: color-mix(in srgb, var(--main-color) 70%, transparent);
	height: calc(120px / 2 + 20px);
	padding: 0 15px;

	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
}
.music-screen {
	border: 3px var(--main-color-shadow) solid;
	border-bottom: 3px var(--main-color-light) solid;
	border-right: 3px var(--main-color-light) solid;

	height: 50px;
	background-color: black;
	color: white;

	padding: 3px;
	font-size: 16px;

	width: 300px;
	text-wrap: nowrap;
	overflow: hidden;
}

.music-sub {
	color: var(--acct-text-color);
	background-color: var(--acct-color);
	height: 50px;

	width: 370px;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 6px;
	padding: 0 12px;

	position: relative;
	z-index: 1;
	transition: transform 0.5s linear;
}
.music-sub.hide {
	transform: translateY(-50px);
}

.music-peg {
	position: absolute;
	width: 18px;
	height: 18px;
	background-color: var(--main-color-shadow);
	z-index: 5;
	bottom: calc(50px - 9px);
	left: -9px;
}

.music-cd {
	position: absolute;
	left: -60px;
	top: 22px;
	z-index: 3;
	animation: rotation 3s infinite linear;
	animation-play-state: paused;
}
@keyframes rotation {
	0% {
		transform: rotate(0deg);
		/* Start at 0 degrees */
	}

	100% {
		transform: rotate(360deg);
		/* Rotate to 360 degrees */
	}
}

.music-btn {
	background-color: #c0c0c0;

	border: 3px #505050 solid;
	border-left: 3px #909090 solid;
	border-top: 3px #909090 solid;

	padding: 0;
	margin: 0;
	line-height: 0;
}
.music-btn:active {
	border: 3px #505050 solid;
	border-bottom: 3px #909090 solid;
	border-right: 3px #909090 solid;
}
.music-btn:active img {
	position: relative;
	top: 1px;
	left: 1px;
}

.music-top,
.music-top-background {
	clip-path: polygon(
		/*0px calc(100% - 12px),
            3px calc(100% - 12px),
            3px calc(100% - 6px),
            6px calc(100% - 6px),
            6px calc(100% - 3px),
            12px calc(100% - 3px),
            12px 100%, */
			0px 100%,
		calc(100% - 12px) 100%,
		calc(100% - 12px) calc(100% - 3px),
		calc(100% - 6px) calc(100% - 3px),
		calc(100% - 6px) calc(100% - 6px),
		calc(100% - 3px) calc(100% - 6px),
		calc(100% - 3px) calc(100% - 12px),
		100% calc(100% - 12px),
		100% 12px,
		calc(100% - 3px) 12px,
		calc(100% - 3px) 6px,
		calc(100% - 6px) 6px,
		calc(100% - 6px) 3px,
		calc(100% - 12px) 3px,
		calc(100% - 12px) 0px,
		12px 0px,
		12px 3px,
		6px 3px,
		6px 6px,
		3px 6px,
		3px 12px,
		0px 12px
	);
}

.music-peg {
	clip-path: polygon(
		0px calc(100% - 3px),
		3px calc(100% - 3px),
		3px 100%,
		calc(100% - 3px) 100%,
		calc(100% - 3px) calc(100% - 3px),
		100% calc(100% - 3px),
		100% 3px,
		calc(100% - 3px) 3px,
		calc(100% - 3px) 0px,
		3px 0px,
		3px 3px,
		0px 3px
	);
}

.music-sub {
	clip-path: polygon(
		0px 0px,

		0px calc(100% - 12px),
		3px calc(100% - 12px),
		3px calc(100% - 6px),
		6px calc(100% - 6px),
		6px calc(100% - 3px),
		12px calc(100% - 3px),
		12px 100%,

		0px 100%,
		calc(100% - 12px) 100%,
		calc(100% - 12px) calc(100% - 3px),
		calc(100% - 6px) calc(100% - 3px),
		calc(100% - 6px) calc(100% - 6px),
		calc(100% - 3px) calc(100% - 6px),
		calc(100% - 3px) calc(100% - 12px),
		100% calc(100% - 12px),
		100% 0px
			/* calc(100% - 3px) 12px,
            calc(100% - 3px) 6px,
            calc(100% - 6px) 6px,
            calc(100% - 6px) 3px,
            calc(100% - 12px) 3px,
            calc(100% - 12px) 0px, 
            12px 0px,
            12px 3px,
            6px 3px,
            6px 6px,
            3px 6px,
            3px 12px,
            0px 12px  );   */
	);
}

.music-track {
	font-size: 14px;
	display: flex;
	flex-direction: column;
	gap: 2px;
	height: 32px;
}

.music-scrub {
	width: 215px;
	height: 14px;
	border: 3px var(--acct-color-light) solid;
	border-top: var(--acct-color-dark) solid;
	border-left: var(--acct-color-dark) solid;
	background-color: #c0c0c0;
}
.music-scrub-inner {
	width: 0%;
	height: 100%;
	background-color: var(--music-scrub-inner);
}

.music-times {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
}



.marquee {
	display: flex;
	overflow: hidden;
	white-space: nowrap;
	width: 100%;
}

.marquee__item {
	animation-duration: 8s; 
	animation-iteration-count: infinite;
	animation-name: marquee-content;
	animation-timing-function: linear;
	padding-right: 20px;
	/* padding: 5px 15px 5px 15px; */
	flex-shrink: 0;
}

/* .marquee:hover .marquee__item {
	animation-play-state: paused;
} */

@keyframes marquee-content {
	0% {
				transform: translateX(0%);
			}
	10% {
		transform: translateX(0%);
	}

	100% {
		transform: translateX(-99.8%);
	}
}