@font-face {
    font-family: iranyekan;
    font-style: normal;
    font-weight: normal;
    src: url('../fonts/iranyekan.woff') format('woff');
}

* {
    font-family: iranyekan !important;
    direction: rtl;
    font-optical-sizing: auto;
    font-style: normal;
}

img {
    max-width: 100%;
}

::placeholder {
    /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: #bbbbbb;
    opacity: 1;
    /* Firefox */
}

:-ms-input-placeholder {
    /* Internet Explorer 10-11 */
    color: #bbbbbb;
}

::-ms-input-placeholder {
    /* Microsoft Edge */
    color: #bbbbbb;
}

* {
    position: relative;
    box-sizing: border-box;
    outline: none;
}

*:focus {
    outline: none !important;
}

body {
    text-align: right;
    color: #252525;
    font-size: 14px;
    overflow-x: hidden;
    background-image: linear-gradient(80deg, #d3c6b3, #cfc0a9);
}

a,
a:hover,
a:focus {
    text-decoration: none;
    color: inherit;
}


select {
    background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNSIgaGVpZ2h0PSIyNSIgZmlsbD0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2U9IiNiYmIiPjxwYXRoIGQ9Ik02IDlsNiA2IDYtNiIvPjwvc3ZnPg==);
    padding-left: 30px;
    background-position: left 10px top 50%;
    background-size: auto 25px;
    background-repeat: no-repeat;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

input[type=number] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none
}


.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(0 0 0 / 50%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999999;
}

.checking-overaly {
    pointer-events: none;
    background: linear-gradient(39deg, rgba(9, 166, 0, .8) 0%, rgba(0, 255, 4, 0.5) 50%, rgb(0 255 128 / 50%) 100%);
    opacity: 0;
    transition: .4s;
    transform: translateX(-50%);
    position: fixed;
    left: 50%;
    width: 425px;
}

.checking-overaly.not {
    background: linear-gradient(132deg, rgba(180, 58, 58, 0.5) 0%, rgb(173 0 0 / 50%) 50%, rgba(255, 0, 0, 0.8) 100%);
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.box {
    padding: 4px;
    margin: 10px 0;
    box-shadow: 5px 5px 5px #a3a3a3;
    border-radius: 7px;
    border: dashed 3px #071c2c;
    transform: rotate(-2deg);
    background: #ebfffe;
}

.box .row>div:nth-of-type(1) {
    transform: rotate(3deg) scale(1.16) translateY(-5px);
}

.box .row>div:nth-of-type(2) {
    transform: rotate(2deg) scale(1.15);
}

.box .btn {
    width: 100%;
    margin-top: 5px;
    background: #ffdb00;
    border: solid 5px #071c2c;
    border-radius: 15px;
    font-weight: 700;
}

.box .btn.btn-soft {
    background: #58ced6;
}

.box .btn:hover {

    background: #d2b400;
    border: solid 5px #071c2c;
}

.box .btn.btn-soft:hover {

    background: #2bbbc3;
    border: solid 5px #071c2c;
}

.box .btn.disabled {
    opacity: .2
}

@keyframes shake {
    0% {
        transform: translateY(0) translateX(0) rotate(0);
    }

    25% {
        transform: translateY(5px) translateX(-1px) rotate(-2deg);
    }

    50% {
        transform: translateY(1px) translateX(1px) rotate(2deg);
    }

    75% {
        transform: translateY(-5px) translateX(-1px) rotate(-2deg);
    }

    100% {
        transform: translateY(0) translateX(0) rotate(0);
    }
}

.shake-item {
    animation: shake 0.7s ease-in-out infinite;
}

.shake-item.faster {
    animation: shake 0.5s ease-in-out infinite;
}

.shake-item:hover {
    animation: shake 0.2s ease-in-out infinite;
}

.box-7-text {
    font-size: 2em;
    font-weight: bold;
    transform: rotate(-4deg) scale(1.15) !important;
    line-height: 1em;
    color: #ffdb00;
    text-shadow: 2px 2px BLACK, -2px -2px #797979;
    z-index: 1;
}

.box-7-text>span {
    background: #0052988a
}

@media screen and (max-width: 375px) {
    .book-container {
        padding: 0 70px !important;
    }
}

@media screen and (max-width: 320px) {
    .book-container {
        padding: 0 60px !important;
    }

    .nowrap {

        white-space: normal !important;
    }
}

@media screen and (max-width: 384px) {
    .book-container {
        padding: 0 70px !important;
    }

}

.dictionary-help {
    margin-bottom: 10px;
    font-size: 0.9em;
}

.dictionary-help .dic-help {
    color: black;
    margin-bottom: 5px
}

.dictionary-help .dic-help:before {
    font: normal normal normal 14px/1 "Material Design Icons";
    content: 'ó°»‚';
    color: #5f5f5f;
}

.just-disabled {
    pointer-events: none;
}

.disabled {
    pointer-events: none;
    opacity: 0.7;
}

.selection-bar-toggler {
    position: absolute !important;
    padding: 5px !important;
    z-index: 999999999;
    top: 0;
    left: 50%;
    width: 425px !important;
    max-width: 100% !important;
    height: 50px;
    background: white;
    border-radius: 0 0 15px 15px;
    box-shadow: 0 5px 12px #00000075;
    transform: translate(-50%, calc(-100% - 50px));
    transition: .9s cubic-bezier(0.53, 1.54, 0.51, -0.73);
}

.selection-bar-toggler i {
    position: absolute !important;
    background: #2a5c82a1;
    color: white !important;
    border-radius: 50%;
    padding: 5px !important;
    font-size: 36px !important;
    cursor: pointer;
    top: 5px;
    right: 5px;
}

.selection-bar-toggler .open-btn {
    right: 45px;
}

.selection-bar {
    width: 425px !important;
    max-width: 100% !important;
    left: 50%;
    transform: translate(-50%, -110%);
    z-index: 999999999;
    position: fixed;
    top: 0;
    background: #ffffff;
    min-height: 150px;
    box-shadow: 0 5px 12px #00000075;
    transition: .3s ease-in-out;
    padding-bottom: 50px !important;
    padding-top: 60px !important;
    max-height: 80%;
    overflow: auto;
    user-select: none;
    border-radius: 0 0 15px 15px;
}

.selection-bar.show {
    transform: translate(-50%, 0);
}

.selection-bar-toggler.show {
    transform: translate(-50%, calc(-100% + 50px));
}

.suggest-notify {
    background: #3f708ae0;
    border-radius: 15px !important;
    width: 380px;
    max-width: 90%;
    padding: 15px;
    color: white;
    position: fixed;
    bottom: -100%;
    left: 50%;
    transform: translateX(-50%);
    overflow: hidden;
    padding-right: 30px;
    transition: .5s cubic-bezier(0.72, -1, 0.28, 1)
}

.suggest-notify.show-notify {
    bottom: 25px;

}

.suggest-close {
    background: #3f708ae0;
    width: 20px !important;
    padding: 15px;
    color: white;
    position: absolute !important;
    top: 0;
    right: 0;
    height: 100% !important;
    font-size: 20px !important;
    cursor: pointer;
}

.remain-badge {
    position: fixed;
    bottom: 60px;
    right: 50%;
    transform: translateX(50%);
    background: #c5c5c5;
    padding: 5px;
    border-radius: 10px 10px 0 0;
    font-weight: 700;
    color: #6b6b6b;
    width: 350px;
}

.description-text {
    font-size: 12px;
    color: #6b6b6b;
}

.voice-icon {
    position: absolute !important;
    backdrop-filter: blur(2px);
    padding: 5px !important;
    font-size: 21px !important;
    transform: translate(-40px, -40px);
    z-index: 9999;
}

.ltr {
    direction: ltr;
}

.ltr-tree,
.ltr-tree * {
    direction: ltr;
}

.rtl {
    direction: rtl;
}

.rtl-tree,
.rtl-tree * {
    direction: rtl;
}

.book-container {
    padding: 0 80px;
    touch-action: none;
    z-index: 1;
}

.book-container,
.getfaal-container {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-user-drag: none;
}

.book-container img {
    pointer-events: none;
}

.hafez-card {
    margin-top: -25px
}

.book-container .slider {
    position: absolute;
    top: 3%;
    height: 94%;
}

.no-cursor {
    cursor: none;
}

.point-area {
    position: absolute;
    top: 3%;
    left: 24%;
    height: 95%;
    width: 21%;
}

.bg-right {
    right: 0;
}

.bg-left {

    left: 0;

}

.bg-sides {
    position: fixed;
    bottom: 0;
    z-index: -1;
    max-height: 100%;
    pointer-events: none;
}

.main-bg {
    background-image: url(../images/mainbg.jpg) !important;
    background-size: 100% 100% !important;
    background-position: bottom center !important;
}

.home-buttons-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.home-button {

    border-radius: 10px;

    box-shadow: 0 0 14px #e0d2ad;

    border: solid 1px #c9b89e;

    overflow: hidden;
}

.home-button img {

    width: 100%;
}

.faal-btn {
    text-align: center;
    align-items: center;
}

.faal-btn img {
    min-width: 100%;
}

.mesra {
    white-space: nowrap;
    text-align: center;
    line-height: 2;
}

.text-falfal {
    color: #776c5b !important;
}

.bg-falfal {
    background-color: #776c5b !important;
}

.nowrap {
    white-space: nowrap;
}

.is-sharing {
    position: fixed;
    inset: 0px;
    background-color: #ffffff6b;
    z-index: 10004;
    backdrop-filter: blur(10px);
}

.ad-box {
    justify-items: center;
    margin-top: 15px;
    border-radius: 15px;
    overflow: hidden;
    margin-left: auto;
    margin-right: auto;
    display: table !important;
    width: 300px;
    height: 100px;
    margin-bottom: 35px;
}