:root{
    --customCursor: url("../img/customCursorDark.svg"), auto;
    --customCursorEn: url("../img/customCursorDarkEn.svg"), auto;
}
/* main */
main{
    display: flex;
    flex-direction: column;
    gap: .75rem;
}
.portfolio-header{
    text-align: center;
    margin-bottom: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}
.portfolio-title{
    font-size: 2.75rem;
    font-weight: var(--weight-semiBold);
    color: var(--color-text-primary);
}
.portfolio-description{
    font-size: 1.125rem;
    color: var(--color-text-secondary);
    max-width: 70%;
    font-weight: 300;
}
.projects-grid{
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    flex-wrap: wrap;
    gap: 1.25rem;
}
.project-card{
    max-width: 100%;
    grid-column: span 2;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: .5rem .5rem 1rem .5rem;
    /* padding: 1rem; */
    background-color: var(--color-bg-muted);
    border-radius: 1.25rem;
}
.project-card:nth-child(4):last-child {
    grid-column: span 6;
}
.project-card:nth-child(4):nth-last-child(2) {
    grid-column: span 3;
}
.project-card:nth-child(5):last-child {
    grid-column: span 3;
}
.card-image-wrapper{
    width: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    transition: .3s ease-in-out;
}
.card-image-wrapper img{
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    transition: .3s ease-in-out;
}
.card-content{
    padding: 0 .5rem 0 .5rem;
}
:lang(cs-CZ) .card-image-wrapper img:hover{
    cursor: var(--customCursor);
}
:lang(en) .card-image-wrapper img:hover{
    cursor: var(--customCursorEn);
}
.card-image-wrapper:hover img{
    transform: scale(1.05);
}
.project-title{
    font-weight: var(--weight-medium);
    margin-bottom: .5rem;
    color: var(--color-text-primary);
}
.project-desc{
    color: var(--color-text-secondary);
    margin-bottom: .5rem;
    font-size: 1rem;
    font-weight: 300;
}
.tech-stack{
    list-style: none;
    display: flex;
    justify-content: flex-start;
    flex-direction: row;
    flex-wrap: wrap;
    gap: .625rem;
}
.tech-stack li{
    padding: .125rem 1rem;
    border: 1px solid var(--color-accent-primary);
    border-radius: 20px;
    color: var(--color-text-btn);
    background-color: var(--color-accent-primary);
}