
.test {
	max-width: 100% !important;
	width: 100%;
}
.test.square-demo-container {
	position: relative;
	display: flex;
	flex-flow: column nowrap;
	align-items: center;
	background: rgba(100,100,100,0.5);
	max-width: 50vh !important;
	aspect-ratio: 1;
	margin: auto;
	touch-action: pan-x pan-y;
	overflow: hidden;
}

.test > * {
	width: 100%;
	vertical-align: middle;
	text-align: center;
	padding: 5rem 2rem;
	height: 5rem;
	border-radius: 2.5rem;
	color: white;
}
.test.smaller > * {
	height: 2.5rem;
	border-radius: 1.25rem;
}
.test.square-demo-container > p {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: auto;
	height: auto;
	margin: 0;
	pointer-events: none;
	z-index: 10;
	background: rgba(244,67,54, 0.9);
	border-radius: 0.5em;
	padding: 1em;
}
@media print {
	.test > * {
		height: 2rem;
		border-radius: 1rem;
		line-height: 1rem;
	}
	.test.smaller > * {
		height: 1rem;
		border-radius: 0.5rem;
		line-height: 0.15rem;
	}
}

.square {
	width: 50%;
	height: auto;
	aspect-ratio: 1;
	margin: auto;

	background: url("/favicon.png") no-repeat center center;
	background-size: contain;
}


.blue {
	background-color: #29b6f6;
}
.red {
	background-color: #f44336;
}
.green {
	background-color: #66bb6a;
}
.purple {
	background-color: #ce93d8;
}
.orange {
	background-color: #ffa726;
}
.teal {
	background-color: #13dda3;
}

.test-set-height {
	height: 10rem;
	border: 2px dashed;
	padding: 1rem;
}