@font-face {
	font-family: "Heebo";
	src: url("content/Heebo.ttf");
}

* {
	font-family: "Heebo", "Segoe UI", "Roboto", "Arial";
	text-align: center;
	color: rgb(240, 240, 240);
	padding: 0;
	margin: 0;
}

body {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	max-width: 45rem;
	margin-left: auto;
	margin-right: auto;
	background: url("content/bg.jpg") no-repeat center center fixed;
	background-size: cover;
	background-color: #0e1c25;
}

h1 {
	font-size: 2rem;
	font-weight: 500;
}

h3 {
	font-size: 1.5rem;
	font-weight: 500;
}

/*
	General classes
*/
.bg-blur-border {
	min-height: 2rem;
	padding-top: 0.25rem;
	padding-bottom: 0.25rem;
	background-color: rgba(0, 0, 0, 0.15);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	border: 1px solid rgb(25, 25, 25);
	border-radius: 1rem;
}

.mb-25 {
	margin-bottom: 0.25rem;
}

.mb-50 {
	margin-bottom: 0.5rem;
}

.mb-75 {
	margin-bottom: 0.75rem;
}

/*
	Element-specific styling
*/

/* Banner */
#banner {
	margin-top: 1rem;
}

#banner img {
	height: 6rem;
}

/* Player */
#player {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.25rem;
}

/* Current song */
#current-song {
	display: flex;
	flex-direction: row;
}

#current-song img {
	height: 8rem;
}

/* Playlist */
#playlist {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	padding-top: 0.5rem;
	padding-bottom: 0.5rem;
}

#playlist div {
	display: flex;
	flex-direction: column;
}

/* Song history */
#history {
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

#history-table {
	border-collapse: collapse;
}

#history-table th {
	font-size: 1.1rem;
}

#history-table th, #history-table td {
	padding-top: 0.45rem;
	padding-bottom: 0.45rem;
	padding-left: 0.25rem;
	padding-right: 0.25rem;
}

#history-table tr {
	border-bottom: 1px solid rgb(25, 25, 25);
}

#history-table tr:last-of-type {
	border-bottom: none;
}

#history-table tr:not(:first-of-type):hover {
	background-color: rgba(255, 255, 255, 0.04);
}

#history-table-col1 {
	width: 60%;
}

/* Footer */
#footer {
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	margin-bottom: 1rem;
}


@media screen and (max-width: 600px) {
	#banner img {
		height: 4rem;
	}
}