* {
    font-family: ms pgothic;
    margin: 0;
    padding: 0;
    cursor: url(https://cur.cursors-4u.net/anime/ani-11/ani1092.cur), auto;
    color: white;
}

body {
    max-width: 70em;
    margin: 0;
    padding: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
}


::-webkit-scrollbar {
width: 8px;
}
 
::-webkit-scrollbar-track {
background-color: black;
-webkit-border-radius: 10px;
border-radius: 10px;
border: 1px solid #ccc;
}
 
::-webkit-scrollbar-thumb {
-webkit-border-radius: 10px;
border-radius: 10px;
background: black;
border: 1px solid #aaa;
}


/** BLOGS PREVIEW ON HOME PG CSS **/
#blog-preview {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 3px 5px;
}
.blog-preview {
    background-color: rgb(17, 17, 17);
    padding: 5px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    border: 1px dotted gray;
}
.bp-row1-new {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.bp-row1 {
    display: flex;
    flex-direction: row;
}
.bp-title-img {
    display: flex;
    flex-direction: row;
}
.blog-img {
    width: 35px;
    margin-right: 10px;
}
.bp-row1 h4 {
    display: block;
    margin: auto 0;
}



/** ACTUAL BLOGS CSS **/
.header {
    height: 400px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    user-select: none;
}

.keepmysecrets {
    height: 400px;
    filter: invert(1);
    -webkit-mask-image: url(https://domokunlover.github.io/domoneocities/pages/blogs/blogs-main/header/mask1.png);
    -webkit-mask-size: 130%; 
    -webkit-mask-repeat: no-repeat; 
    -webkit-mask-position: center;
    display: block;
    margin: auto 100px;   
    user-select: none;
}

.tristansblogs {
    position: absolute;
    top: 300px;
    z-index: 9;
    user-select: none;
}

.newest {
    width: 30%;
    margin: 30px;
    border: 1px dotted gray;
    border-radius: 3px;
    padding: 5px;
    text-align: justify;
}

.newest h3 {
    margin: 5px 3px;
    text-align: center;
    user-select: none;
}


/** BODY CSS **/
main {
    display: flex;
    flex: 1;
    margin-top: 0;
    min-height: 0;
    height: 100vh;
    overflow: hidden;
}

/* Sidebar */
#sidebar {
    display: flex;
    justify-content: flex-start;
    padding: 2px 5px;
}

#main {
    flex: 1;
    border-top: 1px solid white;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.post {
    display: none;
    max-width: 58.5em;
    min-width: 58.5em;
}
.post.active {
    display: block;
}

.post h2 {
    padding: 10px;
    font-size: 30px;
}

.post p {
    padding: 10px 15px;
    text-align: justify;
    line-height: 1.25em;
    font-size: 13px;
}

.post small {
    font-size: 14px;
    float: right;
    padding: 10px 15px;
}

.post-title {
    display: flex;
    justify-content: space-between;
    min-width: 58.5em;
    border-bottom: 3px dotted white;
}

#blog-flex {
    display: flex;
    flex-direction: row;
    margin: 0;
    justify-content: space-between;
    flex: 1;
    min-height: 0;
}

/* Tag index */
#tags {
    padding: 10px;
    width: 10.125em;
    border-left: 1px solid white;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100%;
}
#tags h3 {
    text-align: center;
}
#tags span {
    cursor: pointer;
    margin-right: 10px;
    padding: 3px 6px;
    border-radius: 5px;
    display: block;
    margin-bottom: 5px;
    transition: translate 0.5s ease-in-out;
}
#tags span:hover {
    border: 1px solid white;
    translate: 10px;
}

#postList {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 0;
}

#postList div {
    cursor: pointer;
    padding: 5px;
    border: 1px solid white;
}
#postList div:hover {
    text-decoration: underline dotted;
}

#tags::-webkit-scrollbar {
    display: none;
}

#sidebar::-webkit-scrollbar {
width: 8px;
}
 
#sidebar::-webkit-scrollbar-track {
background-color: black;
-webkit-border-radius: 10px;
border-radius: 10px;
border: 1px solid #ccc;
}
 
#sidebar::-webkit-scrollbar-thumb {
-webkit-border-radius: 10px;
border-radius: 10px;
background: black;
border: 1px solid #aaa;
}

.tags-list {
    margin: 10px;
    font-size: 14px;
    word-spacing: 0.5em;
}

#posts {
    overflow-y: auto;
    height: 100%;
}