@import url("https://fonts.googleapis.com/css2?family=Alex+Brush&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap");

@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300..700;1,300..700&family=DM+Serif+Display:ital@0;1&family=Sacramento&display=swap");

:root {
	/* definisi variable font-weight */
	--ff-body: "Cormorant Garamond", serif;
	--fw-body: 400;
	--ff-divi-header: "Playfair Display", serif;
	--ff-divi-body: "Alex Brush", cursive;
	--ff-title: "Sacramento", cursive;
	--ff-subtitle: "DM Serif Display", serif;
}

body {
	overflow: hidden;
	font-family: var(--ff-body);
	font-weight: var(--fw-body);
	font-style: normal;
}

h1,
h2,
h3,
h4,
h5 {
	margin-bottom: 0;
	font-family: var(--ff-subtitle);
	font-weight: 500;
}

p {
	font-family: var(--ff-body);
}

hr {
	margin: 0;
	opacity: 1;
}

.container,
.container-fluid,
.container-xxl,
.container-xl,
.container-lg,
.container-md,
.container-sm {
	--bs-gutter-x: 4rem;
	--bs-gutter-y: 0;
}

.music-disc {
	position: fixed;
	bottom: 30px;
	left: 20px;
	background: transparent;
	width: 40px;
	z-index: 999;
}

/* --------------- layout --------------- */

.primary-pane {
	overflow: hidden;
	top: 0;
	left: 0;
	bottom: 0;
	position: fixed;
	width: 70%;
	background-image:
		linear-gradient(0deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.4)),
		url(../img/primary-pane.jpg);
	background-size: cover;
	background-position: center;
}

.secondary-pane {
	position: static;
	right: 0;
	width: 30%;
	margin-left: auto;
}

@media only screen and (max-width: 992px) {
	.primary-pane {
		position: relative;
		width: 100%;
		display: none;
	}
	.secondary-pane {
		position: relative;
		width: 100%;
	}
}

/* --------------- Title --------------- */

.divi-title {
	position: relative;
	overflow: hidden;
	width: 100%;
}
.divi-title-header {
	font-family: var(--ff-divi-header);
	font-size: 4rem;
	text-align: center;
}
.divi-title-body {
	position: absolute;
	padding-top: 10px;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}
.divi-title-body h1 {
	font-family: var(--ff-divi-header);
	font-size: 25px;
	font-weight: 700;
}
.divi-title-body h2 {
	font-family: var(--ff-divi-body);
	font-size: 30px;
	margin-top: 20px;
	margin-left: -39px;
}

.divi-light .divi-title-header {
	color: rgba(0, 0, 0, 0.1);
}
.divi-light .divi-title-body h1 {
	color: #fff; /* primary */
}
.divi-light .divi-title-body h2 {
	color: rgba(255, 255, 255, 0.71);
}

.divi-primary .divi-title-header {
	color: rgba(173, 173, 173, 0.1);
}
.divi-primary .divi-title-body h1 {
	color: var(--bs-primary);
}
.divi-primary .divi-title-body h2 {
	color: rgba(57, 61, 67, 0.65);
}

.divi-secondary .divi-title-header {
	color: rgba(173, 173, 173, 0.18);
}
.divi-secondary .divi-title-body h1 {
	color: var(--bs-secondary);
}
.divi-secondary .divi-title-body h2 {
	color: rgba(57, 61, 67, 0.65);
}

/* --------------- preloader --------------- */

#preloader {
	position: fixed;
	inset: 0;
	width: 100%;
	height: 100%;
	background: var(--bs-body-bg);
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 9999;
}

.blink-svg {
	width: 130px; /* sesuaikan ukuran */
	height: auto;
	animation: blink 1s infinite;
	color: var(--bs-primary);
}

@keyframes blink {
	0%,
	100% {
		opacity: 1;
	}
	50% {
		opacity: 0.3;
	}
}

/* --------------- color btn --------------- */

.btn-primary {
	--bs-btn-color: var(--bs-white);
	--bs-btn-hover-color: var(--bs-white);
	--bs-btn-active-color: var(--bs-white);
	--bs-btn-active-shadow: inset 0 3px 5px rgba(var(--bs-white-rgb), 0.125);
	--bs-btn-disabled-color: var(--bs-white);
}

/* --------------- top-cover --------------- */

section.top-cover {
	width: 100%;
	overflow: hidden;
	position: fixed;
	top: -120%;
	left: 0;
	z-index: 9999;
	opacity: 1;
}

section.top-cover.show {
	top: 0;
	transition: top 0.3s ease-out;
}

section.top-cover.hide {
	top: -120%;
	pointer-events: none;
	transition: top 1.8s cubic-bezier(0.23, 0.56, 0.38, 0.78);
}

.top-cover > .inner {
	position: static;
	background-image: url(../img/ornament/cover.jpg);
	background-size: cover;
	background-position: center bottom;

	width: 30%;

	height: 100vh;
	right: 0;
	margin-left: auto;

	display: flex;
	flex-direction: column;
	justify-content: start;
	padding: 2rem 0;
	text-align: center;
}

.top-cover > .inner p {
	font-size: 16px;
	color: var(--bs-body-color);
	font-weight: 500;
	margin-bottom: 0;
}

.top-cover > .inner h2 {
	font-size: 22px;
	color: var(--bs-primary);
	font-family: var(--ff-subtitle);
	font-weight: 500;
}

.top-cover > .inner h1 {
	font-family: var(--ff-title);
	font-size: 3rem;
	color: var(--bs-primary);
}

.top-cover > .inner .ppcover {
	width: 200px;
	height: 260px;
	background-image: url(../img/cover.jpg);
	background-size: cover;
	background-position: center;
	border: 4px solid var(--bs-secondary);
	border-radius: 100px;
	margin: auto;
}

@media only screen and (max-width: 992px) {
	section.top-cover > .inner {
		position: relative;
		width: 100%;
	}
}

/* --------------- RSVP --------------- */

#rsvp {
	position: relative;
	overflow: hidden;
	padding: 2rem 0;
}
#rsvp .section-desc {
	font-size: 14px;
	font-weight: 400;
}
#rsvp .rsvp-item .card .card-body span {
	font-size: 2.5rem;
}
#rsvp .rsvp-item .card .card-body h4 {
	font-size: 18px;
	font-weight: 600;
}
#rsvp .rsvp-item .card .card-body p {
	font-size: 14px;
	font-weight: 400;
}

/* Tombol RSVP */
.btn-rsvp {
	display: block;
	width: 100%;
	padding: 0.375rem 0.75rem;
	margin-bottom: 0.5rem;
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.5;
	text-align: center;
	border-radius: 0.375rem;
	cursor: pointer;
	background-color: #fff;
	color: var(--bs-primary);
	border: 1px solid var(--bs-primary);
	transition: all 0.15s ease-in-out;
}
.btn-rsvp.btn-outline {
	background-color: #fff;
	color: var(--bs-primary);
	border: 1px solid var(--bs-primary);
}

.btn-check:checked + .btn-rsvp {
	background-color: var(--bs-primary);
	color: #fff;
	border-color: var(--bs-primary);
}

.form-spinner .btn {
	font-family: var(--ff-body);
	font-weight: 600;
}

/* --------------- GIFT --------------- */

#weddingGift {
	position: relative;
	overflow: hidden;
	padding: 2rem 0;
	text-align: center;
}
#weddingGift span {
	font-size: 48px;
}
#weddingGift p {
	font-size: 14px;
}
#giftModal .modal-header {
	border-bottom: 0;
}

#giftModal .modal-body {
	padding: 0 30px 30px 30px;
}

#giftModal .modal-body h4 {
	font-size: 20px;
	text-align: center;
	margin-bottom: 30px;
}

#giftModal .modal-body .card {
	background-image: linear-gradient(125deg, #ffffff 0%, #d1d1d1 100%);
	background-color: #ffffff;
	border-radius: 10px 10px 10px 10px;
	overflow: hidden;
	border-width: 0px;
	box-shadow: 0px 2px 18px 0px rgb(0 0 0 / 8%);
}

#giftModal .modal-body .card .card-body {
	padding: 30px 0;
	text-align: center;
}

#giftModal .modal-body .card h5 {
	font-size: 14px;
	margin-bottom: 12px;
}

#giftModal .modal-body .card p {
	font-size: 12px;
}

#walletModal .modal-header {
	border-bottom: 0;
}

#walletModal .modal-body {
	padding: 0 30px 30px 30px;
}

#walletModal .modal-body h4 {
	font-size: 20px;
	text-align: center;
	margin-bottom: 30px;
}

#walletModal .modal-body .card {
	background-image: linear-gradient(125deg, #ffffff 0%, #d1d1d1 100%);
	background-color: #ffffff;
	border-radius: 10px 10px 10px 10px;
	overflow: hidden;
	border-width: 0px;
	box-shadow: 0px 2px 18px 0px rgb(0 0 0 / 8%);
}

#walletModal .modal-body .card .card-body {
	padding: 30px 16px;
	text-align: center;
}

#walletModal .modal-body .card img {
	height: 25px;
	margin-bottom: 8px;
}

#walletModal .modal-body .card h5 {
	font-size: 14px;
	margin-bottom: 12px;
	text-align: left;
}

#walletModal .modal-body .card p {
	font-size: 18px;
}

/* --------------- Wishes --------------- */

#weddingWishes {
	position: relative;
	overflow: hidden;
	padding: 2rem 0;
}
#weddingWishes .card {
	position: relative;
	overflow: hidden;
	border-radius: 10px;
}
#weddingWishes .card .card-body {
	padding: 0 1rem 1rem 1rem;
}
#weddingWishes .section-desc {
	font-size: 14px;
	text-align: center;
}
#weddingWishes .comment-block {
	padding-top: 2rem;
}
#weddingWishes .comment-block .item {
	margin-bottom: 2rem;
	padding: 1rem;
	background-color: white;
	border-radius: 4px;
	box-shadow: rgba(var(--bs-primary-rgb), 0.16) 0px 1px 4px;
}
#weddingWishes .comment-block .item .in {
	width: 100%;
}
#weddingWishes .comment-block .item .comment-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 4px;
}
#weddingWishes .comment-block .item .comment-header .title {
	margin: 0;
	padding-right: 10px;
	color: #0a0000;
	font-size: 14px;
}
#weddingWishes .comment-block .item .comment-header .time {
	font-size: 9px;
	color: #9da8b7;
}
#weddingWishes .comment-block .item .text {
	font-size: 14px;
	color: #44525f;
}
.new-wish {
	animation: wishFade 0.6s ease;
}

@keyframes wishFade {
	from {
		opacity: 0;
		transform: translateY(-10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* --------------- Footer --------------- */

.page-footer {
	position: relative;
	overflow: hidden;
	background-color: var(--bs-body-bg);
	padding: 12px 0;
}
.page-footer img {
	height: 30px;
}
.page-footer p {
	font-size: 12px;
}

/* --------------- Animation --------------- */

.putar-kiri {
	animation: rota-full-left 10s infinite linear;
}

@keyframes rota-full-left {
	0% {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(-360deg);
	}
}

/* --------------- Content --------------- */

.hero-section {
	position: relative;
	width: 100%;
	height: 100vh;
	overflow: hidden;
	background: #000;
}

#heroVideo {
	position: absolute;
	inset: 0;

	width: 100%;
	height: 100%;

	object-fit: cover;

	z-index: 2;

	opacity: 1;

	transition: opacity 1.5s ease;
}

.hero-image {
	position: absolute;
	inset: 0;

	background: url("../img/ornament/hero.jpg") center/cover no-repeat;

	z-index: 1;

	transform: scale(1.1);

	animation: heroZoom 8s ease forwards;
}

.hero-section::before {
	content: "";
	position: absolute;
	inset: 0;

	background: rgba(0, 0, 0, 0.25);

	z-index: 1;
}

.hero-content {
	position: absolute;
	inset: 0;

	z-index: 3;

	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;

	color: white;
	text-align: center;

	padding: 20px;

	opacity: 0;
	transform: translateY(30px);

	transition: 2s;
}

.hero-content.show {
	opacity: 1;
	transform: translateY(0);
}

.hero-content p {
	font-size: 16px;
	color: var(--bs-primary);
}

.hero-content h2 {
	font-size: 20px;
	color: var(--bs-primary);
}

.hero-content h1 {
	font-family: var(--ff-title);
	font-size: 3.5rem;
	color: var(--bs-primary);
}

.scroll-down {
	font-size: 32px;
	color: var(--bs-primary);
	animation: bounceDown 1.5s infinite;
}

@keyframes bounceDown {
	0%,
	100% {
		transform: translateY(0);
	}
	50% {
		transform: translateY(10px);
	}
}

/* ZOOM IMAGE */
@keyframes heroZoom {
	from {
		transform: scale(1.2);
	}

	to {
		transform: scale(1);
	}
}

/* ---------------------------------------- */

#about {
	position: relative;
	overflow: hidden;
	background-color: var(--bs-primary);
	padding: 3rem 0;
}

#about .quots-text p {
	font-size: 14px;
	color: var(--bs-light);
	text-align: center;
}

#about .about-image-end img,
#about .about-image-start img {
	height: 230px;
	width: 350px;
	object-fit: cover;
	object-position: bottom center;
	border-top: 4px solid var(--bs-light);
	border-bottom: 4px solid var(--bs-light);
	border-left: 4px solid var(--bs-light);
	border-right: 4px solid var(--bs-light);
}

#about .about-image-end {
	text-align: right;
}

#about .about-image-end img {
	border-right: none;
	border-radius: 200px 0 0 200px;
}

#about .about-image-start {
	text-align: left;
}

#about .about-image-start img {
	border-left: none;
	border-radius: 0 200px 200px 0;
}

#about .orna1 {
	position: absolute;
	top: 40%;
	left: -15px;
	width: 130px;
	animation: tilt-shaking 5.3s infinite;
}

#about .orna2 {
	position: absolute;
	bottom: 0;
	right: -15px;
	width: 130px;
	animation: tilt-shaking 5.3s infinite;
}

/* ---------------------------------------- */

#couple {
	position: relative;
	overflow: hidden;
	padding: 3rem 0;
	text-align: center;
	background-image: url(../img/ornament/background.jpg);
	background-size: cover;
	background-position: center;
}

#couple .card {
	background-color: rgba(255, 255, 255, 0.8);
	border: 4px solid var(--bs-primary);
	border-radius: 200px;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
	padding-top: 4rem;
	padding-bottom: 2rem;
}

#couple .couple-detail img {
	width: 230px;
	max-height: 300px;
	border-radius: 200px;
	border: 4px solid var(--bs-primary);
	object-fit: cover;
	object-position: center right;
}

#couple h1 {
	font-family: var(--ff-title);
	font-size: 3.5rem;
	color: var(--bs-primary);
}

#couple h2 {
	font-family: var(--ff-subtitle);
	font-size: 18px;
	font-weight: 500;
}

#couple h4 {
	font-family: var(--ff-title);
	font-size: 2rem;
	color: var(--bs-primary);
}

#couple p {
	font-size: 14px;
}

#couple a {
	text-decoration: none;
}

#couple h3 {
	font-family: var(--ff-title);
	font-size: 2rem;
	color: var(--bs-light);
}

#couple .orna1 {
	position: absolute;
	top: 0;
	bottom: 0;
	left: -15px;
	margin: auto;
	width: 130px;
	animation: tilt-shaking 5.3s infinite;
}

#couple .orna2 {
	position: absolute;
	top: 0;
	bottom: 0;
	right: -15px;
	width: 130px;
	margin: auto;
	animation: tilt-shaking 5.3s infinite;
}

/* ---------------------------------------- */

#weddingDate {
	position: relative;
	overflow: hidden;
	background-color: var(--bs-primary);
	padding-bottom: 2rem;
}

#weddingDate .savethedate {
	position: relative;
	overflow: hidden;
}

#weddingDate .savethedate .swiper {
	width: 100%;
	height: 70vh;
}

#weddingDate .savethedate .swiper-slide {
	transition-timing-function: linear;
}

#weddingDate .savethedate .swiper-slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

#weddingDate .savethedate .savethedate-inner {
	position: absolute;
	width: 100%;
	padding: 2rem 0;
	inset: 0;
	z-index: 2;
	height: 71vh;
	background: linear-gradient(
		0deg,
		rgba(var(--bs-primary-rgb), 1) 10%,
		transparent 50%
	);
	backface-visibility: hidden;
	transform: translateZ(0);
}

#weddingDate .countdown {
	overflow: hidden;
	margin-bottom: 2rem;
}

#weddingDate .countdown .box-countdown {
	background: transparent;
	width: 100%;
	padding: 0.5rem;
	margin-left: 0.25rem;
	margin-right: 0.25rem;
	text-align: center;
}

#weddingDate .countdown .value span {
	font-size: 32px;
	color: var(--bs-light);
}

#weddingDate .countdown .label {
	font-size: 16px;
	color: var(--bs-light);
}

#weddingDate .countdown p {
	font-size: 14px;
	color: var(--bs-light);
}

#weddingDate .card {
	background:
		linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8)),
		url(../img/ornament/background.jpg);
	background-size: cover;
	background-position: center bottom;
	border-radius: 200px;
	text-align: center;
}

#weddingDate .card .card-body {
	padding: 4rem 1.5rem;
}

#weddingDate .card h3 {
	font-size: 16px;
}

#weddingDate .card .card-body .svg-logo {
	width: 80px;
	color: var(--bs-primary);
}

#weddingDate .card .card-body .st0 {
	stroke: var(--bs-body-color);
	stroke-width: 20px;
	fill: none;
}

/* ---------------------------------------- */
.timeline {
	position: relative;
	padding: 0;
	list-style: none;
	max-width: 1200px;
	margin: 1rem auto 2rem auto;
}

.timeline:before {
	content: " ";
	position: absolute;
	top: 0;
	bottom: 0;
	left: 50%;
	width: 3px;
	margin-left: -1.5px;
	background-color: var(--bs-light);
}

.timeline > .timeline-item {
	position: relative;
	margin-bottom: 20px;
}

.timeline > .timeline-item:after,
.timeline > .timeline-item:before {
	content: " ";
	display: table;
}

.timeline > .timeline-item:after {
	clear: both;
}

.timeline > .timeline-item > .timeline-panel {
	float: left;
	position: relative;
	width: 46%;
	padding: 16px;
	border: 1px solid transparent;
	background-color: var(--bs-white);
	border-radius: 10px;
	box-shadow: 0 1px 6px rgba(0, 0, 0, 0.05);
}

.timeline > .timeline-item > .timeline-badge {
	z-index: 10;
	position: absolute;
	top: 16px;
	left: 50%;
	width: 50px;
	height: 50px;
	margin-left: -25px;
	border-radius: 50% 50% 50% 50%;
	text-align: center;
	font-size: 1.4em;
	line-height: 55px;
	color: var(--bs-primary);
	overflow: hidden;
	background-color: var(--bs-light);
}

.timeline > .timeline-item.timeline-inverted > .timeline-panel {
	float: right;
}

.timeline > .timeline-item.timeline-inverted > .timeline-panel:before {
	right: auto;
	left: -8px;
	border-right-width: 8px;
	border-left-width: 0;
}

.timeline > .timeline-item.timeline-inverted > .timeline-panel:after {
	right: auto;
	left: -7px;
	border-right-width: 7px;
	border-left-width: 0;
}

.timeline-title {
	margin-top: 0;
	color: inherit;
	font-weight: 400;
}

.timeline-body > p,
.timeline-body > ul {
	margin-bottom: 0;
}

.timeline-left:before {
	left: 30px;
}

.timeline-left > .timeline-item > .timeline-badge {
	left: 30px;
	top: 10px;
}

.timeline-left > .timeline-item > .timeline-panel {
	width: calc(100% - 70px);
}

.timeline-body h5 {
	font-family: var(--ff-body);
	font-weight: 500;
	font-size: 18px;
	color: var(--bs-primary);
	margin-bottom: 8px;
}

.timeline-body p {
	font-family: var(--ff-body);
	font-weight: 500;
	font-size: 14px;
	color: var(--bs-primary);
}

#loveStory {
	position: relative;
	background-color: var(--bs-primary);
}

#loveStory .image-box-top {
	position: relative;
	overflow: hidden;
	width: 100%;
	height: 300px;
	background-image: url(../img/story1.jpg);
	background-size: cover;
	background-position: center;
}

#loveStory .image-box-bottom {
	position: relative;
	overflow: hidden;
	width: 100%;
	height: 300px;
	background-image: url(../img/story2.jpg);
	background-size: cover;
	background-position: center;
}

/* ---------------------------------------- */

#gallery {
	position: relative;
	overflow: hidden;
	padding: 2rem 0;
	background:
		linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)),
		url(../img/ornament/background.jpg);
	background-size: cover;
	background-position: center;
}

/* ---------------------------------------- */

#tankyou {
	position: relative;
	overflow: hidden;
}

#tankyou .tankyou-inner {
	width: 100%;
	height: 80vh;
	background:
		linear-gradient(rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.7)),
		url(../img/tankyou.jpg);
	background-size: cover;
	background-position: center right;
	background-repeat: no-repeat;
	display: flex;
	flex-direction: column;
	justify-content: space-evenly;
}

#tankyou .tankyou-title {
	text-align: center;
}

#tankyou .tankyou-title p {
	font-size: 14px;
}

#tankyou .tankyou-title h1 {
	font-family: var(--ff-title);
	font-size: 3rem;
	color: var(--bs-primary);
}

#tankyou .tankyou-title h2 {
	font-family: var(--ff-subtitle);
	font-size: 20px;
}

#tankyou .tankyou-title h3 {
	font-size: 16px;
}

@keyframes tilt-shaking {
	0% {
		transform: translate(0, 0) rotate(0deg);
	}
	25% {
		transform: translate(5px, 5px) rotate(5deg);
	}
	50% {
		transform: translate(0, 0) rotate(0eg);
	}
	75% {
		transform: translate(-5px, 5px) rotate(-5deg);
	}
	100% {
		transform: translate(0, 0) rotate(0deg);
	}
}
