@import url("common.css");
@import url("animation.css");

html {
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}

.with-scrollbar {
    scrollbar-width: auto !important;
    -ms-overflow-style: auto !important;
}

@font-face {
    font-family: 'Above the Beyond Script';
    src: url("../assets/fonts/Above the Beyond Script.woff2") format("woff2");
    font-display: swap;
}

.font-esthetic {
    font-family: 'Sacramento', cursive !important;
}

.font-esthetic-name {
    font-family: 'Above the Beyond Script', cursive !important;
    color: #620627 !important;
}

.font-arabic {
    font-family: 'Noto Naskh Arabic', serif !important;
}

.img-center-crop {
    width: 13rem;
    height: 13rem;
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
}

/* Wrap an <img> in a div with these classes to zoom in and crop it to the center. */
.img-zoom-crop {
    position: relative;
    overflow: hidden;
    clip-path: circle(50%);
}

.img-zoom-crop img {
    display: block;
    position: absolute;
    /* Oversize by 50% (adjust with top/left/width/height together) and re-center without transform, so the circular clip-path above stays a perfect circle. */
    top: -10%;
    left: -25%;
    width: 150%;
    height: 150%;
    object-fit: cover;
    object-position: center;
}

.img-zoom-crop-lg {
    width: 18rem;
    height: 18rem;
    max-width: 100%;
    max-height: 100%;
}

.img-cat-decor {
    position: absolute;
    width: 6rem;
    height: auto;
    bottom: -0.75rem;
}

.img-cat-welcome {
	width: 15rem;
	height: auto;
	position: absolute;
	left: -33%;
	bottom: 5%;
}

.img-flower-decor {
    position: absolute;
    width: 20rem;
    height: auto;
    bottom: -8rem;
    z-index: -9999;
}

.img-flower-decor.groom {
	left: -1rem;
	bottom: -8rem;
	transform: scaleX(-100%);
	scale: 80%;
}

.img-flower-decor.bride {
	left: -8rem;
	bottom: -8rem;
	scale: 80%;
}

.img-cat-decor.img-cat-cewe {
    right: -3.75rem;
    bottom: -1.5rem;
}

.img-cat-decor.img-cat-cowo {
    left: -3.5rem;
}

.img-cat-bg {
    position: absolute;
    width: 8rem;
    height: auto;
    bottom: -0.75rem;
    z-index: -9999;
}

html[data-bs-theme="dark"] .btn-transparent {
    background-color: rgba(var(--bs-dark-rgb), 0.5) !important;
    backdrop-filter: blur(0.5rem);
}

html[data-bs-theme="light"] .btn-transparent {
    background-color: rgba(var(--bs-light-rgb), 0.5) !important;
    backdrop-filter: blur(0.5rem);
}

.loading-page {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1056;
}

html[data-bs-theme="light"] .color-theme-svg {
    color: #f5f9e5;
    background-color: var(--bs-light);
}

html[data-bs-theme="dark"] .color-theme-svg {
    color: rgb(0, 0, 0);
    background-color: var(--bs-dark);
}

html[data-bs-theme="light"] .bg-light-dark {
    background-color: #f5f9e5;
}

html[data-bs-theme="dark"] .bg-light-dark {
    background-color: rgb(var(--bs-dark-rgb));
}

html[data-bs-theme="light"] .bg-white-black {
    background-color: #f5f9e5;
}

html[data-bs-theme="dark"] .bg-white-black {
    background-color: rgb(var(--bs-black-rgb));
}

.progress-bar {
    background-color: #620627;
}

.carousel-inner .carousel-item {
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.bg-cover-home {
    width: 100%;
    height: 100%;
    object-fit: cover;
    mask-image: linear-gradient(0.5turn, transparent, black 40%, black 60%, transparent);
}

.width-loading {
    width: 25%;
}

.cursor-pointer {
    cursor: pointer;
}

@media screen and (max-width: 992px) {
    .width-loading {
        width: 50%;
    }
}

@media screen and (max-width: 576px) {
    .width-loading {
        width: 75%;
    }
}

svg {
    display: block;
    line-height: 0;
    shape-rendering: geometricPrecision;
    backface-visibility: hidden;
}

.svg-wrapper {
    overflow: hidden !important;
    transform: translateZ(0) !important;
}

.no-gap-bottom {
    margin-bottom: -0.75rem !important;
}