body {
    background-color: #b1b6a6 !important;
    margin: 0;
    min-height: 100%;
    width: 100%;
    background-image: radial-gradient(rgb(24, 26, 27) 1px,
            rgb(0, 4, 0) 0px) !important;
    background-size: 50px 50px !important;
}

html {
    margin: 0;
    width: 100%;
    height: 100%;
}

#tags-container #title {
    color: #4ecdc4;
    margin-top: calc(5vh + 5vw);
    font-size: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-weight: 1000;
    background-color: rgba(0, 5, 0, 1);
    text-align: center;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

#tags-container #subtitle {
    color: #4ecdc4;
    margin-top: calc(1vh + 2vw);
    font-size: 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-weight: 1000;
    background-color: rgba(0, 5, 0, 1);
    text-align: center;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

#tags-container h2 {
    color: #4ecdc4;
    margin-top: 1vh;
    font-size: 40px;
    margin-left:10vw;
    width:80vw;
    display: flex;
    flex-direction: column;
    font-size: calc(1vh + 1vw);
    justify-content: center;
    font-weight: 1000;
    background-color: rgba(0, 5, 0, 1);
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

#tags-container a {
    color: #4ecdc4;
    margin-top: 0.2vh;
    font-size: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-weight: 1000;
    background-color: rgba(0, 5, 0, 1);
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}




#controls {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2rem auto;
    max-width: 900px;
    padding: 0 1rem;
}

#tag-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: center;
}

.tag-btn,
.mode-btn {
    padding: 0.5rem 0.9rem;
    border: 1px solid #4ecdc4;
    background: transparent;
    color: #4ecdc4;
    cursor: pointer;
    font-size: 0.9rem;
}

.tag-btn.active,
.mode-btn.active {
    background: #4ecdc4;
    color: #000;
}

/* --- Results --- */
#results {
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.post {
    margin-bottom: 1.5rem;
}

.post-tags {
    font-size: 0.8rem;
    opacity: 0.8;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    color: #4ecdc4;
}

.post-date {
    font-size: 0.75rem;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    opacity: 0.6;
    color: #4ecdc4;
}

/* --- Mobile polish --- */
@media (max-width: 650px) {

    .tag-btn,
    .mode-btn {
        font-size: 0.85rem;
        padding: 0.6rem 1rem;
    }
}
#logic-toggle{
    left:50%;
}
#logic-toggle-div{
    display: flex; /* Enables CSS flexbox */
    justify-content: center; /* Centers horizontally */
    align-items:center;
    height:10vh;
}
.post-description {
  margin: 0.5rem 0;
  line-height: 1.4;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    color:#4ecdc4;
}
