/* stylelint-disable selector-id-pattern, selector-class-pattern */

html,
body {
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	background: black;
	color: white;
	word-wrap: break-word;
}

#content {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	visibility: hidden;
	font: 14px "Roboto Mono", sans-serif;
	box-sizing: border-box;
	text-align: center;
	max-width: 1280px;
	margin: 0 auto;
	user-select: none;
}

.player-container {
	position: fixed;
	max-height: 260px;
	z-index: 9999;
}

#player {
	width: 408px;
	max-width: 90%;
}

.player-bg {
	position: fixed;
	top: 0;
	left: 0;
	height: 260px;
	width: 100%;
	background: black;
	border-bottom: 2px solid white;
	z-index: 9998;
	box-shadow: -1px 10px 10px -6px rgba(255, 255, 255, 0.75);
}

.container {
	padding: 12px;
	box-sizing: border-box;
	width: 408px;
	max-width: 90%;
}

@media screen and (orientation: portrait) {
	#content {
		grid-template-columns: 1fr;
	}

	.container {
		padding: 12px;
		box-sizing: border-box;
		width: 100%;
	}
}

#urlContainer {
	white-space: nowrap;
	height: 48px;
}

input {
	min-height: 24px;
	padding: 0;
	font: 14px "Roboto Mono", sans-serif;
	border: none;
	background-color: gainsboro;
	vertical-align: middle;
	position: relative;
	bottom: 1px;
}

input[type="submit"] {
	cursor: pointer;
}

img {
	border-radius: 6px;
	max-width: 100%;
	display: inline-block;
	box-sizing: border-box;
}

#timeStamps {
	margin: auto;
	font-size: 12px;
	width: 100%;
	height: 17px;
	vertical-align: middle;
}

#nowPlaying {
	margin: auto;
	line-height: 1.5em;
	font-size: 18px;
	padding: 24px 0;
	width: 100%;
	display: inline-block;
	max-height: 3em;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
}

#nowPlaying.material-icons {
	height: 1.5em;
	animation: spin 1s linear infinite;
}

@keyframes spin {
	0% {
		transform: rotate(0deg);
	}

	100% {
		transform: rotate(360deg);
	}
}

#currentTime {
	float: left;
}

#totalTime {
	float: right;
}

progress {
	width: 100%;
	border: none;
	border-radius: 4px;
	padding: 0;
	max-height: 8px;
	background-color: #575757;
	color: deepskyblue;
	cursor: pointer;
}

progress::-moz-progress-bar {
	background-color: white;
	border-radius: 4px;
}

progress::-webkit-progress-bar {
	background-color: #575757;
	border-radius: 4px;
}

progress::-webkit-progress-value {
	background-color: white;
	border-radius: 4px;
}

#controls {
	display: grid;
	margin: 18px auto;
	grid-template-columns: repeat(7, 1fr);
	max-width: 408px;
	align-items: start;
}

#controls .material-icons {
	margin: auto;
	cursor: pointer;
	font-size: 36px;
}

table {
	counter-reset: index;
}

tr:hover .deleteButton {
	visibility: visible !important;
}

td {
	vertical-align: middle;
	padding: 8px;
}

td.current-song {
	background-color: white;
	color: black;
	font-weight: bold;
}

.playlistIndex::before {
	counter-increment: index;
	content: counter(index) ".";
}

#playlistDeleteButton {
	font-size: 36px;
	padding: 0 0 16px;
}

#disclaimer {
	text-align: justify;
}

#disclaimer .material-icons {
	font-size: 36px;
	float: left;
}

a {
	color: white;
}

#playlist {
	position: absolute;
	top: 270px;
}

.current-song span {
	color: black;
	box-shadow: 0px 0px 10px white;
	background: white;
	border-radius: 5px;
	padding: 5px;
}