.hidden {
	display: none;
}

html {
	background-color: #2a2e2f;
	color: white;
}

body {
	margin: 0;
}

header {
	background-color: #222222;
	color: lightyellow;
	font-size: large;
	box-shadow: 2px 0 5px rgba(255, 255, 255, 0.5);
	padding: 8px;
	margin-bottom: 10px;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: space-between;
}

#logo img {
	padding: 0;
}

#content {
	padding: 20px;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
	gap: 16px;
}

#watching_user {
	color: lightcyan;
}

#filter {
	margin-left: 8px;
}

#filter button {
	height: 20px;
	padding: 0 4px;
}

.search {
	display: inline-flex;
	align-items: center;
	padding-left: 8px;
	background-color: white;
	border-radius: 2px;
	box-sizing: border-box;
	position: relative;
}

.username {
	flex: 1;
	border: none;
	outline: none;
	background: transparent;
	line-height: 1;
	color: #333;
	padding: 0;
	margin: 0;
}

.clear {
	cursor: pointer;
	border: none;
	background: transparent;
	padding: 0;
	margin: 0;
	width: 20px;
	height: 20px;
	line-height: 1;
	font-size: 16px;
	color: #888;
	visibility: hidden;
	opacity: 0;
}

.username:not(:placeholder-shown) + .clear, .username:focus + .clear {
	visibility: visible;
	opacity: 1;
}

.card {
	box-shadow: 0px 0px 2px 3px rgba(240, 240, 240, 0.2);
	display: flex;
	flex-direction: column;
	align-items: center;
	position: relative;
}

.card:hover {
	box-shadow: 0px 0px 5px 8px rgba(250, 250, 250, 0.1);
}

.card-id {
	position: absolute;
	top: 0px;
	right: 0px;
	background: rgba(0, 0, 0, 0.6);
	color: #fff;
	padding: 2px 6px;
}

.card img {
	display: block;
	padding: 0;
}

.ts {
	color: lightgrey;
	padding: 4px;
}

.owner {
	font-size: larger;
	padding-bottom: 8px;
}

#pagelabel {
	padding: 0 8px;
}

#main, #nav {
	text-align: center;
}

a {
	color: cyan;
}

img {
	padding: 10px;
}

#pointing_xenia {
	position: fixed;
	right: 0px;
	bottom: 0px;
	width: 64px;
	z-index: 2;
	transition: .5s ease;
}

#pointing_xenia:hover {
	opacity: 0.8
}

#readme {
	position: fixed;
	bottom: 0px;
	width: calc(100% - 36px);
	padding: 6px 16px;
	z-index: 1;
	background-color: #101a10;
	border: 2px solid #3a8ddb;
}

h3 {
	text-align: center;
}

button {
  background: #2a2a2a;
  color: #e0e0e0;
  border: 1px solid #555;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

button:hover {
  background: #3A2637;
  border-color: #3a8ddb;
  color: #fff;
}

button:focus {
  outline: none;
  box-shadow: 0 0 0 1px rgba(58, 141, 219, 0.4);
}

button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
