/* Project Card ---------------------------------- */
.project-card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    .project-img {
        border-radius: 10px;
        overflow: hidden;
        z-index: 2;
        height: 100%;
        img {
            height: 100%;
            width: 100%;
            object-fit: cover;
            transition: 0.4s ease-in-out;
        }
        &:before {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            height: 0;
            width: 100%;
            background: linear-gradient(180deg, rgba(25, 24, 37, 0) 0%, #191825 100%);
            opacity: 0;
            transition: 0.4s ease-in-out;
            z-index: 1;
            border-radius: inherit;
        }
    }
    .project-content {
        position: absolute;
        left: 0;
        bottom: -100px;
        width: 100%;
        padding: 0 75px 30px 30px;
        z-index: 3;
        opacity: 0;
        transition: 0.4s ease-in-out;
    }
    .box-title2 {
        color: $white-color;
        margin-bottom: -0.3em;
        font-weight: 500;
        a:hover {
            color: $theme-color;
        }
    }
    .project-subtitle {
        font-weight: 500;
        margin-top: -0.45em;
        margin-bottom: 10px;
        color: $theme-color;
    }
    .project-btn {
        position: absolute;
        right: -136px;
        bottom: -136px;
        @include equal-size(136px);
        background-color: $theme-color;
        color: $white-color;
        font-size: 24px;
        padding: 36px 32px;
        border-radius: 50%;
        z-index: 3;
        &:after,
        &:before {
            content: '';
            position: absolute;
            top: 0;
            left: -9px;
            width: 100%;
            height: 100%;
            background-color: $white-color;
            border-radius: inherit;
            z-index: -1;
            transition: 0.3s ease-in-out;
        }
        &:after {
            background-color: $theme-color;
            inset: 0;
        }
        &:hover {
            &:before {
                background-color: $title-color;
                left: 0;
            }
            &:after {
                top: -9px;
                left: 0;
                z-index: -2;
            }
        }
    }
    &:hover {
        .project-img {
            img {
                transform: scale(1.1);
            }
            &:before {
                height: 100%;
                opacity: 1;
            }
        }
        .project-content {
            bottom: 0;
            opacity: 1;
        }
        .project-btn {
            right: -58px;
            bottom: -47px;
        }
    }
}