/* Who did that - builds on party.css */

.party-root.wdt-root {
	background-color: #63e6be;
	background-image:
		radial-gradient(circle at 20% 30%, rgba(255, 255, 255, .4) 0 18%, transparent 19%),
		radial-gradient(rgba(12, 166, 120, .35) 2px, transparent 2.5px);
}

/* ------------------------------------------------------------ header */

.wdt-title {
	display: flex;
	align-items: center;
	gap: 10px;
}

.wdt-logo-who { color: #fff; font-size: 38px; transform: rotate(-4deg); display: inline-block; }
.wdt-logo-that { color: var(--pink); font-size: 58px; }

.wdt-magnifier {
	width: 78px;
	height: 78px;
	flex: none;
	filter: drop-shadow(3px 3px 0 var(--ink));
	animation: wdt-search 3.5s ease-in-out infinite;
}

.wdt-magnifier.tutorial { width: 100px; height: 100px; margin-top: 6px; }

/* ------------------------------------------------------------ writing */

.wdt-writing { gap: 18px; }
.wdt-writing .party-hint { max-width: 520px; text-align: center; }

.wdt-inputs {
	display: flex;
	flex-direction: column;
	gap: 16px;
	width: min(100%, 680px);
}

.wdt-input-row {
	display: flex;
	flex-direction: column;
	gap: 6px;
	animation: party-slide-in .35s ease-out backwards;
}

.wdt-input-row:nth-child(2) { animation-delay: .07s; }
.wdt-input-row:nth-child(3) { animation-delay: .14s; }

.wdt-input-question {
	align-self: flex-start;
	font-weight: 700;
	font-size: 18px;
	background: #fff;
	border: 3px solid var(--ink);
	border-radius: 12px;
	padding: 4px 12px;
	box-shadow: 3px 3px 0 var(--ink);
	transform: rotate(-1deg);
}

.wdt-input-row .party-input { font-size: 19px; }

.wdt-inputs.mini { width: min(100%, 520px); }
.wdt-inputs.mini .party-input { font-size: 16px; padding: 6px 12px; display: block; }

/* ------------------------------------------------------------ guessing */

.wdt-mine {
	font-size: 16px !important;
	background: #fff3bf;
	border: 3px solid var(--ink);
	border-radius: 12px;
	padding: 4px 12px;
}

/* ------------------------------------------------------------ animations */

@keyframes wdt-search {
	0%, 100% { translate: 0 0; rotate: 0deg; }
	25% { translate: -4px -2px; rotate: -8deg; }
	50% { translate: 3px 1px; rotate: 4deg; }
	75% { translate: -2px 2px; rotate: -3deg; }
}

/* ------------------------------------------------------------ small screens */

@media (max-width: 900px) {
	.wdt-logo-who { font-size: 26px; }
	.wdt-logo-that { font-size: 40px; }
	.wdt-magnifier { width: 56px; height: 56px; }
}
