/* ---- reset ---- */


body {
    margin: 0;
    max-height: 100%;
    font-family: Vazirmatn, sans-serif;
    font-weight: 600;
    display: flex;
    justify-content: center;
}

.container {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100%;
}

canvas {
    display: block;
    vertical-align: bottom;
}

/* ---- particles.js container ---- */
#particles-js {
    position: relative;
    width: 100%;
    height: 100%;
    background-image: url("../img/bg.jpg");
    background-repeat: no-repeat;
    background-color: #000000;

}

/* ---- stats.js ---- */
.count-particles {
    background: #000022;
    position: absolute;
    top: 48px;
    left: 0;
    width: 80px;
    color: #13E8E9;
    font-size: .8em;
    text-align: left;
    text-indent: 4px;
    line-height: 14px;
    padding-bottom: 2px;
    font-family: Helvetica, Arial, sans-serif;
    font-weight: bold;
}

.js-count-particles {
    font-size: 1.1em;
}

#stats, .count-particles {
    -webkit-user-select: none;
    margin-top: 5px;
    margin-left: 5px;
}

#stats {
    border-radius: 3px 3px 0 0;
    overflow: hidden;
}

.count-particles {
    border-radius: 0 0 3px 3px;
}


/* موبایل (کوچکتر از 576px) */
@media (max-width: 575.98px) {

    .box-margin-right {
        margin-right: 0%;
    }

    .card {
        margin-bottom: 1rem;
    }
    .titr-moshrefi{
        font-size: 2rem !important;
    }

    .logo-margin-top {
        margin-top: 10rem;
    }

    .logo-margin-bottom {
        margin-bottom: 5rem;
    }

    .mb-bottom-sm {
        margin-bottom: 1rem !important;
    }

    .arrow {
        display: none;
    }
    .margin-right-13{
        margin-right: 0 !important;
    }

}

/* تبلت (576px تا 768px) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .img-fluid{
        padding: 10px;
    }
    .logo-margin-top {
        margin-top: 8rem;
    }

}

/* لپ‌تاپ (768px تا 992px) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .logo-margin-top {
        margin-top: 8rem;
    }
}

/* دسکتاپ (992px به بالا) */
@media (min-width: 992px) {
    .box-margin-right {
        margin-right: auto;
        margin-left: auto;
    }

    .logo-margin-top {
        margin-top: 11rem;
    }

    .logo-margin-bottom {
        margin-bottom: 5rem;
    }
    .margin-right-13{
        margin-right: 14rem !important;
    }
}

.hoverable-a {
    padding: 0;
}

.img-fluid {
    padding: 10px;
}


.allLoading {
    background-color: #000;
    display: grid;
    grid-template-columns: 1fr;
    height: 100%;
    justify-content: center;
    position: fixed;
    right: 0;
    top: 0;
    width: 100%;
    z-index: 40000;
}

.allLoading .allLoadings {
    align-items: center;

    border-radius: .4rem;
    display: grid;
    height: 7rem;
    margin: auto;
    overflow: hidden;
    padding: 1rem;
    width: 7rem;
}


.lds-ripple,
.lds-ripple div {
    box-sizing: border-box;
}

.lds-ripple {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}

.lds-ripple div {
    position: absolute;
    border: 4px solid currentColor;
    opacity: 1;
    border-radius: 50%;
    color: white;
    animation: lds-ripple 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

.lds-ripple div:nth-child(2) {
    animation-delay: -0.5s;
}

@keyframes lds-ripple {
    0% {
        top: 36px;
        left: 36px;
        width: 8px;
        height: 8px;
        opacity: 0;
    }
    4.9% {
        top: 36px;
        left: 36px;
        width: 8px;
        height: 8px;
        opacity: 0;
    }
    5% {
        top: 36px;
        left: 36px;
        width: 8px;
        height: 8px;
        opacity: 1;
    }
    100% {
        top: 0;
        left: 0;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}

a {
    text-decoration: none;
}

.sub-link {
    font-size: 2rem;
    text-decoration: none;
    color: black;
    background: white;
    text-align: center;
    padding: 1rem;
    display: inline-block;
    min-width: 15rem;
    height: 5rem;
    border-radius: 10px;
}


.titr-moshrefi {
    font-size: 3rem;
    text-shadow: #000000 3px 5px 2px;
}

.border-radius-10 {
    border-radius: 10px !important;
}

.titr-moshrefi-en {
    text-shadow: #000000 3px 5px 2px;
}

/*.margin-right-13 {*/
/*    margin-right: 13.8rem;*/
/*}*/