﻿@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

:root {
    --bs-font-sans-serif: IRANYekanX;
    --brand-color: #8f8df4;
    --bs-body-line-height: 1.58;
}

html {
    position: relative;
    min-height: 100%;
    font-size: 14px;
}

html, body {
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

hr {
    opacity: 0.15;
}

main {
    flex-grow: 1;
}

section, img {
    position: relative;
}

.fw-lighter {
    font-weight: 300 !important;
}

.fw-normal {
    font-weight: 400 !important;
}

.fw-bold {
    font-weight: 700 !important;
}

.fw-bolder {
    font-weight: 800 !important;
}

.text-left {
    text-align: left;
}

.ltr {
    direction: ltr;
}

.toggle-display .toggle-block {
    display: none;
}

.toggle-display:hover .toggle-block {
    display: block !important;
}

.toggle-display:hover .toggle-none {
    display: none;
}

.scroll-navbar {
    display: flex;
    overflow-x: auto;
    padding: 0.5rem 1rem;
    gap: 1rem;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE 10+ */
}

.scroll-navbar {
    display: flex;
    overflow-x: auto;
    padding: 0.5rem 1rem;
    gap: .5rem;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE 10+ */
}

.scroll-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 60px;
    height: 100%;
    background: linear-gradient(to right, #ece1d8, transparent);
    pointer-events: none;
}

.color-brand {
    color: var(--brand-color)
}

.btn-primary {
    --bs-btn-color: #f7f2f2;
    --bs-btn-bg: var(--brand-color);
    --bs-btn-border-color: #8381e4;
    --bs-btn-hover-color: #f7f2f2;
    --bs-btn-hover-bg: #7977e5;
    --bs-btn-hover-border-color: #5b59c5;
    --bs-btn-focus-shadow-rgb: 114, 63, 226;
    --bs-btn-active-color: #f7f6f9;
    --bs-btn-active-bg: #5e5cc9;
    --bs-btn-active-border-color: #4f4db8;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
    --bs-btn-disabled-color: #ece5ef;
    --bs-btn-disabled-bg: #750dfd;
    --bs-btn-disabled-border-color: #630dfd;
}

.truncate-2-lines {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    50% {
        transform: rotate(360deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.left-gradient-bg:before {
    content: "";
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    bottom: 0;
    left: 110px;
    filter: blur(50px);
    opacity: .8;
    background: linear-gradient(45deg, #450af348, #9b0de186, #fcbb08c1);
    animation: spin 10s infinite;
}