* {
	box-sizing: border-box;
	scroll-behavior: smooth;
}

body,
html {
	margin: 0;
	padding: 0;
	width: 100%;
	height: 100%;
	background-color: #fcf7ed;
	font-family: "Uniform Rounded Condensed", sans-serif;
}

.top-section {
	width: 100dvw;
	height: 100svh;
	background: #fcf7ed;
	position: relative;
	.main-frame {
		position: absolute;
		inset: 15px;
		border-radius: 30px;
		overflow: hidden;
		background-image: url("/assets/full-bg-1.jpg");
		background-size: cover;
		background-position: center top;
		pointer-events: none;
		user-select: none;
	}
}

.content-container {
	position: absolute;
	top: 15px;
	left: 15px;
	right: 15px;
	height: 50svh;
	display: flex;
	flex-direction: column;
	justify-content: center;
	pointer-events: none;
	.content {
		position: relative;
		z-index: 2;
		color: white;
		text-align: center;
		text-shadow: 0px 4px 15px #000;

		.logo {
			width: 600px;
			margin: 0 auto;
			filter: drop-shadow(3px 5px 5px #000);

			max-width: min(70%, 40vh);

			@media only screen and (max-width: 700px) {
			}
		}
	}
}

.join-us-section {
	width: 100%;
	padding: 15vw 20px;
	padding-bottom: 8vw;
	text-align: center;
	.center {
		display: inline-block;
		margin: 0 auto;
		.pretitle {
			color: #000;
			font-family: "Instrument Serif", serif;
			font-size: min(7vw, 70px);
			margin: 0;
		}
		.main-date {
			color: #000;
			font-family: "Instrument Serif", serif;
			font-size: min(15vw, 160px);
			margin: 20px 0;
		}

		.countdown {
			width: 100%;
			margin-top: 40px;
			display: flex;
			justify-content: space-evenly;

			.num {
				font-family: "Instrument Sans", sans-serif;
				font-size: min(7vw, 70px);
				margin: 0;
			}
			.label {
				margin: 0;
				margin-top: min(4vw, 20px);
				opacity: 0.7;
				text-transform: uppercase;
				font-family: "Instrument Sans", sans-serif;
				font-size: min(2.5vw, 15px);
				letter-spacing: 2px;
			}
			.colon {
				margin: 0;
				margin-top: 10px;
				font-family: "Instrument Serif", serif;
				font-size: min(5vw, 50px);
				opacity: 0.3;
			}
		}
	}
}

.schedule-section {
	margin-top: 13vw;
	text-align: center;
	.split {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		align-items: top;
		.sp {
			width: 500px;
			max-width: 95%;
			margin: 0 2vw;
		}
	}
	.schedule-header {
		font-family: "Instrument Serif", serif;
		font-size: min(10vw, 100px);
		font-weight: 400;
		margin: 0;
	}
	.sched-info {
		font-family: "Instrument Sans", sans-serif;
		font-size: min(4vw, 20px);
		text-wrap: balance;
	}
	table {
		margin: 10px auto;
		text-align: left;
		border-collapse: collapse;
		td {
			padding: min(1vw, 8px);
			font-family: "Instrument Sans", sans-serif;
			font-size: min(4vw, 20px);
		}
	}
}

a {
	color: inherit;
}

.loader {
	position: fixed;
	inset: 0;
	z-index: 99;
	background: #000;

	.bg {
		position: absolute;
		inset: 0;
		background-image: url("/assets/bgv3/background.jpg");
		background-size: cover;
		background-position: center;
		filter: blur(30px);
	}

	.loader-img {
		position: absolute;
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%);
		width: 150px;
		z-index: 100;
	}

	&.hide {
		opacity: 0;
		pointer-events: none;
	}

	transition: opacity 0.5s ease;
}

.polaroid {
	display: block;
	width: min(60vw, 350px);
	height: min(60vw, 350px);

	background: #f8f3e8;
	box-shadow: 0 14px 42px rgba(0, 0, 0, 0.32);
	border-radius: 7px;

	position: relative;
	padding: min(1vw, 30px);
	.polaroid-image {
		width: 100%;
		height: 85%;
		border-radius: 3px;
	}
}

.location-section {
	.location-header {
		margin: 0 auto;
		width: 100%;
		padding: 20px;
		padding-bottom: 0;
		display: inline-flex;
		justify-content: center;
		align-items: center;
		@media only screen and (max-width: 1024px) {
			display: flex;
			flex-wrap: wrap;
			justify-content: center;
		}
	}
	.loc-pol {
		margin: 30px;
		transform: rotate(-4deg);
		flex-shrink: 0;
		transition: transform .2s ease;
		position: relative;
		&:hover {
			transform: rotate(-5deg) scale(1.03);
		}
		.polaroid-image {
			background-image: url("/assets/valleywood-photo-1.jpg");
			background-size: cover;
			background-position: center;
		}
	}
	.location-header-text {
		text-wrap: balance;
		margin: 0;
		font-family: "Instrument Serif", serif;
		font-size: 8vw;
		font-weight: 400;
		@media only screen and (max-width: 1024px) {
			font-size: min(15vw);
		}
		text-align: center;
	}
	.sub-header-address {
		display: inline-block;
		text-wrap: balance;
		width: 100%;
		letter-spacing: .3em;
		opacity: .7;
		text-transform: uppercase;
		font-family: "Instrument Sans", sans-serif;
		font-size: min(4vw, 20px);
		margin: 0;
		text-align: center;
		color: #000;
		text-decoration: none;
		&:hover {
			text-decoration: underline;
		}
	}
}

#hearts-canvas {
	position: fixed;
	inset: 0;
	user-select: none;
	pointer-events: none;
	z-index: 999;
}
