.overlay {
	position: fixed;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	z-index: 99999;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	background: var(--bg-overlay);
	padding: 60px;
}

.container {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.container.fullsize {
	width: 100%;
	height: 100%;
}

.close {
	align-self: flex-end;
	background: none;
	border: none;
	font-size: 1.8em;
	height: 1em;
	width: 1em;
	color: var(--fg-switch-low);
	padding: 0;
	display: block;
	line-height: 1;
	cursor: var(--cursor-interactive);
}
  
.close:hover {
	color: var(--fg-switch-high);
}
  
.content {
	overflow: hidden;
	flex: 1;
	width: 100%;
}

@media only screen and (max-height: 800px) {
	.overlay {
		padding: 30px;
	}
}