.upg {
	min-height: 120px;
	width: 120px;
	border-radius: 10px;
	border: 2px solid;
	border-color: rgba(0, 0, 0, 0.125);
	font-size: 10px;
	overflow: visible;
}

.upgDone {
	min-height: 120px;
	width: 120px;
	border-radius: 10px;
	background-image: repeating-linear-gradient(
		-49deg,
		#88df6b,
		#88df6b 25px,
		#7dd75f 25px,
		#7dd75f 50px
	);
	background-clip: padding-box;
	border: 2px solid;
	border-color: #77c35e;
	font-size: 10px;
	overflow: visible;
}

.achievement {
	height: 90px;
	width: 90px;
	border-radius: 18%;
	border: 2px solid;
	border-color: rgba(0, 0, 0, 0.125);
	font-size: 10px;
	color: white;
	text-shadow: 0 0 2px #000000;
}
.achievement:hover {
	box-shadow: 0 0 10px var(--points);
	transform: scale(1.1, 1.1);
	z-index: 7;
}


.buyable {
	height: 200px;
	width: 200px;
	border-radius: 20px;
	border: 2px solid;
	border-color: rgba(0, 0, 0, 0.125);
	font-size: 10px;
	position:relative;
	color: rgba(0, 0, 0, 0.5);
}

.buyableDone {
	height: 200px;
	width: 200px;
	border-radius: 20px;
	border: 2px solid;
	background-image: repeating-linear-gradient(
		-49deg,               /* Diagonal angle for stripes */
		#88df6b,             /* Stripe color */
		#88df6b 25px,        /* Start of stripe */
		#7dd75f 25px,        /* Second stripe color */
		#7dd75f 50px         /* End of stripe */
	);
	background-clip: padding-box; /* Prevents background from extending into the border */
	border-color: #77c35e;
	font-size: 10px;
	position:relative;
}

.milestone {
	width: 90%;
	min-width: 120px;
	padding-left: 5px;
	padding-right: 5px;
	height: 75px;
	border-radius: 10px;
	background-color: #bf8f8f;
	border: 4px solid;
	border-color: rgba(0, 0, 0, 0.125);
	color: rgba(0, 0, 0, 0.5);
}


.milestoneDone {
	width: 90%;
	min-width: 120px;
	padding-left: 5px;
	padding-right: 5px;
	height: 75px;
	border-radius: 10px;
	background-color: #88df6b;
	background-image: repeating-linear-gradient(
		-49deg,               /* Diagonal angle for stripes */
		#88df6b,             /* Stripe color */
		#88df6b 25px,        /* Start of stripe */
		#7dd75f 25px,        /* Second stripe color */
		#7dd75f 50px         /* End of stripe */
	);
	background-clip: padding-box; /* Prevents background from extending into the border */
	border: 4px solid;
	border-color: #77c35e;
	color: rgba(0, 0, 0, 0.5);
}

.challenge {
	background-color: #bf8f8f;
	position: relative;
	border: 4px solid;
	border-color: rgba(0, 0, 0, 0.125);
	width: 300px;
	height: 300px;
	font-size: 15px;
	border-radius: 15px;
	color: rgba(0, 0, 0, 0.5);
}

.challenge.done {
	background-image: repeating-linear-gradient(
		-49deg,               /* Diagonal angle for stripes */
		#88df6b,             /* Stripe color */
		#88df6b 25px,        /* Start of stripe */
		#7dd75f 25px,        /* Second stripe color */
		#7dd75f 50px         /* End of stripe */
	);
}

.challenge.canComplete {
	background-color: #f1be11;
}

/* Infoboxes */
.story {
    width: 600px;
    max-width: 95%;
    border-bottom: solid 4px;
    border-radius: 8px;
    margin-bottom: 8px;
    text-align: left;
}

.story-title {
    text-align: left;
    font-size: 24px;
    color: black;
    cursor: pointer;
    border: none;
    padding: 2px;
    border-radius: 8px 8px 0 0;
}

.story-toggle {
    border: none;
    background: black;
    color: white;
    font-size: 20px;
    pointer-events: none;
    width: 1em;
    display: inline-block;
}

.story-text {
	padding: 2px;
    border: solid 4px;
    border-color: inherit;
    border-radius: inherit;
    border-top-left-radius: 0;
    margin-bottom: -2px;
}


/* Tiles are gridables */
.tile {
	height: 100px;
	width: 100px;
	border-radius: 10px;
	border: 2px solid;
	border-color: rgba(0, 0, 0, 0.125);
	font-size: 10px;
	overflow: visible;
}

.tile.can:hover {
	box-shadow: 0 0 10px var(--points);
	transform: scale(1.1, 1.1);
	z-index: 7;
}

.upgBig {
	height: 200px;
	width: 200px;
	border-radius: 20%;
	border: 2px solid;
	border-color: rgba(0, 0, 0, 0.125);
}

/* Used for respec button and similar */
.longUpg {
	height: 50px;
	width: 120px;
	background: var(--points);
	border-radius: 20px;
	border: 2px solid;
	border-color: rgba(0, 0, 0, 0.125);
	font-size: 10px;
}

.smallUpg {
	height: 40px;
	width: 40px;
	border-radius: 20%;
	border: 2px solid;
	border-color: rgba(0, 0, 0, 0.125);
}

