:root {
    --bg: #0b1529;
    --bgSoft: #1f3050;
    --text: #dee4eb;
    --textSoft: #cbd2d9;
    --link: rgb(118, 118, 238);

}

* {
    margin: 0;
    box-sizing: border-box;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: "Roboto", sans-serif;
}

blockquote p {
    background-color: var(--bgSoft);
    color: var(--textSoft);
    font-family: "Roboto", sans-serif;
    border-radius: 10px;
    box-shadow: 2px 2px 5px rgba(3, 8, 51, 0.2);
    padding-left: 20px;
}

.container {
    max-width: 1366px;
    padding-left: 50px;
    padding-right: 50px;
    margin: auto;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content:  space-between;
}

.listItem {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 50px;
}

.listItemImage {
    width: 200px;
    height: 200px;
    object-fit: cover;
}

.listItemTexts {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: small;
}

.listItemDetail {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
}

.listItemAvatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
}

.listItemsCategories {
    display: flex;
    gap: 10px;
}

.listItemCategory {
    padding: 5px;
    border-radius: 5px;
    background-color: var(--bgSoft);
    color: var(--textSoft);
    font-size: 14px;
}

.pagination {
    display: flex;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 14px;
    margin-top: 80px;
    margin-bottom: 80px;
}

.page-link {
    border: 1px solid grey;
    width: 30px;
    height: 30px;
    display: flex;
    border-radius: 5px;
    justify-content: center;
}

.page-item.active {
   background-color: var(--text);
   color: var(--bg);
}

.page-item.disabled {
   background-color: #313845;
   cursor: not-allowed;
}


.footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100px;
    font-size: 14px;
}

/* SINGLE START */
.singleHead {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

}

.singleHeadTexts {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 1
}

.singleHeadTitle {
    font-size: 48px;
}

.singleHeadDesc {
    font-size: 20px;
    font-weight: 300;
}

.singleAvatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.singleHeadDetail {
    display: flex;
    align-items: center;
    gap: 20px;
}

.singleCategory {
    padding: 5px;
    border-radius: 5px;
    background-color: var(--bgSoft);
    color: var(--textSoft);
    font-size: smaller
}

.singleHeadImage{
    flex:1;
    max-height: 350px;
    object-fit: cover;
}

.singleBottom {
    display: flex;
    justify-content: space-between;
    gap: 50px;
    margin-top: 50px;
}

/* Table of Contents Start */

.singleTableContent {
    flex:3;
    font-size: 15px;
    line-height: 26px;
    margin: 20px 0px;
    color: var(--link);
}

.singleTableContent a {
    color: var(--link);
}




/* Table of Contents END */

.singleContent{
    flex:3;
    font-size: 18px;
    line-height: 32px;
}

.singleContent p,
.singleContent h1,
.singleContent h2,
.singleContent h3 {
    margin: 20px 0px;
}
.singleContent a {
    color: var(--link);
}

.singleContent img{
    width: 100%;
    object-fit: cover;
}

.singleContent pre{
    width: 100%;
    overflow-x: scroll;
    padding: 20px;
}
.singleRightBar{
    flex:1;
}
/* SINGLE END */

/* Right Bar Start */

.rightBar {
    position: sticky;
    top: 100px;
}

.rightBarImage{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Right Bar End */

@media (max-width:1536px) {
    .container {
        max-width: 1366px;
    }
}
@media (max-width:1366px) {
    .container {
        max-width: 1280px;
    }
}
@media (max-width:1280px) {
    .container {
        max-width: 1024px;
    }
}
@media (max-width:1024px) {
    .container {
        max-width: 768px;
        padding-left: 10px;
        padding-right: 10px;
    }
}
@media (max-width:768px) {
    .container {
        max-width: 640px;
    }
    .listItemImage{
        display: none;
    }
}
@media (max-width:650px) {
    .container {
        max-width: 475px;
    }
}
