.project-cards {
    position: relative;
    overflow: hidden;
    border-radius: 1.25rem;
    background: rgba(100, 100, 100, 0.5);
    backdrop-filter: blur(0.3125rem);
    box-shadow: 0.625rem 1.25rem 1.125rem -0.5rem rgba(0, 0, 0, 0.5);
    grid-gap: 1.875rem;
    place-items: center;
    padding: 1.25rem 1.25rem 3.125rem;
    width: 75%;
    height: fit-content;
    max-width: 75.0rem;
    margin-right: 1em;
    margin-left: 1em;
    display: grid;
    opacity: 0;
    grid-template-columns: repeat(3, 1fr);
    justify-content: center;
    -webkit-justify-content: center;
    transition: opacity 0.3s, transform 0.3s ease, grid-template-columns 0.3s;
}

.project-cards .cards-title {
    font-family: 'montserratsemibold', serif;
    font-size: 1.6em;
    font-weight: 1000;
    letter-spacing: 0.1875rem;
    grid-column: 1 / -1;
    padding: 0.625rem;
    background: radial-gradient(circle, rgba(255, 255, 255, 1.0), rgba(200, 200, 200, 1.0), rgba(255, 255, 255, 1.0)), rgba(200, 200, 200, 1.0);
    background-size: 600% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientAnimation 30s infinite;
}

@media screen and (min-width: 125.0rem) {
    .project-cards .cards-title {
        transform: scale(1.2);
    }
}

@media screen and (max-width: 125.0rem) {
    .project-cards {
        transform: scale(0.9);
        grid-template-columns: repeat(3, minmax(6.25rem, 1fr));
    }
}

@media screen and (max-width: 87.5rem) {
    .project-cards {
        transform: scale(0.8);
        grid-template-columns: repeat(3, minmax(6.25rem, 1fr));
    }

    .project-cards .card {
        margin-top: -3rem;
        margin-bottom: -3rem;
        transform: scale(0.8);
    }
}

@media screen and (max-width: 68.75rem) {
    .project-cards {
        transform: scale(0.8);
        grid-template-columns: repeat(2, minmax(6.25rem, 1fr));
    }

    .project-cards .card {
        margin-top: -3rem;
        margin-bottom: -3rem;
        transform: scale(0.8);
    }
}

@media screen and (max-width: 45.0rem) {
    .project-cards {
        transform: scale(0.8);
        grid-template-columns: repeat(1, minmax(6.25rem, 1fr));
        width: 20rem;
    }

    .project-cards .card {
        margin-top: -3rem;
        margin-bottom: -3rem;
        transform: scale(0.8);
    }
}

.project-cards .card {
    position: relative;
    margin-right: 1rem;
    margin-left: 1rem;
    width: 20.0rem;
    height: 28.125rem;
    background: rgba(100, 100, 100, 0.5);
    backdrop-filter: blur(0.3125rem);
    border-radius: 1.25rem;
    overflow: hidden;
    left: 0;
    box-shadow: 0.625rem 1.25rem 1.125rem -0.5rem rgba(0, 0, 0, 0.5);
    --after-content: "";
    --after-transform: translateX(-50%) translateY(33%) rotate(-25deg);
}

.project-cards .card:after {
    content: var(--after-content);
    transform: var(--after-transform);
    position: absolute;
    z-index: 1;
    font-size: 12em;
    font-weight: 800;
    font-family: 'Avenir', sans-serif;
    color: rgba(0, 150, 255, 0.3);
}

.project-cards .card .imgBx {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    width: 100%;
    height: 13.75rem;
    z-index: 2;
    transition: 0.5s;
}

.project-cards .card:hover .imgBx {
    top: 7%;
    transform: translateY(0%) scale(0.9, 0.9);
}

.project-cards .card .imgBx img {
    position: absolute;
    border-radius: 1.25rem;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 16.25rem;
}

.project-cards .card .contentBx {
    position: absolute;
    bottom: 0;
    top: 75%;
    width: 100%;
    height: 6.25rem;
    text-align: center;
    transition: 1s;
    z-index: 10;
}

.project-cards .card:hover .contentBx {
    height: 13.125rem;
    top: 55%;
}

.project-cards .card .contentBx h2 {
    font-family: 'montserratsemibold', serif;
    position: relative;
    top: 12%;
    z-index: 2;
    font-weight: 600;
    letter-spacing: 0.125rem;
    color: #fff;
    margin: 0;
}

.project-cards .card .contentBx .card-desc,
.cards .card .contentBx .color {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.875rem 1.25rem;
    transition: 0.5s;
    opacity: 0;
    margin-top: 0.9375rem;
    visibility: hidden;
}

.project-cards .card:hover .contentBx .card-desc {
    opacity: 1;
    padding: 1.25rem 1.25rem;
    visibility: visible;
    transition-delay: 0.3s;
}

.project-cards .card:hover .contentBx .color {
    opacity: 1;
    visibility: visible;
    transition-delay: 0.6s;
}

.project-cards .card .contentBx .card-desc h3,
.cards .card .contentBx .color h3 {
    font-family: 'montserratsemibold', sans-serif;
    color: #fff;
    z-index: 2;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.0625rem;
    margin-right: 0.625rem;
}

.project-cards .card .contentBx a {
    display: inline-block;
    padding: 0.625rem 1.25rem;
    background: #fff;
    border-radius: 0.625rem;
    margin-top: -1.5625rem;
    text-decoration: none;
    font-weight: 600;
    color: #1a1a1a;
    opacity: 0;
    z-index: 2;
    transform: translateY(3.125rem);
    transition: 0.5s;
}

.project-cards .card:hover .contentBx a {
    opacity: 1;
    transform: translateY(0);
}

.project-cards .card .contentBx a:hover {
    background: rgba(200, 200, 200, 0.8);
    color: #1a1a1a;
}

@keyframes blend-in-proj {
    from {
        opacity: 0;
        transform: translateY(3.125rem);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.blend-in-projects {
    animation: blend-in-proj 3s forwards;
}
