:root {
	--color-primary: #10378d;
	--color-primary-hover: #1d65ff;
	--color-accent: #9ed7e2;
	--color-accent-border: #b5dbe2;
	--color-bg: #ecf7f9;
	--color-links: #10378d;
	--color-th: #9ed7e2;
	--color-td: white;
}

@font-face {
	font-family: "Pixelated";
	src: url("/fonts/PixeloidSans.ttf") format("truetype");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

* {
	box-sizing: border-box;
	/*cursor: url("/cursors/miraidon.png"), auto;*/
}

body {
	font-family: "Pixelated";
	margin-left: 20%;
	margin-right: 20%;
	text-align: center;
	background-color: #b5dbe27a;
}

.no-bottom-margin {
	margin-bottom: 0;
}

.menu a {
	padding: 10px;
	/* margin-right: 10px; */
	border-radius: 5px;
	text-decoration: none;
	color: #ffffff;
	background-color: var(--color-primary);
	flex: 1 1 0;
	min-width: 130px;
	box-sizing: content-box;
}

.menu a:hover {
	background-color: var(--color-primary-hover);
}

.menu a:before,
div.table-cards-tabs button:before {
	content: "";
	display: inline-block;
	width: 16px;
	height: 16px;
	background-size: 16px 16px;
	margin-right: 4px;
	vertical-align: middle;
	margin-bottom: 2.5px;
	filter: invert(100%);
}

.menu a:nth-child(1):before {
	background-image: url("/icons/dice-five.svg");
}

.menu a:nth-child(2):before {
	background-image: url("/icons/database-search.svg");
}

.menu a:nth-child(3):before {
	background-image: url("/icons/safari.svg");
}

.menu a:nth-child(4):before {
	background-image: url("/icons/gamepad.svg");
}

.menu a:nth-child(5):before {
	background-image: url("/icons/info-circle.svg");
}

.menu {
	margin-top: 40px;
	margin-bottom: 30px;
	padding: 30px;
	background-color: var(--color-accent);
	border-radius: 5px;
	display: flex;
	overflow: auto;
	justify-content: center;
	flex-wrap: wrap;
	gap: 5px;
}

footer {
	margin-top: 30px;
	margin-bottom: 30px;
	padding: 30px;
	background-color: var(--color-accent);
	border-radius: 5px;
	font-size: smaller;
	display: flex;
	flex-flow: wrap;
	justify-content: center;
}

footer img {
	image-rendering: auto;
	margin-top: 10px;
	margin-right: 5px;
}

footer span {
	width: 100%;
	font-size: 11px;
}

div.stats span {
	font-size: small;
	display: inline;
}

div.stats span:after,
footer span a:after {
	content: "";
	display: inline-block;
	width: 1em;
	height: 1em;
	background-size: 1em 1em;
	margin-left: 3px;
	vertical-align: middle;
	margin-bottom: 2px;
	background-image: url("/icons/ball.svg");
}

div.stats span:last-of-type:after,
footer span a:last-of-type:after {
	background-image: none;
}

img.ball {
	width: 1em;
	vertical-align: bottom;
	transform: translateX(0.15em);
	transform: translateY(-0.1em, 0.1em);
	/* transform: translateY(10px); */
	padding: 0;
	margin-bottom: 0.1em;
}

div.main {
	padding: 50px;
	/*background-color: #f6fbfc;*/
	background-color: var(--color-bg);
	border-radius: 5px;
	position: relative;
}

div.sprites img {
	/* border: 5px double #10378d; */
	border: 5px double var(--color-accent-border);
	border-radius: 5px;
	width: 128px;
	margin-bottom: 5px;
	aspect-ratio: 1 / 1;
	object-fit: scale-down;
	image-rendering: pixelated;
}

div.sprites-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}

div.sprites a {
	font-size: small;
	padding: 5px;
	background: var(--color-primary);
	color: white;
	border-radius: 5px;
	text-decoration: none;
	margin: 2px;
}

div.sprites a:hover {
	background: var(--color-primary-hover);
}

div.search {
}

div.search div a {
	margin-bottom: 10px;
	color: var(--color-links);
	transition:
		color 0.5s,
		transform 0.5s;
}

div.search_bar {
	margin-bottom: 50px;
	display: flex;
	justify-content: safe center;
}

div.search_bar form {
	display: flex;
	gap: 10px;
	flex: auto;
}

div.search_bar form input {
	margin-bottom: 0;
	flex: auto;
}

div.privacy {
	text-align: left;
	font-family: Arial, Helvetica, sans-serif;
}

div.privacy code {
	overflow: auto;
	display: block;
	unicode-bidi: embed;
	white-space: pre;
}

.sound-btn {
	vertical-align: super;
	margin: 0;
	width: 16px;
	transform: translateY(-5px);
	transform: translateX(-8px);
}

.sound-btn:hover {
	filter: brightness(0) saturate(100%) invert(13%) sepia(95%) saturate(7003%)
		hue-rotate(223deg) brightness(110%) contrast(102%);
}

.pokemon-title {
	transform: translateX(11px);
	margin-bottom: 0;
}

div.types {
	/* border: 2px solid #10378d; */
	border-radius: 5px;
	margin-bottom: 30px;
}

img.types {
	width: 64px;
	margin-top: 5px;
	transition: transform 0.5s;
}

img.types:hover {
	transform: scale(2);
}

img.types-browse {
	width: 128px;
	margin-top: 5px;
	transition: transform 0.5s;
}

img.types-browse:hover {
	transform: scale(2);
}

div.browse-type {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-evenly;
	gap: 0.2em;
}

div.browse-gen {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-evenly;
	gap: 7px;
}

div.type-container {
	display: inline-flex;
	gap: 5px;
}

div.types span {
	margin-top: 10px;
}

hr.small {
	width: 50%;
}

div.corner {
	margin-bottom: 15px;
}

div.evolutions span {
	margin-bottom: 5px;
}

a {
	color: var(--color-links);
	transition: 0.3s;
}

div.evolutions {
	font-size: small;
	/* margin: 5px; */
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 2px;
	margin-top: 5px;
}

div.evolutions a {
	padding: 2.5px 5px;
	border-radius: 5px;
	color: white;
	text-decoration: none;
	background-color: var(--color-primary);
}

div.evolutions a:hover {
	background-color: var(--color-primary-hover);
}

a:hover {
	text-decoration: none;
}

.modal {
	position: fixed;
	inset: 0;
	display: grid;
	place-items: center;
	background: rgba(0, 0, 0, 0.5);
	z-index: 9999;
}

.modal[hidden] {
	display: none;
}

.modal-inner {
	background: #fff;
	padding: 1rem;
	max-width: 480px;
	width: 90%;
	border-radius: 6px;
}

.modal-actions {
	margin-top: 0.75rem;
	display: flex;
	gap: 0.5rem;
	justify-content: flex-end;
}

.switch-wrapper input[type="checkbox"] {
	visibility: hidden;
	display: none;
}

.switch-wrapper *,
.switch-wrapper ::after,
.switch-wrapper ::before {
	box-sizing: border-box;
}

.switch-wrapper .rocker {
	display: inline-block;
	position: relative;
	font-size: 2em;
	font-weight: bold;
	text-align: center;
	text-transform: uppercase;
	color: #888;
	width: 7em;
	height: 4em;
	overflow: hidden;
	border-bottom: 0.5em solid #eee;
}

.switch-wrapper .rocker-small {
	font-size: 0.75em;
}

.switch-wrapper .rocker::before {
	content: "";
	position: absolute;
	top: 0.5em;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #999;
	border: 0.5em solid #eee;
	border-bottom: 0;
}

.switch-wrapper .switch-left,
.switch-wrapper .switch-right {
	cursor: pointer;
	position: absolute;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 2.5em;
	width: 3em;
	transition: 0.2s;
	user-select: none;
}

.switch-wrapper .switch-left {
	height: 2.4em;
	width: 2.75em;
	left: 0.85em;
	bottom: 0.4em;
	background-color: #ddd;
	transform: rotate(15deg) skewX(15deg);
}

.switch-wrapper .switch-right {
	right: 0.5em;
	bottom: 0;
	background-color: #ff6761;
	color: #fff;
}

.switch-wrapper .switch-left::before,
.switch-wrapper .switch-right::before {
	content: "";
	position: absolute;
	width: 0.4em;
	height: 2.45em;
	bottom: -0.45em;
	background-color: #ccc;
	transform: skewY(-65deg);
}

.switch-wrapper .switch-left::before {
	left: -0.4em;
}

.switch-wrapper .switch-right::before {
	right: -0.375em;
	background-color: transparent;
	transform: skewY(65deg);
}

.switch-wrapper input:checked + .switch-left {
	background-color: #2d9e00;
	color: #fff;
	bottom: 0px;
	left: 0.5em;
	height: 2.5em;
	width: 3em;
	transform: rotate(0deg) skewX(0deg);
}

.switch-wrapper input:checked + .switch-left::before {
	background-color: transparent;
	width: 3.0833em;
}

.switch-wrapper input:checked + .switch-left + .switch-right {
	background-color: #ddd;
	color: #888;
	bottom: 0.4em;
	right: 0.8em;
	height: 2.4em;
	width: 2.75em;
	transform: rotate(-15deg) skewX(-15deg);
}

.switch-wrapper input:checked + .switch-left + .switch-right::before {
	background-color: #ccc;
}

.switch-wrapper input:focus + .switch-left {
	color: #333;
}

.switch-wrapper input:checked:focus + .switch-left {
	color: #fff;
}

.switch-wrapper input:focus + .switch-left + .switch-right {
	color: #fff;
}

.switch-wrapper input:checked:focus + .switch-left + .switch-right {
	color: #333;
}

input {
	font-family: "Pixelated";
	border-radius: 5px;
	border: 2px solid var(--color-primary);
	padding: 10px;
	width: 100%;
	text-align: center;
	margin-bottom: 10px;
}

a.a-btn-1 {
	font-size: small;
	padding: 5px;
	background: var(--color-primary);
	color: white;
	border-radius: 5px;
	text-decoration: none;
	margin: 2px;
}

a.a-btn-2 {
	font-size: small;
	padding: 12px;
	background: var(--color-primary);
	color: white;
	border-radius: 5px;
	text-decoration: none;
	display: inline-block;
	min-width: 80px;
}

a.a-btn-3 {
	padding: 5px;
	background: var(--color-primary);
	color: white;
	border-radius: 5px;
	text-decoration: none;
	min-width: 200px;
	flex: 1 1 0;
}

a.browse {
	flex: 1 1 0;
	display: flex;
	align-items: center;
	height: 40px;
	padding: 0 16px;
	text-align: center;
	margin: 0 auto;
	justify-content: center;
}

a.a-btn-4 {
	padding: 5px;
	background: var(--color-primary);
	color: white;
	border-radius: 5px;
	text-decoration: none;
	flex: 1 1 0;
}

a.a-btn-1:hover {
	background-color: var(--color-primary-hover);
}

a.a-btn-2:hover {
	background-color: var(--color-primary-hover);
}

a.a-btn-3:hover {
	background-color: var(--color-primary-hover);
}

a.a-btn-4:hover {
	background-color: var(--color-primary-hover);
}

div.guess img {
	width: 256px;
	image-rendering: auto;
}

button {
	font-family: "Pixelated";
	font-size: small;
	padding: 12px;
	background-color: var(--color-primary);
	border-radius: 5px;
	color: #ffffff;
	border: none;
	transition: 0.3s;
	min-width: 80px;
}

button:hover {
	padding: 12px;
	background-color: var(--color-primary-hover);
	border-radius: 5px;
	transition: 0.3s;
}

div.flavour {
}

div.info {
	margin-top: 30px;
}

div.damage_taken table img {
	width: 32px;
}

div.damage_taken {
	justify-content: safe center;
	overflow: auto;
	display: flex;
	margin-top: 10px;
}

div.damage {
	border: 5px double var(--color-accent-border);
	border-radius: 5px;
	padding: 10px;
}

div.category#\32 {
	background: orange;
}

div.category#\31 {
	background: grey;
}

div.category#\33 {
	background: steelblue;
}

div.move-type-card:hover {
	filter: brightness(110%);
}

.rounded:hover {
	color: transparent;
	transition-duration: 0.5s;
	transform: scale(2);
	z-index: 100;
}

.hm-details {
	border: 5px double var(--color-accent-border);
	border-radius: 5px;
	padding: 10px;
	margin-bottom: 10px;
}

div.table-cards-tabs button:nth-of-type(1):before {
	background-image: url("/icons/cards.svg");
}

div.table-cards-tabs button:nth-of-type(2):before {
	background-image: url("/icons/table2-columns.svg");
}

/* Style the tab */
.tab {
	overflow: hidden;
	border: 2px solid var(--color-accent-border);
	border-radius: 5px;
	display: inline-flex;
	width: 100%;
	flex-wrap: wrap;
}

.tab button {
	background-color: inherit;
	float: left;
	border: none;
	outline: none;
	cursor: pointer;
	transition: 0.3s;
	flex: auto;
	background-color: var(--color-primary);
	margin: 10px;
	flex: 1 1 0;
	min-width: 90px;
}

/* Style the buttons that are used to open the tab content */
.tab button.tab-big {
	flex: 1 1 270px;
}

/* Change background color of buttons on hover */
.tab button:hover {
	background-color: var(--color-primary-hover);
}

/* Create an active/current tablink class */
.tab button.active {
	background-color: var(--color-primary-hover);
	box-shadow: inset 1px 1px 4px 0px rgba(0, 0, 0, 0.5);
}

/* Style the tab content */
.tabcontent {
	display: none;
	border-radius: 5px;
	padding-top: 10px;
	border-top: none;
}

div.move-type-card,
div.category {
	color: white;
}

td div.move-type-card,
td div.category {
	border-radius: 5px;
	min-width: 90px;
}

td.name {
	position: relative;
}

td a.header {
	display: inline-block;
	padding-left: 20px;
	text-decoration: none;
	color: black;
	display: block;
	width: 100%;
	height: 100%;
}

div.move-card a.header {
	text-decoration: none;
	color: black;
}

td a.header:before {
	content: "🔗";
	position: absolute;
	left: 5%;
}

div.move-details div {
	border: 2px solid var(--color-accent-border);
	margin: 5p;
	flex: auto;
	border-radius: 5px;
}

div.move-details {
	display: flex;
	gap: 5px;
	margin: 5px;
	flex-wrap: wrap;
}

span.move-name:before {
	content: "🔗";
}

td div.move-type-card,
div.move-type-card-name {
	position: relative;
	padding-left: 1em;
}

.underline {
	text-decoration: underline;
}

td div.move-type-card:before {
	left: 4px;
	position: absolute;
	transform: translateY(2px);
}

div.browse-type div.move-type-card:before,
h1 div.move-type-card:before {
	left: 4px;
	position: absolute;
	transform: translateY(8px);
}

div.move-type-card:before {
	content: "";
	display: inline-block;
	width: 14px;
	height: 14px;
	background-size: 14px 14px;
	margin-right: 3px;
	vertical-align: middle;
	margin-bottom: 3px;
}

div.move-type-card#\31 {
	background: #a8a77a;
	--type-name: "NORMAL";
} /* Normal */
div.move-type-card#\31:before {
	background-image: url("/types/normal.svg");
}
div.move-type-card#\32 {
	background: #c22e28;
	--type-name: "FIGHTING";
} /* Fighting */
div.move-type-card#\32:before {
	background-image: url("/types/fighting.svg");
}
div.move-type-card#\33 {
	background: #90bee8;
	--type-name: "FLYING";
} /* Flying */
div.move-type-card#\33:before {
	background-image: url("/types/flying.svg");
}
div.move-type-card#\34 {
	background: #a33ea1;
	--type-name: "POISON";
} /* Poison */
div.move-type-card#\34:before {
	background-image: url("/types/poison.svg");
}
div.move-type-card#\35 {
	background: #e2bf65;
	--type-name: "GROUND";
} /* Ground */
div.move-type-card#\35:before {
	background-image: url("/types/ground.svg");
}
div.move-type-card#\36 {
	background: #b6a136;
	--type-name: "ROCK";
} /* Rock */
div.move-type-card#\36:before {
	background-image: url("/types/rock.svg");
}
div.move-type-card#\37 {
	background: #a6b91a;
	--type-name: "BUG";
} /* Bug */
div.move-type-card#\37:before {
	background-image: url("/types/bug.svg");
}
div.move-type-card#\38 {
	background: #735797;
	--type-name: "GHOST";
} /* Ghost */
div.move-type-card#\38:before {
	background-image: url("/types/ghost.svg");
}
div.move-type-card#\39 {
	background: #b7b7ce;
	--type-name: "STEEL";
} /* Steel */
div.move-type-card#\39:before {
	background-image: url("/types/steel.svg");
}
div.move-type-card#\31\30 {
	background: #ee8130;
	--type-name: "FIRE";
} /* Fire */
div.move-type-card#\31\30:before {
	background-image: url("/types/fire.svg");
}
div.move-type-card#\31\31 {
	background: #6390f0;
	--type-name: "WATER";
} /* Water */
div.move-type-card#\31\31:before {
	background-image: url("/types/water.svg");
}
div.move-type-card#\31\32 {
	background: #7ac74c;
	--type-name: "GRASS";
} /* Grass */
div.move-type-card#\31\32:before {
	background-image: url("/types/grass.svg");
}
div.move-type-card#\31\33 {
	background: #f7d02c;
	--type-name: "ELECTRIC";
} /* Electric */
div.move-type-card#\31\33:before {
	background-image: url("/types/electric.svg");
}
div.move-type-card#\31\34 {
	background: #f95587;
	--type-name: "PSYCHIC";
} /* Psychic */
div.move-type-card#\31\34:before {
	background-image: url("/types/psychic.svg");
}
div.move-type-card#\31\35 {
	background: #96d9d6;
	--type-name: "ICE";
} /* Ice */
div.move-type-card#\31\35:before {
	background-image: url("/types/ice.svg");
}
div.move-type-card#\31\36 {
	background: #6f35fc;
	--type-name: "DRAGON";
} /* Dragon */
div.move-type-card#\31\36:before {
	background-image: url("/types/dragon.svg");
}
div.move-type-card#\31\37 {
	background: #705746;
	--type-name: "DARK";
} /* Dark */
div.move-type-card#\31\37:before {
	background-image: url("/types/dark.svg");
}
div.move-type-card#\31\38 {
	background: #d685ad;
	--type-name: "FAIRY";
} /* Fairy */
div.move-type-card#\31\38:before {
	background-image: url("/types/fairy.svg");
}

div.move-type-card-name:after {
	display: inline-flex;
	content: var(--type-name);
	/*font-weight: bold;*/
	color: white;
	margin-top: 4px;
}

th .rounded {
	font-size: 9px;
}

.rounded {
	font-size: 10px;
	min-width: 68px;
	max-width: 80px;
	border-radius: 5px;
	padding: 0 !important;
	margin: 0 auto;
	transition:
		color 0.5s,
		transform 0.5s;
}

.rounded-big {
	width: 128px;
	font-size: 20px;
	border-radius: 5px;
	padding-left: 2px;
	padding-right: 2px;
	margin: 0 auto;
	display: inline-block;
}

div.efficacy-type .rounded {
	margin-bottom: 5px;
}

div.move-type-card.big,
div.category.big {
	padding: 10px;
	border-radius: 5px;
	margin: 5px;
}

div.move-type-and-cat .move-type-card-name:after {
	margin: 0;
}

div.damage_taken td {
	font-size: small;
}

div.about {
	text-align: justify;
}

a.corner {
	position: absolute;
	top: 0.5rem;
	left: 0.5rem;
	z-index: 10;
	padding: 5px;
	font-size: 12px;
	margin-left: 10px;
	margin-bottom: 20px;
	border-radius: 5px;
	text-decoration: none;
	color: #ffffff;
	background-color: var(--color-primary);
	width: 110px;
}

a.corner:hover {
	background-color: var(--color-primary-hover);
}

a.corner::before {
	content: "🔗 ";
}

div.damage span {
	font-size: 10px;
	margin-bottom: 10px;
}

div.damage h3 {
	margin-bottom: 0px;
}

a.current {
	background-color: black !important;
}

p.block {
	text-align: justify;
}

div.diff-hint {
	font-size: small;
}

form.save-in-leaderboard {
	display: flex;
	gap: 10px;
	align-items: baseline;
}

form.save-in-leaderboard button,
form.save-in-leaderboard a {
	width: 50%;
}

.full {
	width: 100%;
	display: block;
}

div.game-start-buttons {
	display: flex;
	gap: 5px;
	flex-wrap: wrap;
	flex: 0 0 1;
	justify-content: center;
}

div.game-start-buttons a {
	flex: 1 1 0;
	flex-basis: auto;
}

select,
::picker(select) {
	appearance: base-select;
}

select {
	-webkit-appearance: none;
	text-align-last: center;
	font-family: "Pixelated";
}

select#lang-select {
	top: 0.5rem;
	right: 0.5rem;
	appearance: none;
	text-align: center;
	justify-content: center;
	border-radius: 5px;
	background-color: var(--color-primary);
	padding: 5px;
	color: white;
	position: absolute;
	margin-right: 10px;
	margin-bottom: 20px;
	z-index: 10;
	width: 110px;
	border: none;
	font-size: 12px;
}

select#difficulty,
select#generation,
select#type {
	padding: 10px 20px 10px 20px;
	border-radius: 5px;
	text-align: center;
	background-color: var(--color-primary);
	color: white;
	width: 200px;
	margin-top: 10px;
	border: none;
	flex: auto;
}

div.browse-gen-type select {
	margin: 0 !important;
}

div.browse-gen-type form {
	margin-top: 5px;
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
	justify-content: center;
}

.difficulty-select {
	border: 5px double var(--color-accent-border);
	border-radius: 5px;
	padding: 10px;
}

.username-select {
	border: 5px double var(--color-accent-border);
	border-radius: 5px;
	padding: 15px;
	text-align: center;
	font-weight: bold;
	background-color: white;
}

div.leaderboard {
	max-height: 500px;
	overflow: auto;
	display: inline-block;
}

div.leaderboard table {
	table-layout: fixed;
	width: 100%;
}

div.leaderboard th {
	padding: 10px;
	background-color: var(--color-th);
	border-radius: 5px;
}

div.move-table .sort-arrow {
	color: var(--color-primary);
	font-weight: bold;
	margin-left: 4px;
	font-size: 0.9em;
}

div.move-table th[onclick]:hover {
	opacity: 0.5;
}

div.move-table table {
	width: 100%;
}

div.move-table th {
	padding: 10px;
	background-color: var(--color-th);
	border-radius: 5px;
}

div.leaderboard td {
	background-color: var(--color-td);
	border-radius: 5px;
	padding: 10px;
}

div.leaderboard th:nth-of-type(3) {
	width: 50%;
}

div.leaderboard th:nth-of-type(2) {
	width: 30%;
}

div.leaderboard th:nth-of-type(1) {
	width: 25%;
}

div.pokemon-list {
	justify-content: space-evenly;
	max-height: 500px;
	overflow-y: auto;
	border: 5px double var(--color-accent-border);
	border-radius: 5px;
	display: flex;
	flex-wrap: wrap;
}

details.pokemon-learning-move .pokemon-list {
	margin-bottom: 10px !important;
}

div.pokemon-list img,
div.item-list img {
	image-rendering: auto;
	width: 96px;
}

div.pokemon-list img.move-pokemon {
	width: 64px;
}

div.item-list {
	justify-content: space-evenly;
	max-height: 500px;
	overflow-y: auto;
	border: 5px double var(--color-accent-border);
	border-radius: 5px;
	display: flex;
	flex-wrap: wrap;
}

.efficacy {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
}

.efficacy-type {
	flex: auto;
	border: 2px solid var(--color-accent-border);
	border-radius: 5px;
	padding: 5px;
}

div.efficacy-type a {
	text-decoration: none;
}

div.id-container {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	left: 0;
	right: 0;
	padding-left: 5px;
}

div.price-container {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	left: 0;
	right: 0;
	padding-right: 5px;
}

div.item-text {
	text-align: justify;
}

div.item-text span.versions {
	color: grey;
	font-size: 9px;
}

div.id-container,
div.price-container span {
	font-size: 10px;
	line-height: 10px;
	color: grey;
}

p.info {
	margin-top: 0;
	font-size: 10px;
}

hr {
	border: 1px solid var(--color-primary);
	border-radius: 5px;
	opacity: 40%;
}

div.move-table {
	overflow: auto;
}

div.move-table table {
	width: 100%;
}

a.type-link {
	text-decoration: none;
}

div.type-move-container {
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
	margin-bottom: 5px;
	justify-content: center;
}

.move-cards {
	gap: 1rem;
	padding: 1rem;
}

.move-card {
	border: 2px solid var(--color-accent-border);
	border-radius: 5px;
	overflow: hidden;
	background: var(--color-bg);
	flex: 1 1 200px;
}

.card-header {
	background: var(--color-accent);
	padding: 10px;
	display: flex;
	justify-content: space-between;
	/* border-bottom: 1px solid #eee; */
}

div.move-cards {
	margin-top: 10px;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
}

.card-body {
	/* margin-top: 10px; */
	margin-bottom: 10px;
}

.move-name {
	font-weight: bold;
	font-size: 15px;
}

.move-level {
	font-size: 15px;
}

.type-icon {
	height: 24px;
	margin-right: 8px;
	vertical-align: middle;
}

.type-icon-moves {
	width: 100px;
	vertical-align: middle;
}

div.move-info {
	padding: 10px;
	border: 2px solid var(--color-accent-border);
	border-radius: 5px;
}

.move-stats span {
	display: block;
	padding: 0.25rem 0;
	font-size: 0.9rem;
}

div.search {
	min-width: 200px;
}

a.test {
	font-size: 10px;
}

div.pokemon {
	border: 1px solid var(--color-accent-border);
	border-radius: 5px;
	margin: 5px;
	padding: 5px;
	flex: 1 1 0;
	position: relative;
}

div.item {
	border: 2px solid var(--color-accent-border);
	border-radius: 5px;
	margin: 5px;
	padding: 5px;
	position: relative;
	flex: 1 1 0;
	min-width: 40%;
}

div.item-container {
	padding-left: 20px;
	padding-right: 20px;
}

div.item-container img {
	width: 64px;
}

div.item-container p {
	margin-top: 5px;
	margin-bottom: 0;
}

div.item-container span {
	font-size: small;
	text-align: justify;
}

input.username {
	width: 80%;
}

form {
	margin-top: 5px;
}

.continue {
	width: 45%;
}

.game-results {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
}

.game-results .guess-results {
	flex: 0 0;
}

.guess-results p {
	margin: 0;
	font-size: small;
}

.print {
	width: 50%;
}

.download {
	display: flex;
	gap: 10px;
}

div.difficulty-select a.a-btn-2 {
	margin-top: 5px;
}

.game-buttons {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
}

.guess-results img {
	image-rendering: auto;
	width: 128px;
}

summary {
	background-color: var(--color-primary);
	padding: 5px;
	border-radius: 5px;
	color: white;
	margin-bottom: 10px;
	transition: 0.5s;
}

summary.table:after {
	content: "";
	display: inline-block;
	width: 16px;
	height: 16px;
	background-size: 16px 16px;
	margin-left: 3px;
	vertical-align: middle;
	margin-bottom: 2px;
	filter: invert(100%);
	background-image: url("/icons/table2-columns.svg");
}

summary:hover {
	cursor: pointer;
	transition: 0.5s;
	background-color: var(--color-primary-hover);
}

@media (prefers-color-scheme: dark) {
	body,
	.modal-inner {
		background-color: black;
	}

	.sound-btn {
		filter: invert(100);
	}

	.sound-btn:hover {
		filter: brightness(0) saturate(100%) invert(79%) sepia(14%)
			saturate(4587%) hue-rotate(326deg) brightness(82%) contrast(85%);
	}

	:root {
		--color-primary: #96311d;
		--color-primary-hover: #c58043;
		--color-accent: #162225;
		--color-accent-border: #b5dbe2;
		--color-bg: #162225;
		--color-links: #c58043;
		--color-th: #96311d;
		--color-td: black;
	}

	select.username-select {
		background-color: black;
		color: white;
	}

	p,
	span,
	h1,
	h2,
	h3,
	tr,
	a.current,
	div.privacy,
	div.id-container span,
	div.price-container span,
	div.item-text span.versions,
	td a.header,
	div.move-details div {
		color: white;
	}

	input {
		background-color: black;
		color: white;
	}
}

@media screen and (max-width: 900px) {
	body {
		margin-left: 10%;
		margin-right: 10%;
	}

	div.flavour,
	p.ability,
	p.move-details {
		text-align: justify;
	}

	div.main {
		padding: 20px;
	}

	div.item {
		min-width: 100%;
		margin: 0px;
		border: 0px;
		border-radius: 0;
		border-bottom: 2px solid var(--color-accent-border);
	}
}

@media screen and (max-width: 500px) {
	div.sprites img {
		width: 116px;
	}
}
