.portfolio-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(27rem, 1fr));
    grid-auto-rows: max-content;
    align-items: start;
    gap: 1.5rem;
    padding-left: 3rem;
    padding-right: 2rem;
    margin-top: 1rem;
}

.project-frame {
    background-color: #161616;
    border: 1px solid #ffffff;
    border-radius: 5px;
    width: 100%;
    height: 200px;
    padding: 1.0rem;
    box-sizing: border-box;
    overflow: hidden;
    box-shadow: 0 0 20px 2px #000000;
    position: relative;
}

.thumbnail {
    float: left;
    height: 100%;
    margin-right: 15px;
    box-shadow: 0 0 10px 1px #000000;
}

.stargazer-count {
    position: absolute;
    top: 1.25rem;
    left: 1.25rem;
    background-color: #212830;
    padding: 3px 5px;
    display: flex;
    align-items: center;
    gap: 4px;
    border-radius: 4px;
    border: 1px solid #ffffff26;
    box-shadow: 0 0 5px 4px #00000095;
}

.stargazer-count * {
    margin: 0;
}

.stargazer-count span {
    padding: 4px 0;
    text-box: trim-both cap alphabetic;
}

.star-count-pill {
    background-color: rgba(101, 108, 118, 0.2);
    border-radius: 50px;
    padding: 4px 10px !important;
}

.text-container {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    height: 100%;
}

.project-title {
    font-family: CourierPrime;
    font-size: 1.9rem;
    flex: none;
}

.project-author {
    margin-top: 0;
    font-family: JetBrains;
    font-size: 0.75rem;
    flex: none;
    font-weight: 200;
    line-height: 1rem;
}

.project-author b { font-weight: 800; }

.project-author::before {
    content: "by ";
}

.project-desc {
    min-height: 0;
    flex: 1;
    overflow: scroll;
    background-color: rgba(31, 31, 31, 0.624);
    border: 1px solid rgb(39, 39, 39);
    margin-top: 3px;
    padding: 0.2rem;
    padding-top: 0.05rem;
}

.button-row {
    flex: none;
}

.button {
}

.no-pad {
    padding: 0;
}

@media (max-width: 768px) {
    .portfolio-container {
        grid-template-columns: 1fr;
        padding-left: 0;
        padding-right: 0;
        gap: 1rem;
    }
    .project-frame {
        height: auto;
        padding: 1rem;
        text-align: center;
    }
    .thumbnail {
        float: none;
        display: block;
        height: auto;
        max-width: 100%;
        max-height: 200px;
        margin: 0 auto 0.75rem auto;
    }
    .project-frame .project-desc {
        overflow: visible;
        text-align: left;
        margin-top: 0.5rem;
    }
}
