@font-face {
	font-family: "Italiana";
	src: url("../font/Italiana-Regular.woff2") format("woff2"),
		url("../font/Italiana-Regular.woff") format("woff");
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Abyssinica SIL";
	src: url("../font/AbyssinicaSIL-Regular.woff2") format("woff2"),
		url("../font/AbyssinicaSIL-Regular.woff") format("woff");
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Abhaya Libre";
	src: url("../font/AbhayaLibre-Regular.woff2") format("woff2"),
		url("../font/AbhayaLibre-Regular.woff") format("woff");
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}

:root {
	/* definisi variable font-weight */
	--ff-body: "Abhaya Libre";
	--fw-body: 400;
	--ff-divi-header: "Abyssinica SIL";
	--ff-divi-body: "Italiana";
	--ff-title: "Italiana";
	--ff-subtitle: "Abyssinica SIL";
}

body {
	overflow: hidden;
	font-family: var(--ff-body);
	font-weight: var(--fw-body);
	font-style: normal;
}

h1,
h2,
h3,
h4,
h5,
p {
	margin-bottom: 0;
}

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;
}

.form-control {
	font-family: var(--ff-body);
	font-weight: var(--fw-body);
}

.btn {
	font-family: var(--ff-body);
	font-weight: var(--fw-body);
}

.music-disc {
	position: fixed !important;
	bottom: 30px !important;
	left: 20px;
	background: transparent;
	width: 40px;
	z-index: 999;
}

/* --------------- layout --------------- */

.primary-pane {
	overflow: hidden;
	top: 0;
	left: 0;
	bottom: 0;
	position: fixed;
	width: 61%;
	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: 39%;
	margin-left: auto;
}

@media only screen and (max-width: 960px) {
	.primary-pane {
		position: relative;
		width: 100%;
		display: none;
	}
	.secondary-pane {
		position: relative;
		width: 100%;
	}
}

/* --------------- Title --------------- */

.divi-title {
	position: relative;
	overflow: hiden;
	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: #333333;
}
.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;
}

@keyframes blink {
	0%,
	100% {
		opacity: 1;
	}
	50% {
		opacity: 0.3;
	}
}

/* --------------- 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);
}
section.top-cover > .inner {
	position: static;
	width: 39%;
	height: 100vh;
	right: 0;
	margin-left: auto;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding-top: 50px;
	padding-bottom: 120px;
	text-align: center;
}

section.top-cover > .inner {
	background-image: linear-gradient(
			180deg,
			rgba(0, 4, 10, 0.36) 68%,
			#000c0f 100%
		),
		url(../img/cover.jpg);
	background-size: cover;
	background-position: center;
}
section.top-cover > .inner p {
	font-size: 16px;
	color: var(--bs-white);
	font-family: var(--ff-body);
}
section.top-cover > .inner h2 {
	font-size: 18px;
	color: var(--bs-white);
	font-family: var(--ff-subtitle);
}
section.top-cover > .inner h1 {
	font-family: var(--ff-title);
	font-size: 30px;
	color: var(--bs-white);
}

@media only screen and (max-width: 960px) {
	section.top-cover > .inner {
		position: relative;
		width: 100%;
	}
}

/* --------------- RSVP --------------- */

#rsvp {
	position: relative;
	overflow: hidden;
	padding: 2rem 0;
}
#rsvp .section-desc {
	font-size: 14px;
}
#rsvp .rsvp-item {
	margin-top: 2rem;
}
#rsvp .rsvp-item .card .card-body span {
	font-size: 2.5rem;
}
#rsvp .rsvp-item .card .card-body h4 {
	font-size: 18px;
}
#rsvp .rsvp-item .card .card-body p {
	font-size: 14px;
}

/* Tombol RSVP */
.btn-rsvp {
	display: block;
	width: 100%;
	padding: 0.375rem 0.75rem;
	margin-bottom: 0.5rem;
	font-size: 1rem;
	font-weight: var(--fw-body);
	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-weight: var(--fw-body);
}

/* --------------- 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;
}

/* --------------- 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);
	}
}
@keyframes blink {
	0%,
	20% {
		opacity: 0;
	}
	50%,
	100% {
		opacity: 1;
	}
}

/* --------------- Content --------------- */

#header {
	overflow: hidden;
	padding: 0;
}

#header .header-inner {
	width: 100%;
	padding: 50px 0;
	inset: 0;
	z-index: 2;
	height: 100vh;
	background: linear-gradient(
		0deg,
		rgba(var(--bs-primary-rgb), 1) 10%,
		transparent 50%
	);
}

#header .header-title {
	padding: 30px 0;
	text-align: center;
}

#header .header-title p {
	font-family: "Abhaya Libre", serif;
	font-size: 19px;
	color: var(--bs-white);
}

#header .header-title h2 {
	font-family: "Abyssinica SIL", serif;
	font-size: 18px;
	color: var(--bs-white);
}

#header .header-title h1 {
	font-family: "Italiana", sans-serif;
	font-size: 40px;
	color: var(--bs-white);
}

#about {
	position: relative;
	overflow: hidden;
	padding: 0 0 2rem 0;
	background-color: var(--bs-primary);
	color: var(--bs-light);
}

#about p {
	font-family: "Abyssinica SIL", serif;
	font-size: 14px;
}

#couple {
	position: relative;
	overflow: hidden;
	padding: 2rem 0;
	background-color: var(--bs-primary);
	color: var(--bs-light);
	text-align: center;
}

#couple img {
	width: 200px;
	height: 300px;
	object-fit: cover;
	object-position: center;
	border-radius: 200px 200px 20px 20px;
	box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.5);
}

#couple h2 {
	font-family: "Italiana", sans-serif;
	font-size: 25px;
}

#couple p {
	font-family: "Abyssinica SIL", serif;
	font-size: 14px;
}

#weddingDate {
	position: relative;
	overflow: hidden;
	padding: 2rem 0;
	background-color: rgba(0, 0, 0, 0.5);
	color: var(--bs-light);
}

#weddingDate .box-card-countdown {
	background-color: rgba(0, 0, 0, 0.5);
	border-radius: 200px 200px 20px 20px;
	padding: 3rem 1rem;
	text-align: center;
}

#weddingDate .box-card-countdown p {
	color: var(--bs-white);
	font-size: 14px;
	font-family: "Abyssinica SIL", serif;
}

#weddingDate .box-card-countdown h3 {
	color: var(--bs-white);
	font-size: 16px;
	font-family: "Abyssinica SIL", serif;
}

#weddingDate .box-card-countdown h4 {
	font-family: "Italiana", sans-serif;
	font-size: 24px;
	color: var(--bs-white);
}

#weddingDate .box-countdown {
	width: 100%;
	padding: 0.5rem;
	margin-left: 0.25rem;
	margin-right: 0.25rem;
	text-align: center;
}

#weddingDate .box-countdown .value span {
	font-size: 25px;
	color: var(--bs-white);
	font-family: "Abyssinica SIL", serif;
}

#weddingDate .box-countdown .label {
	font-size: 14px;
	color: var(--bs-white);
	font-family: "Abyssinica SIL", serif;
}

#weddingDate .box-card-date {
	background-color: rgba(0, 0, 0, 0.5);
	border-radius: 20px 20px 20px 20px;
	padding: 3rem 1rem;
	text-align: center;
}

#weddingDate .box-card-date img {
	width: 120px;
}

#weddingDate .box-card-date h2 {
	font-family: "Italiana", sans-serif;
	font-size: 35px;
	color: var(--bs-white);
	margin: 16px 0;
}

#weddingDate .box-card-date p {
	color: var(--bs-white);
	font-size: 14px;
	font-family: "Abyssinica SIL", serif;
}

#weddingDate .box-card-date h3 {
	color: var(--bs-white);
	font-size: 18px;
	font-family: "Abyssinica SIL", serif;
}

.bg-putih {
	background-color: rgba(255, 255, 255, 0.8);
}

#gallery {
	position: relative;
	overflow: hidden;
	padding: 2rem 0;
	background-color: var(--bs-primary);
}

.bg-hitam {
	background-color: rgba(0, 0, 0, 0.5);
}

#weddingWishes p {
	color: var(--bs-white);
}

.tankyou {
	text-align: center;
	padding: 50px 0 2rem 0;
}

.tankyou h2 {
	color: var(--bs-white);
	font-size: 25px;
	font-family: "Abyssinica SIL", serif;
	margin-bottom: 1rem;
}

.tankyou p {
	font-family: "Abyssinica SIL", serif;
	font-size: 14px;
	color: var(--bs-white);
	margin-bottom: 2rem;
}

.tankyou h1 {
	font-family: "Italiana", sans-serif;
	font-size: 30px;
	color: var(--bs-white);
}

.bg-swiper {
	position: fixed;
	top: 0;
	right: 0;
	width: 39%; /* sesuaikan dengan secondary-pane */
	height: 100%;
	z-index: -1; /* di belakang konten */
}

.bg-swiper .swiper-slide {
	width: 100%;
	height: 100%;
}

.bg-swiper img {
	width: 100%;
	height: 100%;
	object-fit: cover; /* biar gak gepeng, tetap full cover */
	display: block;
}

@media only screen and (max-width: 960px) {
	.bg-swiper {
		width: 100%;
	}
}
