:root {
	--bubble-border-light: 1px solid grey;
	--bubble-border-dark: none;
	--bubble-border: var(--bubble-border-dark);
}

body {
	justify-content: center;
}

img {
	border-radius: 10px;
}

.bubble {
	position: absolute;
	border: var(--bubble-border);
	border-radius: 100%;
	object-fit: cover;
	transform: translateX(-50%) translateY(-50%);
	z-index: 100000;
	cursor: pointer;
}
.bubble:hover {
	border: 4px solid var(--color);
}
.linear-selector-container {
	position: relative;
	height: 32px;
	display: flex;
	flex-direction: row;
}
.linear-selector-tab {
	position: relative;
	height: 32px;
	width: 100%;
	line-height: 32px;
	font-size: 20px;
	z-index: 2;
	border-top: 1px solid var(--list-elm-border);
	border-bottom: 1px solid var(--list-elm-border);
	cursor: pointer;
}
.linear-selector-tab:nth-child(2) {
	border-top-left-radius: 10px;
	border-bottom-left-radius: 10px;
	border-left: 1px solid var(--list-elm-border);
}

/* NEW STUFF */

:root {
	--globe-ocean-color-light: grey;
	--globe-ocean-color-dark: hsl(210, 0%, 2%);
	--globe-ocean-color: var(--globe-ocean-color-dark);
}

.big-box {
	display: flex;
	flex-direction: column;
}

.user-nav-search-input {
	width: 100%;
}

#user-item-box {
	overflow-y: auto;
	background-color: var(--color-b);
	scrollbar-width: thin;
	scrollbar-color: grey var(--color-b);
}

.user-item {
	display: grid;
	grid-template-rows: 30px 30px;
	grid-template-columns: 70px 30px 70px auto;
	gap: 10px;
	padding: 20px;
	border-top: var(--box-border);
	border-radius: 0;
}
.user-item:first-child {
	border-top: none;
}

.user-item-pos {
	grid-column: 1;
	grid-row-start: 1;
	grid-row-end: 3;
	background-color: var(--color-c);
	border-radius: 10px;
	font-size: 35px;
	text-align: center;
	line-height: 70px;
}

.user-item-icon {
	overflow: hidden;
}

.user-item-pfp {
	grid-column: 3;
	grid-row-start: 1;
	grid-row-end: 3;
	height: 70px;
	aspect-ratio: 1;
	object-fit: cover;
}

.user-item-pfp-none {
	grid-column: 3;
	grid-row-start: 1;
	grid-row-end: 3;
	width: 70px;
	height: 70px;
	border: 1px solid var(--text-color);
	border-radius: 10px;
	line-height: 70px;
	text-align: center;
	font-size: 40px;
	display: none;
}

.user-item-flag {
	object-fit: cover;
	aspect-ratio: 1;
	height: 100%;
}

.user-item-name {
	margin-left: 5px;
	font-size: 28px;
	line-height: 30px;
}

.user-item-score {
	margin-left: 5px;
	font-size: 20px;
	line-height: 20px;
	font-style: italic;
	color: var(--text-color-second);
}

.nation-underscore {
	width: 100%;
	height: 70px;
	margin-top: 15px;
	background-color: var(--color-a);
	display: flex;
	gap: 15px;
	align-items: center;
}
.nation-underscore-flag {
	height: 100%;
}
.nation-underscore-title {
	line-height: 70px;
	font-size: 30px;
	font-family: golos;
}

.page-title {
	padding-bottom: 10px;
	border-bottom: 1px solid var(--list-elm-border);
	line-height: 50px;
	font-size: 30px;
	font-family: golos;
	text-align: center;
}

.user-nav-search {
	width: auto;
	max-width: unset;
	height: 30px;
	margin-left: 40px;
	margin-right: 40px;
	border: 1px solid hsl(0, 0%, 50%);
	background-color: var(--color-b);
	display: flex;
	align-items: center;
	padding-left: 5px;
}

.user-nav-search-img {
	border-radius: 0px;
	cursor: unset;
	aspect-ratio: 1;
	height: 60%;
	filter: var(--bw-filter);
}

.nation-chart-container {
	width: 600px;
	height: fit-content;
	max-height: 500px;
	overflow: hidden;
	overflow-y: auto;
	scrollbar-width: thin;
	scrollbar-color: grey var(--color-c);
	position: relative;
	display: flex;
}
.nation-chart {
	position: relative;
}

#nation-chart-stars {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	filter: sepia();
	z-index: 0;
	display: none;
}

#nationality-box {
	gap: 20px; /* match padding */
	overflow: unset;
}

#world-canvas {
	width: 600px;
	height: 450px;
	overflow: hidden;
	z-index: 1;
	position: relative;
	border-radius: inherit;
	background-color: var(--globe-ocean-color);
	display: none;
}

#ortho-toggle {
	position: absolute;
	right: 10px;
	bottom: 10px;
	z-index: 1;
	height: 30px;
	cursor: pointer;
	filter: invert() brightness(30%) drop-shadow(0 0 3px black);
	display: none;
}
#ortho-toggle:hover {
	filter: invert() brightness(30%) drop-shadow(0 0 3px black) brightness(80%);
}

#bar-chart {
	display: none;
}

#bar-chart-coming-soon {
	display: none;
	width: 100%;
	text-align: center;
	font-size: 20px;
	color: lightgrey;
}