:root {
	--primary-color: #674ea7;
	--secondary-color: #e25c67;
	--text-color: #fec76f;
	--background-color: #ffe9eb;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: 'Marcellus', 'Arvo', serif;
	background-color: var(--background-color);
	color: var(--text-color);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 100vh;
	padding: 10px;
	position: relative;
	overflow: hidden;
	/* Prevent scrolling */
}

/* Background and decorations */
.background-img {
	position: fixed;
	top: 1%;
	left: 38%;
	height: auto;
	width: 100px;
	opacity: 0.3;
	transition: opacity 1s ease-in-out;
	/* Smooth fade effect */
	z-index: -3;
}


.border-line {
	width: 250px;
}

.couple {
	width: 150px;
}

header {
	position: relative;
	width: 100%;
	text-align: center;
}

.sakura-falling {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	z-index: 999;
	animation: sakura-flow 20s linear infinite;
}

@keyframes sakura-flow {
	0% {
		transform: translateY(-100%) rotate(0deg);
	}

	100% {
		transform: translateY(100vh) rotate(360deg);
	}
}

.top-right-decoration {
	position: fixed;
	top: 0;
	right: 0;
	width: 150px;
	height: auto;
	z-index: -1;
}

.bottom-left-decoration {
	position: fixed;
	bottom: 0;
	left: 0;
	width: 150px;
	height: auto;
	z-index: -1;
}

/* Main content */
.wrap {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	opacity: 0;
	transform: translateY(100%);
	transition: all 1s ease-out;
	pointer-events: none;
	padding: 20px;
	overflow-y: auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
}

.wrap.active {
	opacity: 1;
	transform: translateY(0);
	pointer-events: auto;
}

.wrap.previous {
	transform: translateY(-100%);
	opacity: 0;
}

.title h1 {
	font-family: 'Dancing Script', cursive;
	font-size: 2rem;
	background: linear-gradient(45deg, #FFD700, #FFBF00, #FFD700);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	text-stroke: 1px #daa520;
	-webkit-text-stroke: 1px #daa520;
}

.title h2 {
	font-family: 'Dancing Script', cursive;
	font-size: clamp(20px, 5vw, 24px);
	color: var(--secondary-color);
	margin: 10px 0;
}

.title h3 {
	font-family: 'Dancing Script', cursive;
	font-size: clamp(18px, 4vw, 24px);
	color: var(--secondary-color);
	margin-top: 10px;
}

.date {
	color: var(--secondary-color);
	font-weight: bolder;
}

.title p {
	font-size: clamp(14px, 3vw, 16px);
	color: var(--text-color);
	margin: 20px 0;
}

#time {
	margin: 20px 0;
	width: 100%;
}

.container {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(50px, 1fr));
	gap: 10px;
	background: rgba(255, 255, 255, 0.9);
	border-radius: 20px;
	backdrop-filter: blur(10px);
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
	margin: 2rem auto;
	padding: 1rem;
}

.block {
	padding: 15px;
	border-radius: 10px;
	text-align: center;
	font-size: clamp(14px, 3vw, 16px);
	font-weight: bold;
	background: linear-gradient(145deg, #ffffff, #fff0f0);
	box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.1);
	transition: all 0.3s ease;
	border: 2px solid var(--accent-color);
}

.venue {
	background: linear-gradient(45deg, #be892f, #f3c947);
	padding: 1.2rem 2.5rem;
	font-weight: bold;
	font-size: 1.1rem;
	letter-spacing: 1px;
	position: relative;
	overflow: hidden;
	border: none;
	transition: all 0.3s ease;
}

.venue::after {
	content: '';
	position: absolute;
	top: -50%;
	left: -50%;
	width: 200%;
	height: 200%;
	background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
	transform: rotate(45deg);
	animation: shine 3s infinite;
}

@keyframes shine {
	0% {
		transform: rotate(45deg) translateX(-200%);
	}

	100% {
		transform: rotate(45deg) translateX(200%);
	}
}

.venue:hover {
	background-color: #5a3f91;
	transform: scale(1.05);
}

.venue:active {
	transform: scale(0.95);
}

.happiness,
.happiness1 {
	font-size: clamp(18px, 4vw, 24px);
	font-weight: bold;
	color: var(--text-color);
	text-align: center;
	margin: 20px 0;
}

footer {
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	text-align: center;
	padding: 10px 0;
	background-color: rgba(255, 255, 255, 0.8);
	/* Optional: Add a background for better visibility */
	z-index: 1000;
	/* Ensure footer stays above other content */
}

.image-frame {
	position: relative;
	display: inline-block;
	width: 85%;
	max-width: 100%;
}

.additional-image {
	width: 100%;
	height: auto;
	display: block;
}

.frame-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	z-index: 1;
}

/* Responsive design */
@media (max-width: 600px) {
	.actions {
		flex-direction: column;
		align-items: center;
	}

	.venue {
		width: 100%;
		margin-bottom: 10px;
	}
}