.advent {
	font-weight: 400;
	background: url(/img/advent/advent.jpg) center center no-repeat;
	background-size: cover;
	position: relative;
}

.advent__in {
	display: grid;
	font-family: "Playwrite CZ", cursive;
	grid-template-columns: repeat(31, 1fr);
	gap: clamp(24px, 4vw, 40px) 0;
	padding: clamp(12px, 4vw, 48px);
	align-items: start;
}

.advent__door:nth-child(11), .advent__door:nth-child(17), .advent__door:nth-child(2) {
	background: #a11e25;
	color: white;
}

.advent__door:nth-child(4), .advent__door:nth-child(14) {
	grid-column: 20 / 26;
}

.advent__door:nth-child(4) {
	margin-top: 56px;
}

.advent__door:nth-child(5) {
	margin-top: 56px;
	background: #8f6466;
	color: white;
}

.advent__door:nth-child(6) {
	margin-top: -32px;
	color: white;
	background: #4e3337;
	z-index: 6;
}

.advent__door:nth-child(7) {
	grid-column: 8 / 14;
	color: white;
	background: #4e3337;
}

.advent__door:nth-child(14) {
	color: white;
	background: #4e3337;
}

.advent__door:nth-child(3), .advent__door:nth-child(9), .advent__door:nth-child(22) {
	background: #64725b;
	color: white;
}

.advent__door:nth-child(12), .advent__door:nth-child(18), .advent__door:nth-child(20) {
	background: #8f6466;
	color: white;
}

.advent__door:nth-child(10), .advent__door:nth-child(16), .advent__door:nth-child(19), .advent__door:nth-child(23) {
	background: #3b3b3a;
	color: white;
}

.advent__door:nth-child(8), .advent__door:nth-child(15) {
	background: #c4c4b3;
}

.advent__door:nth-child(17) {
	grid-column: 8 / 14;
}

.advent__door:nth-child(24) {
	grid-column: 22 / 31;
	background: url(/img/advent/final.svg) center center no-repeat;
	background-size: contain;
	aspect-ratio: 203 / 304;
	color: white;
}

@media ((any-hover: hover) AND (pointer:fine)) {
	.advent__door:hover {
		background: #F66009;
		box-shadow: 0 0 30px rgba(0, 0, 0, .2) inset;
		font-size: clamp(.875em, 3.5vw, 3.5em);
	}
}

.advent__door img {
	position: absolute;
	height: auto;
}

.advent__door {
	font-size: clamp(.875em, 3.5vw, 3em);
	line-height: 3em;
	background: #e1d9cb;
	display: flex;
	justify-content: center;
	color: #4e3337;
	grid-column: span 6;
	aspect-ratio: 1;
	cursor: pointer;
	transition: all .15s ease-out;
	position: relative;
	z-index: 2;
	box-shadow: 0 0 0 0 rgba(0, 0, 0, 0) inset;
}

.advent__door--active img {
	display: none;
}

.advent__door--active {
	border: 1px dotted rgba(0, 0, 0, 0.3);
	background: rgba(0, 0, 0, 0.13) !important;
	color: rgba(255, 255, 255, 0.24) !important;
	pointer-events: none;
}

.advent__ico1 {
	left: -3%;
	bottom: 0%;
	width: 60%;
}

.advent__ico2 {
	right: 5%;
	bottom: 5%;
	width: 50%;
}

.advent__ico3 {
	right: 5%;
	bottom: 0%;
	width: 60%;
}

.advent__ico4 {
	right: -35%;
	top: -25%;
	width: 70%;
	z-index: 5;
}

.advent__ico5 {
	right: 5%;
	bottom: 0;
	width: 60%;
}

.advent__ico6 {
	left: 5%;
	bottom: 0;
	width: 70%;
}

.advent__ico7 {
	right: 0%;
	bottom: -7%;
	width: 75%;
}

.advent__ico9 {
	right: 25%;
	bottom: 0;
	width: 50%;
}

.advent__ico10 {
	left: 50%;
	transform: translateX(-50%);
	bottom: 8%;
	width: 70%;
}

.adventWin {
	backdrop-filter: blur(5px);
	background: rgba(100, 114, 91, 0.81);
	position: absolute;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	padding: 32px 16px;
	z-index: 20;
}

.adventWin__in {
	background: #4e3337;
	width: 100%;
	max-width: 35em;
	display: flex;
	align-items: center;
	gap: 1em;
	color: white;
	text-align: center;
	flex-flow: column nowrap;
	align-items: stretch;
	padding: 40px clamp(12px, 4vw, 48px);
	position: relative;
	margin: 0 auto;
	position: sticky;
	top: 40px;
	overflow: auto;
	max-height: 90vh;
	overscroll-behavior-y: contain;
}

.adventWin .btn {
	border-width: 0;
	width: 100%;
}

.adventWin .icon-cross2 {
	color: white;
	position: absolute;
	right: 0;
	top: 0;
	padding: 12px;
	cursor: pointer;
}

.adventWin img {
	opacity: .7;
	width: auto;
	max-height: 40vw;
	width: 100%;
	max-width: 70%;
	margin: 0 auto;
}

.adventWin p {
	margin: 0;
}

.adventWin__hdl {
	text-transform: uppercase;
	font-weight: 700;
	font-size: clamp(1.25em, 3vw, 2em);
	line-height: 1.25em;
}

.adventWin__info a:hover {
	text-decoration: underline;
}

.adventWin__info a {
	color: currentColor;
	text-decoration: none;
}

.adventWin .adventWin__code {
	font-weight: 700;
	font-size: clamp(1.25em, 3vw, 2em);
	padding: 16px;
	border: 1px dashed #fff;
}

.adventWin__info {}

@media (max-width: 639px) {
	.adventWin {
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		z-index: 1000;
		bottom: 0;
		padding: 8px;
	}
}
