/* Deck: layers over the fixed footer. */

.ap-deck {
	flex-shrink: 0;
	margin-top: 64px;
	position: relative;
	background: var(--ap-color-graphite);
	height: 64px;
}

.ap-deck__layer {
	position: absolute;
	left: 50%;
	top: 0;
	height: 40px;
}

.ap-deck__layer--back {
	width: calc(100% - 64px);
	background: var(--ap-color-sand-dark);
	border-radius: 0 0 30px 30px;
	transform: translate(-50%, 0);
	transition: transform 0.4s var(--ap-ease-drawer);
}

.ap-deck__layer--mid {
	width: calc(100% - 32px);
	background: var(--ap-color-sand);
	border-radius: 0 0 34px 34px;
	transform: translate(-50%, 0);
	transition: transform 0.4s var(--ap-ease-drawer);
}

.ap-deck__layer--front {
	width: 100%;
	background: var(--ap-color-paper);
	border-radius: 0 0 40px 40px;
	transform: translateX(-50%);
}
