/* CSS Document */

@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:ital,wght@0,400;0,600;1,400;1,600&display=swap');
@font-face {
	font-family: 'Arizona Flare';
    src: url('/fonts/Arizona Flare.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
}

:root {
	--foreground-color: #000000;
	--background-color: #F6F4F2;
	--header-color: #F6F4F2;
	--link-color: #5e5a56;
	--link-active-color: #898785;
	--accent-color: #5e5a56;
	--scroll-padding-top: 0;
	--page-margin-inline: 2.2rem;
	color-scheme: light;
}	

@media (width >= 32.5rem) {
	:root {
		--scroll-padding-top: 0;
	}
}

@media (width >= 68rem) {
	:root {
		--scroll-padding-top: 0;
	}
}

@media (height < 50rem) and (orientation: landscape) {
	:root {
		--scroll-padding-top: 0;
	}
}

@keyframes fade-in {
	0% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}


/* div, h1, h2, h3, h4, p, span, ul, li, section, article {
	outline: 1px solid #a2009f;
}
 */
html {
	scroll-behavior: smooth;
	scroll-padding-top: var(--scroll-padding-top);
	height: 100%;
}
body,
td,
th,
input,
select,
textarea,
button {
	font-family: 'IBM Plex Sans', Helvetica, Arial, sans-serif;
	font-style: normal;
	font-weight: 400;
	font-size: 1rem;
	color: var(--foreground-color);
	line-height: 200%;
	accent-color: var(--accent-color);
}
body {
	background-color: var(--background-color);
	margin: 0;
	height: 100%;
}
body,
td,
th,
input,
select,
textarea,
.button,
button,
p,
h4,
h5,
.login #main > h1,
.login #main > p {
	font-size: clamp(0.9rem, 1.1vw + 0.9rem, 1.05rem);
}
h1,
h2,
h3 {
	font-family: 'Arizona Flare', serif;
	font-weight: 400;
	font-style: normal;
	line-height: 120%;
}
h4,
h5 {
	font-weight: 600;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
h2 {
	margin-block: min(4rem, 4vh) min(6rem, 6vh);
}
a {
	transition: 0.4s color linear, 0.4s box-shadow linear;
	color: var(--link-color);
	text-decoration: none;
}
a:active,
a:hover {
	text-decoration: none;
}
.current > a,
a:hover {
	color: var(--link-active-color);
}
img {
	border: 0 none;
	display: inline-block;
}
::selection {
	color: var(--background-color);
	background-color: var(--accent-color);
}
#main {
	display: flex;
	min-height: 100dvh;
	transition: 1.5s margin ease-in;
	flex-wrap: wrap;
	align-content: center;
	justify-content: center;
	gap: 0;
}
.illustration {
	margin-block-end: 2rem;
}
.illustration img {
	width: calc(100% - 2 * var(--page-margin-inline));
}
h1,
h2,
h3,
h4,
.illustration > a,
.illustration > img {
	display: block;
	margin-inline: auto;
}
.illustration a {
	padding-block: 0.5rem;
}
.login #main > * {
	flex: 1 0 calc(100% - 2 * var(--page-margin-inline));
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	line-height: 200%;
}
.login section > h2,
.login section > p {
	width: min(95%, 70rem);
	margin-inline: auto;
}
.login #main > h1 {
	margin-block: 0.3rem 0;
}
.login #main > .instructions {
	margin-block: 0 1.7rem;
	line-height: 130%;
}
.login #main a {
	padding-inline: 0.8em;
}
.admin {
	height: auto;
}
.admin #main {
	display: flex;
	width: min(calc(100vw - 2 * var(--page-margin-inline)), 70rem);
	min-height: 100dvh;
	transition: 1.5s margin ease-in;
	flex-wrap: wrap;
	justify-content: start;
	align-content: start;
	gap: 0;
	margin-inline: auto;
}
.admin #main > * {
	flex: 1 0 100%;
}
.admin h1 {
	margin-block-start: 3rem;
}
.admin .summary {
	margin-block: 0 1.6rem;
}
.admin .summary ul {
	list-style: none;
	margin-inline: 0;
	padding-inline: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
}
.admin .summary li {
	margin-inline: 0;
	padding-block: 0.9rem;
	padding-inline: 0.7rem;
	display: flex;
	flex-wrap: wrap;
	border: 1px solid var(--foreground-color);
	border-radius: 3px;
	gap: 0.4rem;
	flex: 1 0 10rem;
	text-align: center;
}
.admin .summary li.day,
.admin .summary li.evening {
	color: color-mix(in lab, var(--foreground-color), var(--background-color));
	border: 1px solid color-mix(in lab, var(--foreground-color), var(--background-color));
}
.admin .summary .field {
	flex: 1 0 10rem;
	font-weight: 600;
}
.admin .summary .value {
	flex: 5 0 7rem;
	font-size: 2rem;
	position: relative;
	line-height: 100%;
}
.admin .summary .supplemental {
	font-size: 0.5em;
}
.admin .dietary-requirements ul {
	margin-block: 0;
	margin-inline: 0;
	padding-inline: 1em 0;
	list-style: square;
	line-height: 130%;
}
.admin .dietary-requirements li {
	margin-block: 0;
	margin-inline: 0;
	padding-inline: 0;
}
.admin .dietary-requirements li::marker {
	color: var(--accent-color);
}
.admin .dietary-requirements .name {
	font-weight: 600;
}
header {
	text-align: center;
	position: absolute;
	background-color: var(--header-color);
	inset-block-start: 0;
	inset-inline: 0;
	z-index: -1;
}
header.static,
header + #main {
	transition: none;
	transform: translate(0, 0);
}
header + #main {
	margin-block-start: var(--scroll-padding-top);
}
header.static + #main {
	transition: none;
}
header h1,
header ul {
	margin: 0;
}
h1 {
	font-size: clamp(2.1rem, 3.2vw + 2.1rem, 4.2rem);
	font-weight: 400;
	line-height: 200%;
	text-transform: uppercase;
}
h2 {
	font-size: clamp(1.1rem, 1.6vw + 1.1rem, 2.5rem);
	font-weight: 400;
}
h3 {
	font-size: clamp(1.4rem, 1.3vw + 0.9rem, 1.85rem);
	text-transform: uppercase;
	font-weight: 400;
	letter-spacing: 0.02em;
}
h4 {
	margin-block: min(4rem, 4vh) min(1.8rem, 1.8vh);
	letter-spacing: 0.02em;
	text-transform: uppercase;
}
.admin h1 {
	font-weight: 400;
	font-size: clamp(1.1rem, 1.6vw + 1.1rem, 2.5rem);
}
header nav ul {
	margin: 0 auto;
	padding: 0;
	list-style: none;
}
header nav ul {
	display: flex;
	flex-wrap: wrap;
}
header nav li {
	font-size: 0.9rem;
	padding: 0;
	flex: 1 1 7em;
	box-shadow: 0 -2px 0 0 #ffffff1a inset;
	opacity: 0;
}
nav li:nth-child(1) {
	animation: 1s linear 2.2s 1 fade-in forwards;
}
nav li:nth-child(2) {
	animation: 1s linear 2s 1 fade-in forwards;
}
nav li:nth-child(3) {
	animation: 1s linear 1.8s 1 fade-in forwards;
}
nav li:nth-child(4) {
	animation: 1s linear 1.6s 1 fade-in forwards;
}
nav li:nth-child(5) {
	animation: 1s linear 1.4s 1 fade-in forwards;
}
nav li:nth-child(6) {
	animation: 1s linear 1.2s 1 fade-in forwards;
}
nav li:nth-child(7) {
	animation: 1s linear 1s 1 fade-in forwards;
}
nav li:nth-child(8) {
	animation: 1s linear 0.8s 1 fade-in forwards;
}
header nav a {
	display: block;
	padding: 0.8em 1em;
	text-transform: uppercase;
	text-decoration: none;
}
header .line {
	transition: 0.3s left ease-in-out, 0.3s width ease-in-out, 0.3s opacity linear;
	position: absolute;
	content: '';
	border-top: 2px solid var(--accent-color);
	z-index: 400;
	height: 2px;
	left: calc(calc(100% / 8) * 0.1);
	width: calc(calc(100% / 8) * 0.8);
	margin-block-start: -2px;
	opacity: 0;
	display: none;
}

section,
article {
	text-align: center;
}
section {
	flex: 1 0 calc(100% - 2 * var(--page-margin-inline));
	line-height: 160%;
}
article {
	margin-block: 0;
	padding-block: clamp(6rem, 13vh, 18rem);
}
article + article::before {
	position: absolute;
	content: '';
	height: 2px;
	width: min(8rem, 20%);
	background-image: linear-gradient(90deg, #0000 0%, #000F 50%, #0000 100%);
	inset-inline-start: 50%;
	translate: -50% calc(min(16vh, 16rem) * -1);
}
section > h2,
section > h3,
section > p,
article > h2,
article > h3,
article > h4,
article > p,
article > ul,
article > ol {
	width: min(calc(100% - 2 * var(--page-margin-inline)), 70rem);
	margin-inline: auto;
}
article > h2:has(img) {
	width: min(calc(100% - 2 * var(--page-margin-inline)), 22rem);
}
article > h2:first-child {
	margin-block-start: min(4rem, 4vh);
}
article > h2
article > ul,
article > ol {
	list-style: none;
	padding-inline: 0;
}
article > p {
	width: min(calc(100% - 2 * var(--page-margin-inline)), 20.4em);
}
h1 {
	margin-block-start: clamp(5rem, 14vh + 2rem, 60rem);
}
input[type=text],
input[type=email],
input[type=tel],
input[type=date],
input[type=password],
input[type=url],
select,
textarea {
	border-radius: 0;
	border: 0 none;
	padding: 0.3rem 0.4rem;
	width: calc(100% - 0.8rem);
	transition: 0.3s color linear, 0.3s box-shadow ease;
}
input[type=text]:focus-within,
input[type=email]:focus-within,
input[type=tel]:focus-within,
input[type=date]:focus-within,
input[type=password]:focus-within,
input[type=url]:focus-within,
select:focus-within,
textarea:focus-within {
	box-shadow: 0 -2px 0 var(--accent-color) inset;
}
input.error {
	background-image: url("data:image/svg+xml;charset=UTF-8;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0ODguNDE5IDQ4OC40MTkiIHhtbDpzcGFjZT0icHJlc2VydmUiPgo8cGF0aCBkPSJNNDgwLjc3OCAzNjYuNzggMjc3LjgxNiA3MC4yMTlhMzkuMDcyIDM5LjA3MiAwIDAgMC0zMi4xNTMtMTcuMDEgMzkuMDU2IDM5LjA1NiAwIDAgMC0zMi4yNTYgMTYuODIyTDcuNzg4IDM2Ni41NTlhNDMuNzU4IDQzLjc1OCAwIDAgMC0yLjgwNiA0NS4xOTcgNDMuNzI2IDQzLjcyNiAwIDAgMCAzOC43NDYgMjMuNDUzaDQwMC45NTlhNDMuNzM5IDQzLjczOSAwIDAgMCAzOC42ODMtMjMuMzI4IDQzLjc0NCA0My43NDQgMCAwIDAtMi41OTItNDUuMTAxem0tMjM2LjU2NCAzNC4wOTZjLTE3LjA3MyAwLTMwLjkxNi0xMy44MjYtMzAuOTE2LTMwLjkxMiAwLTE3LjA5IDEzLjg0My0zMC45MTYgMzAuOTE2LTMwLjkxNiAxNy4wNzEgMCAzMC45MTMgMTMuODI2IDMwLjkxMyAzMC45MTYgMCAxNy4wODYtMTMuODQyIDMwLjkxMi0zMC45MTMgMzAuOTEyem0tMjcuNTA3LTI1Ny4xMzFhMzcuMzU2IDM3LjM1NiAwIDAgMSAyNy41MDYtMTIuMDcyIDM3LjM1NSAzNy4zNTUgMCAwIDEgMjcuNTA0IDEyLjA3MiAzNy4zNDIgMzcuMzQyIDAgMCAxIDkuNzM2IDI4LjQyMmwtMTEuNzQ5IDE0MC4yNzVjLTcuODE2LTMuNDgtMTYuNDA2LTUuNTAxLTI1LjQ5MS01LjUwMS05LjA4NyAwLTE3LjY3NiAyLjAyMS0yNS40OTEgNS41MDFsLTExLjc1MS0xNDAuMjc1YTM3LjM1OCAzNy4zNTggMCAwIDEgOS43MzYtMjguNDIyeiIvPgo8L3N2Zz4");
	background-repeat: no-repeat;
	background-size: 1.5em;
	background-position: calc(100% - 0.5em) 50%;
}
input.error:focus-within {
	background-image: none;
}
button,
.button {
	width: 4.6em;
	text-transform: uppercase;
	border: 0 none;
	outline: none;
	background: transparent url("/images/button.svg") no-repeat scroll 0 0 / 100%;
	line-height: 110%;
	margin-block-start: 1em;
	margin-inline: auto;
	padding-block: 0.55em;
	padding-inline: 0.2rem;
	transition: 0.2s color linear, 0.2s box-shadow linear;
	cursor: pointer;
	display: inline-block;
}
button[type="submit"],
button[type="button"] {
	width: 4.9em;
}
button.active,
.button.active {
	color: color-mix(in lab, var(--foreground-color) 80%, var(--background-color));
	box-shadow: 0 0 0 10px color-mix(in lab, var(--background-color) 60%, #FFF0) inset;
}
button.disabled,
button.disabled:hover,
button.disabled:focus-within,
.button.disabled,
.button.disabled:hover,
.button.disabled:focus-within {
	cursor: not-allowed;
	color: color-mix(in lab, var(--foreground-color) 20%, var(--background-color));
	box-shadow: 0 0 0 10px color-mix(in lab, var(--background-color) 85%, #FFF0) inset;
}
.maps {
	width: auto;
}
.maps a {
	display: inline-block;
	padding-inline: min(1.9rem, 2.3vw);
}
.maps a + a {
	border-inline-start: 2px solid color-mix(in lab, var(--foreground-color) 60%, var(--background-color));
}
button:hover,
.button:hover {
	color: color-mix(in lab, var(--foreground-color) 80%, var(--background-color));
	box-shadow: 0 0 0 10px color-mix(in lab, var(--background-color) 60%, #FFF0) inset;
}
button:focus-visible,
.button:focus-visible {
	color: color-mix(in lab, var(--foreground-color) 60%, var(--background-color));
	box-shadow: 0 0 0 10px color-mix(in lab, var(--background-color) 80%, #FFF0) inset;
}
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
a:focus-visible {
	outline: none;
}
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
	border-color: #1e1e1e;
}
.maps .what3words .icon {
	color: var(--background-color);
	display: inline-block;
	border-radius: 3px;
	background-color: #ff0000b3;
	width: 1.6em;
	height: 1.6em;
	overflow: hidden;
	line-height: 170%;
	font-size: 0.9em;
	vertical-align: middle;
	font-weight: 700;
	margin-inline-end: 0.4em;
	font-family: 'Arial Rounded', Helvetica, Arial, sans-serif;
	letter-spacing: -0.03em;
}
#main .login,
#main .login form {
	display: flex;
	flex: 1 0 100%;
	flex-wrap: wrap;
	gap: 1.7rem;
	max-width: min(calc(100% - var(--page-margin-inline)), 900px);
	margin-inline: auto;
}
#main .login > * {
	flex: 1 0 calc(100% - 2 * var(--page-margin-inline));
}
#main .login p {
	flex: 1 0 calc(100% - 2 * var(--page-margin-inline));
	margin-block: 0;
	margin-inline: auto;
}
#main .login input[type="password"],
#main .login .button {
	display: block;
	max-width: min(calc(100% - 2 * var(--page-margin-inline)), 25rem);
	margin-inline: auto;
	text-align: center;
}
.hidden {
	display: none;
}
#ceremony {
	padding-block-start: min(1.6vh, 1.6rem);
}
#invitation h2 {
	width: min(calc(100% - 2 * var(--page-margin-inline)), 22ch);
}
#invitation h2 img {
	width: 100%;
	height: auto;
}
#details h2 img {
	width: min(calc(100% - 2 * var(--page-margin-inline)), 11ch);
}
#invitation .vertical-divider {
	content: '';
	width: 2px;
	height: max(7rem, calc(50dvh - 19.7rem));
	background-image: linear-gradient(0deg, #0000, #000F);
	margin-inline: auto;
	margin-block: max(6rem, calc(33dvh - 19.7rem));
	border-radius: 2px;
}
.illustration {
	width: min(calc(100% - 2 * var(--page-margin-inline)), 478px);
	margin-block-end: 3rem;
	margin-inline: auto;
}
.illustration img {
	width: calc(100% - 2 * var(--page-margin-inline));
	height: auto;
}
.login .illustration a {
	width: min(calc(100% - 2 * var(--page-margin-inline)), 15rem);
}
.login .illustration a img {
	width: 100%;
}
.illustration.dancing-couple img {
	width: min(calc(100% - 2 * var(--page-margin-inline)), calc(956px / 4.5));
}
.illustration.ceremony img {
	width: min(calc(100% - 2 * var(--page-margin-inline)), calc(584px / 2));
}
.illustration.dinner img {
	width: min(calc(100% - 2 * var(--page-margin-inline)), calc(408px / 2));
}
.illustration.dress img {
	width: min(calc(100% - 2 * var(--page-margin-inline)), calc(378px / 2));
}
.illustration.accommodation img {
	width: min(calc(100% - 2 * var(--page-margin-inline)), calc(353px / 2));
}
.illustration.gifts img {
	width: min(calc(100% - 2 * var(--page-margin-inline)), calc(504px / 2));
}
.illustration.rsvp img {
	width: min(calc(100% - 2 * var(--page-margin-inline)), calc(345px / 2));
}
.split {
	position: relative;
	display: flex;
	list-style: none;
	width: min(calc(100% - 2 * var(--page-margin-inline)), 20em);
	margin-block: 1.5rem;
	margin-inline: auto;
	padding-inline: 0;
}
.split::before,
.split::after {
	position: absolute;
	content: '';
	height: 2px;
	width: 100%;
	background-image: linear-gradient(90deg, #0000 0%, #000F 50%, #0000 100%);
}
.split::after {
	inset-block-end: 0;
}
.split > li {
	flex: 1 0 20%;
	padding-inline: 1.8em;
	padding-block: 1.3em;
}
.split > li:nth-child(2n-1) {
	border-inline-end: 2px solid;
}
.split .first,
.split time {
	display: block;
}
.split .first {
	font-weight: 600;
}
.split li ul {
	list-style: none;
	margin-inline: 0;
	padding-inline: 0;
}
.split li li {
	margin-inline: 0;
	padding-inline: 0;
}
.address a {
	color: var(--foreground-color);
}
.accommodation-options {
	list-style: none;
	margin-inline: auto;
	padding-inline: 0;
}
.accommodation-options li {
	display: inline-block;
	margin-inline: 0;
	padding-inline: min(1.9rem, 2.3vw);
}
.accommodation-options li + li {
	border-inline-start: 2px solid color-mix(in lab, var(--foreground-color) 60%, var(--background-color));
}
#photos .preview {
	margin-block-start: 4rem;
	transition: 0.4s filter linear;
	filter: grayscale(60%) sepia(40%) brightness(90%) blur(2px);
	opacity: 0.8;
}
#photos .preview:hover {
	filter: grayscale(50%) sepia(30%) brightness(93%) blur(1px);
}
#photos .preview img {
	display: block;
	width: calc(100% - 2 * var(--page-margin-inline));
	max-width: 60rem;
	height: auto;
	margin-inline: auto;
}
#rsvp-form p {
	flex: 1 0 calc(100% - 2 * var(--page-margin-inline));
	display: flex;
	flex-wrap: wrap;
}
#rsvp-form {
	display: flex;
	flex-wrap: wrap;
	align-items: start;
	width: min(45rem, calc(100% - 2 * var(--page-margin-inline)));
	margin-inline: auto;
	margin-block: clamp(1rem, 0.5vh + 1rem, 2.6vh);
	gap: 0 1.8rem;
}
#rsvp-form p {
	display: flex;
	flex-wrap: wrap;
	margin-block: 0;
	gap: 1rem;
}
#rsvp input[type="text"],
#rsvp input[type="number"],
#rsvp textarea {
	border: 0 none;
	background-color: #FFFFFF;
	box-shadow: 0 -2px 0 0 #79797900 inset;
	transition: 0.3s background-color linear, 0.3s box-shadow linear;
}
#rsvp input[type="number"] {
	background-color: transparent;
}
#rsvp input[type="text"]:focus-within,
#rsvp input[type="number"]:focus-within,
#rsvp textarea:focus-within {	
	box-shadow: 0 -2px 0 0 #797979D6 inset;
}
#rsvp label,
#rsvp .label {
	box-shadow: 0 -2px 0 0 #79797900 inset;
	transition: 0.3s background-color linear, 0.3s box-shadow linear;
	text-wrap: balance;
}
#rsvp .attendance label:hover,
#rsvp .attendance label:focus-within,
#rsvp label.selected,
#rsvp .label.selected {
	box-shadow: 0 -2px 0 0 #79797900 inset;
}
#rsvp-form .name,
#rsvp #guest-list,
#rsvp #guest-list li {
	gap: 0.9rem;
}
#rsvp .name.pending .label {
	box-shadow: 0 0 0 3px rgba(140, 55, 245, 0.2), 0 9px 8px -1px rgba(4, 0, 13, 0.2);
	background-color: rgba(140, 55, 245, 0.02);
}
#rsvp .name.nearly-confirmed .label {
	box-shadow: 0 0 0 3px rgba(4, 0, 13, 0.4), 0 9px 8px -1px rgba(4, 0, 13, 0.2);
	background-color: rgba(4, 0, 13, 0.21);
}
#rsvp .name.confirmed .label {
	box-shadow: 0 0 0 3px rgba(4, 0, 13, 0.6), 0 4px 3px -1px rgba(4, 0, 13, 0.5);
	background-color: rgba(4, 0, 13, 0.21);
	transform: translateY(4px);
}
#rsvp .attendance label,
#rsvp .name label {
	flex: 1 0 90%;
}
#rsvp .attendance label {
	position: relative;
	padding: 0.55em 0.8em;
	cursor: pointer;
	background-color: #FFF;
	text-align: start;
}
#rsvp .attendance:has(:checked) label {
	background-color: var(--background-color);
}
#rsvp .attendance:has(:checked) label:hover,
#rsvp .attendance:has(:checked) label.selected {
	background-color: #FFF;
}
#rsvp .attendance label input {
	position: absolute;
	margin-block-start: 0.35em;
	inset-inline-end: 0.7em;
	accent-color: #604e4e;
}
#rsvp label.disabled,
#rsvp label.disabled:hover,
#rsvp .label.disabled,
#rsvp .label.disabled:hover {
	cursor: default;
	pointer-events: none;
}
#rsvp label.selected label,
#rsvp .label.selected label {
	color: #DEDEDE;
	background-color: rgba(64, 64, 64, 0.1);
}
#rsvp label input[type=checkbox],
#rsvp .label input[type=checkbox] {
	visibility: hidden;
	position: absolute;
	margin: 0;
	transform: scale(0.1, 0.1);
}
#rsvp label .marker,
#rsvp .label .marker {
	display: inline-block;
	width: 1.2rem;
	height: 1.2rem;
	background-color: rgba(64, 64, 64, 0.1);
	border-radius: 50%;
	transition: 0.3s background-color linear, 0.4s box-shadow linear 0.3s, 0.3s margin ease-in-out;
	position: absolute;
	margin-inline-start: -0.7em;
	margin-block-start: 0.3em;
	transform: translateX(-100%);
	overflow: hidden;
}
#rsvp label.guest-name .marker,
#rsvp .label.guest-name .marker {
	margin-block-start: 0.6em;
}
#rsvp label.selected .marker,
#rsvp .label.selected .marker {
	background-color: var(--accent-color);
	box-shadow: 0 0 0 2px var(--accent-color) inset;
}
#rsvp label.disabled .marker,
#rsvp .label.disabled .marker {
	box-shadow: 0 0 0 2px rgba(79, 79, 79, 0.3) inset;
}
#rsvp textarea {
	height: 4.4em;
	display: block;
	margin-inline: auto;
	max-width: none;
}
#rsvp .full-name {
	display: inline-block;
	padding-block: 0.3rem;
	min-width: auto;
	text-align: left;
}
#rsvp .read-only,
#rsvp .read-only:focus,
#rsvp .read-only:focus-within {
	box-shadow: none;
	background: transparent;
	outline: none;
}
#rsvp-form p {
	flex: 1 0 calc(100% - var(--page-margin-inline));
	display: flex;
	flex-wrap: wrap;
}
#rsvp .hidden {
	filter: grayscale(100%) opacity(20%);
	pointer-events: none;
}
#rsvp .attendance.hidden,
#rsvp .attendance + .hidden {
	display: flex;
}
#rsvp #guest-list,
#rsvp #solo {
	flex: 1 0 100%;
	display: flex;
	flex-wrap: wrap;
}
#rsvp #solo h4,
#rsvp #solo p {
	flex: 1 0 100%;
}
#rsvp #guest-list.hide,
#rsvp #solo.hide {
	display: none;
}
#rsvp #additional,
#rsvp #additional.hidden {
	display: flex;
	flex-wrap: wrap;
}
#rsvp #additional {
	transition: 0.3s filter linear;
	flex: 1 0 min(100% - 2rem);
}
#rsvp .guests,
#rsvp .dietary-requirements {
	flex: 1 0 100%;
}
#rsvp .guest-count {
	justify-content: center;
}
#rsvp .guests label {
	margin-inline: auto;
}
#rsvp .guests .plus {
	font-size: 1.7em;
	font-weight: 600;
	vertical-align: text-bottom;
	position: relative;
	inset-block-start: 0.05em;
	cursor: pointer;
}
#rsvp .guests input[type="number"] {
	text-align: center;
	appearance: none;
}
#rsvp .dietary-requirements {
	display: block;
	text-align: center;
}
#rsvp .dietary-requirements label {
	font-size: 0.9em;
	padding-inline-start: 0;
}
#rsvp #guest-list,
#rsvp #guest-list li,
#rsvp #guest-list span {
	display: flex;
	flex-wrap: wrap;
}
#rsvp #guest-list {
	margin-block: 1.9rem 1rem;
	margin-inline: -1rem;
	padding-inline: 0;
	list-style: none;
}
#rsvp #guest-list li {
	flex: 1 0 calc(100% - 3rem);
	outline: 2px solid color-mix(in lab, var(--accent-color), var(--background-color));
	padding-block: 0.6rem;
	padding-inline: 0.5rem;
	border-radius: 4px;
}
#rsvp #guest-list li span,
#rsvp #guest-list input[type="text"] {
	text-align: start;
}
#rsvp #guest-list span {
	flex: 1 0 100%;
}
#rsvp #guest-list .header {
	font-weight: 600;
	text-transform: uppercase;
	margin-block-end: 0.5rem;
	display: none;
}
#rsvp #guest-list .header span {
	text-indent: 0.3em;
}
#rsvp #guest-list label {
	display: block;
	font-size: 0.8em;
	width: 100%;
	font-weight: 600;
	text-transform: uppercase;
	line-height: 120%;
	padding-block-end: 0.4em;
}
#rsvp #guest-list li {
	flex: 1 0 calc(100% - 3rem);
	outline: 1px solid;
	border-radius: 4px;
	padding-block: 0.9rem;
	padding-inline: 1rem;
}
#rsvp #guest-list li > .first-name,
#rsvp #guest-list li > .last-name,
#rsvp #guest-list li > .dietary-requirements {
	flex: 1 0 calc(50% - 1rem);
}
#rsvp #guest-list .primary .first-name,
#rsvp #guest-list .primary .last-name {
	color: color-mix(in lab, var(--foreground-color) 70%, var(--background-color));
	background-color: transparent;
}
#rsvp #guest-list input[type="text"] {
	width: 100%;
	flex: 1 0 1rem;
	min-width: 0;
}
#main #rsvp p.buttons {
	margin-block: 0.6rem 0;
}
#thank-you {
	position: fixed;
	inset: 0;
	display: flex;
	background-color: var(--background-color);
	background-color: color-mix(in lab, var(--background-color) 90%, #FFF0);
	cursor: pointer;
	z-index: 10;
	align-content: center;
	justify-content: center;
	flex-wrap: wrap;
	transition: 0.3s background-color linear;
}
#thank-you.hidden {
	background-color: #FFF0;
}
#thank-you img {
	position: relative;
	flex: 1 0 min(100%, 40rem);
	display: block;
	transition: 0.3s translate ease-out 0.2s, 0.2s opacity linear 0.3s;
}
#thank-you.hidden img {
	translate: 0 70vh;
	transition-delay: 0s;
	transition-timing-function: ease-in;
	opacity: 0;
}
#location ul {
	margin-block-start: 1.7rem;
	list-style: none;
	padding-inline: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 2rem;
}
#location li {
	margin-inline: 0;
	padding-inline: 0;
	flex: 1 0 80%;
}
#location .maps {
	margin-block-start: 1.5rem;
}
#location .maps a {
	display: block;
	font-size: 0.9em;
	padding-inline: 1.3em;
	text-transform: inherit;
}
#location .maps a + a {
	margin-block-start: 0.6rem;
}
#account-form {
	display: flex;
	flex-wrap: wrap;
	gap: 1.5rem;
	max-width: 1100px;
	margin-inline: auto;
}
#account-form > * {
	flex: 1 0 100%;
}
#account-form p {
	margin: 0;
}
#logout,
#main > #administration {
	text-align: right;
	margin-inline-end: 1em;
	font-size: 0.9em;
	position: absolute;
	right: 1.3rem;
	margin-block-start: -3rem;
	max-width: 15em;
}
#main > #administration,
.admin .logout {
	position: fixed;
	top: 4rem;
	border: 1px solid var(--link-color);
	border-radius: 4px;
	padding-inline: 1.1rem;
	text-transform: uppercase;
	z-index: 1000;
}
.admin .logout {
	top: inherit;
	position: sticky;
	bottom: auto;
	right: auto;
	height: auto;
}
.admin #logout {
	text-align: center;
	position: relative;
	display: block;
	width: auto;
	max-width: none;
	right: auto;
	margin-block: 0;
	margin-inline: auto;
	padding: 0.6rem 1rem;
}
#alert {
	position: fixed;
	background-color: rgba(10, 19, 39, 0.9);
	right: 0;
	left: 0;
	bottom: 0;
	padding-block: 0.8rem;
	transition: 0.2s transform ease-in-out, 0.3s opacity linear, 0.4s color linear, 0.4s background-color linear, 0.6s box-shadow linear, 0.2s outline linear;
	transform: scaleY(1);
	transform-origin: 0 100%;
	min-height: 1.7rem;
	z-index: 1150;
	text-align: center;
	font-weight: 600;
	font-size: 1.1rem;
	box-shadow: 0 -2px 0 #00000074;
}
#alert.hidden {
	transform: scaleY(0);
	opacity: 0;
	display: block;
	pointer-events: none;
}
#alert.error {
	color: #ffffff;
	background-color: #C62D76;
}
#alert.success {
	color: var(--background-color);
	background-color: var(--accent-color);
}
#alert .close {
	position: absolute;
	right: 0.3rem;
	margin-block-start: -1rem;
	font-size: 1.5rem;
	color: rgba(255, 255, 255, 0.5);
	transform: scaleY(0.1);
	opacity: 0;
	transition: 0.6s transform ease-in-out 0.1s, 0.6s opacity linear 0.1s;
	transform-origin: 0 100%;
}
#alert .close.show {
	opacity: 1;
	transform: none;
}
#alert .close {
	color: #000;
}
#alert.error .close {
	color: #ffffff;
}
#alert .close .text {
	font-size: 0.7rem;
	vertical-align: top;
	text-transform: uppercase;
	opacity: 0;
	transition: 0.3s opacity linear;
}
#alert:hover .close .text {
	opacity: 1;
}
#alert p {
	margin: 0;
	transform-origin: 50% 50%;
	position: relative;
	transition: 0.17s transform ease-in-out, 0.2s text-shadow ease-in-out 0.05s;
	text-shadow: 0 0 0#67676700, 0 0 0#67676700;
}
#alert p + p {
	margin-block-start: 1.5rem;
}
#alert .highlight {
	transform: scale(1.2, 1.2);
	text-shadow: 5rem 0 0#67676767, -5rem 0 0#67676767;
}
#main .notice {
	position: absolute;
	top: 0.5rem;
	left: 5.9rem;
	border: 1px solid #C62D76;
	padding-inline: 1rem;
	color: #FF6DB6;
	border-radius: 4px;
	font-size: 0.8rem;
}
#users,
#users table {
	width: 100%;
}
#users input,
#users select,
#users button {
	font-size: 0.8rem;
}
#users thead th {
	border-top: 2px solid var(--accent-color);
	font-weight: 400;
	text-align: left;
}
#users thead th,
#users td {
	padding: 0.5em 0.8em;
	font-size: 0.85rem;
	vertical-align: top;
}
#users .unspecified td {
	color: #FFF9;
}
#users .no .attendance {
	color: #de3a597d;
}
#users .unsure .attendance {
	color: #deb83a7d;
}
#users .container {
	max-height: 3.4rem;
	overflow: auto;
}
#users .name .label {
	line-height: 120%;
	display: block;
	font-size: 0.82rem;
	color: rgba(225, 225, 255, 0.8);
}
#users td {
	border-bottom: 1px solid var(--accent-color);
}
#users thead th,
#users tr:last-child td {
	border-bottom: 2px solid var(--accent-color);
}
#users .attendance,
#users .guests,
#users .updated {
	text-align: center;
}
#users .guests button {
	background: none;
	padding: 0;
	margin: 0;
}
#users .guests ol,
#users .guests ul {
	position: relative;
	inset: auto;
	background-color: var(--foreground-color);
	color: var(--background-color);
	padding-block: 0;
	border-radius: 5px;
	margin: 0;
	padding-inline: 1.4em 0.7em;
	text-align: start;
	opacity: 0;
	translate: 0 -1em;
	transition: 0.2s opacity linear, 0.3s translate ease-in-out;
	pointer-events: none;
}
#users .guests ul {
	list-style-type: square;
}
#users .guests ol:popover-open,
#users .guests ul:popover-open {
	opacity: 1;
	translate: none;
	pointer-events: all;
}
@media (width < 760px) {
	#users table,
	#users thead,
	#users tbody,
	#users th,
	#users td,
	#users tr { 
		display: block;
	}
	#users thead tr { 
		position: absolute;
		top: -9999px;
		left: -9999px;
	}
	#users tr {
		border: 1px solid #ffffff2f;
		border-bottom: 2px solid #ffffff2f;
	}
	#users td { 
		border: none;
		border-bottom: 1px solid #ffffff2f; 
		position: relative;
		padding-left: 40%; 
	}
	#users td:before { 
		position: absolute;
		top: 6px;
		left: 6px;
		width: 55%; 
		padding-right: 10px; 
		white-space: nowrap;
	}
	#users td:nth-of-type(2),
	#users td:nth-of-type(6) {
		display: none;
	}
	#users td:nth-of-type(1):before { content: "Name:"; }
	#users td:nth-of-type(2):before { content: "Code:"; }
	#users td:nth-of-type(3):before { content: "Attendance:"; }
	#users td:nth-of-type(4):before { content: "Guests:"; }
	#users td:nth-of-type(5):before { content: "Diet:"; }
	#users tbody .guests,
	#users tbody .attendance,
	#users tbody .updated {
		text-align: start;
	}
}

@media (aspect-ratio < 1 / 2) {
	#main .login .first-name,
	#main .login .code {
		flex: 1 0 100%;
	}
}

@media (width >= 600px) {
	nav li {
		opacity: 0;
	}
	.login h1,
	.admin h1 {
		animation: 1s linear 0s 1 fade-in forwards;
	}
	#rsvp .full-name {
		padding-inline: 0.4rem;
	}
	#location li {
		flex: 1 0 40%;
		box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2) inset;
		padding-block: 0.6rem 0.9rem;
		border-radius: 5px;
	}
	#location .maps a {
		display: inline-block;
	}
	#location .maps a + a {
		margin-block: 0;
		margin-inline-start: 0.8rem;
	}
	#rsvp-form .name,
	#rsvp #guest-list,
	#rsvp #guest-list li {
		gap: 0.9rem;
	}
	#rsvp .name label {
		flex: 1 0 4rem;
	}
	#rsvp .name input {
		text-align: center;
	}
	#rsvp #guest-list {
		margin-inline: 0;
	}
	#rsvp #guest-list li > .first-name,
	#rsvp #guest-list li > .last-name {
		flex: 1 0 6rem;
	}
	#rsvp #guest-list li {
		margin-inline: 0;
		padding-block: 0;
		padding-inline: 0;
		outline: none;
		border-radius: 0;
	}
	#rsvp #guest-list .header {
		display: flex;
	}
	#rsvp #guest-list label {
		display: none;
	}
	#rsvp #guest-list li > .dietary-requirements {
		flex: 5 0 6rem;
	}
	.admin .logout {
		max-width: min(6rem, 25%);
		margin-inline: auto 0;
	}
	.admin #logout {
		padding-inline: 0.3rem;
		padding-block: 0.2rem;
		font-size: 0.8rem;
	}
}

@media (width >= 68rem) {
	header .line.hide {
		opacity: 0;
	}
	header .line {
		animation: 1s linear 2.2s 1 fade-in forwards;
		display: block;
	}
	.login h2 {
		margin-block-start: clamp(6.5rem, 20vh + 6.5rem, 18rem);
	}
}

@media (height >= 20rem) {
	#invitation {
		padding-block-start: clamp(8rem, calc(50dvh - 17rem), 26rem);
	}
}

@media (width >= 68rem) and (height >= 35rem) {
	#invitation .vertical-divider {
		width: 3px;
	}
}

@media (width >= 68rem) and (height >= 68rem) {
	h1 {
		animation: 5s linear 2s 1 fade-in forwards;
		display: block;
		line-height: 200%;
	}
}

@media (height < 50rem) and (orientation: landscape) {
	header {
		transform: translate(-8rem, 0);
		left: 0;
		width: clamp(9rem, 7% + 9rem, 12rem);
		bottom: 0;
	}
	header nav a {
		line-height: 160%;
		padding-block: clamp(0.4rem, 0.4rem + 1.3vh, 1.2rem);
	}
	header + #main {
		margin-block-start: 0;
	}
	section {
		min-height: clamp(100vh - 6em, 96vh + 1.4rem, 100vh - 1.4rem);
	}
	section {
		padding-block: clamp(1.4rem, 4vh + 1.4rem, 6em);
		margin-inline-start: clamp(9rem, 7% + 9rem, 12rem);
		min-height: 100vh;
	}
}

@media (width >= 1000px) {
	.login .illustration img,
	#invitation .illustration.dancing-couple {
		position: relative;
		translate: 0.8rem 0;
	}
	#users .code,
	#users .attendance,
	#users .guests {
		width: 10%;
	}
	#users .dietary-requirements {
		width: 24%;
	}
	#users .updated {
		width: 15%;
	}
}

@media print {
	header nav,
	#account,
	#logout,
	button {
		display: none;
	}
	body,
	p,
	input,
	select,
	textarea,
	header,
	#rsvp .name,
	#rsvp .first-name,
	#rsvp .last-name,
	#rsvp textarea {
		color: #000000;
	}
	#rsvp label.disabled {
		color: #C9C9C9;
	}
	#rsvp label.disabled .marker {
		box-shadow: 0 0 0 2px #D0D0D0 inset;
	}
	body,
	input,
	select,
	textarea,
	header,
	section {
		background-color: #FFFFFF;
	}
	section {
		padding: 1cm;
		background: none;
		min-height: 0;
	}
	a {
		color: var(--accent-color);
	}
}
