/* album-info.css */

.album-info {
    height: 96px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
	gap: 2px;
}

/* buy-button.css */

.buy-button-container {
	width: 100%;
	margin: 64px auto;
	display: flex;
	align-items: center;
	justify-content: center;
}

button {
	padding: 16px 48px;
	background-color: var(--col-highlight);
	color: var(--col-bg);
	border: none;
	border-radius: 4px;
	font-size: 18px;
}

button:hover {
	background-color: var(--col-bg);
	color: var(--col-highlight);
	border: 4px solid var(--col-highlight);
	padding: 12px 44px;
}

/* footer.css */

.footer-info {
	height: 56px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 2px;
}

@media screen and (min-width: 800px) {
	.footer-info {
		max-width: 960px;
		margin: 0 auto;
		padding-left: 80px;
	}
}

@media screen and (max-width: 799px) {
	.footer-info {
		padding-left: 32px;
	}
}

/* global.css */

* {
	margin: 0;
	padding: 0;
	-moz-box-sizing: border-box; 
	-webkit-box-sizing: border-box; 
	box-sizing: border-box;
	font-family: 'Nunito', sans-serif;
	font-weight: 900;
}

:root {
	--col-bg: #FFF;
	--col-main: #000;
	--col-highlight: #F04;
	--col-lesser: #AAA;
}

body {
	background-color: var(--col-bg);
}

.col-main {
	color: var(--col-main);
}

.col-lesser {
	color: var(--col-lesser);
}

.size-large {
	font-size: 14px;
}

.size-small {
	font-size: 9px;
}

@media screen and (min-width: 800px) {
	.desktop-hide {
		display: none !important;
	}
}

@media screen and (max-width: 799px) {
	.mobile-hide {
		display: none !important;
	}
}

/* main-container.css */

@media screen and (min-width: 800px) {
	.main-container {
		display: flex;
		flex-direction: row;
		max-width: 960px;
		margin: 0 auto;
	}
}

@media screen and (max-width: 799px) {
	.main-container {
		display: flex;
		flex-direction: column;
		width: 100%;
	}	
}

/* player.css */

.player-container {
	display: flex;
	flex-direction: column;
	user-select: none;
}

.album-art {
	background-color: var(--col-main);
	background-size: contain;
	aspect-ratio: 1 / 1;
}

.transport {
	height: 48px;
	display: flex;
	flex-direction: row;
}

.transport-button {
	width: 48px;
	display: flex;
	justify-content: center;
	align-items: center;
	cursor: pointer;
}

.transport-button svg {
	fill: var(--col-main);
}

.transport-button:hover svg {
	fill: var(--col-highlight);
}

.transport-button.unavailable svg {
	fill: var(--col-lesser);
}

.transport-time {
	width: 64px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.transport-bar {
	position: relative;
	height: 48px;
	cursor: grab;
}

.transport-bar:active {
	cursor: grabbing;
}

.transport-bar * {
	pointer-events: none;
}

.transport-bar-total {
	position: absolute;
	background-color: var(--col-lesser);
	width: 100%;
	left: 0;
	top: 22px;
	height: 4px;
	border-radius: 2px;
}

.transport-bar-elapsed {
	position: absolute;
	background-color: var(--col-highlight);
	width: 0%;
	left: 0;
	top: 22px;
	height: 4px;
	border-radius: 2px;
}

.transport-bar-head {
	position: absolute;
	background-color: var(--col-bg);
	left: calc(0% - 6px);
	top: 18px;
	width: 12px;
	height: 12px;
	border: 2px solid var(--col-main);
	border-radius: 6px;
}

.now-playing {
	display: flex;
	flex-direction: column;
}

.now-playing-row {
	height: 20px;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	gap: 16px;
}

.now-playing-label {
	width: 64px;
	display: flex;
	align-items: center;
	justify-content: flex-end;
}

.now-playing-info {
	width: calc(100% - 80px - 16px);
	text-align: left;
	display: flex;
	align-items: center;
	overflow: hidden;
	white-space: nowrap;
}


@media screen and (min-width: 800px) {
	.player-container {
		width: 50%;
	}

	.transport-bar {
		width: calc(100% - 172px);
	}
}

@media screen and (max-width: 799px) {
	.transport-bar {
		width: calc(100% - 144px);
	}

	.transport-button:hover svg {
		fill: var(--col-main);
	}

	.transport-button.unavailable:hover svg {
		fill: var(--col-lesser);
	}
}

/* template.css */

@media screen and (min-width: 800px) {
	
}

@media screen and (max-width: 799px) {
	
}

/* tracklist.css */

.track-container {
	padding: 0 32px;
	width: 50%;
}

.tracklist {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
}

.tracklist-item {
	display: flex;
	flex-direction: row;
	height: 32px;
	align-items: center;
	position: relative;
	cursor: pointer;
	user-select: none;
	color: var(--col-main);
}

.tracklist-item:hover {
	background-color: var(--col-highlight);
	color: var(--col-bg) !important;
}

.tracklist-item:hover .status svg {
	fill: var(--col-highlight) !important;
}

.tracklist-item:hover .status.active svg {
	fill: var(--col-bg) !important;
}

.tracklist-item.unavailable {
	color: var(--col-lesser);
	cursor: default;
}

.tracklist-item.unavailable:hover {
	background-color: var(--col-bg);
	color: var(--col-lesser) !important;
}

.status {
	width: 40px;
	height: 40px;
	display: flex;
	justify-content: center;
	align-items: center;
}

.status svg {
	fill: var(--col-bg);
}

.status.active svg {
	fill: var(--col-highlight);
}

.track-name {
	width: calc(100% - 104px);
}

.track-time {
	width: 64px;
	text-align: center;
}

