﻿:root {
    --main-title-size: 24px;
    --secondary-title-size: 18px;
    --tite-color: #4a075e;
    --text-color: #505050;
    --box-shadow: 0px 0px 45px -10px rgb(0, 0, 0, .10);
    --box-shadow-hover: 0px 1px 35px -20px rgb(0, 0, 0, .40);
    --main-radius-size: 24px;
    --secondary-radius-size: 12px;
}

a {
    color: inherit;
}

@font-face {
    font-family: vazir;
    src: url(../font/Vazir.ttf),url(../font/Vazir.woff);
}

@font-face {
    font-family: vazir;
    src: url(../font/VazirB.ttf),url(../font/VazirB.woff);
    font-weight: bold;
}



@font-face {
    font-family: 'yb';
    src: url('../font/yb.eot?5sm5l8');
    src: url('../font//yb.eot?5sm5l8#iefix') format('embedded-opentype'), url('../font/yb.ttf?5sm5l8') format('truetype'), url('../font/yb.woff?5sm5l8') format('woff'), url('../font/yb.svg?5sm5l8#yb') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: block;
}

[class^="yb-"], [class*=" yb-"] {
    /* use !important to prevent issues with browser extensions that change fonts */
    font-family: 'yb' !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;
}


.yb-light:before {
    content: "\e900";
}

.yb-dark:before {
    content: "\e901";
}

.yb-comment:before {
    content: "\e902";
}

.yb-topic:before {
    content: "\e903";
}

.yb-bookmark:before {
    content: "\e904";
}

.yb-video:before {
    content: "\e905";
}

.yb-voice:before {
    content: "\e906";
}

.yb-capture:before {
    content: "\e907";
}

.yb-search:before {
    content: "\e908";
}

.yb-heart:before {
    content: "\e909";
}

.yb-profile:before {
    content: "\e90a";
}

.yb-bell:before {
    content: "\e90b";
}

.yb-silentbell:before {
    content: "\e90c";
}

.yb-calendar:before {
    content: "\e90d";
}

.yb-setting:before {
    content: "\e90e";
}

.yb-hint:before {
    content: "\e90f";
}

.yb-arrow:before {
    content: "\e910";
}

.yb-reply:before {
    content: "\e911";
}

.yb-share:before {
    content: "\e912";
}

.yb-like:before {
    content: "\e913";
}

.yb-dislike:before {
    content: "\e914";
}

.yb-time:before {
    content: "\e915";
}

body, htlm {
    margin: 0;
    padding: 0;
}

body, div, a, span, * {
    font-family: Vazir;
    direction: rtl
}

    a, a:link, a:hover {
        text-decoration: none
    }

.c {
    margin: 0 auto;
    padding: 0 10px;
    max-width: 1300px;
}

.cp {
    text-align: center;
    font-size: 14px;
    margin: 0
}
   
footer .c {
    display: grid;
    column-gap: 40px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

footer {
    padding-top: 40px;
    background: #efefef;
}

    footer span {
        font-weight: bold;
        font-size: 18px;
    }

    footer .cp {
        margin-top: 20px;
        background: #e7e7e7;
        padding: 8px;
    }


header ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

header .mainnav ul {
    display: flex;
    gap: 25px;
}

header .secdiv {
    margin-top: 20px;
    margin-bottom: 20px;
}
    header .secdiv a {
        padding: 10px;
    }
.navbar {
    border-bottom:1px solid #Cecece;
    background: #fff;
    border-radius: 0 0 10px 10px;
}
    .navbar .search input {
        border: 2px solid #d5d5d5;
        border-radius: 6px;
        height: 35px;font-size:14px;
        width: 450px;outline:none;color:rgb(14, 14, 14);
        padding-right: 5px;
    }
    .navbar .search input:focus {
        border:2px solid #9f248e
    }
        .navbar .topdiv {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffffff;
    padding: 5px 10px;
    color: #fff;
    width: 100%;
    border-bottom: 1px solid #cfcfcf;
}
.menu-left img {
    width: 28px;
}
.menu-left a{margin-right:9px}
.menu-right ul,
.menu-left ul {
    display: flex;
    list-style: none;
}

    .menu-right ul li
   {
        margin: 0 10px;
    }

 .menu-right ul li a {
           color: #2a2a2a;
           text-decoration: none;
           font-size: 16px;
           transition: 0.3s;
  }

            .menu-right ul li a:hover {
                color: #8b0f86;
            }

.logo img {
    height: 50px;
}

.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* استایل سایدبار برای موبایل */
.sidebar {
    position: absolute;
    top: 0;
    right: -100%;
    width: 250px;z-index:560;
    height: 100vh;
    background: #222;
    padding: 20px;
    box-shadow: -2px 0px 5px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    transition: right 0.4s ease;
    justify-content: space-between;
}

    .sidebar.active {
        right: 0;
    }

    .sidebar .close-btn {
        font-size: 24px;
        text-align: left;
        cursor: pointer;
        color: white;
    }

.sidebar-menu {
    list-style: none;
    padding: 20px 0;
}

    .sidebar-menu li {
        margin: 15px 0;
    }

        .sidebar-menu li a {
            color: white;
            text-decoration: none;
            font-size: 18px;
            display: block;
            transition: 0.3s;
        }

            .sidebar-menu li a:hover {
                color: #ff9800;
            }

.sidebar-social {
    display: flex;
    justify-content: center;
    gap: 15px;
    padding-bottom: 20px;
}

    .sidebar-social a {
        color: white;
        font-size: 20px;
        transition: 0.3s;
    }

        .sidebar-social a:hover {
            color: #ff9800;
        }
#overlay {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5); 
    z-index: 430; 
    display: none;
}
 
@media (max-width: 768px) {

    .menu-right,
    .menu-left {
        display: none;
    }

    .menu-toggle {
        display: block;
        color: #c80586;
        font-size: 34px;
        cursor: pointer;
    }
}
    @media (max-width: 480px) {
        footer .c {
            grid-template-columns: repeat(1, minmax(0, 1fr));
        }
    }
