html,body
{
	font-family:'Russo One', Arial, sans-serif;
	text-align:center;
	height:100%;
	background-color:black;
	color:white;
}

#grid-container
{
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-template-rows: 1fr 1fr;
	gap: 10px;
	width: 100%;
	height: 100%;
}

#controls-row
{
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 10px;
	margin-bottom: 20px;
}

#year-selector
{
	text-align:center;
	position: relative;
	display: inline-block;
}

#year-selector select
{
	background-color:black;
	color:white;
	font-family:"Russo One";
	font-size:18px;
	padding:8px 44px 8px 12px;
	border: solid 2px red;
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	cursor: pointer;
}

#year-selector select:focus
{
	outline:none;
	border-color:orange;
}

#year-selector select:hover
{
	border-color:orange;
}

.dropdown-icon
{
	position: absolute;
	right: 12px;
	top: 50%;
	transform: translateY(-50%);
	pointer-events: none;
}

.chevron-down
{
	stroke: white;
	transition: all 0.2s;
}

#year-selector:hover .chevron-down
{
	stroke: orange;
}

#team-selector
{
	display:flex;
	justify-content:center;
	align-items:center;
	gap:10px;
}

#team-name
{
	background-color:black;
	color:white;
	font-family:"Russo One";
	font-size:18px;
	padding:8px 12px;
	border: solid 2px red;
	width: 200px;
}

#team-name:focus
{
	outline:none;
	border-color:orange;
}

#dice-button
{
	background-color:black;
	border: solid 2px red;
	color:white;
	padding:8px 12px;
	cursor:pointer;
	display:flex;
	align-items:center;
	justify-content:center;
	transition:all 0.2s;
}

#dice-button:hover
{
	border-color:orange;
	color:orange;
}

#dice-button svg
{
	width: 20px;
	height: 20px;
}

.cover-links
{
	position: absolute;
	bottom: 8px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	gap: 8px;
	background-color: rgba(0, 0, 0, 0.6);
	padding: 6px;
	border-radius: 6px;
	backdrop-filter: blur(4px);
	align-items: center;
}

.cover-id
{
	color: white;
	font-size: 12px;
	font-family: "Russo One";
	margin-right: 4px;
	opacity: 0.8;
}

.cover-links.hidden
{
	display: none;
}

.cover-link
{
	font-size:16px;
	color:white;
	text-decoration:none;
	transition:color 0.2s;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
}

.cover-link svg
{
	width: 16px;
	height: 16px;
	stroke: currentColor;
}

#dice-button svg
{
	width: 24px;
	height: 24px;
	stroke: currentColor;
}

.cover-link:hover
{
	color:orange;
}

.cover-link.disabledLink
{
	color:grey;
	cursor:not-allowed;
	pointer-events:none;
}

.grid-item
{
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	position: relative;
}

.fam-img
{
	border:none;
	text-align:center;
	max-width:300px;
	max-height:200px;
	width: 100%;
	height: auto;
	object-fit: contain;
}

.loader
{
	width: 32px;
	height: 32px;
	border: 3px solid #f3f3f3;
	border-top: 3px solid red;
	border-radius: 50%;
	animation: spin 1s linear infinite;
}

@keyframes spin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}

#fam
{
	border:none;
	text-align:center;
	max-width:615px;
	max-height:405px;
}


#title
{
	font-size:32px;
	color:white;
}

#title:hover
{
	color:orange;
	cursor:pointer;
}

#arr
{
	font-size:48px;
}

a
{
	color:red;
	cursor:pointer;
	text-decoration:none;
}

a:hover
{
	color:orange;
	text-decoration:none;
}

.disabledLink
{
	color:grey;
	cursor:not-allowed;
	pointer-events:none;
}

.disabledLink:hover
{
	color:grey;
	cursor:not-allowed;
	pointer-events:none;
}

.activeLink
{
	color:green;
}

#container
{
	text-align:center;
}

.panel
{
	display:block;
	/*border:solid 1px white;*/
}


#center-panel
{
	width:630px;
	height:450px;
	margin: 0 auto;
}

#left-panel, #right-panel
{
	text-align:right;
	font-size:24px;
	width:15%;
	padding-right:5px;
	line-height: 48px;
}

#right-panel
{
	padding-left:5px;
	text-align:left;
}

.list-element
{
	color:red;
	cursor:pointer;
}

.list-element:hover
{
	color:orange;
}

select
{
	background-color:black;
	color:red;
	font-family:"Russo One";
	font-size:24px;
	width : 150px;
	border: solid 2px red;

	/* for Firefox */
	-moz-appearance: none;
	/* for Chrome */
	-webkit-appearance: none;
	/* standard property */
	appearance: none;
	text-indent: 3px;
}

#optgroup
{
	font-family:"Russo One" !important;
}

select:hover
{
	color:orange;
	border: solid 2px orange;
	cursor:pointer;
}

ul
{
	line-height:1em;

	/*For custom bullet*/
	list-style: none;
	margin-left: 0;
	padding-left: 1em;
	text-indent: -1em;
}

li
{
	font-size:0.5em;
}

/*custom bullet*/
li:before {
  content: "➤";
  padding-right: 5px;
}

footer
{
	margin-top: 40px;
}
