@import url('https://cdn.jsdelivr.net/gh/rastikerdar/vazir-font@v30.1.0/dist/font-face.css');

body {
    font-family: Vazir;
    direction: rtl;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.px-45 {
    padding-right: 80px;
    padding-left: 80px;
}

* {
    outline: none;
}

.w-80px {
    width: 80px
}

.alertInfo {
    height: 55px
}

.space-x-normal {
    width: 95%;
    margin: 0 auto 0 auto;
}

.z-index-99 {
    z-index: 999 !important;
}

.z-index-999 {
    z-index: 99999 !important
}

.z-index--1 {
    z-index: -1 !important;
}

.text-medium {
    font-size: 18px;
}

.w-100 {
    width: 100% !important;
}

.h-100 {
    height: 34rem !important;
}

.mt-13 {
    margin-top: 3rem !important;
}

input, input:active {
    outline: none !important;
}
/*header responsive*/
.fa-bars.hamburgerIcon {
    display: none;
}

@media only screen and (max-width: 768px) {
    .navigation ul.list-base {
        display: none;
    }

    .fa-bars.hamburgerIcon {
        display: flex !important;
    }
}


.bg-green-f0fdf4 {
    background-color: #00b533;
}


/*slider*/

.slider .slider-items .item {
    display: none;
}

    .slider .slider-items .item.active {
        display: flex;
    }

    .slider .slider-items .item .img {
        animation: zoom 1s linear forwards;
        -webkit-animation: zoom 1s linear forwards;
    }

    .slider .slider-items .item .caption {
        width: 1400px;
        position: relative;
        margin: auto;
        top: -20%;
        right: 4%;
        text-align: right;
    }

        .slider .slider-items .item .caption .text h3 {
            font-size: 50px;
            animation: text 1s ease forwards;
            -webkit-animation: text 1s ease forwards;
            text-shadow: 4px 7px 14px #e5e7eb;
        }

@media screen and (max-width: 630px) {
    .slider .slider-items .item .caption .text h3 {
        font-size: 40px;
    }
}

@media screen and (max-width: 400px) {
    .slider .slider-items .item .caption .text h3 {
        font-size: 30px;
    }
}

@keyframes text {
    0% {
        opacity: 0;
        transform: translateX(100px);
        -webkit-transform: translateX(100px);
        -moz-transform: translateX(100px);
        -ms-transform: translateX(100px);
        -o-transform: translateX(100px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
        -webkit-transform: translateX(0);
        -moz-transform: translateX(0);
        -ms-transform: translateX(0);
        -o-transform: translateX(0);
    }
}


.slider .controls .next,
.slider .controls .prev {
    top: 50%;
    width: 40px;
    height: 40px;
    transition: all .3s ease;
    cursor: pointer;
    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    -ms-transition: all .3s ease;
    -o-transition: all .3s ease;
}

    .slider .controls .next:hover,
    .slider .controls .prev:hover {
        background: #c00;
    }

.slider .controls .next {
    right: 30px;
}

.slider .controls .prev {
    left: 30px;
}

@keyframes progress {
    0% {
        width: 0%;
    }

    100% {
        width: 100%;
    }
}

/*404*/

#container-404 {
    width: 100vw;
    height: 100vh;
    background: url(../../src/images/p404.png);
    direction: rtl;
    background-color: #151729;
}

    #container-404 .content {
        width: 100%;
    }

        #container-404 .content h2 {
            font-size: 350px;
        }

        #container-404 .content h4 {
            font-size: 50px;
            margin: -80px 0 0 0;
        }

        #container-404 .content p {
            font-size: 20px;
            margin: 25px 0;
        }

        #container-404 .content button {
            background: #8500ff;
            padding: 10px 20px;
            transition: all 0.2s ease-in-out;
            box-shadow: 1px 1px 5px #8500ff;
        }

            #container-404 .content button:hover {
                transform: scale(1.00002);
                box-shadow: 2px 2px 6px #8500ff;
            }

@media screen and (max-width: 768px) {
    #container-404 .content h2 {
        font-size: 275px;
    }
}

@media screen and (max-width: 585px) {
    #container-404 .content h2 {
        font-size: 220px;
    }

    #container-404 .content h4 {
        font-size: 30px;
        margin: -30px auto auto auto;
        display: block;
    }

    #container-404 .content p {
        margin: 10px 20px 30px;
        font-size: 18px;
    }
}

@media screen and (max-width: 416px) {
    #container-404 .content h2 {
        font-size: 130px;
    }

    #container-404 .content h4 {
        font-size: 25px;
    }

    #container-404 .content p {
        font-size: 16px;
        line-height: 1.5;
    }
}

.aceessDenied div h2 {
    font-size: 60px;
    font-weight: 800;
}

.aceessDenied div h4 {
    font-size: 30px;
    font-weight: 600;
}

.aceessDenied div p {
    font-size: 20px;
    font-weight: 500;
}

@media screen and (max-width: 460px) {
    .aceessDenied div img {
        width: 90%;
        height: 250px;
    }

    .aceessDenied div h2 {
        font-size: 40px;
    }

    .aceessDenied div h4 {
        font-size: 20px;
    }

    .aceessDenied div p {
        font-size: 14px;
    }
}

@media screen and (max-width: 360px) {
    .aceessDenied div img {
        width: 90%;
        height: 180px;
    }

    .aceessDenied div p {
        padding: 0 20px;
    }
}

.listDrop ul {
    background-color: #151729;
    z-index: 99;
}

.listDrop:hover ul {
    visibility: visible;
    transition: .3s ease-in-out
}

/*light slider*/
ul.lightSlider {
    height: 323px !important;
}

.lightSlider li {
    display: flex;
    flex-direction: column;
    height: 320px !important;
}

    .lightSlider li a {
        display: flex;
        flex-direction: column;
        height: 100%;
    }

.item-wrapper {
    min-height: 330px;
}

/*logout*/

.logout {
    display: block;
}

.logout400px, .resShortLinkMom {
    display: none;
}

@media screen and (max-width: 400px) {
    .logout {
        display: none;
    }

    .logout400px {
        display: block;
    }


    .addToShoppingCard {
        font-size: 16px
    }
}

@media screen and (max-width: 360) {
    .addToShoppingCard {
        font-size: 14px
    }
}

.shortLink {
    box-shadow: 1px 1px 10px #eeeeffb5;
    padding: 12px 5px;
    border-radius: 5px;
}

#mainImage {
    height: 280px;
}

@media screen and (max-width: 992px) {
    .shortLinkMom {
        display: none;
    }

    .resShortLinkMom {
        display: block !important;
    }
}

.bannerFull {
    height: 450px;
}

@media screen and (max-width: 992px) {
    .bannerFull {
        height: 350px;
    }
}

@media screen and (max-width: 768px) {
    .bannerFull {
        height: 250px;
    }
}

@media screen and (max-width: 470px) {
    .bannerFull {
        height: 200px;
    }
}

.BookName {
    font-size: 25px
}

.topMain {
    display: flex;
}

.rightBox {
    width: 22%;
}

.centerBox {
    width: 78%;
}

.leftLeftChild {
    width: 68%;
}

.leftRightChild {
    width: 32%;
    height: 100%;
}

.resPrice {
    display: none;
}

.resName_PubName_Translator {
    display: none;
}

@media screen and (max-width: 1035px) {
    .productDetails {
        display: block;
    }

        .productDetails div {
            width: 100%;
        }
}

@media screen and (max-width: 992px) {
    .BookName {
        font-size: 20px;
    }

    .desktopName_PubName_Translator, .DeskPrise {
        display: none;
    }

    .topMain, .resPrice {
        display: block;
    }

    .rightBox {
        width: 100%;
        display: flex;
        column-gap: 20px;
    }

    .centerBox {
        width: 100%;
    }

    .resName_PubName_Translator {
        display: block;
    }
}

@media screen and (max-width: 768px) {
    .bookName {
        font-size: 18px;
    }
}

@media screen and (max-width: 520px) {
    .rightBox {
        display: block;
    }

        .rightBox div img {
            margin: auto;
        }

        .rightBox .moreImages {
            margin: 10px auto;
            width: 120px;
        }
}

.moreImages img {
    height: 60px;
    width: 50px;
}
/*@media screen and (max-width: 1200px) {
    .ResponsiveContainer {
        width: 95%;
        margin: auto;
    }
} */

.options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

@media screen and (max-width: 385px) {
    .importingreadbooks {
        font-size: 20px;
    }
}

@media screen and (max-width: 470px) {
    .options {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

.option {
    display: block;
    border: 2px solid #dcdcdc;
    padding: 10px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

    .option input {
        display: none;
    }

    .option:has(input:checked) {
        border-color: #3498db;
        background-color: #3498db1a;
        color: #3498db;
    }
