body {
    margin: 0;
    padding: 20px;
    font-family: Arial, sans-serif;
    background: #f5f5f5;
}

h1 {
    text-align: center;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(300px,1fr));
    gap: 20px;
}

.card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,.15);
}


.card:hover .thumb img {
    transform: scale(1.05);
}

.card-content {
    padding: 15px;
}

.card h2 {
    margin-top: 0;
}


.meta {
    color: #666;
    font-size: 0.9em;
}

.project-link {
    display: inline-block;
    margin-top: 10px;
    text-decoration: none;
    padding: 8px 15px;
    background: #1976d2;
    color: white;
    border-radius: 5px;
}




.thumb{
    width:100%;
    height:220px;
    overflow:hidden;
}

.thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s;
}

.thumb-link{
    display:block;
    width:100%;
    height:100%;
    text-decoration:none;
    margin:0;
    padding:0;
    background:none;
}

.thumb-link img{
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
    transition:transform .3s;
}

.card:hover .thumb-link img{
    transform:scale(1.05);
}


.categories{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-bottom:25px;
}
.categories a{
    padding:8px 14px;
    border-radius:8px;
    background:white;
    text-decoration:none;
    color:#333;
    box-shadow:0 1px 4px rgba(0,0,0,.12);
}

.categories a.active{
    background:#1976d2;
    color:white;
}


