﻿/* SECTION */
section {
    padding: 64px 0
}

h2 {
    text-align: center;
    margin-bottom: 8px
}

.sub {
    text-align: center;
    font-size: .9rem;
    opacity: .8;
    margin-bottom: 28px
}

/* SEARCH */
.search-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.search {
    width: 100%;
    max-width: 420px;
    position: relative;
}

    .search input {
        width: 100%;
        padding: 12px 14px 12px 40px;
        background: var(--panel);
        border: 1px solid var(--border);
        border-radius: var(--radius);
        color: var(--text);
        font-size: .85rem;
    }

    .search i {
        position: absolute;
        left: 12px;
        top: 50%;
        transform: translateY(-50%);
        opacity: .7;
    }

/* GRID */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(280px,1fr));
    gap: 24px;
}

.card {
    background: linear-gradient(180deg,var(--panel),rgba(0,0,0,.35));
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: .3s ease;
    animation: fadeUp .6s ease both;
}

    .card:hover {
        transform: translateY(-6px);
        box-shadow: 0 14px 34px rgba(0,0,0,.4);
    }

/* SCREENSHOT */
.thumb {
    height: 170px;
    background: linear-gradient(135deg,rgba(19,9,255,.35),rgba(173,250,255,.35)), url("https://images.unsplash.com/photo-1557821552-17105176677c?auto=format&fit=crop&w=1200&q=60");
    background-size: cover;
    background-position: center;
    position: relative;
}

    .thumb::after {
        content: "Screenshot";
        position: absolute;
        inset: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: .75rem;
        font-weight: 600;
        letter-spacing: .08em;
        background: rgba(0,0,0,.35);
    }

/* BODY */
.card-body {
    padding: 16px
}

    .card-body h3 {
        margin: 0 0 6px;
        font-size: 1rem;
    }

    .card-body p {
        font-size: .8rem;
        line-height: 1.45;
        opacity: .85;
        margin: 0 0 14px;
    }

/* TAGS */
.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px
}

.tag {
    background: linear-gradient(135deg,rgba(19,9,255,.25),rgba(173,250,255,.25));
    border: 1px solid var(--primary);
    border-radius: var(--radius);
    padding: 4px 8px;
    font-size: .65rem;
}

/* FOOTER */
footer {
    background: var(--footer);
    border-top: 1px solid var(--border);
    text-align: center;
    padding: 28px 20px;
    font-size: .8rem;
}

/* RESPONSIVE */
@media(max-width:900px) {
    .nav ul {
        display: none
    }
}
