#projects{
    display: flex;
    flex-direction: column;
    row-gap: 15px;
}

#project-list{
    display: flex;
    flex-direction: column;
    justify-content: center;
    row-gap: 30px;
}

#project-description{
    font-weight: 200;
}

.card-project {
    flex-basis: 46%;
    height: 400px;
    display: flex;
    flex-direction: column;
    border: solid rgba(0, 0, 0, 0.35) 1px;
    align-items: center;
    overflow: hidden;
    border-radius: 20px;
    transition: transform .3s, opacity .3s;
}

.card-project>div:nth-child(1){
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.card-project>div:nth-child(1)>img{
    object-fit: cover;
    object-position: center;
    width: 100%;
    height: 100%;
    opacity: 0.85;
    transition: transform .3s ease, filter .3s ease, opacity .3s ease;
}

.card-project>article:nth-child(2){
    display: flex;
    flex-direction: column;
    align-items: start;
    padding: 25px 25px;
    row-gap: 15px;
}

.card-project>article:nth-child(2)>h4{
    font-weight: 500;
}

.card-project>article:nth-child(2)>p{
    color: #7a7a7a;
    line-height: 25px;
}

.card-project>article:nth-child(2)>a{
    display: flex;
    flex-direction: row;
    column-gap: 8px;
    align-items: center;
}

.overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
    opacity: 0;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    transition: opacity .3s ease;
}

.tech-list{
    display: flex;
    flex-direction: row;
    column-gap: 7px;
    flex-wrap: wrap;
}
.tech-list>span {
    font-size: 14px;
    font-weight: 500;
    padding: 6px 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.tech-list>span>i{
    color: #ffffff;
}

.card-project:hover .overlay {
    opacity: 1;
}

.card-project:hover .image-container img {
    transform: scale(1.05);
    filter: brightness(0.55);
}

@media (min-width: 1024px) {

    #project-list{
        padding: 30px;
        display: grid;
        grid-template-columns: 23% 23% 23% 23%;
        justify-content: center;
        gap: 20px;
    }
}
