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


body {
  font-family:-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #E0E5F5;
  background: #05060A;
}

.container {
  max-width: 672px;
  margin: 0 auto;
  padding: 40px 20px;
}

h1 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 30px;
  line-height: 1.3;
} 

a {
  text-decoration: none;
  color:#E0E5F5;
  transition:all 1s ease;
}

h1 a{
  color:#a9ff78; 
  opacity:100%;
}
h1 a:hover{
  color:#a9ff78;
  opacity:100%;
}

.update{
  Position:fixed;
  left:0;
  right:0;
  display:flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content:space-between;
  align-items: center;
  padding:12px;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin:auto;
  margin-top:1%;
  border: 1px solid #232327;
    border-radius: 4px;
  background: rgba(11, 12, 16, 0.8);
  backdrop-filter: blur(20px);
  /* width:99%; */
  z-index:100;
  gap: 8px; /* Example gap */
  width:98%;
}

/* .update p{
  flex: 0 0 auto;
} */

.highlight{
  color:#A9FF78;
}
.neg{
    color:#ee2023;
}
.container h1{
  margin-top:80px;
}

.post-list {
  list-style: none;
  z-index:100;
  margin-bottom:80px;
}

.post-list li {
  
}

.post-list a {
  /* color: #0066cc; */
  text-decoration: none;
  font-size:18px;
  font-weight: 500;
  transition: all 0.1s;
}

.post-list a:hover {
  /* text-decoration: underline; */
}

.post-list time { 
  color:#E0E5F5;
  opacity:40%;
  font-size: 14px;
  font-weight: 400;
  /* line-height: 8px; */
  white-space: nowrap;
  /* margin-left: 20px; */
}

.back-link {
  color: #666;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 30px;
  margin-top:50px;
}

.back-link:hover {
  color: #333;
}

article header {
  margin-bottom: 30px;
}

article h1 {
  margin-bottom: 10px;
}

article time {
  color: #666;
  font-size: 14px;
}

.content h2 {
  font-size: 20px;
  margin: 30px 0 15px;
  font-weight: 400; 
}


.content p {
  margin-bottom: 20px; 
  color:#717171;
  line-height: 1.4;
  margin-top:12px;
}

.content a {
  color: #0066cc;
}

.content ul{
  padding-left:40px;
}

.content hr{
  margin:40px 0px;
  opacity:20%;
}

/* Add your custom styles and animations here! */


/* Table styles */
table {
  /* border-collapse: collapse; */
  width: 100%;
  margin: 20px 0;
  /* height:300px; */
  /* overflow-y: scroll; */
  overflow-x: scroll;
  border:1px solid #2b2b2b;
  background:rgba(11, 12, 16, 0.3);
}

table th,
table td {
  border: 1px solid #2b2b2b;
  padding: 18px;
  text-align: left;
  border-radius:1px;
}

table tr:nth-child(even) {
  /* background-color: #f9f9f9; */
}

table tr:first-child {
  /* border:1px solid rgb(255, 0, 0); */
}

th{
  /* position:sticky; */
  top:0;
  /* background-color:#f9f9f9; */
  font-weight: 600;
  width:100%;
  border-radius: 0px;
  z-index: 200;
}

/* Make tables responsive */
.content table {
  display: block;
  /* overflow-x: auto; */
  white-space: nowrap;
}

/* Images */
.content img {
  width: 100%;
  height: auto;
  /* aspect-ratio: 1; */
  display:block;
  margin:auto;
  margin: 20px 0;
  border-radius: 4px;
  border: 1px solid #232327;
}

.red-cell {
  background-color: rgb(245, 245, 245);
  /* border:2px solid rgb(255, 112, 112); */
      z-index:80;
}

.green-cell {
  background-color: rgb(26, 178, 109);
    border:4px solid rgb(13, 136, 62);
    z-index:100;
}

/* Tag Filters */
.tag-filters {
  margin-top: 80px;
  margin-bottom:40px;
  display: flex;
  flex-direction: column;
  justify-content:flex-start;
  align-items: flex-start;
  gap: 2px;
  flex-wrap: nowrap;
  /* min-width:300px; */
  width:103%;
}

.filter-group {
  margin-bottom: 0px;
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  align-items: center;
  width:100%;
}
.filter-group > :first-child {
  width:100%;
}

.filter-label {
  color: #ffffff;
  /* width:72px; */
  display:none;

}


.tag-btn {
  background:#05060A;
  /* border: 1px solid #232327; */
  color:#E0E5F5;
  opacity:20%;
  border:none;
  border-radius: 0px;
  cursor: pointer;
  transition: all 0.1s;
  text-wrap: nowrap; 
  
  /* flex: 0 0 32.9%; */

  font-family:-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 600;
  font-size: 24px;

} 

.tag-btn:hover {
  color:#a9ff78;
  opacity:100%;
}

.tag-btn.active {
  color:#a9ff78;
  opacity:100%;
}


/* Post list updates */
.post-item {
  margin-top:20px;
  color:#E0E5F5;
  display: flex;
  flex-direction: column;

  padding: 16px 22px 22px 22px;
  border: 1px solid #232327;
  border-radius: 4px;
  background: rgba(11, 12, 16, 0.3);
  height:auto;
  transition:all .1s ease;
  transform: scale(1);
  backdrop-filter: blur(20px);

  /* border-image-source: url(assets/images/border.png);
  border-image-slice: 61 58 51 48;
  border-image-width: 20px 20px 20px 20px;
  border-image-outset: 0px 0px 0px 0px; */
  /* border-image-repeat: stretch stretch; */
  border-image-repeat:repeat stretch;
  /* filter:invert(100%); */
}

.post-item:hover{
  cursor:pointer;
  background: rgba(11, 12, 16, 0.9);
  transform: scale(1.02);
}

.post-header {
  display: flex;
  justify-content: space-between;
  align-items:flex-start;
  width: 100%; /* Ensure full width */ 
  margin-bottom:80px;
} 

.post-header a {
  flex: 1;  /* Title takes available space */
  margin-right: 20px;  /* Space between title and date */
  /* color: #000000; */
}

.post-header time {
  flex-shrink: 0;  /* Date doesn't shrink */
  white-space: nowrap;  /* Keep date on one line */
}


/* Post Tags */
.post-tags {
  margin-top: 8px;
  display:flex;
  flex-direction: row;
  /* height:100%; */
}

.tag {
  display: inline-block;
  padding: 4px 7px;
  border-radius: 3px;
  font-size: 12px;
  margin-right: 5px;
  text-wrap: nowrap; 
    text-transform: uppercase;
      corner-shape: bevel;


}

.tag-quest {
  background: rgba(25, 118, 210, 0.2);
  color: #2794FF;
}

.tag-journal {
  background: rgba(77, 31, 162, 0.2);
  color: #6c33df;
}

.tag-todo {
  background: rgba(222, 1, 19, 0.10);
  color: #F74747;
}

.tag-in-progress {
  background: rgba(245, 124, 0, 0.1);
  color: #f57c00;
}

.tag-done {
  background: rgba(56, 142, 160, 0.2);
  color: #39C140;
}


/* Health category tags */
.tag-physical {
    background: rgba(184, 179, 127, 0.10);
  color: #B8B37F;
}

.tag-mental {
    background: rgba(184, 179, 127, 0.10);
  color: #B8B37F;
}

.tag-social {
    background: rgba(184, 179, 127, 0.10);
  color: #B8B37F;
}

.tag-spiritual {
    background: rgba(184, 179, 127, 0.10);
  color: #B8B37F;
}

.tag-professional {
    background: rgba(184, 179, 127, 0.10);
  color: #B8B37F;
}

.tag-financial {
    background: rgba(184, 179, 127, 0.10);
  color: #B8B37F;
}

/* Level tag */
.tag-level {
  background:rgba(169, 255, 120, 0.10);
  color: #A9FF78;
}
