@font-face {
    font-family: matn-aval;
    src: url(../font/Yekan.ttf);
}
@font-face {
    font-family: body;
    src: url(../font/body.ttf);
}

body {
    margin: 0px;
    padding: 0px;
    background-image: linear-gradient(
        to bottom,
        #3f4d64,
        #253245,
        #232f42,
        #222d3f,
        #202b3c
    );
    height: max-content;
    font-family: body;
    direction: rtl;
    color: silver;
}

.top-of-navbar {
    display: flex;
    width: 90%;
    margin: auto;
    background-color: #152035;
    margin-top: 3%;
    border-radius: 1vw;
    color: silver;
    align-items: center;
    justify-content: space-around;
    padding: 2px;
}

.top-of-navbar input {
    background-color: #24324c;
    border: none;
    border-radius: 1vw;
    padding: 1vw 2vw;
    width: 100%;
    color: silver;
    font-family: "body";
    font-size: 1vw;
    outline: none;
}

.search-input {
    background-color: #24324c;
    border: none;
    border-radius: 3px;
    padding: 0.1vw 0.2vw;
    width: 35%;
    color: silver;
    font-family: "body";
    outline: none;
}

.avoid-clicks {
    pointer-events: none;
    cursor: not-allowed;
}

.top-of-navbar input:focus {
    border: none;
    background-color: #272c38;
    outline: none;
}

input:-webkit-autofill,
input:-webkit-autofill:focus {
    transition: background-color 0s 600000s, color 0s 600000s;
}

.navbar {
    background-color: #1d2a42;
    width: 80%;
    margin: 0px auto 3%;
    padding: 1vw;
    color: silver;
    border-bottom-right-radius: 1vw;
    border-bottom-left-radius: 1vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.navbar li {
    display: inline;
    color: silver;
    margin: auto 1vw;
}
.navbar ul {
    margin: 0px 0px;
}
.navbar a {
    text-decoration: none;
    color: silver;
}

a {
    text-decoration: none;
    color: silver;
}

.navbar-login {
    display: flex;
    margin: 0px 1rem;
    /* font-size: 1.5vw; */
}

.session-status {
    color: #c7c7c7;
    text-align: center;
    padding: 0.5vw;
    background-color: darkgreen;
    width: max-content;
    margin: 1% auto;
    border-radius: 15px;
}

.matn-asli {
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: matn-aval;
    font-size: 3vw;
}

.matn-asli div:nth-child(1) {
    width: 26%;
}

.why {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    width: 70%;
    margin: auto;
    margin-bottom: 4%;
}

.why div {
    width: 46%;
}
.basket-num {
    position: absolute;
    top: -1vw;
    right: -1vw;
    background-color: darkgreen;
    border-radius: 50%;
    width: 100%;
    text-align: center;
}

/*table*/
table {
    /* font-family: Arial, Helvetica, sans-serif; */
    border-collapse: collapse;
    width: 100%;
}

td,
th {
    border: 1px solid #ddd;
    padding: 5px;
    text-align: center;
}

tr:nth-child(even) {
    background-color: #112536;
}

tr:hover {
    background-color: #091929;
}

@font-face {
    font-family: "icomoon";
    src: url("../fonts/icomoon.eot?6wswr9");
    src: url("../fonts/icomoon.eot?6wswr9#iefix") format("embedded-opentype"),
        url("../fonts/icomoon.ttf?6wswr9") format("truetype"),
        url("../fonts/icomoon.woff?6wswr9") format("woff"),
        url("../fonts/icomoon.svg?6wswr9#icomoon") format("svg");
    font-weight: normal;
    font-style: normal;
    font-display: block;
}

[class^="icon-"],
[class*=" icon-"] {
    /* use !important to prevent issues with browser extensions that change fonts */
    font-family: "icomoon" !important;
    speak: never;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;

    /* Better Font Rendering =========== */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.icon-th-menu:before {
    content: "\e920";
}
.icon-th-menu-outline:before {
    content: "\e922";
}
.icon-instagram:before {
    content: "\e902";
}
.icon-calendar:before {
    content: "\e953";
}
.icon-newp:before {
    content: "\e91e";
}
.icon-new:before {
    content: "\e915";
}
.icon-telegram:before {
    content: "\e906";
}
.icon-headphone:before {
    content: "\e901";
}
.icon-logout:before {
    content: "\e907";
}
.icon-login:before {
    content: "\e908";
}
.icon-basket:before {
    content: "\e909";
}
.icon-register:before {
    content: "\e90a";
}
.icon-arrow-left:before {
    content: "\e90b";
}
.icon-arrow-right:before {
    content: "\e90c";
}
.icon-heart:before {
    content: "\e916";
}
.icon-star:before {
    content: "\e917";
}
.icon-sound:before {
    content: "\e918";
}
.icon-camera:before {
    content: "\e919";
}
.icon-bulb:before {
    content: "\e91a";
}
.icon-bubble:before {
    content: "\e91c";
}
.icon-like:before {
    content: "\e91d";
}
.icon-clock:before {
    content: "\e91f";
}
.icon-fire:before {
    content: "\e91b";
}
.icon-cabinet:before {
    content: "\e911";
}
.icon-cancel:before {
    content: "\e910";
}
.icon-profile:before {
    content: "\e912";
}
.icon-clipboard:before {
    content: "\e913";
}
.icon-dot-circle-o:before {
    content: "\e90d";
}
.icon-envelope-o:before {
    content: "\e905";
}
.icon-map-marker:before {
    content: "\e904";
}
.icon-phone:before {
    content: "\e903";
}
.icon-whatsapp:before {
    content: "\e900";
}
.icon-telegram1:before {
    content: "\e90f";
}
.icon-broadcast:before {
    content: "\e914";
}
.icon-heart1:before {
    content: "\e921";
}
.icon-circle:before {
    content: "\e90e";
}

.ticket {
    position: absolute;
    top: 7%;
    left: 7%;
    font-size: 3vw;
}

.icon-dot-circle-o {
    font-size: 5%;
    position: relative;
    bottom: 0%;
    right: 40%;
    margin: 0px 0.2vw;
    cursor: pointer;
}

.ActiveDot {
    font-size: 10%;
}

.right {
    position: absolute;
    bottom: 50%;
    right: -10%;
    cursor: pointer;
}

.left {
    position: absolute;
    bottom: 50%;
    left: -10%;
    cursor: pointer;
}

.right :hover {
    text-shadow: 0px 0px 5px silver;
}

.left :hover {
    text-shadow: 0px 0px 5px silver;
}

.sliderabout {
    position: absolute;
    text-align: center;
    width: 100%;
}

.icon span {
    font-size: 1.1vw;
    padding: 0.5vw;
    background-color: #253359;
    border-radius: 50%;
}

.content-1 {
    /* border:1px solid gray; */
    width: 24%;
    height: auto;
    /* background: rgb(255 255 255 / 22%); */
    /* backdrop-filter: blur(10px); */
    /* border-radius: 25px; */
    display: flex;
}

.content-1 img {
    width: 34%;
    border-radius: 50%;
}

.content-1 p {
    border: 1px solid silver;
    border-right: none;
    border-radius: 15px;
    padding: 1% 5%;
    margin-right: -3%;
}

.div-svg {
    text-align: center;
    width: 9%;
}

.five-way {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.five-svg {
    max-width: 41%;
}

.feleshofogh-svg {
    width: 5%;
}

.btn {
    display: block;
    text-decoration: none;
    color: silver;
    font-family: body;
    background-color: darkgreen;
    border-radius: 0.3vw;
    width: 20%;
    margin: auto;
    padding: 0.5vw;
    text-align: center;
}

.content {
    display: flex;
    justify-content: center;
    margin: 20px auto;
    flex-wrap: wrap;
}

.content div {
    margin: 0px 1.2vw;
}

.content img {
    width: 100%;
}

.card {
    position: relative;
    flex: 1 1 100%;
    margin: 31px 0;
    padding: 20px;
    background: white;
    min-width: 20%;
    max-width: 20%;
}

.card__img {
    border: 1px solid silver;
    width: 20%;
    border-radius: 15px;
}

.card__img img {
    max-width: 100%;
    height: auto;
    border: 0;
    vertical-align: middle;
    box-sizing: border-box;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.card__desc {
    display: flex;
    flex-direction: column;
    padding: 4%;
}

.card__img {
    transition-property: box-shadow;
    transition-duration: 0.5s;
    border: 1px solid silver;
    border-radius: 10px;
    margin: 1vw;
}

.card__img:hover {
    box-shadow: 0px 0px 10px silver;
}

.articleMatn {
    max-height: 7vh;
    overflow: hidden;
}

.more {
    color: coral;
    cursor: pointer;
    text-decoration: none;
    display: flex;
    width: fit-content;
    /* text-align: center; */
    margin: 1% auto;
}

input[type="submit"] {
    color: coral;
    cursor: pointer;
    text-decoration: none;
    display: flex;
    width: fit-content;
    font-family: body;
    margin: 1% auto;
    background: none;
    border: none;
}

.up-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 70%;
    margin: auto;
}

.footer {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    padding: 3vw 4vw;
}

.footer-div {
    width: 30%;
}

.footer-link {
    display: flex;
    justify-content: space-between;
}

.title {
    font-size: 2.5rem;
    font-family: system-ui;
    line-height: 1.1;
    font-weight: 300;
    color: #fff;
    margin: 4rem auto 1rem;
    width: 85%;
    max-width: 1280px;
}

.slider {
    width: 85%;
    max-width: 1280px;
    margin: 0 auto;
    direction: ltr;
    display: flex;
    text-align: right;
}

.slider-matn {
    margin: auto 2%;
    text-align: center;
    max-width: 20%;
}

.slider__content {
    overflow-x: scroll;
    -ms-scroll-snap-type: x mandatory;
    scroll-snap-type: x mandatory;
    display: flex;
    gap: 1rem;
    padding-bottom: 1rem;
    scrollbar-color: var(--scrollcolor) var(--scrollbackground);
}
.slider__content::-webkit-scrollbar {
    height: 0.5rem;
    width: 0.5rem;
    border-radius: 1rem;
    background: var(--scrollbackground);
}
.slider__content::-webkit-scrollbar-thumb {
    border-radius: 1rem;
    background: var(--scrollcolor);
}
.slider__content::-webkit-scrollbar-track {
    border-radius: 1rem;
    background: var(--scrollbackground);
}

.slider__item {
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-width: 30%;
    aspect-ratio: 1;
    border-radius: 7%;
    overflow: hidden;
    position: relative;
    border: 1px solid gray;
    align-items: center;
}
/* @media (min-width: 460px) {
  .slider__item {
    aspect-ratio: 2/3;
    min-width: calc((100% / 2) - 2rem);
  }
}
@media (min-width: 940px) {
  .slider__item {
    min-width: calc((100% / 3) - 4rem);
  }
} */

.slider__image {
    border-radius: 15%;
    display: block;
    width: 52%;
    /* height: 45%; */
    float: right;
    -o-object-fit: cover;
    object-fit: cover;
}

.slider__nav {
    margin: 1rem 0 4rem;
    padding: 0;
    display: flex;
    align-content: center;
    align-items: center;
    pointer-events: none;
    justify-content: center;
}
/* @media (min-width: 460px) {
  .slider__nav {
    justify-content: flex-start;
  }
} */

.slider__nav__button {
    margin: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: 0;
    border-radius: 2rem;
    color: #fff;
    /* color: #203239; */
    padding: 0.5rem 1rem;
    font-size: 2vw;
    line-height: 1;
    pointer-events: none;
    transition: 0.2s ease-out;
    opacity: 0.25;
}
.slider__nav__button--active {
    opacity: 1;
    pointer-events: auto;
    cursor: pointer;
}

.tooltip-basket {
    border: 1px solid gray;
    position: absolute;
    left: 0;
    padding: 20px;
    background-color: #24324c;
    border-radius: 15px;
    width: max-content;
}

.red {
    color: #ff1d1d;
}

.navbar object {
    display: none;
}

.menu-phone {
    display: none;
}

[x-cloak] {
    display: none !important;
}
@media screen and (max-width: 660px) {
    body {
        font-size: 60%;
    }
    .top-of-navbar {
        display: none;
    }
    .navbar object {
        display: inline;
    }
    .menu-pc {
        display: none;
    }
    .menu-phone {
        display: inline;
    }
    .navbar {
        font-size: 3.5vw;
        margin-top: 3%;
        border-top-right-radius: 1vw;
        border-top-left-radius: 1vw;
        padding: 4%;
    }

    .basket-num {
        top: -3vw;
        right: -3vw;
        height: 130%;
    }
    .matn-asli {
        flex-direction: column;
        align-items: center;
        font-size: 6vw;
    }
    .matn-asli div {
        width: max-content;
    }
    .matn-asli div:nth-child(1) {
        width: 45%;
    }
    .why {
        flex-direction: column;
        width: 93%;
    }

    .why div {
        width: 100%;
    }
    .div-svg {
        width: 30%;
    }
    .content-1 {
        width: 50%;
    }
    .slider {
        flex-direction: column;
    }

    .slider-matn {
        max-width: 98%;
    }

    .card__img {
        min-width: 41%;
    }

    .footer {
        flex-direction: column;
    }

    .footer-div {
        width: 100%;
    }

    .search-input {
        width: 65%;
    }
    .slider__item {
        min-width: 70%;
    }
    .slider__nav__button {
        font-size: 4vw;
    }
    /* .matn-asli div:nth-child(2) p:nth-child(1) {
        width: fit-content;
        margin: auto;
        font-size: 13vw;
    }

    .matn-asli div:nth-child(2) p:nth-child(2) {
        font-size: 1rem;
        margin: 0px auto;
    }

    .matn-asli div:nth-child(2) p:nth-child(3) {
        font-size: 1rem;
        margin: 0px auto;
    } */
}
