.disabled {
	display: none !important;
	opacity: 0;
}

.modal-container {
	position: absolute;
	width: 100vw;
	height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	backdrop-filter: blur(1em);
	z-index: 999999999;
	opacity: 0;
	transition: opacity 0.25s linear;
}

#modal {
	max-height: 70vh;
	max-width: 90vw;
	overflow-y: scroll;
	scrollbar-color: #363636 #0e0e0e;
	position: absolute;
	z-index: 999;
	display: flex;
	background-color: #0e0e0e;
	border: 1px solid #5c5c5c;
	border-radius: 0.5em;
	flex-direction: column;
	height: fit-content;
	width: fit-content;
	text-transform: uppercase;
}

#modal img {
	width: 5em;
	height: auto;
	transform: translateY(-0.5em);
}

#modal .left,
#modal .right {
	width: 50%;
	height: 80%;
}

#modal .competitor {
	width: 100%;
	height: fit-content;
}

#modal #c2 {
	text-align: right;
}

#modal .competitors {
	display: flex;
	flex-direction: row;
	width: 100%;
	padding-top: 1em;
	border-bottom: 1px solid grey;
}

#modal #close {
	position: absolute;
	margin-right: 0;
	margin-top: -10px;
	margin-left: calc(100% - 2.5%);
	z-index: 1000;
}

#modal #close:hover {
	cursor: pointer;
	color: white;
}

#modal .competitor .info {
	margin: 1em;
}

#modal .competitor .info * {
	margin: 0;
}

#modal .competitor .info .name {
	color: yellow;
	font-weight: bold;
}

#modal .competitor .info .location {
	color: white;
	font-size: 0.75em;
	font-weight: lighter;
}

#modal .content {
	display: grid;
	flex-direction: row;
	grid-template-columns: 1fr auto 1fr;
	margin: auto;
	gap: 1em;
}

#modal .right {
	text-align: right;
}

#modal .labels,
#modal .left,
#modal .right {
	height: fit-content;
	display: flex;
	width: 100%;
	flex-direction: column;
	align-items: stretch;
}

.entry {
	margin: 2em 0em;
	padding: 0.45em 2em;
	font-weight: bolder;
}

.labels * {
	background: linear-gradient(
		90deg,
		#ff000080 0%,
		#ff000080 40%,
		#2200ff80 60%,
		#2200ff80 100%
	);
	border: 1px solid #ffffff80;
	padding: 0.4em 2em;
	border-radius: 0.2em;
	color: white;
	font-weight: bolder;
	flex: 1 1 auto;
	text-wrap: nowrap;
	text-align: center;
	margin: 2em 0em;
}

@media (max-width: 768px) {
	#modal .content {
		font-size: xx-small;
	}

	#modal .labels,
	#modal .left,
	#modal .right {
		display: block;
	}
}
