@font-face {
    font-family: mar;
    src: url("font/mar.ttf");
}

@font-face {
    font-family: sattar;
    src: url("font/sattar.ttf");
}

@font-face {
    font-family: sattarbd;
    src: url("font/sattarbd.ttf");
}

body {
    direction: rtl;
    font-family: "mar", serif !important;
    font-size: 16px !important;

}

h1, h2, h3, h4, h5, h6 {
    font-family: "mar", serif !important;


}

.items-center{
    display: flex;
    justify-content: center;
    align-items: center;
}

.td-none {
    text-decoration: none;
}

.text-lg {
    font-size: 20px;
}

.text-xl {
    font-size: 25px;
}

.text-2xl {
    font-size: 30px;
}

.logo-name {
    width: 100%;
    background: #385e9f;
    position: relative;
    min-height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo {
    width: 100px;
    margin: 5px auto;
    display: flex;
    background: #fff;
    align-items: center;
    position: absolute;
    left: 0;
    top: 20px;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
}


@media screen and (max-width: 500px) {

    .logo-name {
        display: block;
        padding-bottom: 20px;
    }

    .logo {
        position: relative;
        margin: 0 auto;
        border-top-right-radius: 0px;
        border-bottom-left-radius: 20px;
        border-bottom-right-radius: 20px;
        top: 0px;
    }
}



.logo img {
    width: 100px;
    margin: 0 auto;
}

.name {
    margin: 5px;
    text-align: center;
    font-family: sattarbd serif;

}
.name h3{
    font-family: sattarbd  !important;
    color: #ffb91d;
    font-size: 40px;
}

.slogan {
    text-align: center;
    color: #ffb91d;
}


@media screen and (max-width: 500px) {

    .name {
       margin-top: 20px;
    }


}



.menu-bar {
    width: 100%;

}

.menu-tabs {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    overflow-x: scroll;
    border-bottom: 1px solid #dddddd;
    padding: 5px 10px 2px 10px;
    flex-wrap: nowrap;
    justify-content: space-around;
}

/* width */
.menu-tabs::-webkit-scrollbar {
    width: 0 !important;
    height: 0 !important;
}

/* Track */
.menu-tabs::-webkit-scrollbar-track {
    background: none !important;
}

.menu-tabs a {
    text-decoration: none;
}

.menu-tabs a .tab {
    text-decoration: none;
    font-size: 25px;
    margin: 0 5px;
    width: fit-content;
    padding: 0 5px;
    display: flex;
}

@media screen and (max-width: 500px) {
    .menu-tabs a .tab {
        font-size: 18px !important;
    }
}

.active {
    color: #ffb91d !important;

}


.bg-first {
    background: #385e9f;
}

.text-first {
    color: #385e9f;
}

.text-first:hover {
    color: #ffb91d;
}

.bosh-div {
    width: 100%;
    padding: 20px 0;
    margin: 0px auto;
}

.search-a {
    width: fit-content;
}

.search-a h6 {
    margin-bottom: 0 !important;
}



.social-media {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.social-media-share {
    margin: 1px 5px;
}

.social-media-share a i {
    font-size: 25px;
}

.footer-space {
    width: 100%;
    height: 30px;
}

.share-parent-div {
    padding: 10px 0;
}

.footer-body {
    background: #ffb91d;
}

.fb_icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #385e9f;
    margin: 0 5px;
    text-align: center;
    padding-top: 3px;

}

.fb_icon a i {
    color: #fff !important;
    margin: 0 auto;
    font-size: 25px;
}

.login-register a {
    transition: all .5s;
    background: #6d80a1;
    color: #000000 !important;

}

.login-register a:hover {
    background: #385e9f;
    color: #fff !important;
}








/* ========== ========== ========== Side Bar ========== ========== ========== */
.sidebar {
    display: none;
}

.sidebar {
    transition: width 1s;
    position: fixed !important;
    transition: 0.5s;
    right: -320px;
    top: 0;
    display: block !important;
    background: #ffffff;
    width: 300px;
    height: 100vh;
    border-left: 5px solid #385e9f;
    z-index: 1000;
    overflow-y: scroll;
}

#sidebar.side-active {
    right: 0;
}

.close-btn {
    height: 40px;
    width: 100%;
}

.toggle-btn-in {
    display: block !important;
    position: absolute;
    margin-right: 250px;
    transition: all 0.4s;
    height: 26px;
    width: 26px;
    text-align: center;
    margin-top: 10px;
    padding: 10px 0;

}

.toggle-btn-in .first {
    display: block;
    width: 90%;
    height: 2px;
    background: #888888;
    transform: rotate(45deg);
    transition: all .5s;
}

.toggle-btn-in .second {
    display: block;
    width: 90%;
    height: 2px;
    background: #a8a8a8;
    transform: rotate(135deg);
    transition: all .5s;
}

.toggle-btn-in:hover>.second {
    width: 100%;
    transform: rotate(45deg);
}

.toggle-btn-in:hover>.first {
    transform: rotate(145deg);
    width: 100%;
}


.sidebar a {
    text-decoration: none;

}

.sidebar a .tab {
    text-decoration: none;
    font-size: 25px;
    margin: 0 5px;
    width: fit-content;
    padding: 0 5px;
    display: flex;
}

.sidebar a .tab i {
    font-size: 18px;
}


.pointer {
    cursor: pointer;
}


.justify-content-center{
    display: flex;
    justify-content: center;
}

.songi-kitob {
    border: 1px solid #c5c5c5;
    margin: 10px;
}

.songi-kitob-aksi {
    max-width: 300px;
    width: 100%;
    margin: 10px auto;
    max-height: 350px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
}

.songi-kitob-aksi img {
    width: 100%;
}


.kitob {
    margin: 10px;
    border: 1px solid #c5c5c5;
    box-shadow: 0 0 5px #c5c5c5;
}

.kitob-img {
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.kitob-body {
    display: flex;
    padding: 10px 10px 5px 10px;
}



/* Matlablar */

.final-p-div {
    width: 100%;
    box-sizing: border-box;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
    overflow: hidden;
    margin: 20px auto;
    border: 1px solid #1b5ab950;
    display: flex;
    flex-direction: column; /* Ensures child elements stack vertically */
    flex: 1 1 auto; /* Allows resizing based on content */

}

.final-p-header {
    padding: 10px;
    text-align: center;
    border-bottom: 1px solid #1b5ab9;
    color: #1b3768 !important;
}
.posts-p-header {
    background: linear-gradient(to left, #789ad6, #385e9f);
    padding: 10px;
    text-align: center;
}

.final-post {
    width: 100%;
    padding: 20px;
    position: relative;
}

.final-post .title {
    border-bottom: 1px solid #c5c5c5;
}

.category {
    position: absolute;
    background: #c5c5c5;
    padding: 0 6px;
    border-radius: 3px;
    font-size: 14px;
    color: #242424;
    top: 10px;
    left: 10px;
}


.readmore-div {
    display: flex;
    justify-content: left;
}

.read-more-button {
    text-decoration: none;
    color: #385e9f;
    width: 150px;
    font-size: 20px;
    border-radius: 20px;
    border: 1px solid #385e9f;
    transition: all .5s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.read-more-button i {
    font-size: 12px;
    margin-right: 5px;
    transition: all .5s;
}

.read-more-button:hover {
    background: #385e9f;
    color: #fff;
    border: 1px solid #1b3768;

}

.read-more-button:hover>i {
    margin-right: 15px;
}

.latest {
    display: flex;
    position: relative;
    min-height: 40px;
    padding-top: 10px;
    border-bottom: 1px solid #ececec;
    color: #242424;
}

.latest:hover{
    color: #ffb202;
}



/* loading-button */

.loading-button{
    display: flex;
    justify-content: center;
    align-items: center;
	z-index: 1000;
	margin-bottom: 20px;
	margin-right: 10px;
}



.load-btn {
	width: 50px;
	height: 7px;
}

.load-btn span {
	display: inline-block;
	background: #1b5ab9;
	width: 10px;
	height: 10px;
	border-radius: 50%;
}
.load-btn span:nth-of-type(1) {
	left: 0;
}
.load-btn span:nth-of-type(2) {
	left: 50%;
}
.load-icon span:nth-of-type(3) {
	right: 0;
}

/* Animation */
.load-btn span {
	animation-name: loading-btn;
	animation-duration: 1.5s;
	animation-iteration-count: infinite;
	animation-fill-mode: both;
}
.load-btn span:nth-of-type(2) {
	animation-delay: .2s;
}
.load-btn span:nth-of-type(3) {
	animation-delay: .4s;
}

/* Keyframes */
@keyframes loading-btn {
	0% { opacity: 1;}
	50% { opacity: 0;}
	100% { opacity: 1;}
}






/* Ulanish Posts  */


.ulanish {
    max-width: 700px;
    width: 100%;
    margin: 0 auto;
    min-height: 100vh;
    padding: 10px;
}

@media screen and (max-width: 750px) {
    .ulanish {
        padding: 0 !important;
    }

    .ulanish-post {
        border-radius: 0 !important;
    }


}

.ulanish-post {
    background: #ffffff;
    border-radius: 10px;
    margin-top: 10px;
    box-shadow: 0 0 2px #999999;
}

.td-none {
    text-decoration: none;
    color: #888888;
}

.upost-text {
    padding: 15px;
}

.up-title {
    font-size: 25px;
}


.w-full {
    width: 100%;
}

.success-message {
    position: fixed;
    top: 100px;
    left: 0;

}

.mian-page-icon {
    width: 80px;
    margin: 5px auto;
}


.text-lg {
    font-size: 20px;
}

.text-xl {
    font-size: 24px;
}

.text-2xl {
    font-size: 30px;
}


.us-input {
    border-radius: 1000px !important;
    border: 0 !important;
    outline: 0 !important;
    cursor: pointer !important;
    width: 100% !important;
    font-size: 22px;
}

.u-textarea {
    border: 0 !important;
    outline: 0 !important;
    font-size: 20px !important;
}



.cursor-pointer {
    cursor: pointer !important;
}

.d-none-div {
    display: none;
}

.MessageCopy {
    position: fixed;
    top: 200px;
    width: 250px;
    min-height: 50px;
    background: #fff;
    border: 1px solid green;
    margin: 0 auto;
    border-radius: 1000px;
    box-shadow: 0 0 10px gray;
    text-align: center;
    z-index: 1000;
    align-items: center;
    padding-top: 5px;
}


.like-btn {
    border: 0 !important;
    background: none !important;
    margin: 5px 0 0 0 !important;
    padding: 0 !important;
}
