.projects{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px,1fr));
    gap: 30px;
    padding: 20px;
}

.card{
    border-radius: 5px;
    overflow: hidden;
    border: 2px solid #ffffff;
    transition: .25s;
    cursor: pointer;
}

.card-img{
    width: 100%;
    height: 190px;
    object-fit: cover;
    border-bottom: 2px solid #ffffff;
}

.card-content{
    padding: 20px;
}

.card-content h2{
    color: white;
    font-size: 1.8rem;
    margin-bottom: 12px;
}

.card-content p{
    color: #cfcfcf;
    line-height: 1.5;
}

.card-content .github{
    text-decoration: none;
    color: #ffffff;
    display: inline-block;
    transition: transform 0.2s ease, color 0.2s ease;
}

.card-content .github:hover{
    color: aquamarine;
    font-size: 1.9rem;
}

