@import url("https://dashboard.deltaplayer.net/DeltaPlayer/player/components/JiggleComponent/jiggle.css");

:root {
  --primary-color: #e3b282;
  --secondary-color: #BA8A5B;
  --old-primary-color: transparent;
  --old-secondary-color: #7e7171;
  --button-color: #2E3238;
}

#currentTime {
	margin: 0 5px 0 5px;
}

#compareWidget {
	background: linear-gradient(180deg, rgba(70,72,102,1) 0%, #675c69 100%);
  	border-radius: 20px;
	box-sizing: border-box;  
	box-shadow: rgba(246, 177, 122, 0.4) 0px 5px, rgba(246, 177, 122, 0.3) 0px 10px, rgba(246, 177, 122, 0.2) 0px 15px, rgba(246, 177, 122, 0.1) 0px 20px, rgba(246, 177, 122, 0.05) 0px 25px;

  	border: 3px solid #7077a199;
	color: white;
	margin: auto;
	overflow: hidden;
	max-width: 470px;
	border-radius: 12px;
	font-family: 'Geologica', sans-serif;
	font-size: 14px;
	font-weight: 300;

	-webkit-user-select: none;
	-ms-user-select: none;
	user-select: none;
	outline: none;
	touch-action: manipulation;
	-webkit-tap-highlight-color: transparent;
}

#allPlayers {
	width: 100%;
	margin: auto;
}

.audio-player {

	background-color:  var(--primary-color);
	color: #2E3238
	-webkit-transition: .4s;
	transition: .4s;
	padding: 15px 20px;
	margin: auto;
	background-color: var(--primary-color);
	display: flex;
	flex-direction: column;
	border-radius: 0 0 16px 16px;
}

.audio-player .player-controls {
	position: relative;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 5px;
}

.audio-player #playAudio {
	-webkit-appearance: none;
	outline: none;
	cursor: pointer;
	border: none;
	background-size: contain;
	background-color: transparent;
	-webkit-transition: .4s;
	transition: .4s;
	margin-right: 5px;

}

.audio-player p {
	margin: 0 0 0 5px;
	line-height: 1;
	display: inline-flex;

	-webkit-transition: .4s;
	transition: .4s;
}

.audio-player .seekContainer {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.audio-player #seekObjContainer {
	position: relative;
	width: 300px;
	margin: 0 5px;
	height: 5px;
}

.audio-player img {
	height: 250px;
	width: 250px;
	margin: 0 auto;
	margin: auto;
	margin-left: auto;
	border-radius: 20px;
	margin-bottom: 16px;
	transition: all 0.4s;
	box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px;
}

.audio-player.old img {
	opacity: 0.7;
	filter: grayscale(70%);
	scale: 0.97;
}

.audio-player #seekObjContainer #seekObj {
	-webkit-transition: .4s;
	transition: .4s;
	position: relative;
	width: 100%;
	height: 100%;
}

.audio-player #seekObjContainer #seekObj #percentage {
	-webkit-transition: .4s;
	transition: .4s;
	position: absolute;
	left: 0;
	top: 0;
	height: 100%;
}


.audio-player #switchContainer {
	font-weight: 400;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-content: center;
	align-items: center;
	gap: 5px;
}

.audio-player #switchContainer p {
	font-size: 11px;
	margin: 0;
	text-align: center;
}

/* STYLES FOR THE TOGGLESWITCH */
.switch {
	position: relative;
	display: block;
	width: 17px;
	height: 30px;
}

.switch input {
	opacity: 0;
	width: 0;
	height: 0;
}

.slider {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #ccc;
	-webkit-transition: .4s;
	transition: .4s;
}

.slider:before {
	position: absolute;
	content: "";
	height: 13px;
	width: 13px;
	left: 2px;
	bottom: 2px;
	background-color: white;
	-webkit-transition: .4s;
	transition: .4s;
}

input:checked+.slider {
	background-color: #2196F3;
}

input:checked+.slider:before {
	-webkit-transform: translateY(-13px);
	-ms-transform: translateY(-13px);
	transform: translateY(-13px);
}

/* Rounded sliders */
.slider.round {
	border-radius: 17px;
}

.slider.round:before {
	border-radius: 50%;
}

/* SONG BUTTONS */
#songButtons .songButton {
	cursor: pointer;
	-webkit-user-select: none;
	-ms-user-select: none;
	user-select: none;
	outline: none;
	touch-action: manipulation;
	-webkit-tap-highlight-color: transparent;
	background-color: transparent;
	margin: 5px auto;
	border-radius: 16px;
	height: 50px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-left: 20px;
	padding-right: 20px;
	transition: background-color 0.25s ease, color 0.25s ease;
	margin: 5px 5px;
}

#songButtons .songButton.active, #songButtons .songButton:hover {
	background-color: #FFFFFF30;
}

#songButtons .songButton .song-title {
	font-weight: 400;
	margin-bottom: 4px;
}

#songButtons .songButton .song-info {
	text-align: left;
}


#versionText {
	min-width: 58px;
	text-align: left;
}


.audio-player #playAudio::before {
	color: #2E3238
}

.audio-player input:checked+.slider {
	background-color: var(--secondary-color);
}

.audio-player input:checked+.slider:before {
	background-color: #F0F0F0
}

.audio-player #seekObj {
	background-color: var(--secondary-color);
}

.audio-player #seekObj #percentage {
	background-color: white;
}

.audio-player.old {
	background-color: var(--old-primary-color);
	color: #F0F0F0
}

.audio-player.old #playAudio::before {
	color: #F0F0F0
}

.audio-player.old .slider {
	background-color: #2E3238
}

.audio-player.old .slider:before {
	background-color: #F0F0F0
}

.audio-player.old #seekObj {
	background-color: #2E3238
}


@media (min-width: 960px) {
  #compareWidget {
    transform-origin: center;
  }
}

#currentTime {
	font-weight: 400;
}

.audio-player #seekObjContainer #seekObj {
	border-radius: 5px;
}

.audio-player #seekObjContainer #seekObj #percentage {
	border-radius: 5px;
}

.song-artist {
	color: #d0d0d0;
}

.song-service {
	color: #d0d0d0;
}

/* ICONS */


.play-icon, #playAudio div{            
    background-color: white;
    webkit-mask-image: url('data:image/svg+xml;utf8, <svg class="w-6 h-6 text-gray-800 dark:text-white" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="48" height="48" fill="currentColor" viewBox="0 0 24 24"><path fill-rule="evenodd" d="M8.6 5.2A1 1 0 0 0 7 6v12a1 1 0 0 0 1.6.8l8-6a1 1 0 0 0 0-1.6l-8-6Z" clip-rule="evenodd"/></svg>');
    mask-image:  url('data:image/svg+xml;utf8, <svg class="w-6 h-6 text-gray-800 dark:text-white" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="48" height="48" fill="currentColor" viewBox="0 0 24 24"><path fill-rule="evenodd" d="M8.6 5.2A1 1 0 0 0 7 6v12a1 1 0 0 0 1.6.8l8-6a1 1 0 0 0 0-1.6l-8-6Z" clip-rule="evenodd"/></svg>');
    width: 48px;
    height: 48px;
}

.pause-icon, #playAudio.pause div {            
    background-color: white;
    webkit-mask-image: url('data:image/svg+xml;utf8, <svg class="w-6 h-6 text-gray-800 dark:text-white" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="48" height="48" fill="currentColor" viewBox="0 0 24 24"><path fill-rule="evenodd" d="M8 5a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h1a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2H8Zm7 0a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h1a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2h-1Z" clip-rule="evenodd"/></svg>');
    mask-image: url('data:image/svg+xml;utf8, <svg class="w-6 h-6 text-gray-800 dark:text-white" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="48" height="48" fill="currentColor" viewBox="0 0 24 24"><path fill-rule="evenodd" d="M8 5a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h1a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2H8Zm7 0a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h1a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2h-1Z" clip-rule="evenodd"/></svg>');
    width: 48px;
    height: 48px;
}
