body {
    font-family: 'Inter', sans-serif;
    background-color: #f4f4f4;
    color: #222;
    margin: 0;
    padding: 40px;
    line-height: 1.6;
}

body:not(.fully-loaded) *:not(script):not(style) {
    opacity: 0;
  }
  
  body.fully-loaded *:not(script):not(style) {
    animation: fadeIn 0.5s ease-out forwards;
  }

  
  

header {
    /* vertical-align: bottom; */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    border-bottom: 1px solid #a1a1a190;
}

.header-right {
    position: relative; /* So tooltip is positioned relative to the logo */
    display: inline-block;
}

.site-logo {
    width: 50px;  /* Adjust as needed */
    /* margin-right: auto; */
    height: auto;
    vertical-align: bottom;
    margin: 0;
    margin-bottom: 0;
    padding-bottom: 0;
  }

h1, h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    margin: 0;
}

h1 {
    /* vertical-align: bottom; */
    display: flex;
    align-items: center;
    gap: 10px; /* Adjust spacing between name and icons */
    font-size: 1.8rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

h1 a {
    display: flex;
    align-items: center;
}

h1 a svg {
    width: 24px;
    height: 24px;
    fill: #555;
    transition: fill 0.3s ease;
}

h1 a svg {
    width: 24px;
    height: 24px;
    fill: #555;
    transition: fill 0.3s ease;
}

h1 a:hover svg {
    fill: #000;
}

h2 {
    font-size: 1.4rem;
    margin-top: 40px;
}

nav a {
    color: #444;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}


  

nav {
    display: flex;
    gap: 20px;
}




.banner {
    position: relative;
    width: 100%;
    height: 150px; /* Adjust as needed */
    display: flex;
    text-align: center;
    align-content: center;
    align-items: center;
    justify-content: center;
    background-color: #00000006; /* Default background */
    overflow: hidden;
    margin: 15px auto;
    border-radius: 15px;
}



.banner-text {
    font-size: 24px;
    font-family: 'Inter', sans-serif;
    /* Remove white-space: nowrap; if present */
    white-space: normal; /* allow text wrapping */
    overflow-wrap: break-word;
    word-wrap: break-word;
    border-right: 3px solid black; /* keep the cursor effect */
    padding-right: 5px;
    animation: blinkCursor 0.8s infinite;
    text-align: center; /* centers the text */
  }
  



main {
    display: grid;
    grid-template-columns: 2.5fr 1fr 0.5fr; /* Posts get more space */
    gap: 40px;
    padding: 40px;
    border-top: 1px solid #a1a1a190;
}

section {
    margin-top: -55px;
    flex: 1;
}

ul {
    list-style: none;
    padding: 0;
}

li {
    display: flex;
    justify-content: space-between;
    font-size: 1rem;
    margin: 10px 0;
}

a {
    color: #555;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
    color: #489dff;
}

.sort-filter select {
    background: none;
    line-height: 1.2; /* or try 1 to 1.4 based on what looks best */
    border: none;
    border-bottom: 1px solid #555;
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    color: #000000;
    padding: 5px 5px 0 0;
    outline: none;
    cursor: pointer;
    vertical-align: bottom;
    transition: background-color 0.3s ease;
    border-radius: 5px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
  }
  
  .sort-filter {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-left: 10px;
  }

  .sort-filter select:hover {
    background-color: #a1a1a190;
  }

  
  
  .sort-filter::after {
    content: '';
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #555;
    pointer-events: none;
  }

  .sort-filter button.sort-btn {
    background: none;
    border: none;
    border-bottom: 1px solid #555;
    line-height: 1.2; /* or try 1 to 1.4 based on what looks best */
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    color: #000000;
    padding: 5px 5px 0 0;
    /* margin-bottom: 5px */
    outline: none;
    cursor: pointer;
    vertical-align: bottom;
    border-radius: 5px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
  }

  .sort-filter button.sort-btn:hover {
    background-color: #a1a1a190;
  }

  
  .tag {
    display: inline-block;
    padding: 2px 6px;
    font-size: 0.8rem;
    border-radius: 4px;
    margin-left: 10px;
    font-family: 'Inter', sans-serif;
    text-transform: capitalize;
  }
  
  /* Light blue for research */
  .tag.research {
    background-color: #00000006;
    color: #000000;
  }
  
  /* Light yellow for reflection */
  .tag.reflection {
    background-color: #00000006;
    color: #000000;
  }
  

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 0px;
}

.pagination button {
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    transition: transform 0.2s ease, color 0.2s ease;
    color: #555;
}

.pagination button:hover:not(:disabled) {
    color: #000;
    transform: scale(1.1);
}

.pagination button:disabled {
    opacity: 0.5;
    cursor: default;
}

#page-info {
    font-family: 'Inter', sans-serif;
    color: #555;
}

/* Modal overlay */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    display: none;
    }
    
    /* Modal box */
    .modal-content {
    background: #fff;
    padding: 24px;
    border-radius: 8px;
    width: 300px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    font-family: 'Inter', sans-serif;
      color: #333;
    }

    #entryModalContent {
        margin-top: 5px; /* reduce this to your liking */
        /* margin-bottom: 20px; optional: adjust spacing below the header too */
      }
    
    /* Modal heading */
    .modal-content h2 {
    margin-bottom: 16px;
    font-size: 18px;
    font-weight: 600;
    color: #111;
    }
    
    /* Input fields */
    .modal-content input {
    width: 90%;
    padding: 10px;
    margin-bottom: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: #f9f9f9;
    font-size: 14px;
    color: #111;
    }
    
    /* Submit button */
    .modal-content button {
    width: 30%;
    padding: 10px;
    border: none;
    background: #111;
    color: #fff;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease;
    }
    
    .modal-content button:hover {
    background: #222;
    }
    
    
    /* Make each project list item relative so the tooltip can be positioned absolutely */

  
  /* The tooltip info box */
/* Ensure that each project item is relatively positioned so its children can be absolutely positioned */
.project-item {
    position: relative;
    overflow: visible;
    z-index: 0; /* Lower stacking context */
  }
  
  /* The tooltip info box */
  .project-info {
    position: absolute;
    top: 110%;  /* appears below the guy */
    left: 50%;
    transform: translateX(-50%);
    width: 250px;
    background: #f0f0f0;
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 15px;
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    pointer-events: none;
    justify-content: center;
    align-items: center;
    text-align: left;
    hyphens: auto;
  }
  /* On hover over the project item, show the tooltip */
  .project-item:hover .project-info {
    opacity: 1;
    visibility: visible;
  }

    
  
  /* Optional: Style the project image inside the tooltip */

  
  /* Style the description text */
  .project-info .project-description {
    font-size: 0.9rem;
    margin: 0;
    margin-top: -25px;
    color: #333;
  }
  






/* Cursor blinking effect */
@keyframes blinkCursor {
    50% {
        border-right-color: transparent;
    }
}

@keyframes fadeIn {
    from {
      opacity: 0;
      /* transform: translateY(20px); Optional: slide-up effect */
    }
    to {
      opacity: 1;
      /* transform: translateY(0); */
    }
  }

.oh-okay-btn {
    /* margin-left: 10px; */
    cursor: pointer;
    background: none;
    border: none;
    color: #555;
    font-size: 24px;
    /* font-weight: bold; */
    font-family: 'Inter', sans-serif;
    text-decoration: underline;
}

@media (max-width: 1000px) {
    /* li {
        font-size: 0.9rem;
    } */
}

@media (max-width: 1050px) {
    .post-date {
        display: none;
      }
    .banner-text {
        font-size: 18px;
    }
    .oh-okay-btn {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    body, main {
    padding: 20px;
    }
    
    .banner {
    height: 100px;
    }
    
    .site-logo {
    width: 35px;
    }
    
    h1 {
    font-size: 1.4rem;
    }
    
    h2 {
    font-size: 1.1rem;
    margin-top: 30px;
    }
    
    .banner-text {
    font-size: 18px;
    }
    
    nav {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
    }

    .posts h2 {
        margin-top: 50px;
        /* margin-bottom: -10px; */
    }

    #posts-list .post-item {
        margin-top: -100px;
      }
    
    .sort-filter {
    /* flex-direction: column; */
    align-items: flex-start;
    gap: 5px;
    /* margin-bottom: -15px; */
    }

    .modal {
        /* width: 50%;
        height: 50%; */
    }
    
    .modal-content {
    width: 40%;
    height: auto;
    }
    
    .modal-content h2 {
    font-size: 16px;
    }
    
    .modal-content input,
    .modal-content button {
    font-size: 13px;
    }
    
    .oh-okay-btn {
    font-size: 18px;
    }
    
    main {
    grid-template-columns: 1fr; /* stack layout */
    gap: 20px;
    }
    
    /* li {
    font-size: 0.8rem;
    } */
    
    #page-info {
    font-size: 0.9rem;
    /* margin-top: -15px; */
    margin-bottom: 15px;
    }
    
    .pagination button {
    font-size: 0.9rem;
    padding: 6px;
    /* margin-top: -15px; */
    margin-bottom: 15px;
    /* z-index: 10; */
    position: relative;
    }
    
    .tag {
    font-size: 0.7rem;
    }

    header {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 10px 20px;
    }

    h1 {
        font-size: 1.4rem;
        margin-left: 5px; /* Reduced left margin for mobile */
        display: flex;
        align-items: center;
        gap: 8px;
    }

    h1 svg {
        height: 18px;
        width: 18px;
    }

    .header-right {
        margin-right: 10px; /* Reduce right margin on small screens */
    }

    .site-logo {
        width: 50px;
        height: auto;
    }

    nav.logo-wrapper {
        display: flex;
        flex-direction: column;
        align-items: center;
        font-size: 0.8rem;
        text-align: center;
    }
    header {
        flex-direction: column;
        align-items: center;
    }

    .header-right {
        margin: 10px 0 0 0;
    }

    .header-right div {
        display: none;
    }
    }

    /* @media (max-width: 600px) {
        h1 {
            font-size: 1.2rem;
            }
            
            h2 {
            font-size: 1rem;
            margin-top: 30px;
            }
            
            .banner-text {
            font-size: 14px;
            }
    } */

    body {
      background-color: #fdfcf8; /* faded paper white */
      color: #1a1a1a; /* deep charcoal, not pitch black */
    }
    
    a {
      color: #1a1a1a;
      text-decoration: underline dotted;
    }
    
    a:hover {
      color: #b10000; /* red highlight like blood or warning */
    }
    

    
    body, .banner-text, .tag {
      font-family: 'Georgia', 'Times New Roman', serif;
    }
    
    h1, h2 {
      font-family: 'Garamond', serif;
      font-weight: normal;
      /* font-style: italic; */
    }

    .banner {
      background-color: #eaeaea;
      filter: grayscale(100%) contrast(1.1);
      transform: rotate(-0.5deg);
      box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
    }

    .modal-content, .project-info {
      font-family: 'Courier New', monospace;
      background: #fffdf6;
      border: 1px dashed #888;
      color: #333;
      box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.05);
    }

    section {
      transform: translateY(-2px);
      filter: brightness(98%);
    }

    h1, h2 {
      color: #3b2c1a;
    }

    body {
      background-color: #fdfaf4; /* parchment */
      color: #2e1f0f; /* ink-like text */
    }
    
    .banner {
  background-color: #ede3cf; /* soft tan backdrop */
  box-shadow: inset 0 0 10px rgba(0,0,0,0.05);
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #f4f4f4;
    color: #222;
    margin: 0;
    padding: 40px;
    line-height: 1.6;
}

body:not(.fully-loaded) *:not(script):not(style) {
    opacity: 0;
  }
  
  body.fully-loaded *:not(script):not(style) {
    animation: fadeIn 0.5s ease-out forwards;
  }

  
  

header {
    /* vertical-align: bottom; */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    border-bottom: 1px solid #a1a1a190;
}

.site-logo {
    width: 50px;  /* Adjust as needed */
    /* margin-right: auto; */
    height: auto;
    vertical-align: bottom;
    margin: 0;
    margin-bottom: 0;
    padding-bottom: 0;
  }

h1, h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    margin: 0;
}

h1 {
    /* vertical-align: bottom; */
    display: flex;
    align-items: center;
    gap: 10px; /* Adjust spacing between name and icons */
    font-size: 1.8rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

h1 a {
    display: flex;
    align-items: center;
}

h1 a svg {
    width: 24px;
    height: 24px;
    fill: #555;
    transition: fill 0.3s ease;
}

h1 a svg {
    width: 24px;
    height: 24px;
    fill: #555;
    transition: fill 0.3s ease;
}

h1 a:hover svg {
    fill: #000;
}

h2 {
    font-size: 1.4rem;
    margin-top: 40px;
}

nav a {
    color: #444;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}


  

nav {
    display: flex;
    gap: 20px;
}




.banner {
    position: relative;
    width: 100%;
    height: 150px; /* Adjust as needed */
    display: flex;
    text-align: center;
    align-content: center;
    align-items: center;
    justify-content: center;
    background-color: #00000006; /* Default background */
    overflow: hidden;
    margin: 15px auto;
    border-radius: 15px;
}



.banner-text {
    font-size: 24px;
    font-family: 'Inter', sans-serif;
    /* Remove white-space: nowrap; if present */
    white-space: normal; /* allow text wrapping */
    overflow-wrap: break-word;
    word-wrap: break-word;
    border-right: 3px solid black; /* keep the cursor effect */
    padding-right: 5px;
    animation: blinkCursor 0.8s infinite;
    text-align: center; /* centers the text */
  }
  



main {
    display: grid;
    grid-template-columns: 2.5fr 1fr 0.5fr; /* Posts get more space */
    gap: 40px;
    padding: 40px;
    border-top: 1px solid #a1a1a190;
}

section {
    margin-top: -55px;
    flex: 1;
}

ul {
    list-style: none;
    padding: 0;
}

li {
    display: flex;
    justify-content: space-between;
    font-size: 1rem;
    margin: 10px 0;
}

a {
    color: #555;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
    color: #489dff;
}

.sort-filter select {
    background: none;
    line-height: 1.2; /* or try 1 to 1.4 based on what looks best */
    border: none;
    border-bottom: 1px solid #555;
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    color: #000000;
    padding: 5px 5px 0 0;
    outline: none;
    cursor: pointer;
    vertical-align: bottom;
    transition: background-color 0.3s ease;
    border-radius: 5px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
  }
  
  .sort-filter {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-left: 10px;
  }

  .sort-filter select:hover {
    background-color: #a1a1a190;
  }

  
  
  .sort-filter::after {
    content: '';
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #555;
    pointer-events: none;
  }

  .sort-filter button.sort-btn {
    background: none;
    border: none;
    border-bottom: 1px solid #555;
    line-height: 1.2; /* or try 1 to 1.4 based on what looks best */
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    color: #000000;
    padding: 5px 5px 0 0;
    /* margin-bottom: 5px */
    outline: none;
    cursor: pointer;
    vertical-align: bottom;
    border-radius: 5px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
  }

  .sort-filter button.sort-btn:hover {
    background-color: #a1a1a190;
  }

  
  .tag {
    display: inline-block;
    padding: 2px 6px;
    font-size: 0.8rem;
    border-radius: 4px;
    margin-left: 10px;
    font-family: 'Inter', sans-serif;
    text-transform: capitalize;
  }
  
  /* Light blue for research */
  .tag.research {
    background-color: #00000006;
    color: #000000;
  }
  
  /* Light yellow for reflection */
  .tag.reflection {
    background-color: #00000006;
    color: #000000;
  }
  

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 0px;
}

.pagination button {
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    transition: transform 0.2s ease, color 0.2s ease;
    color: #555;
}

.pagination button:hover:not(:disabled) {
    color: #000;
    transform: scale(1.1);
}

.pagination button:disabled {
    opacity: 0.5;
    cursor: default;
}

#page-info {
    font-family: 'Inter', sans-serif;
    color: #555;
}

/* Modal overlay */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    display: none;
    }
    
    /* Modal box */
    .modal-content {
    background: #fff;
    padding: 24px;
    border-radius: 8px;
    width: 300px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    font-family: 'Inter', sans-serif;
      color: #333;
    }

    #entryModalContent {
        margin-top: 5px; /* reduce this to your liking */
        /* margin-bottom: 20px; optional: adjust spacing below the header too */
      }
    
    /* Modal heading */
    .modal-content h2 {
    margin-bottom: 16px;
    font-size: 18px;
    font-weight: 600;
    color: #111;
    }
    
    /* Input fields */
    .modal-content input {
    width: 90%;
    padding: 10px;
    margin-bottom: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: #f9f9f9;
    font-size: 14px;
    color: #111;
    }
    
    /* Submit button */
    .modal-content button {
    width: 30%;
    padding: 10px;
    border: none;
    background: #111;
    color: #fff;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease;
    }
    
    .modal-content button:hover {
    background: #222;
    }
    
    
    






/* Cursor blinking effect */
@keyframes blinkCursor {
    50% {
        border-right-color: transparent;
    }
}

@keyframes fadeIn {
    from {
      opacity: 0;
      /* transform: translateY(20px); Optional: slide-up effect */
    }
    to {
      opacity: 1;
      /* transform: translateY(0); */
    }
  }

.oh-okay-btn {
    /* margin-left: 10px; */
    cursor: pointer;
    background: none;
    border: none;
    color: #555;
    font-size: 24px;
    /* font-weight: bold; */
    font-family: 'Inter', sans-serif;
    text-decoration: underline;
}

@media (max-width: 1000px) {
    /* li {
        font-size: 0.9rem;
    } */
}

@media (max-width: 1050px) {
    .post-date {
        display: none;
      }
    .banner-text {
        font-size: 18px;
    }
    .oh-okay-btn {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    body, main {
    padding: 20px;
    }
    
    .banner {
    height: 100px;
    }
    
    .site-logo {
    width: 35px;
    }
    
    h1 {
    font-size: 1.4rem;
    }
    
    h2 {
    font-size: 1.1rem;
    margin-top: 30px;
    }
    
    .banner-text {
    font-size: 18px;
    }
    
    nav {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
    }

    .posts h2 {
        margin-top: 50px;
        /* margin-bottom: -10px; */
    }

    #posts-list .post-item {
        margin-top: -100px;
      }
    
    .sort-filter {
    /* flex-direction: column; */
    align-items: flex-start;
    gap: 5px;
    /* margin-bottom: -15px; */
    }

    .modal {
        /* width: 50%;
        height: 50%; */
    }
    
    .modal-content {
    width: 40%;
    height: auto;
    }
    
    .modal-content h2 {
    font-size: 16px;
    }
    
    .modal-content input,
    .modal-content button {
    font-size: 13px;
    }
    
    .oh-okay-btn {
    font-size: 18px;
    }
    
    main {
    grid-template-columns: 1fr; /* stack layout */
    gap: 20px;
    }
    
    /* li {
    font-size: 0.8rem;
    } */
    
    #page-info {
    font-size: 0.9rem;
    /* margin-top: -15px; */
    margin-bottom: 15px;
    }
    
    .pagination button {
    font-size: 0.9rem;
    padding: 6px;
    /* margin-top: -15px; */
    margin-bottom: 15px;
    /* z-index: 10; */
    position: relative;
    }
    
    .tag {
    font-size: 0.7rem;
    }

    header {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 10px 20px;
    }

    h1 {
        font-size: 1.4rem;
        margin-left: 5px; /* Reduced left margin for mobile */
        display: flex;
        align-items: center;
        gap: 8px;
    }

    h1 svg {
        height: 18px;
        width: 18px;
    }

    .header-right {
        margin-right: 10px; /* Reduce right margin on small screens */
    }

    .site-logo {
        width: 50px;
        height: auto;
    }

    nav.logo-wrapper {
        display: flex;
        flex-direction: column;
        align-items: center;
        font-size: 0.8rem;
        text-align: center;
    }
    header {
        flex-direction: column;
        align-items: center;
    }

    .header-right {
        margin: 10px 0 0 0;
    }

    .header-right div {
        display: none;
    }
    }

    /* @media (max-width: 600px) {
        h1 {
            font-size: 1.2rem;
            }
            
            h2 {
            font-size: 1rem;
            margin-top: 30px;
            }
            
            .banner-text {
            font-size: 14px;
            }
    } */

    
    
  



    
    
  

