@import url("utilities.css");

@font-face {
    font-family: 'poppins';
    src: url("static/font-family/Poppins/Poppins-Medium.ttf");
}

html[data-body=black] {
    --ms-body-color: #141414;
    --ms-text-color: rgb(143, 143, 143);
    --ms-theme-color: rgb(82, 146, 248);
    --ms-body-container: 1270px;
    /* --ms-header-bg-color: #1c1c1c; */
    --ms-header-bg-color: var(--ms-body-color);
    --ms-header-text-color: rgb(158, 158, 158);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    transition: .3s;
    font-family: 'poppins', sans-serif;
    color: var(--ms-text-color);
    stroke: var(--ms-text-color);
    scroll-behavior: smooth;
}

body {
    background: var(--ms-body-color);
    min-height: 100vh;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 120px;
    top: 0;
    left: 0;
    /* background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab); */
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
    z-index: -1;
    display: none;
}


body::after {
    content: '';
    position: fixed;
    width: 420px;
    height: 420px;
    top: 0;
    right: 0;
    background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
    z-index: -1;
    border-radius: 999px;
    filter: blur(290px);
    display: none;
}


@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.ms_need_container {
    max-width: var(--ms-body-container);
    margin: auto;
}

.ms_app_navigation .social_links a {
    padding: 4px 5px;
}

.ms_app_navigation .navi_item {
    font-size: 15px;
    padding: 4px 12px;
    margin: 0 5px;
}


.ms_app_navigation .navi_item svg {
    width: 17px;
    height: 17px;
}

.ms_app_navigation .navi_item:hover,
.ms_app_navigation .navi_item:hover svg path {
    color: var(--ms-theme-color);
    stroke: var(--ms-theme-color);
}

.ms_app_header {
    position: sticky;
    top: 0;
    z-index: 9999;
}

.ms_app_header .app_logo img {
    width: 160px;
    margin-top: 4px;
}

.ms_app_header .head_item {
    position: relative;
    font-size: 15px;
    padding: 4px 10px;
    display: flex;
    white-space: nowrap;
    margin: 0 8px;
    color: var(--ms-header-text-color);
}

.ms_app_header .head_item svg {
    position: absolute;
    height: 14px;
    width: 14px;
    top: 50%;
    transform: translateY(-50%);
    right: -8px;
}

.ms_app_header .head_item:hover {
    color: var(--ms-theme-color);
}

.ms_app_header .app_header_link_lists {
    margin-left: 10px;
}

.ms_app_header .search_widget {
    display: flex;
    padding: 8px 14px;
    border-radius: 6px;
    background: #212121;
    align-items: center;
    width: 300px;
    border: 1px solid transparent;
}

.ms_app_header .search_widget:hover {
    border-color: var(--ms-theme-color);
}

.ms_app_header .search_widget input {
    border: 0;
    background: transparent;
    outline: none;
    color: #fff;
    width: 100%;
}

.ms_app_header .search_widget input::placeholder {
    color: #929292;
}

.ms_app_header .search_widget button {
    border: 0;
    background: transparent;
    outline: none;
}

.ms_app_start .ms_app_top {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--ms-header-bg-color);
    box-shadow: 0 0 50px 0px #00000053;
    z-index: 9;
}

.ms_app_content {
    margin-top: 140px;
    margin-left: 20px;
    margin-right: 20px;
    min-height: 80vh;
}

.ms_app_content .card_grid {
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    grid-gap: 20px;
    grid-auto-rows: minmax(auto, auto);
    grid-auto-flow: dense;
}

.ms_app_content .card_grid .article_card {
    display: block;
    position: relative;
    height: auto;
    padding: 12px;
    border-radius: 19px;
    overflow: hidden;
}

.ms_app_content .card_grid .article_card::before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    height: 100%;
    width: 100%;
    transform: scale(1);
    background: #212121;
    transition: .2s;
    z-index: -1;
}

.ms_app_content .card_grid .article_card:hover .article_poster img {
    filter: grayscale(3);
}

/* .ms_app_content .card_grid .article_card:hover::before {
    transform: scale(1);
} */

.ms_app_content .card_grid .article_card h3 {
    color: #dcdcdc;
    font-size: 16px;
    font-weight: 500;
}

.ms_app_content .card_grid .article_card .article_poster img {
    width: 100%;
    max-height: 200px;
    object-fit: cover;
    border-radius: 9px;
    margin-bottom: 3px;
}

.ms_app_content .card_grid .article_card p {
    font-size: 12px;
    margin-top: 5px;
}

.ms_app_content .article_card .article_card_footer {
    margin-top: 6px;
}

.ms_app_content .article_card .article_card_footer .author_image {
    height: 24px;
    width: 24px;
    border-radius: 999px;
    margin-right: 10px;
    object-fit: cover;
    display: none;
}

.ms_app_content .article_card .article_card_footer .author_name,
.ms_app_content .article_card .article_card_footer .article_writed_date {
    font-size: 12px;
}

.ms_app_content .ms_article_breadcrums {
    display: flex;
    gap: 30px;
    list-style-type: none;
    list-style: none;
    margin-top: 30px;
    margin-bottom: 15px;

}

.ms_app_content .ms_article_breadcrums a {
    position: relative;
    font-size: 14px;
    line-height: 0;
}

.ms_app_content .ms_article_breadcrums a::before {
    content: '>';
    position: absolute;
    display: block;
    height: 0;
    right: -22px;
    top: 0;
    font-size: 1.30rem;
    font-weight: 400;
    z-index: -1;
}

.ms_app_content .ms_article_breadcrums li:last-child a::before {
    display: none;
}

.in_article_page .article_title {
    font-size: 2.8rem;
    color: #fff;
    margin-bottom: 20px;
}

@media screen and (max-width: 450px) {
.in_article_page .article_title {
font-size: 1.9rem;
}
}


.in_article_page .article_meta .publisher_details {
    display: flex;
    align-items: center;
    gap: 20px;
}

.in_article_page .article_meta .publisher_details .author_image {
    height: 50px;
    width: 50px;
    border-radius: 9px;
    object-fit: cover;
}

.in_article_page .article_meta .publisher_details .text {
    display: flex;
    flex-direction: column;
}

.in_article_page .share_links a {
    display: block;
    height: 40px;
    width: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
}

.in_article_page .share_links {
    display: flex;
    margin-left: 60px;
    gap: 10px;
}

.in_article_page .share_links a.facebook svg,
.in_article_page .share_links a.pinterest svg path {
    fill: #fff;
}

.in_article_page .share_links a svg path {
    stroke: #fff;
}


.in_article_page .share_links a.facebook {
    background: #039BE5;
}

.in_article_page .share_links a.twitter {
    background: rgb(33, 33, 33);
}

.in_article_page .share_links a.pinterest {
    background: rgb(210, 21, 21);
}

.in_article_page .share_links a.mail {
    background: rgb(59, 59, 59);
}

.in_article_page .share_links a.pinterest svg {
    width: 25px;
    height: 25px;
}

.in_article_page .share_links a.telegram {
    background: rgb(32, 127, 230);
}

.in_article_page .share_links a.mail svg path {
    fill: #fff !important;
}

#html__content {
    margin-top: 20px;
}


/* responsive code for article page  */
@media screen and (max-width: 600px) {
    .in_article_page .article_meta .publisher_details .author_image {
        display: none;
    }
}

@media screen and (max-width: 550px) {
    .in_article_page .meta_container {
        display: block;
        flex-wrap: wrap;
    }

    .in_article_page .meta_container .share_links {
        margin-left: 0;
        margin-top: 20px;
        flex-wrap: wrap;
    }
}


/* responsive code for header  */
@media screen and (max-width: 1097px) {
    .ms_app_top {
        display: none;
    }

    .mobile_app_navigation {
        display: block;
    }

    .ms_app_content {
        margin-top: 100px;
    }
}


.mobile_app_navigation {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--ms-header-bg-color);
    box-shadow: 0 0 50px 0px #00000053;
    padding: 14px 8px;
    z-index: 9;
}

.mobile_app_navigation button.mob_app_navi_button {
    width: 70px;
    background: transparent;
    border: 0;
    cursor: pointer;
}

.mobile_app_navigation button.mob_app_navi_button svg {
    height: 26px;
    width: 26px;
}

.mobile_app_navigation button.mob_app_navi_button svg path {
    stroke-width: 3px;
    stroke: #fff;
}

.mobile_app_navigation .app_logo img {
    width: 220px;
}

.mobile_app_navigation #drawer {
    position: relative;
    height: 0;
    overflow: hidden;
}

.mobile_app_navigation #drawer.active {
    margin-top: 20px;
}

.mobile_app_navigation .search__widget {
    display: flex;
    padding: 8px 14px;
    border-radius: 6px;
    background: #212121;
    align-items: center;
    width: 100%;
    border: 1px solid transparent;
}

.mobile_app_navigation .search__widget input {
    border: 0;
    background: transparent;
    outline: none;
    color: #fff;
    width: 100%;
}

.mobile_app_navigation .search__widget input::placeholder {
    color: #929292;
}

.mobile_app_navigation .search__widget button {
    border: 0;
    background: transparent;
    outline: none;
}

.mobile_app_navigation .search__widget:hover {
    border-color: var(--ms-theme-color);
}

.mobile_app_navigation .drawer_link_list {
    display: flex;
    flex-direction: column;
    margin-top: 10px;
    overflow-y: scroll;
    max-height: 100vh;
    z-index: 9;
    background: var(--ms-body-color);
}

.mobile_app_navigation .drawer_link_list a {
    position: relative;
    display: block;
    padding: 16px 4px;
    text-decoration: none;
}

.mobile_app_navigation .drawer_link_list a svg {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}

.mobile_app_navigation .tabs_container {
    position: absolute;
    top: 0;
    left: 0;
    transform: translateX(200%);
    width: 100%;
    height: 100%;
    background: var(--ms-header-bg-color);
}

.mobile_app_navigation .tabs_container.active {
    transform: translateX(0%);
}

.mobile_app_navigation .tabs_container .tab_content {
    display: none;
}

.mobile_app_navigation .tabs_container .tab_content.active {
    display: block;
}

.in_category_page .page_heading {
    margin-top: 10px;
}

.in_category_page .page_heading h3 {
    font-size: 2rem;
    color: #fff;
    font-weight: 500;
}

.ms_dropdown {
    position: relative;
}

.ms_dropdown .ms_dropdown_content {
    display: block;
    position: absolute;
    left: 0;
    background: var(--ms-body-color);
    list-style-type: none;
    min-width: 270px;
    box-shadow: 0 0 70px 0 #00000053;
    transform: translateY(-20px);
    opacity: 0;
    visibility: hidden;
    transition: .1s;
    border-radius: 15px;
    overflow: hidden;
}

.ms_dropdown .ms_dropdown_content a {
    display: block;
    text-decoration: none;
    padding: 10px 18px;
    /* margin: 10px; */
    border-radius: 9px;
    font-size: 14px;
    border: 3px solid transparent;
}

.ms_dropdown .ms_dropdown_content a:hover {
    /* border-color: var(--ms-theme-color); */
    color: var(--ms-theme-color);
}

.ms_dropdown:hover .ms_dropdown_content {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}


.ms_dropdown:hover a svg {
    transform: translateY(-50%) rotate(180deg);
}


footer.ms_app_footer {
    box-shadow: 0 -50px 60px 0 #0000001b;
}

footer.ms_app_footer .app_footer_content {
    padding: 3rem 1rem;
}

footer.ms_app_footer .app_footer_content ul {
    display: flex;
    list-style-type: none;
    list-style: none;
}

footer.ms_app_footer .app_footer_content ul a {
    display: block;
    padding: 4px 6px;
    margin: 0 10px;
    text-decoration: none;
    font-size: 15px;
}

footer.ms_app_footer .app_footer_content ul a:hover {
    text-decoration: underline;
    color: #fff;
}

footer.ms_app_footer .app_footer_content .footer_social_links {
    display: flex;
    gap: 10px;
}

footer.ms_app_footer .app_footer_content .footer_social_links a {
    display: block;
    height: 30px;
    width: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 99px;
}

footer.ms_app_footer .app_footer_content .footer_social_links a:hover svg path {
    stroke: #fff;
}

footer.ms_app_footer .app_footer_content {
    text-align: center;
}

footer.ms_app_footer .app_footer_content .copyright {
    margin-top: 10px;
    font-size: 14px;
    color: #666;
}

/* for footer  */
@media screen and (max-width: 800px) {
    footer .app_footer_inner {
        flex-direction: column;
    }
}

.line-limit-3 {
    display: -webkit-box;
    /* Establish a flex container */
    -webkit-box-orient: vertical;
    /* Set the box orientation to vertical */
    -webkit-line-clamp: 3;
    /* Limit the text to 3 lines */
    overflow: hidden;
    /* Hide any overflow text */
}

.line-limit-2 {
    display: -webkit-box;
    /* Establish a flex container */
    -webkit-box-orient: vertical;
    /* Set the box orientation to vertical */
    -webkit-line-clamp: 2;
    /* Limit the text to 3 lines */
    overflow: hidden;
    /* Hide any overflow text */
}

.text-white {
    color: white;
}

#html__content h1, h2, h3, h4, h5, h6 {
    font-weight: 400;
    color: #fff !important;
    margin: 8px 0;
}

#html__content h1 strong, h2 strong, h3 strong, h4 strong, h5 strong, h6 strong {
    font-weight: 400;
    color: #fff !important;
}

#html__content ol strong, ul strong {
    font-weight: 400;
    color: #fff !important;
}


#html__content ol,
#html__content ul {
    margin-left: 40px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.table-of-contents {
display : none;
}

.heading-permalink {
display : none;
}

footer {
    margin-top: 10rem;
}