.modal {
	display: flex;
	opacity: 1;
	transform: translateY(0);
	flex-direction: column;
	justify-content: center;
	align-items: center;
	width: 100%;
	height: 100%;
	z-index: 1000;
	padding: 20px;
	position: fixed;
	color: #fff;
	background-color: transparent;
}
.modal:before {
	content: "";
	width: 100%;
	height: 100%;
	position: absolute;
	z-index: -1;
	background: rgb(0 0 0 / 50%);
}

/*-------------------------------------------------------
MENU SCENE
-------------------------------------------------------*/
#title-scene {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
}

#btn-logout {
	position: fixed;
	top: 10px;
	left: 10px;
	color: var(--color-text);
}

#login-status {
	height: 20px;
	margin-top: 0.75rem;
}

.btn-link {
	border: none;
	color: var(--color-link);
	font-family: inherit;
	font-size: 1rem;
	background: none;
}

.btn span {
    display: block;
    font-size: 0.75rem;
    padding-left: 1.5rem;
}

#daily-puzzle-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 400px;
	max-width: 100%;
	margin: 1rem auto 1.5rem;
}

#daily-puzzle-btn img {
	margin: 0 0.5rem 0.5rem 0;
}

#module-select-wrapper {
	display: flex;
	flex-grow: 1;
	flex-shrink: 1;
	width: 100%;
	overflow: auto;
	flex-direction: column;
}

#module-select-container {
	display: flex;
	width: 100%;
	flex-direction: column;
	grid-gap: 0.75em;
	align-items: center;
}

#module-select-container .btn {
	position: relative;
	width: 400px;
	max-width: 100%;
	text-align: left;
}

.locked {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.locked svg {
	fill: var(--color-btn-text);
}

#options-container {
	display: flex;
	width: 100%;
	flex-direction: column;
	grid-gap: 0.75em;
	align-items: center;
	padding-top: 1.5em;
}

#options-container .btn {
	position: relative;
	width: 250px;
	max-width: 100%;
}

/*-------------------------------------------------------
LOGIN SCENE
-------------------------------------------------------*/
#login-scene input {
	display: block;
	width: 250px;
	margin: 1rem auto;
	padding: 0.5rem;
	font-size: 1rem;
	border-radius: 0.5rem;
	border: 1px solid #cdc9b5;
}

#login-back {
	position: fixed;
	top: 10px;
	left: 10px;
	color: var(--color-text);
}

#login-scene .btn {
	font-size: 1rem;
}

#use-username-link {
	min-width: 186px;
	height: 40px;
	padding: 0;
	border-radius: 0.25rem;
}

.or-divider {
	margin: 0.75rem auto;
}

#alt-login-buttons-1, #alt-login-buttons-3 {
	margin: 0.75rem auto 0.25rem;
}

.third-party-logins img {
	display: block;
	margin: 0 auto 0.125rem auto;
}