body {
    font-family: "GT-America-Regular", sans-serif;
    background: #fff;
    color: #000;
    padding: 2rem;
    transition:
        background 0.3s,
        color 0.3s;
}

body.dark {
    background: #000;
    color: #fff;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.name {
    font-family: "GT-America-Bold", sans-serif;
    font-size: 1.5rem;
}

#theme-toggle {
    background: none;
    border: none;
    font-family: "GT-America-Regular", sans-serif;
    font-size: 1rem;
    cursor: pointer;
}

.filter {
    font-family: "GT-America-Bold", sans-serif;
    font-size: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.label {
    font-weight: bold;
}

.tag {
    cursor: pointer;
    text-decoration: underline;
}

.tag:hover {
    opacity: 0.7;
}

main {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

a {
    font-family: "IBMPlexMono-Regular", monospace;
    text-decoration: none;
    color: inherit;
}
.file-link {
    width: 100%;
    max-width: 600px;
    display: block;
    padding: 1rem;
    border: 1px solid #ccc;
    text-align: left;
}

.file-info {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-height: 80px; /* Adjust based on average content */
}

.file-info h3 {
    margin: 0;
    font-size: 1.1rem;
}

.file-info p {
    margin: 0;
    font-size: 0.95rem;
    color: #666;
}

.file-info small {
    margin-top: auto;
    font-size: 0.8rem;
    color: #999;
}
