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

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

*::-webkit-scrollbar {
    display: none !important;
}

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

.font-heading {
    font-family: "Courgette", cursive !important;
}

body[data-template="classic"] {
    --template-accent: #8573f1;
    --template-highlight: #f8f9fa;
}

body[data-template="royal"] {
    --template-accent: #8c6b1f;
    --template-highlight: #fff6d6;
}

body[data-template="garden"] {
    --template-accent: #2f855a;
    --template-highlight: #e8fff2;
}

body[data-template="royal"] .font-esthetic {
    font-family: "Courgette", cursive !important;
}

body[data-template="garden"] .font-esthetic {
    font-family: 'Andika', sans-serif !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;
}

.btn-float {
    right: 2vh;
    z-index: 1030;
    display: none;
}

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

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

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

body[data-template] .btn-primary {
    --bs-btn-bg: var(--template-accent);
    --bs-btn-border-color: var(--template-accent);
    --bs-btn-hover-bg: color-mix(in srgb, var(--template-accent) 80%, #000);
    --bs-btn-hover-border-color: color-mix(in srgb, var(--template-accent) 80%, #000);
}

body[data-template] .img-center-crop {
    border-color: var(--template-accent) !important;
}

body[data-template] .border.rounded-pill.shadow.py-2.px-4.mt-2.mb-4,
body[data-template] .border.rounded-4.shadow.p-3.mb-2,
body[data-template] .border.rounded-5.shadow.p-3 {
    border-color: color-mix(in srgb, var(--template-accent) 45%, transparent) !important;
    box-shadow: 0 0.75rem 2rem color-mix(in srgb, var(--template-accent) 18%, transparent) !important;
}

body[data-template="royal"] .bg-overlay-auto {
    background-color: rgba(58, 44, 12, 0.55) !important;
}

body[data-template="garden"] .bg-overlay-auto {
    background-color: rgba(18, 83, 54, 0.35) !important;
}

html[data-bs-theme="light"] .color-theme-svg {
    color: rgb(255, 255, 255);
    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: rgba(var(--bs-light-rgb), 1);
}

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

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

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

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

.width-loading {
    width: 25%;
}

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

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

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