@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

body {
	margin: 0;
}

.grid {
	width: 100vw;
	height: 100vh;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 10;
	pointer-events: none;
}

.grid {
	background-image:
		repeating-linear-gradient(rgba(204, 204, 204, 0.2) 0 1px, transparent 1px 100%),
		repeating-linear-gradient(90deg, rgba(204, 204, 204, 0.2) 0 1px, transparent 1px 100%);
	background-size: 10px 10px;
}

:root {
	--dark-black-color: #292D33;
	--dark-grey-color: #393E46;
	--dark-teal-color: #00ADB5;
	--dark-teal-light-color: #AAD8D3;
	--dark-white-color: #EEEEEE;
	--light-black-color: #343A40;
	--light-white-color: #E1E8EB;
	--light-yellow-color: #FFC107;
	--light-violet-color: #7952B3;
}

.gp-player-wrapper {
	position: relative;
	width: 100%;
	height: auto;
	padding: 40px 0;
	transition: all 600ms cubic-bezier(0, 0.55, 0.45, 1);
	box-sizing: border-box;
}

.gp-player-wrapper.playlist-open {
	padding: 20px 0;
}

.gp-player-wrapper * {
	box-sizing: border-box;
}

.gp-player-container {
	position: relative;
	width: 100%;
	height: 150px;
	border-radius: 10px;
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: flex-start;
	align-content: stretch;
	align-items: flex-start;
	z-index: 2;
}

.gp-player-left-side {
	position: relative;
	width: 210px;
	height: 150px;
	order: 0;
	flex: 0 0 auto;
	align-self: auto;
	transition: all 600ms cubic-bezier(0, 0.55, 0.45, 1);
}

.gp-player-cover-wrapper {
	position: absolute;
	width: 190px;
	height: 190px;
	left: 20px;
	top: -20px;
	border-radius: 10px 10px 10px 10px;
	transition: all 600ms cubic-bezier(0, 0.55, 0.45, 1);
	order: 0;
	flex: 1 1 auto;
	align-self: auto;
	z-index: 1;
}

.gp-player-cover-wrapper:before,
.gp-player-cover-wrapper:after {
	position: absolute;
	content: "";
	width: 50%;
	height: 50%;
	top: 50%;
	left: 50%;
	border-radius: 50%;
}

.gp-player-cover-wrapper:before {
	transform: translate(-50%, -50%);
}

.gp-player-cover-wrapper:after {
	border-right: 10px solid transparent;
	border-bottom: 10px solid transparent;
	border-left: 10px solid transparent;
	transform: translate(-50%, -50%) rotate(0deg);
	animation: coverLoader 1s cubic-bezier(0.76, 0, 0.24, 1) infinite;
}

@keyframes coverLoader {
	0% {
		transform: translate(-50%, -50%) rotate(0deg);
	}
	100% {
		transform: translate(-50%, -50%) rotate(360deg);
	}
}

.gp-player-song-cover-blurred {
	position: absolute;
	display: block;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	object-fit: cover;
	border-radius: 10px 10px 10px 10px;
	transition: all 600ms cubic-bezier(0, 0.55, 0.45, 1);
	filter: blur(15px) saturate(2);
	z-index: 2;
	opacity: 0;
}

.gp-player-song-cover {
	position: relative;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 10px 10px 10px 10px;
	transition: all 600ms cubic-bezier(0, 0.55, 0.45, 1);
	z-index: 3;
	opacity: 0;
}

.gp-player-right-side {
	position: relative;
	min-width: 0;
	width: 100%;
	height: 150px;
	padding: 20px;
}

.gp-player-song {
	position: relative;
	width: 100%;
}

.gp-player-song-title {
	position: relative;
	height: 25px;
	font-family: 'Roboto', sans-serif;
	font-size: 20px;
	font-weight: 700;
	line-height: 24px;
	overflow: hidden;
	margin-top: -4px;
}

.gp-player-song-artist {
	position: relative;
	height: 20px;
	margin-top: 0px;
	font-family: 'Roboto', sans-serif;
	font-size: 14px;
	font-weight: 400;
	line-height: 20px;
	overflow: hidden;
}

.gp-player-song-title span,
.gp-player-song-artist span {
	position: relative;
	display: block;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.gp-player-seek {
	position: relative;
	margin-top: 10px;
	width: 100%;
	height: 10px;
	border-radius: 5px;
	cursor: pointer;
	overflow: hidden;
	isolation: isolate;
}

.gp-player-buffered {
	position: absolute;
	width: 0;
	height: 100%;
	left: 0;
	bottom: 0;
	opacity: 0.25;
	transition: all 250ms;
}

.gp-player-progress {
	position: relative;
	width: 0%;
	height: 10px;
	pointer-events: none;
	z-index: 1;
}

.gp-player-loader {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	z-index: 2;
	pointer-events: none;
	opacity: 0;
	transition: all 250ms;
}

.gp-loading .gp-player-loader {
	opacity: 1;
}

.gp-player-loader span {
	position: absolute;
	width: 6px;
	height: 6px;
	left: -6px;
	top: 2px;
	border-radius: 3px;
}

.gp-loading .gp-player-loader span {
	animation: gpLoader 1s cubic-bezier(0.76, 0, 0.24, 1) infinite;
}

.gp-player-loader span:nth-child(1) {
	-webkit-animation-delay: 0ms;
	-o-animation-delay: 0ms;
	animation-delay: 0ms;
}

.gp-player-loader span:nth-child(2) {
	-webkit-animation-delay: 100ms;
	-o-animation-delay: 100ms;
	animation-delay: 100ms;
}

.gp-player-loader span:nth-child(3) {
	-webkit-animation-delay: 200ms;
	-o-animation-delay: 200ms;
	animation-delay: 200ms;
}

@keyframes gpLoader {
	0% {
		left: -6px;
	}
	50% {
		width: calc(6px * 5);
	}
	100% { 
		left: 100%;
	}
}

.gp-player-timestamps {
	position: relative;
	width: 100%;
	height: 10px;
	margin-top: 5px;
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: space-between;
	align-content: stretch;
	align-items: center;
}

.gp-song-currenttime,
.gp-song-duration {
	position: relative;
	font-family: 'Roboto', sans-serif;
	font-size: 10px;
	font-weight: 400;
	line-height: 10px;
	order: 0;
	flex: 0 0 auto;
	align-self: auto;
}

.gp-player-controls-wrapper {
	position: relative;
	margin-top: 15px;
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: flex-start;
	align-content: stretch;
	align-items: flex-start;
}

.gp-player-control-left-side,
.gp-player-control-right-side {
	min-width: 20px0;
	order: 0;
	flex: 1 1 auto;
	align-self: auto;
}

.gp-player-control-left-side {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: flex-start;
	align-content: stretch;
	align-items: center;
}

.gp-player-control-right-side {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: flex-end;
	align-content: stretch;
	align-items: center;
}

.gp-player-control {
	position: relative;
	margin-left: 20px;
	order: 0;
	flex: 0 0 auto;
	align-self: auto;
}

.gp-player-control:first-child {
	margin-left: 0;
}

.gp-button {
	position: relative;
	width: 20px;
	height: 20px;
	cursor: pointer;
	overflow: hidden;
}

.gp-button svg {
	transition: transform 250ms;
}

.gp-button:active svg {
	transform: scale(.75, .75);
}


.gp-button svg path {
	transition: all 250ms cubic-bezier(0.25, 1, 0.5, 1), fill 0s, stroke 0s;
	stroke-width: 0;	
}

.gp-playlist-toggle svg path,
.gp-volume svg path,
.gp-playback svg path {
	stroke-width: 2px;
	stroke-linejoin: round;
	stroke-linecap: round;
}

.gp-volume-seek {
	position: relative;
	width: 0px;
	height: 5px;
	margin-left: 10px;
	border-radius: 2.5px;
	overflow: hidden;
	cursor: pointer;
	transition: all 250ms cubic-bezier(0.25, 1, 0.5, 1);
}

.gp-volume-value {
	position: absolute;
	width: 100%;
	height: 100%;
	bottom: 0;
	left: 0;
	pointer-events: none;
}


/* PLAYLIST */

.gp-playlist-wrapper {
	position: relative;
	width: auto;
	height: 0;
	padding: 0;
	margin: 0 20px;
	z-index: 1;
	border-radius: 0 0 10px 10px;
	transition: all 600ms cubic-bezier(0, 0.55, 0.45, 1);
	overflow: hidden;
}

.gp-playlist-wrapper.scroll {
	overflow-y: scroll;
}

.gp-playlist-wrapper.scroll:hover {
	border-radius: 0 0 0 10px;
}

/* SCROLL */
.gp-playlist-wrapper::-webkit-scrollbar {
  width: 0px;
	transform: all 250ms;
}
.gp-playlist-wrapper:hover::-webkit-scrollbar {
  width: 4px;
}
/* Track */
.gp-playlist-wrapper::-webkit-scrollbar-track {
	border: none;
	border-radius: 0;
}
/* Handle */
.gp-playlist-wrapper::-webkit-scrollbar-thumb {
	border-radius: 0;
	border: none;
}
/* FIREFOX */
.gp-playlist-wrapper {
	scrollbar-width: thin;
}

.gp-playlist {
	position: relative;
	width: 100%;
	height: auto;
	margin: 0;
	padding: 0;
	list-style-type: none;
	overflow: hidden;
	transition: all 300ms ease-in-out;
}

.gp-playlist-item {
	position: relative;
	width: 100%;
	height: 40px;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: flex-start;
	align-content: stretch;
	align-items: center;
	cursor: pointer;
}

.gp-playlist-item:last-child {
	border-bottom: none !important;
}

.gp-playlist-marker {
	position: relative;
	width: 40px;
	height: 40px;
	order: 0;
	flex: 0 0 auto;
	align-self: auto;
}

.gp-playlist-bar:before,
.gp-playlist-bar:after,
.gp-playlist-bar {
	position: absolute;
	content: '';
	width: 6px;
	height: 6px;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	margin: auto;
	border-radius: 3px;
	transition: all 250ms cubic-bezier(0.075, 0.82, 0.165, 1), background 0s;
}

.gp-playlist-item.playing .gp-playlist-bar, 
.gp-playlist-item.playing .gp-playlist-bar:before, 
.gp-playlist-item.playing .gp-playlist-bar:after {
	width: 4px;
	height: 20px;
	top: auto;
	bottom: 10px;
	animation: gp-bars-playing 600ms cubic-bezier(0.785, 0.135, 0.15, 0.86) infinite;
}

.gp-playlist-item.playing .gp-playlist-bar:before,
.gp-playlist-item.playing .gp-playlist-bar:after {
	bottom: 0;
}

.gp-playlist-item.playing .gp-playlist-bar:before {
	left: -18px;
	animation-delay: 50ms;
}
.gp-playlist-item.playing .gp-playlist-bar:after {
	right: -18px;
	animation-delay: 150ms;
}

@keyframes gp-bars-playing {
	0%, 100% { 
		height: 20px;
	}
	50% { 
		height: 4px;
	}
}

.gp-playlist-song {
	padding-right: 20px;
	font-family: 'Roboto', sans-serif;
	font-size: 14px;
	font-weight: 400;
	line-height: 1;
	order: 0;
	flex: 1 1 auto;
	align-self: auto;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.gp-playlist-song span {
	font-weight: 700;
}

.gp-playlist-song-buy,
.gp-playlist-song-download {
	position: relative;
	width: 20px;
	height: 20px;
	margin-right: 20px;
	transition: transform 250ms;
}

.gp-playlist-song-buy:hover,
.gp-playlist-song-download:hover {
	transform: scale(1.25);
}
.gp-playlist-song-buy:active,
.gp-playlist-song-download:active {
	transform: scale(.75);
}

.gp-playlist-song-buy svg,
.gp-playlist-song-download svg {
	stroke-width: 2px;
	stroke-linecap: round;
	stroke-linejoin: round;
}


/* PLAYLIST OPENNED */
.gp-player-wrapper.playlist-open .gp-player-left-side {
	width: 150px;
}

.gp-player-wrapper.playlist-open .gp-player-cover-wrapper {
	position: absolute;
	width: 150px;
	height: 150px;
	left: 0px;
	top: 0px;
	border-radius: 10px 0px 0px 10px;
}

.gp-player-wrapper.playlist-open .gp-player-song-cover {
	border-radius: 10px 0px 0px 10px;
}

/* MOBILE */


@media only screen and (max-width: 600px) {
	.gp-player-wrapper {
		padding: 30px 0;
	}
	
	.gp-player-wrapper.playlist-open {
		padding: 30px 0;
	}
	
	.gp-player-container {
		display: block;
		height: auto;
	}

	.gp-player-left-side {
		width: 100%;
		height: 170px;
	}

	.gp-player-wrapper.playlist-open .gp-player-left-side {
		width: 100%;
	}

	.gp-player-cover-wrapper {
		left: 0;
		right: 0;
		margin: auto;
	}
	.gp-player-wrapper.playlist-open .gp-player-cover-wrapper {
		width: 190px;
    height: 190px;
		left: 0;
		right: 0;
		margin: auto;
		top: -20px;
    border-radius: 10px 10px 10px 10px;
	}

	.gp-player-wrapper.playlist-open .gp-player-song-cover {
    border-radius: 10px 10px 10px 10px;
	}

	.gp-player-right-side {
		padding: 20px;
	}

	.gp-playlist-wrapper {
		overflow-y: scroll;
	}
	
	.gp-playlist-wrapper.scroll:hover {
		border-radius: 0 0 10px 10px;
	}
}


/* SKIN */

/* DARK */
.dark .gp-player-container {
	background: var(--dark-grey-color);
}

.dark .gp-player-cover-wrapper {
	background: var(--dark-black-color);
}

.dark .gp-player-cover-wrapper:before {
	border: solid 10px var(--dark-grey-color);
}

.dark .gp-player-cover-wrapper:after {
	border-top: 10px solid var(--dark-teal-color);
}

.dark .gp-player-song-title {
	color: var(--dark-white-color);
}

.dark .gp-player-song-artist {
	color: var(--dark-teal-light-color);
}

.dark .gp-player-seek {
	background: var(--dark-black-color);
}

.dark .gp-player-buffered {
	background: var(--dark-teal-color);
}

.dark .gp-player-progress {
	background: var(--dark-teal-color);
}


.dark .gp-player-loader {
	background: var(--dark-black-color);
}

.dark .gp-player-loader span {
	background: var(--dark-teal-color);
}

.dark .gp-song-currenttime,
.dark .gp-song-duration {
	color: var(--dark-white-color);
}

.dark .gp-button svg {
	fill: var(--dark-white-color);
	stroke: var(--dark-white-color);
}

.dark .gp-button:hover svg{
	stroke: var(--dark-teal-light-color);
	fill: var(--dark-teal-light-color);
}

.dark .gp-button:active svg,
.dark .gp-button.active svg {
	stroke: var(--dark-teal-color);
	fill: var(--dark-teal-color);
}

.dark .gp-volume-seek {
	background: var(--dark-black-color);
}

.dark .gp-volume-value {
	background: var(--dark-teal-color);
}

/* Track */
.dark .gp-playlist-wrapper::-webkit-scrollbar-track {
	background: var(--dark-grey-color);
}
/* Handle */
.dark .gp-playlist-wrapper::-webkit-scrollbar-thumb {
  background: var(--dark-teal-color);
}
/* FIREFOX */
.dark .gp-playlist-wrapper {
	scrollbar-color: var(--dark-teal-color) var(--dark-grey-color) ;
}

.dark .gp-playlist-item {
	background: var(--dark-black-color);
	border-bottom: 1px solid var(--dark-grey-color);
}

.dark .gp-playlist-item:hover {
	background: var(--dark-grey-color);
}

.dark .gp-playlist-item.active {
	background: var(--dark-teal-color);
	border-bottom: 1px solid var(--dark-teal-color);
}

.dark .gp-playlist-bar:before,
.dark .gp-playlist-bar:after,
.dark .gp-playlist-bar {
	background: var(--dark-white-color);
}

.dark .gp-playlist-item:hover .gp-playlist-bar:before,
.dark .gp-playlist-item:hover .gp-playlist-bar:after,
.dark .gp-playlist-item:hover .gp-playlist-bar {
	background: var(--dark-white-color);
}

.dark .gp-playlist-item.active .gp-playlist-bar:before,
.dark .gp-playlist-item.active .gp-playlist-bar:after,
.dark .gp-playlist-item.active .gp-playlist-bar {
	background: var(--dark-black-color);
}

.dark .gp-playlist-song {
	color: var(--dark-white-color);
}

.dark .gp-playlist-song-buy svg,
.dark .gp-playlist-song-download svg {
	stroke: var(--dark-white-color);
	fill: var(--dark-white-color);
}

.dark .gp-playlist-item:hover .gp-playlist-song {
	color: var(--dark-white-color);
}

.dark .gp-playlist-item:hover .gp-playlist-song-buy svg,
.dark .gp-playlist-item:hover .gp-playlist-song-download svg {
	stroke: var(--dark-white-color);
	fill: var(--dark-white-color);
}

.dark .gp-playlist-item.active .gp-playlist-song {
	color: var(--dark-black-color);
}

.dark .gp-playlist-item.active .gp-playlist-song-buy svg,
.dark .gp-playlist-item.active .gp-playlist-song-download svg {
	stroke: var(--dark-black-color);
	fill: var(--dark-black-color);
}



/* LIGHT */
.light .gp-player-container {
	background: #EEE;
}
.light .gp-player-cover-wrapper {
	background: #F8F8F8;
}
.light .gp-player-cover-wrapper:before {
	border: 10px solid #EEE;
}
.light .gp-player-cover-wrapper:after {
	border-top: 10px solid #F73D93;
}
.light .gp-player-song-title {
	color: #333;
}
.light .gp-player-song-artist {
	color: #777;
}
.light .gp-player-loader,
.light .gp-volume-seek,
.light .gp-player-seek {
	background: #333;
}
.light .gp-player-buffered {
	background: #F73D93;
}
.light .gp-player-loader span,
.light .gp-volume-value,
.light .gp-player-progress {
	background: #F73D93;
}
.light .gp-song-currenttime,
.light .gp-song-duration {
	color: #777;
}
.light .gp-button svg {
	fill: #222831;
	stroke: #222831;
}
.light .gp-button:hover svg {
	fill: #F73D93;
	stroke: #F73D93;
}
.light .gp-button:active svg,
.light .gp-button.active svg {
	fill: #F73D93;
	stroke: #F73D93;
}

/* Track */
.light .gp-playlist-wrapper::-webkit-scrollbar-track {
	background: #eee;
}
/* Handle */
.light .gp-playlist-wrapper::-webkit-scrollbar-thumb {
  background: #F73D93;
}
/* FIREFOX */
.light .gp-playlist-wrapper {
	scrollbar-color: #F73D93 #222831;
}

.light .gp-playlist-item {
	background: #F8F8F8;
	border-bottom: 1px solid  #EEE;
}
.light .gp-playlist-item:hover {
	background: #F73D93;
	border-bottom: 1px solid  #F73D93;
}
.light .gp-playlist-item.active {
	background: #F73D93;
	border-bottom: 1px solid  #F73D93;
}
.light .gp-playlist-bar,
.light .gp-playlist-bar:before,
.light .gp-playlist-bar:after {
	background: #333;
}
.light .gp-playlist-item:hover .gp-playlist-bar,
.light .gp-playlist-item:hover .gp-playlist-bar:before,
.light .gp-playlist-item:hover .gp-playlist-bar:after {
	background: #FFF;
}
.light .gp-playlist-item.active .gp-playlist-bar,
.light .gp-playlist-item.active .gp-playlist-bar:before,
.light .gp-playlist-item.active .gp-playlist-bar:after {
	background: #FFF;
}
.light .gp-playlist-item .gp-playlist-song {
	color: #333;
}
.light .gp-playlist-item .gp-playlist-song-buy svg,
.light .gp-playlist-song-download svg {
	stroke: #333;
	fill: #333;
}
.light .gp-playlist-item:hover .gp-playlist-song {
	color: #FFF;
}
.light .gp-playlist-item:hover .gp-playlist-song-buy svg,
.light .gp-playlist-item:hover .gp-playlist-song-download svg {
	stroke: #fff;
	fill: #fff;
}
.light .gp-playlist-item.active .gp-playlist-song {
	color: #FFF;
}
.light .gp-playlist-item.active .gp-playlist-song-buy svg,
.light .gp-playlist-item.active .gp-playlist-song-download svg {
	stroke: #fff;
	fill: #fff;
}