:root {
    --black: #150D0F;
    --dark: #2C3535;
    --mid: #3D4C4C;
    --light: #708181;
    --white: #f4f3ec;
    --accent: #458686;
    --accent-bright: #58b29b;

    --text: #2C3535;
}

.dark-mode {
    --black: #150D0F;
    --dark: #2C3535;
    --mid: #f4f3ec;
    --light: #708181;
    --white: #3D4C4C;
    --accent: #5ea5a5;
    --accent-bright: #88ecd3;

    --text: #f4f3ec;
}

body {
	background: var(--dark);
	color: var(--text);
	font-family: 'Mooli';
	margin: auto;
	padding: 20px;
	max-width: 1200px;
}

body.locked {
	height: 100vh;
	overflow: hidden;
}

a {
	color: var(--accent);
	text-decoration: none;
	transition: 400ms ease;
}

a:hover, a:focus {
	color: var(--accent-bright);
}

img {
	max-width: 100%
}

h1 {
	font-size: 2.8em;
	font-family: 'Sedgwick Ave Display';
	display: flex;
	align-items: center;
	color: #f4f3ec;
}

h2, h2 a {
	font-family: 'Sedgwick Ave Display';
	color: var(--text);
}

h2 {
	font-weight: 100;
	font-size: 2.4em;
	margin: 0;
}

h1 img {
	width: 65px;
	margin: 0 10px;
	border-radius: 10px;
}

.flex-row {
	display: flex;
	gap: 10px;
	margin: 10px 0;
} 

.wme-box {
	background: var(--white);
	margin: 10px;
	padding: 20px;
	border: 1.5px outset #617777;
	border-radius: 4px;
	position: relative;
}

.wme-box ul {
	margin: 0;
	padding-left: 10px;
}

.wme-box li {
	list-style: none;
	padding: 0;
}

.tracker-body {
	display: flex;
	flex-wrap: wrap;
	max-height: 0;
	overflow: hidden;
	transition: 200ms ease all, 400ms ease max-height;
	position: relative;
	opacity: 0;
}

.tracker-body.active {
	padding: 10px 0;
	opacity: 1;
}

.collapsible {
	margin: -40px 10px 0;
	text-align: right;
}

.collapsible .fa-xmark {
	transform: rotate(45deg);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 24px;
	width: 24px;
	border-radius: 100%;
	background: var(--accent);
	margin: 5px;
	cursor: pointer;
	transition: 200ms ease;
	color: #f4f3ec;
}

.collapsible.active .fa-xmark {
	transform: rotate(0deg);
}

.points-total, .points {
	font-family: 'Alumni Sans SC';
}

.points {
	line-height: 1;
	text-align: center;
	margin: 5px 10px;
}

.points-total {
	position: absolute;
	right: 0;
	top: 0;
	font-size: 1.4em;
	font-weight: 500;
	padding: 20px 30px;
}

.artist {
	text-align: center;
}

.level {
	font-family: 'Alumni Sans SC';
    display: inline-block;
    font-size: 90%;
    margin: 0 0 0 10px;
    font-weight: 400;
    opacity: 0.6;
}

h2 {
	display: flex;
    align-items: flex-start;
}

.image-wrapper {
	background: var(--light);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 10px;
	width: 15%;
	max-width: 50%;
    flex: 1 1 auto;
    min-width: 160px;
	height: 100px;
	overflow: hidden;
	position: relative;
	border: 1.5px solid black;
	border-radius: 4px;
	margin: 2.5px;
	cursor: pointer;
}

.tallied:before {
	content: "✔";
	position: absolute;
	right: 0;
	top: 0;
	padding: 3px 5px;
	background: var(--accent);
	z-index: 10;
	border-radius: 4px;
}

#legend {
	margin: 20px;
}

span.tallied:before {
	position: relative;
}

.image-wrapper img {
	pointer-events: none;
	position: absolute;
	width: 100%;
    height: auto;
	left: 0;
	top: 0;
	filter: blur(3px);
	transition: filter 50ms ease, max-width 0ms ease;
	opacity: 0.8;
}

.lock-position {
	z-index: 5;
	display: flex;
	flex-direction: column;
	align-items: center;
    justify-content: center;
    color: #f4f3ec;

    text-shadow: -1.5px -1.5px 0 #150D0F, 0 -1.5px 0 #150D0F, 1.5px -1.5px 0 #150D0F, 1.5px 0 0 #150D0F, 1.5px 1.5px 0 #150D0F, 0 1.5px 0 #150D0F, -1.5px 1.5px 0 #150D0F, -1.5px 0 0 #150D0F;
}

.image-wrapper.open {
	position: fixed;
	left: 0;
	top: 0;
	height: calc(100% - 20px);
	width: calc(100% - 20px);
	z-index: 10;
	margin: 0;
	border-radius: 0;
	border: none;
	cursor: default;
	max-width: 100%;
	z-index: 11;
}

.image-wrapper.open img {
	pointer-events: none;
	position: unset;
	max-width: 100%;
	max-height: 100%;
	filter: blur(0);
	opacity: 1;
	width: auto;
}

.image-wrapper.open .lock-position {
	margin: 10px;
	position: absolute;
	left: 0;
	bottom: 0;
	display: block;
}

.left-arrow, .right-arrow {
    display: none;
    content: "";
    background-image: url(img/angle-left-solid.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 80%;
    width: 40px;
    height: 40px;
    margin: 10px;
    position: absolute;
    top: calc(50% - 20px);
    transition: 300ms ease;
    filter: invert(1);
    cursor: pointer;
}

.image-wrapper.open .left-arrow, .image-wrapper.open .right-arrow {
    opacity: 0.1;
    display: block;
}

.image-wrapper.open .right-arrow {
    background-image: url(img/angle-right-solid.svg);
    right: 0;
}

.image-wrapper.open .left-arrow {
    background-image: url(img/angle-left-solid.svg);
    left: 0;
}

.image-wrapper.open .left-arrow:hover, .image-wrapper.open .left-arrow:focus, .image-wrapper.open .right-arrow:hover, .image-wrapper.open .right-arrow:focus {
    opacity: 0.6;
}

.close-button {
    display: none;
    width: 30px;
    height: 30px;
    align-items: center;
    justify-content: center;
    border-radius: 100%;
    position: relative;
    margin-right: auto;
    opacity: 0.6;
    margin: 20px;
    transition: 300ms ease;
    cursor: pointer;
}

.close-button:hover, .close-button:focus {
	opacity: 1;
	color: var(--bright-accent);
}

.close-button i {
	pointer-events: none;
}

.open .close-button {
    display: flex;
    position: absolute;
    top: 0;
    left: 0;
}


