#dark-background {
	position: fixed;
	top: 0;
	left: 0;

	width: 100vw;
	height: 100vh;

	background-color: black;
	opacity: 80%;

	z-index: 100;

	display: none;
}

#overlay {
    
    position: fixed;
    left: 50%;
    transform: translate(-50%, 0);

	padding: 30px;

	width: 75vh;
	height: calc(80vh - 60px);

	overflow-y: auto;

	background: white;

	z-index: 200;

	display: none;

	transition: 0.5s;
}

#close-overlay-button {
	position: absolute;
	top: -15px;
	right: 0;
	margin: 20px;
	border: none;
	background-color: transparent;
	font-family: SuperMarioTitle;
	font-size: 3em;
	cursor: pointer;
}

/*random level generator*/

#random-level-overlay {
	text-align: center;
}

#random-level-overlay p {
    font-size: 1.5em;
}

#random-level-overlay .input-container {
	display: flex;
	flex-direction: row;

    justify-content: center;
}

#random-level-overlay .input-container input {
    padding-right: 10px;
}

#random-level-overlay .increment-container {
	display: flex;
	flex-direction: column;
	padding-left: 10px;
	justify-content: center;
}

#random-level-overlay .increment-container > button {
	height: 50%;
	width: 36px;

	background-image: url("../assets/sprites/ui/PMTOK_Panel_Starting_Position_Arrow.png");
	background-size: cover;
	background-position: center;
	background-color: transparent;

	border: 0px;
}

#random-level-overlay .increment-container > button:nth-child(2) {
	transform: rotate(180deg);
}

#random-level-overlay #random-generate-button{
    font-family: SuperMarioTitle;
    font-size: 4em;
    
    border: 5px black solid;

    line-height: 70%;

    padding: 10px;
}

/*moving on*/

#moves-counter {
	position: fixed;
	right: 0;
	top: 15vh;

	width: 250px;
	height: 100px;

	display: flex;
	flex-direction: column;

	font-family: SuperMarioTitle;
	font-size: 2em;
	justify-content: space-evenly;

	text-align: center;
	line-height: 50%;

	background: lightgray;
	border: none solid 0px;
	border-left: var(--yellow) solid 20px;

	z-index: 50;
}

#moves-counter > #moves-counter-title {
	color: var(--dark-gray);
}

#moves-counter > #moves-counter-counter {
	font-size: 1.5em;

	color: var(--red-outline);
	-webkit-text-fill-color: var(--red-fill);
	-webkit-text-stroke: 3px;

	text-shadow: 0px 0px 4px black;
}

#moves-counter > .move-counter-half-solved {
	color: var(--yellow-outline) !important;
	-webkit-text-fill-color: var(--yellow-fill) !important;
}
#moves-counter > .move-counter-full-solved {
	color: var(--green-outline) !important;
	-webkit-text-fill-color: var(--green-fill) !important;
}

#share-overlay > p {
	text-align: center;
	font-size: 2em;
	line-height: 50%;
}
