*,
::before,
::after {
	box-sizing: border-box;
}

body {
	padding: 0;
	margin: 0;
	height: calc(100vh - 0.01px);
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	background: grey;
	font-family: "Montserrat Alternates", sans-serif;
}

form {
	margin: 0 1rem;
	padding: 1rem;
	display: flex;
	gap: 1rem;
	flex-direction: column;
	justify-content: center;
	background: #f4ede8;
	border-radius: 1rem;
	text-align: center;
}

a {
	color: grey;
	text-decoration: none;
}

#statement {
	text-align: center;
}

p {
	line-height: 1.5rem;
}

.container {
	display: flex;
	gap: 1rem;
	flex-direction: column;
	justify-content: center;
}

input {
	width: 50%;
	padding: 0.5rem;
	border-style: none;
	border-radius: 0.2rem;
	font-family: "Manrope", sans-serif;
}

.bottom {
	position: relative;
}

.confetti {
	width: 300px;
	position: absolute;
	top: -300px;
	left: -10px;
	pointer-events: none;
}

.rsvp {
	padding: 1rem;
	background: #d1cac5;
	color: black;
	border-style: none;
	border-radius: 2rem;
}

.submitted {
	animation: thanks 0.5s linear none 2 alternate;
}

.hide {
    display: none;
}

@keyframes thanks {
	0% {
		width: 123.8px;
		height: 48px;
	}
	100% {
		width: 50%;
		height: 48px;
	}
}
