/**
 * Play/Pause/Lade-Icon zentriert auf .team-mitglied-portrait.
 * Logik & Zustandswechsel: js/team-spotify-player.js
 */

.team-mitglied-portrait {
	position: relative;
}

.fj-spotify-icon {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.5);
	display: flex;
	align-items: center;
	justify-content: center;
	pointer-events: none;
	z-index: 6;
}

.fj-spotify-icon__play,
.fj-spotify-icon__pause {
	width: 24px;
	height: 24px;
	fill: #ffffff;
	display: none;
}

.fj-spotify-icon__loading {
	display: none;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	border: 2.5px solid rgba(255, 255, 255, 0.35);
	border-top-color: #ffffff;
	animation: fj-spotify-icon-spin 0.8s linear infinite;
}

.fj-spotify-icon[data-state="play"] .fj-spotify-icon__play {
	display: block;
}

.fj-spotify-icon[data-state="pause"] .fj-spotify-icon__pause {
	display: block;
}

.fj-spotify-icon[data-state="loading"] .fj-spotify-icon__loading {
	display: block;
}

@keyframes fj-spotify-icon-spin {
	to {
		transform: rotate(360deg);
	}
}
