:root {
	--background: #151515;
	--foreground: #eaeaea;
	--accent: #dbd3f4;
  --accent2: #e8dbb3;
}

*, html, tr, td {
	margin: 0;
	padding: 0;
	color: var(--foreground);
}

html {
	background-color: var(--background);
}

* {
	font-family: 'Roboto Condensed';
	font-size: 1.2rem;
}

.header {
	margin: 2rem;
}

div.topbar {
	display: flex;
	flex-direction: row;
	position: fixed;
	top: 0;
	bottom: 0;
	background-color: var(--background);
	width: 100%;
	height: 5rem;
	padding: 0;
	margin: 0;
	left: 0;
	right: 0;
}

div.group-container {
	margin-top: 2rem;
	margin-left: 2rem;
	width: 16rem;
	grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
	gap: 0px;
}

div.group {
	position: relative;
	padding-top: 10px;
	padding-bottom: 10px;
	margin-top: 5px;
	margin-bottom: 5px;
	width: 100%;
}

label.toplevel {
	padding: 10px;
	border-width: 1px;
	border-color: var(--accent);
	border-style: solid;
	background: var(--background);
	margin-top: 5px;
	margin-bottom: 5px;
	border-radius: 10px;
}

div.group-content {
	top: 0;
	border-radius: 10px;
	left: 200px;
	position: absolute;
	display: none;
	background: var(--background);
	border-style: none;
}

[type="checkbox"].toplevel { width: 0; height: 0; }
[type="radio"] { width: 0; height: 0; }

input[type=radio].toplevel:checked ~ label.toplevel {
	background: url("img/wave.gif");
	border-width: 0;
	color: var(--background);
}

input[type=radio].toplevel:checked ~ div.group-content {
	display: block;
}

div.group-content {
	display: none;
	flex-direction: column;
	padding: 10px;
	z-index: 9999;
	box-shadow: 5px 5px 10px #000000;
}

input[type=radio]:checked + label > img {
	background: var(--accent);
	color: var(--background);
}

h1 {
	margin: 3rem;
}

img.preview {
	transition: transform 0.1s ease-in-out;
}

img.pin {
	height: 5rem;
}

.submenu {
	position: absolute;
	display: flex;
	flex-direction: column;
}

button {
	border: 0;
	padding: 10px;
	margin: 2px;
	border-radius: 10px;
}

.pin-button {
	background-color: var(--accent);
	color: var(--background);
}

.download-button {
	background-color: var(--accent2);
	color: var(--background);
}

.preview-button-bright {
	background-color: #fff;
	color: var(--background);
}

.preview-button-dark {
	background-color: #000;
	color: #fff;
}

/*img.preview:hover {
	transform: scale(0.9);
}*/

.pinned-container {
	overflow-x: scroll;
	width: 100%;
}

.phone-choice-img {
	width: 3rem;
	padding: 4px;
	border-radius: 15px;
}

.nothing-found {
	width: 40vw;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
	line-height: 0;
}
