
* {
	padding: 0;
	margin: 0;
}
body {
	background: #000;
	user-select: none;
	font-family: "Ubuntu", sans-serif;
	line-height: 1;
}
::-webkit-scrollbar {
    width: 14px;
}
::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 4px;
}
::-webkit-scrollbar-track {
    background: #000;
    border-left: 2px solid #111;
}
canvas {
	width: 100%;
	height: 100vh;
    cursor: pointer;
}
canvas.hide, #playBtn.hide {
	display: block;
	opacity: 0;
	pointer-events: none;
}
#loading {
    position: absolute;
    top: 44vh;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 8vh;
    color: #fff;
    pointer-events: none;
}
#playBtn {
	background: url(assets/play.svg);
	background-color: #ccc;
	background-size: 50%;
	background-position: center;
	background-repeat: no-repeat;
    height: 20vh;
    width: 20vh;
    border-radius: 50%;
    position: absolute;
    top: calc(50vh - 12vh);
    left: calc(50% - 12vh);
    border: 2vh outset;
    pointer-events: none;
}
#titleCard {
	position: absolute;
	top: 2vh;
	left: 2vh;
	right: 2vh;
    max-width: 360px;
	font-size: 3vh;
	padding: 2vh;
	background-position: center;
	background-size: cover;
	border: 0.4vh solid;
	border-radius: 10vh;
	color: #fff;
	text-shadow: 0 0 2px #000, 0 0 2px #000, 0 0 2px #000, 0 0 2px #000, 0 0 2px #000, 0 0 2px #000, 0 0 2px #000, 0 0 2px #000, 0 0 2px #000, 0 0 2px #000;
}
#titleCard .fav {
	position: absolute;
    right: 0;
    font-size: 4vh;
    top: 0;
    bottom: 0;
    width: 7vh;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}
#titleCard .fav::before {
	content: '☆';
}
#titleCard .fav.isFav::before {
	content: '★';
}
content {
	text-align: center;
	display: block;
}
content a {
	font-size: 3vh;
	padding: 2vh;
	background-position: center;
    background-size: cover;
	border: 0.4vh solid;
	border-radius: 10vh;
	color: #fff;
	margin: 1vh;
	text-shadow: 0 0 2px #000, 0 0 2px #000, 0 0 2px #000, 0 0 2px #000, 0 0 2px #000, 0 0 2px #000, 0 0 2px #000, 0 0 2px #000, 0 0 2px #000, 0 0 2px #000;
    cursor: pointer;
	text-align: left;
    text-wrap: nowrap;
	overflow: hidden;
	display: block;
	text-decoration: none;
	position: relative;
}
content a.isFav::before {
	content: '★';
	position: absolute;
    right: 0;
    font-size: 4vh;
    top: 0;
    bottom: 0;
    width: 6vh;
    display: flex;
    justify-content: center;
    align-items: center;
}
hr {
	background: #fff;
	margin: 1vh;
	height: 0.5vh;
	margin-top: 1.2vh;
}
#recent a:first-child {
	display: none;
}
#favs a, #list a {
	font-size: 2vh;
	padding: 2vw;
	border: 0.8vw solid;
	margin: 1vw;
}
#recent::before, #favs::before, #list .category::before {
	content: attr(data-title);
    display: block;
    color: #fff;
    font-weight: bold;
    font-size: 2vh;
    border-bottom: 2px solid;
    margin: 1vh;
}
#favs a.isFav::before {
	content: '';
}
#filters {
    margin: 2vh;
    border: 0.5vh solid #fff;
    border-radius: 1vh;
    display: flex;
    align-content: center;
    justify-content: space-evenly;
    flex-flow: row wrap;
    margin-top: 4vh;
    position: relative;
}
#filters div {
	height: 3vh;
    width: 3vh;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    margin: 0.5vh;
    opacity: 0.5;
}
#filters div:last-child {
	color: #000;
    font-size: 3vh;
    line-height: 0.9;
    background-color: #fff;
    border-radius: 100%;
    opacity: 0.9;
}
#filters div:hover {
	opacity: 0.8;
	cursor: pointer;
}
#filters div.selected {
	opacity: 1;
}
#filters::before {
    position: absolute;
    content: 'Filters';
    top: -20px;
    left: 6px;
    color: #fff;
    font-weight: bold;
}
#filters::after {
    position: absolute;
    content: attr(data-labels);
    top: -20px;
    right: 6px;
    color: #fff;
}
#list {
	min-height: 86vh;
}
.category {
	position: relative;
	margin: 2vh 0;
}
.category .shuffle {
	position: absolute;
    right: 1vh;
    top: 0;
    width: 2vh;
    height: 2vh;
    background: url(assets/shuffle.svg);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;
}
@media (400px <= width < 800px) {
	#favs a, #list a {
		display: inline-block;
		width: 40vw;
		margin: 0.2vw 1vw;
	}
}
@media (800px <= width < 1200px) {
	#favs a, #list a {
		display: inline-block;
		width: 25vw;
		margin: 0.2vw 1vw;
	}
}
@media (1200px <= width) {
	#favs a, #list a {
		display: inline-block;
		width: 17vw;
		margin: 0.2vw 1vw;
	}
}
@media (1000px <= width < 1700px) {
	content a {
		display: inline-block;
		width: 43vw;
	}
}
@media (1700px <= width) {
	content a {
		display: inline-block;
		width: 26vw;
	}
}
.hide, #list a.hide {
	display: none;
}
content.hide + footer {
	display: none;
}
footer {
	text-align: center;
	color: #fff;
	margin: 20px;
}
footer a {
	color: #ccc;
}
#button-box {
	position: fixed;
	top: 10px;
	right: 10px;
	font-size: 20px;
	background-color: #fff;
    border-radius: 10px;
    margin: 10px;
    z-index: 1;
}
#install-button, #reload-button {
	display: none;
	background-color: #ccc;
    padding: 10px;
    border-radius: 10px;
    margin: 10px;
    font-weight: bold;
    cursor: pointer;
}
#install-button.visible, #reload-button.visible {
	display: inline-block;
}