@import url('../vars.css');


.proj-cur{
    display: flex;
    gap: 20px;
    align-items: center;
    margin-bottom: 100px;
    flex-wrap: wrap;
}
.proj-card{
    height: 280px;
    width: 32%;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    box-shadow: var(--drop-shadow-100);
}
.proj-card-img{
    position: absolute;
    width: auto;
    object-fit: cover;
    height: 100%;
    width: 100%;
    max-width: none;
}
.proj-banner-img img{
    height: 102%;
    object-fit: cover;
}
.proj-card-link{
    width: 100%;
    position: absolute;
    bottom: 32px;
    padding: 0 32px;
    color: #fff;
    font-family: var(--desktop-h5-font);
    font-size:  var(--desktop-h5-size);
    font-weight: var(--desktop-h5-weight);
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: flex-end;
}
.proj-card-link:hover{
    color: #fff;
    text-decoration: underline;
}
.proj-completed{
    display: flex;
    gap: 20px;
    align-items: center;
    margin-bottom: 100px;
    flex-wrap: wrap;
}
.proj-completed .proj-card{
    height: 300px;
}
.proj-card-back{
    position: absolute;
    height: 100%;
    width: 100%;
    background: rgba(249, 250, 251, 0.3);
}
.proj-card-year{
    position: absolute;
    left: 32px;
    top: 32px;
    width: fit-content;
    padding: 4px 12px;
    border-radius: 100px;
    border: 1px solid #fff;
    color: #fff;
    font-family: var(--desktop-body-font);
    font-size:  var(--desktop-body-size);
    font-weight: var(--desktop-body-weight);
}
.proj-card-link-cont{
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.proj-card-link-title{
    font-family: var(--desktop-h5-font);
    font-size:  var(--desktop-h5-size);
    font-weight: var(--desktop-h5-weight);
    color: #fff;
}
.proj-card-link-href{
    font-family: var(--desktop-body-font);
    font-size:  var(--desktop-body-size);
    font-weight: var(--desktop-body-weight);
    color: #fff;
}
.proj-card-link-href:hover{
    color: #fff;
    text-decoration: underline;
}
.proj-banner{
    margin-bottom: 100px;
    display: flex;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 269px;
    background: var(--primary-brand-2);
}
.proj-banner-img{
    position: absolute;
    left: 0;
}
.proj-banner-cont{
    position: absolute;
    right: 0;
    width: 70%;
    display: flex;
    align-items: center;
    background-image: linear-gradient(90deg, rgba(51, 102, 204, 0) 0%, rgba(51, 102, 204, 1) 20%, rgba(51, 102, 204, 1) 100%);
    padding-left: 300px;
}
.proj-banner-info{
    display: flex;
    height: 270px;
    width: 600px;
    justify-content: center;
    flex-direction: column;
    gap: 16px;
}
.proj-banner-info-title{
    font-family: var(--desktop-h4-font);
    font-size:  var(--desktop-h4-size);
    font-weight: var(--desktop-h4-weight);
    color: #fff;
}
.proj-banner-info-desc{
    font-family: var(--desktop-body-font);
    font-size:  var(--desktop-body-size);
    font-weight: var(--desktop-body-weight);
    color: #fff;
}
.proj-banner-link{
    width: fit-content;
    display: flex;
    align-items: center;
    gap: 8px;
    border-radius: 8px;
    background: #fff;
    padding: 8px 14px;
}
.proj-banner-logo{
    position: absolute;
    right: 0;
    top: 0;
}

@media screen and (max-width: 1620px) {
    .proj-card{
        width: 49%;
    }
    .proj-card-img{
        width: 100%;
    }
    .proj-banner-cont{
        padding-left: 200px;
    }
}
@media screen and (max-width: 1400px) {
    .proj-banner-img{
        left: -100px;
    }
    .proj-banner-cont{
        width: 80%;
    }
}
@media screen and (max-width: 1280px) {
    .proj-completed,
    .proj-cur{
        justify-content: space-between;
    }
    .proj-card{
        height: 350px;
        width: 48%;
    }
    .proj-completed .proj-card{
        height: 350px;
        width: 48%;
    }
    .proj-banner-info{
        width: 450px;
    }
}
@media screen and (max-width: 1024px) {
    .proj-card{
        width: 100%;
        height: 300px;
    }
    .proj-completed .proj-card{
        height: 300px;
        width: 100%;
    }
    .proj-banner{
        height: 550px;
    }
    .proj-banner-img{
        width: 102%;
        left: auto;
    }
    .proj-banner-img img{
        width: 100%;
    }
    .proj-banner-cont{
        background-image: linear-gradient(180deg, rgba(51, 102, 204, 0) 0%, rgba(51, 102, 204, 1) 25%, rgba(51, 102, 204, 1) 100%);
        right: auto;
        bottom: 0;
        width: 100%;
        padding: 32px;
    }
    .proj-banner-info{
        width: 100%;
        height: auto;
    }
    .proj-banner{
        height: 500px;
    }
}
@media screen and (max-width: 768px) {
    .proj-card-link img{
        height: 32px;
        width: 32px;
    }
    .proj-banner-logo{
        width: 104px;
    }
    .proj-banner{
        height: 720px;
    }
    .proj-banner-cont{
        height: 40%;
        align-items: flex-end;
    }
    .proj-banner-link{
        width: 100%;
        display: flex;
        justify-content: center;
    }
    .proj-cur{
        margin-bottom: 32px;
    }
    .proj-completed{
        margin-bottom: 32px;
    }
    .proj-banner{
        margin-bottom: 32px;
    }
}
@media screen and (max-width: 480px) {
    .proj-banner{
        height: 580px;
    }
    .proj-banner-cont{
        height: 70%;
        padding: 32px 12px;
    }
    .proj-card{
        height: 160px;
    }
    .proj-card-link{
        padding: 0 18px;
        bottom: 18px;
    }
    .proj-card-year{
        top: 18px;
        left: 18px;
    }
    .proj-completed .proj-card{
        height: 200px;
    }
}