@import url("nav.css");
@import url("/static/css/fonts.css");


/* General styles */
*,
*:before,
*:after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -webkit-text-size-adjust: 100%;


}

.ab {
    display: flex;
}

.jc {
    justify-content: center;
}

.q {
    align-items: center
}



.foot {
    background-color: #f8f8f8;
    font-family: sohned, Arial, sans-serif;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    bottom: 2px;
    padding: 20px;
}

.dark-mode .foot {
    background-color: #121212;
    color: white !important;
}

.dark-mode .foot span a {
    color: white !important;

}

.white {
    background: white;
    border: 1px solid #f4f4f4;
    z-index: 10000;
}







a {
    text-decoration: none;
    font-family: sohneb, Arial, sans-serif;
    color: black;
}

/* Container styles */
.container__wrapper {
    display: flex;
    flex: 1;
    margin-top: 60px;
    overflow: auto;
    min-height: 100vh;
    /*scroll-snap-type: x mandatory; */
    height: 300px;
}

.container__left,
.container__right {
    width: 65%;
    padding: 20px;
    height: 100%;
    display: flex;
    overflow: auto;
    flex-direction: column;

    /*scroll-snap-align: start; */
}

.container__left {
    overflow: hidden !important;

}

.container__right {
    box-shadow: rgb(242, 242, 242) 0px -1px 0px inset;
    border-left: 1px solid #F2F2F2;
    width: 35%;
    gap: 20px;
}

.container__right .bio {
    font-size: 13px;
}

.authors {
    width: 95% !important;
    display: flex;
    align-items: center !important;
}

.authors .picked {
    width: 70%;
}

.top .folo {

    float: right !important;
    padding: 0.5em 0.8em;
    border: 1px solid rgb(0, 0, 0);
}


.left_w .profile {
    display: flex;
    flex-direction: column;
    gap: 3px;
}



.dark-mode .logo img {
    filter: invert(1) !important;

}



.ht {
    font-size: 20px !important;
}

/* Container right styles */
.container__right>div {
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
}

i,
em {
    font-family: Georgia, 'Times New Roman', Times, serif !important;
}



.container__right section {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.container__right section .explore {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* Trending section styles */
.trending {
    margin-bottom: 20px;
    font-weight: bold;
}

/* Cards section styles */
.cards {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    padding: 20px;
    /* margin-left: 100px; */
    height: 100%;
    flex-direction: column;
    gap: 7px;
}

.card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: rgba(255, 255, 255, 1);
    padding: 8px 20px 20px 10px;
    width: 100%;
    min-height: 150px;
    border-bottom: 1px solid #F2F2F2;
}


.card__header span:nth-child(2) {
    color: lightgray;
    font-size: 12px;
}

.card__author {
    color: #333;
    font-size: 13px;
    font-weight: bold;
}

.card__name {
    font-size: 14px;
    font-weight: bold;
}

.card__title {
    font-family: sohned, "Helvetica Neue", Arial, Helvetica, sans-serif;
    font-size: 18px;
}

.dark-mode .card__title {
    color: wheat;
}

.card__body {
    padding: 0 !important;
    margin-bottom: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: 200px;
}

.card__body a {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.card__content {
    font-size: 15px;
    line-height: 1.4;
    padding-top: 1px;
    font-weight: 300;
    color: #6B6B6B;
    margin-bottom: 10px;
    font-family: sohneb, Palatino Linotype, Palatino,
}

.card__content p {
    margin-top: 0 !important;
}

.sd {
    font-family: sohned;
}

.bgg {
    font-size: 23px;
}

.ss .dropdown {
    left: -90px;
}

.follow {
    cursor: pointer;
    padding: 0.4em 0.8em;
    font-size: 13px;
    border-radius: 20px;
    color: steelblue;
    background: rgb(135, 166, 191);
}

.card__footer {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    border: 3px solid green;
    align-items: center;
    color: #888;
    height: 18px;
    line-height: 18px;

}


.show {
    display: inline-block;
}

.hidden {
    display: none;
}

.mid-section {
    display: flex;
    justify-content: space-between;
}

.tags {
    display: flex;
    align-items: center;
    background-color: #f2f2f2;
    padding: 0.5em 0.9em;
    color: #000;
    font-family: sohned;
    height: 30px;
    font-size: 15px;
    border-radius: 6px;
}

.dark-mode #moon-icon {
    display: none;
}

.tags::before {
    content: "#";
}

.new {
    font-size: 26px;
    margin-left: 30px;
    background-color: #f3f3f3;
    padding: 20px;
    font-family: 'sohenl', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.stare {

    position: relative;
    overflow: hidden;
    height: 440px;
    /*   background-color: #dfd58c; */
}

.dark-mode .stare {
    height: 440px;
}

.gp {
    gap: 30px;
}





/* Dark mode styles */
body.dark-mode,
body.dark-mode .navbar__menu-item .dropdown * {
    background-color: #121212;
    color: white;
}

body.dark-mode {
    background-color: #121212;
    color: white;
}




.dark-mode h1,
.dark-mode h2,
.dark-mode h3,
.dark-mode h4,
.dark-mode h5,
.dark-mode h6 {
    color: #FFD700;
}

.dark-mode p,
.dark-mode .card__content,
.dark-mode .card__title * {
    color: #A9A9A9;
}

.dark-mode .card {
    border: none !important;
}

.dark-mode .btn {
    color: white;
    background-color: darkcyan;
}

body.dark-mode #dec,
body.dark-mode #inc {
    stroke: white !important;
    fill: none !important;
}

.dark-mode .comments-lists,
.dark-mode .comment {
    background: whitesmoke;
    color: black;
}

body.dark-mode * {
    border: none;
    stroke: wheat;
    border-left: none !important;
}



@keyframes loading {
    0% {
        background-position: 200% 0;
    }

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

.hidden {
    display: none;
}




img.xicon {
    border: none !important;
    height: 40px;
}

.dark-mode .xicon {
    filter: invert(1);
    border: none !important;
}

.fx .nv,
.fixed {
    background-color: white;
    transition: background-color 0.5s ease-out;
    border-bottom: 1px solid #f4f4f4 !important;
}

.dark-mode .fixed {
    border-bottom: 1px solid black !important;

}

.dark-mode .logo a,
.dark-mode .card__author {
    color: gray;

}

body.dark-mode .tools {
    background: #112232;
}

#cpalead {
    width: 100%;
    height: 1200px;
    border: none;
}

#card_striped {
    width: 70% !important;
}

/* Ensure the container for the content is relatively positioned */
.content {
    position: relative;
}

/* Style the figure to make it expand outside the content width */
figure {
    display: block;
    margin: 1em 0;
    position: relative;
    width: 100%;
    margin-bottom: 10px;
    /* Default to full width within the container */
}

/* Style the image within the figure */
figure img {
    display: block;
    max-width: 100%;
    /* Ensure image does not exceed container width */
    width: auto;
    /* Allow the image to take its intrinsic width */
    min-width: 300px;
    /* Set a minimum width for the image */
    max-width: 1000px;
    /* Set a maximum width for the image */
    margin: 0 auto;
    /* Center the image horizontally */
}

/* Ensure the figcaption is centered and styled appropriately */
figcaption {
    color: #6B6B6B;
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 12px;
    text-align: center;
    font-style: italic;
    margin-top: 0.5em;
}

.hd.dd {
    display: none;
}



body,
button,
input,
option,
select,
textarea {

    font-family: effra, sans-serif;
    font-size: 16px;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    letter-spacing: normal;
    margin: 0;
    padding: 0;
    text-rendering: optimizeSpeed;
}

pre {
    font-size: 14px;
}


.w75 {
    width: 75%;
}

.ls {
    letter-spacing: -0.003em;
}

.trs {
    transition: all 0.5s ease 0s;

}

.lh {
    line-height: 1.2;

}



.title {
    font-size: 42px;
    margin: auto;
    font-weight: 700;
    font-family: 'serifi';
}


#bio {
    color: #555;
    font-size: 14px
}



tr {
    border: 1px solid lightgray;
    width: 100%;
}

td {
    height: 40px;
    text-align: left;
    padding: 6px;
}

.dark-mode table {
    background-color: #112232;
}

.amazon {
    width: 80%;
    padding: 20px;
    padding-left: 0;
    color: chocolate;
    font-family: sohned;
}

.fb23 {
    flex-basis: 23%;
}

.wzw {
    width: 200px;
    height: 200px;

}

.hh {
    height: 200px;
}

.bo {
    border-radius: 10px;
}

.wzw img {
    height: 100%;
}

.img_container {

    /* You can set the width of the container as needed */

    /* You can set the height of the container as needed */
    position: relative;
    /* Ensure proper positioning of the img element */
    overflow: hidden;
    /* Clip any overflowing image content */
}

.of {
    object-fit: cover;
}



.lw {
    display: flex;
    /* flex-direction: column; */
}

.lw .wb {
    font-weight: 600;
    font-family: sohned;
}

.lw .fc {
    font-size: smaller;
    color: gray;
}

* {
    text-rendering: optimizeSpeed;
}

/* Media queries */
@media screen and (max-width: 950px) {
    .dark-mode .xi {
        fill: wheat;
    }

    .wzw {
        width: 100px;
        height: 100px;
    }
}

@media (min-width: 768px) and (max-width: 1124px) {
    .cards-container .card {
        flex: 0 0 295px;
        flex-basis: 50%;
    }


}

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



    .container__wrapper {
        display: flex;
        flex-direction: column;
        min-height: 100vh;
        /* Ensure the container takes up at least the viewport height */
    }


    .container__left,
    .container__right {
        width: 100%;
        padding: 10px;
        height: auto;
    }

    .container__left {
        flex: 1;
    }

    .logo {
        margin-left: -4px;
    }

    img.xicon {
        margin: auto !important;
        z-index: 1;
        display: block !important;



    }

    .container__right {
        border: 1px solid #f3f3f3;
        height: 80px;
        margin-top: auto;
        z-index: 0;
        overflow: hidden;
        background-color: rgba(255, 255, 255, 1);
        transition: height 0.5s ease;
    }

    .cards-container .card .card__header {
        height: auto;
        max-height: 100px;
    }


    .video-container {
        position: relative;
        padding-bottom: 56.25%;
        /* 16:9 aspect ratio for widescreen videos */
        overflow: hidden;
    }

    .video-container iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

    pre {
        font-size: 13px;
    }

    .timer,
    .timing {
        display: flex;
        flex-direction: row;

    }




    .increase {
        height: 300px;
        overflow-y: auto;
    }

/*    .title {
        font-size: 1.7rem;

    } */

    .w75 {
        width: 100%;
    }

    /*
    .title {

        font-size: 1.8rem;
        line-height: 1.2;
        padding-top: 1px;
        padding-bottom: 10px;
        transition: all 0.5s ease 0s;
    }
*/



    .cards {
        overflow-y: auto;
        padding: 0;
    }

    .cards .card {
        padding: 10px;
        /* border: 1px solid orange; */

    }


    body {

        font-size: 14px;
    }


    /* ul img,
    ol img,
    img {
        max-height: 400px !important;
        max-width: -webkit-fill-available;

    }
        */

    /* Adjust other styles for mobile */
}

/*ul img,
ol img,
img {
    max-height: 600px !important;
    border: 2px solid white;
    background-repeat: no-repeat;
}
*/
.smm,
.smm .tags {
    font-size: 12px;
}

.og {
    align-items: normal;
}

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


    .bd {
        border-bottom: none;
    }

    .cards {
        display: flex;
        width: 100%;
        margin-left: 0;

    }



    .smm,
    .smm .left .tags {
        display: none;
        font-size: 10px;
    }


    .card__body {
        flex-direction: column;
        height: 0px;

    }


    .card__content {
        width: 100%;
        text-overflow: ellipsis;
        font-size: 14px;
    }



    .card .tags {
        font-size: 10px;
        padding: 6px;
    }

    .dark-mode .container__right {
        color: white;
        background-color: #112232;
        border: none;

    }

    #bio {
        width: 80%;
        color: #888;
        font-size: 13px;
        font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
        line-height: 1.4;
    }

    /* Other mobile styles */
}

/* Additional mobile styles */
@media screen and (max-width: 600px) {
    .cards-container .card__image img {
        height: 200px;
    }

    .cards-container .card__content {
        height: 48px;
    }

    .left-section,
    .right-section {
        display: none;
    }

    .middle-section {
        width: 100%;
        padding: 10px;
        font-size: 16px;
    }

    .footer .middle-section .profile {
        width: 100% !important;
        margin: 0 !important;
    }

    .footer {
        display: block !important;
        padding: 10px !important;
    }

    .left_w * {
        white-space: nowrap;
        color: black;
        width: 100%;
    }

    .left_w {
        margin-bottom: 18px;
    }

    .right_w .follow {
        padding: 0.5em 0.7em;
        background-color: dodgerblue;
        color: white;
        border-radius: 8px;
    }

    #bio {
        white-space: normal !important;
        width: 100%;
    }

    .cards-container .card__title {
        text-overflow: ellipsis;
        overflow: visible;
    }

    .dark-mode #bio {
        color: white;
    }

    .cards-container .card__header span {
        height: 20px !important;
    }


    .cards-container .card__content {
        font-size: 15px;
    }

    .modal {
        width: 50% !important;
    }
}

/* Miscellaneous styles */
.misc {
    margin-top: auto;
    width: 100%;
    font-size: 12px;
    color: #f2f2f2;
    padding: 24px 0;
    display: flex !important;
    font-family: medium-content-sans-serif-font, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}

.misc a {
    display: block;
    margin-right: 6px;
}

.misc a p {
    color: #6B6B6B;
    font-weight: 400;
    font-size: 11px;
    line-height: 16px;
    font-family: sohne, sohnel, sohneb, "Helvetica Neue", Helvetica, Arial, sans-serif;
}


.tagslist {
    flex-wrap: wrap;
    display: flex;
    align-items: center;
    gap: 10px;
}

.folo,
.follow {
    cursor: pointer;
}

#headline {
    font-size: 20px;
}

.timing {
    height: 20px !important;
    width: 20px !important;
}

svg {
    cursor: pointer;
}

.timing svg {
    height: 10px !important;
}

/* highligh-styles.js */

/* Light mode highlight.js theme goes here */

@media screen and (prefers-color-scheme: dark) {
    /* Dark mode highlight.js theme goes here */
}


.img_container {
    position: relative;
}
/*
.img_container img[aria-hidden="true"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    border: none;
    padding: 0;
}

.imgloader {
    opacity: .7;
    animation: imgloader-loading 1s linear infinite alternate;
}

.imgloader-text {
    width: 100%;
    height: .5rem;
    margin-bottom: .25rem;
    border-radius: .125rem;
}

.imgloader-text:last-child {
    margin-bottom: 0;
    width: 80%;
}

@keyframes imgloader-loading {
    0% {
        background-color: hsl(200, 20%, 70%);
    }

    100% {
        background-color: hsl(200, 20%, 95%);
    }
}

.imgloader {
    position: absolute;
    background-color: #f3f3f3;
    border-radius: 10px;
        width: 100%;
    height: 100%;
    z-index: 1;
 
}

@keyframes loading {
    0% {
        opacity: 0.7;
    }

    50% {
        opacity: 0.9;
    }

    100% {
        opacity: 0.7;
    }
}



.lazy-img {

    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


.img_container img.loaded {
    z-index: 2;
}

*/

.imgloader {
    position: absolute;
    inset: 0;
    background-color: #f3f3f3;
    border-radius: 10px;
}

#hills {
    display: flex !important;
}


._df {
    display: none !important;
}

._co,
._cn,
._cq {
    background-color: transparent !important;
}

#show {
    display: block;
}

#hide {
    display: none;
}