body.show-dining-reserve::before {
	content: '';
	position: fixed;
	inset: 0;
	background-color: rgba(0, 0, 0, 0.5);
	animation: getBlur 0.5s forwards cubic-bezier(0.78, 0.41, 0.36, 0.89);
	z-index: 88;
}

body.show-dining-reserve .dining-reservation {
	width: 100%;
	height: 100%;
}

body.show-dining-reserve .close-reservation {
	position: absolute;
	top: 1rem;
	right: 40rem;
	width: 2rem;
	height: 2rem;
	background-image: url(../images/close_2e3eb0d3.png);
	background-repeat: no-repeat;
	background-position: center;
	background-size: 60%;
	background-color: #df6a2e;
	cursor: pointer;
	z-index: 99;

	transition: background-color 0.5s cubic-bezier(0.78, 0.41, 0.36, 0.89);
}

.reservation-modal {
	position: fixed;
	top: 0;
	right: 0;
	width: 40rem;
	height: 100vh;
	height: 100svh;
	z-index: 10000;
	border: none;
	background-color: white;
}

.reservation-modal.show {
	animation: showReservation 0.5s forwards cubic-bezier(0.78, 0.41, 0.36, 0.89);
}

.reservation-modal.hide {
	animation: hideReservation 0.5s forwards cubic-bezier(0.78, 0.41, 0.36, 0.89);
}

@keyframes getBlur {
	from {
		opacity: 0;
		backdrop-filter: blur(0);
	}
	to {
		opacity: 1;
		backdrop-filter: blur(30px);
	}
}

@keyframes outBlur {
	to {
		opacity: 0;
		backdrop-filter: blur(0);
	}
	from {
		opacity: 1;
		backdrop-filter: blur(30px);
	}
}

@keyframes showReservation {
	from {
		right: -40rem;
	}
	to {
		right: 0;
	}
}

@keyframes hideReservation {
	from {
		right: 0;
	}
	to {
		right: -40rem;
	}
}
