body {
    font-family: system-ui, sans-serif;
    margin: 0 auto;
    max-width: 960px;
    padding: 1rem;
    background-color: #1f1f1f;
    color: #e0e0e0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Courier New', Courier, monospace;
}

header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.25rem;
    border-bottom: 1px solid #ddd;
    padding-bottom: 0.25rem;
}

header h1 {
    margin: 0;
    font-size: 2rem;
}

header h1 a {
    text-decoration: none;
    color: inherit;
}

header h1 a:hover,
header h1 a:focus {
    text-decoration: underline;
}

.kofi-link {
    background-color: #29abe0;
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.3s ease;
    font-size: 1rem;
}

.kofi-link:hover,
.kofi-link:focus {
    background-color: #1b7fb8;
    outline: none;
}

#page-title {
    font-weight: bold;
    font-size: 1.4rem;
    color: #bebebe;
    margin: 0.5rem 0 1rem 0;
    width: 100%;
    border-bottom: 1px solid #ddd;
    padding-bottom: 0.25rem;
}

.lang-select-wrapper {
    margin-bottom: 1rem;
}

select#lang-selector {
    padding: 3px 5px;
    font-size: 0.8rem;
    border-radius: 6px;
    border: 1px solid #ccc;
}

.filter-bar {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin: 1rem 0;
}

/* FILTER BUTTON DOT **/

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
  vertical-align: middle;
}

.ready-dot {
  background-color: #257a1c;
}

.ongoing-dot {
  background-color: #a88900;
}

.not-started-dot {
  background-color: #a30000;
}

.onpause-dot {
  background-color: #6c757d;
}

.all-dot {
  background-color: #ffffff; /* or any neutral color for "all" */
}

.filter-btn {
  padding: 0.2rem 0.4rem;
  border: 0;
  background-color: white;
  color: #333;
  cursor: pointer;
  transition: background-color 0.2s ease;
  margin-bottom: 20px;
  border-radius: 5px;
}

.filter-btn.active {
  background-color: #6b6b6b;
  color: rgb(0, 0, 0);
  font-weight: bold;
  border-radius: 5px;
}

#project-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
}

.status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: bold;
  margin-top: 4px;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}
.status.ready {
    background-color: #c8f7c5;
    color: #257a1c;
}

.status.ongoing {
    background-color: #fff3cd;
    color: #a88900;
}

.status.not-started {
    background-color: #f8d7da;
    color: #a30000;
}

.card {
    background: rgb(14, 14, 14);
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease;
}

.card:hover {
    transform: scale(1.02);
}

.card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.card-content {
    padding: 1rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card h3 {
    margin: 0 0 0.5rem;
    font-size: 1.2rem;
}

.card p {
    margin: 0 0 0.75rem;
    font-size: 0.95rem;
    flex-grow: 1;
}

.card a {
    text-decoration: none;
    color: #0077cc;
    font-weight: bold;
    align-self: flex-start;
}

.card a:hover,
.card a:focus {
    text-decoration: underline;
}

@media (max-width: 480px) {
    header {
    justify-content: space-between;
    }

    #page-title {
    font-size: 1.2rem;
    border: none;
    padding: 0;
    margin-top: 0.5rem;
    }

    .lang-select-wrapper {
    margin-bottom: 1.5rem;
    }
}



footer {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #ddd;
    font-size: 0.9rem;
    color: #666;
}

footer a {
    color: #0077cc;
    text-decoration: none;
}

footer a:hover,
footer a:focus {
    text-decoration: underline;
}

footer p {
  max-width: 600px;
  margin: 0 auto 1em;
}

.kofi-footer-link img {
  width: 100%;
  height: auto;
  cursor: pointer;
  transition: filter 0.4s ease;
  border-radius: 4px;
}

.kofi-footer-link img:hover {
  filter: brightness(0.8);
}
