#title-section{
    width: 100%;
}

#title-section .card{
    height: 105px;
    padding: 0;
    
    display: flex;
    align-items: center;
    justify-content: center;
}

#projects-list{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    align-items: center;
    flex-direction: row;
    gap: 30px;
}

#portfolio-section .card{
    height: 100%;
    width: 100%;
    padding: 0;

    display: grid;
    grid-template-rows: 240px auto;

    transition: all 150ms ease-out;
}

#portfolio-section .card-tumb{
    width: 100%;
    height: 100%;

    position: relative;

    background-size: cover;
    background-repeat:no-repeat;
    background-position: center center;
}

#portfolio-section .card-tumb.wwc{
    background-image: url(../images/wwc/tumb.jpg);
}

#portfolio-section .card-tumb.rocknreels{
    background-image: url(../images/rocknreels/tumb.jpg);
}

#portfolio-section .card-tumb.paradisebingo{
    background-image: url(../images/paradisebingo/tumb.jpg);
}

#portfolio-section .card-tumb.albaportals{
    background-image: url(../images/alba/cover.webp);
}

#portfolio-section .card-tumb.pairrepair{
    background-image: url(../images/pairrepair/cover.png);
}

#portfolio-section .card-tumb.evil-tower{
    background-image: url(../images/evil-tower/cover.webp);
}

#portfolio-section .card.button .card-cover::before{
    content: '';
    position: absolute;

    height: 100%;
    width: 100%;

    opacity: 0;
    background-color: white;
    transition: all 150ms ease-out;
}

#portfolio-section .card.button:hover .card-cover::before{
    opacity: 0.1;
}

.card-content{
    padding: 20px;

    display: flex;
    justify-content: space-between;
    flex-direction: column;
    gap: 15px;
}

.card-content-text{
    display: flex;
    justify-content: start;
    flex-direction: column;
    gap: 10px;
}

.card-title{
    display: flex;
    flex-direction: column;
    gap: 0px;
}

.card-title h4{
    opacity: 0.6;
    font-weight: 500;
}

.card-tags{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
}

#contact-section .card{
    width: 770px;
}

#contact-section form{
    display: flex;
    flex-direction: column;
    gap: 20px;
}

#contact-section input, #contact-section textarea{
    height: 60px;
    padding: 20px 15px;
    
    background-color: var(--gray-100);
    border: none;
    border-left: 8px solid var(--gray-200);

    font-size: 20px;
    font-family: "Istok Web", sans-serif;
    color: var(--gray-400);
}

#contact-section textarea{
    height: 200px;
}

#contact-section input::placeholder, #contact-section textarea::placeholder{
    color: var(--gray-200);
}

#contact-section input:valid, #contact-section textarea:valid{
    border-color: var(--primary);
}

#contact-section input:not(:placeholder-shown):invalid, #contact-section textarea:not(:placeholder-shown):invalid{
    border-color: var(--tertiary-dark);
    color: var(--tertiary-dark);
}

@media (max-width: 800px) {

    #title-section .card{
        height: 80px;
    }
    
    #projects-list{
        display: flex;
        flex-direction: column;
        gap: 24px;
    }
    
}