.banner-cases {
    position: relative;
    z-index: 10;
}
.banner-cases::before {
    position: absolute;
    left: 0;
    top: 0px;
    width: 100%;
    height: 100%;
    background-image: url(../../images/custom/background-cases.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    margin-top: 0px;
    content: "";
}

.card-case-one {
    position: relative;
    width: 100%;
    height: 450px;
    max-height: 450px;
    background-image: url(../../images/custom/banner-cases-one.png);
    background-size: cover;
    border-radius: 6px;
    overflow: hidden;
}

.card-case-one::before {
    position: absolute;
    content: '';
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background-image: url(../../images/custom/background-cases.png);
    background-size: cover;
    z-index: 10;
}

.card-case-one::after {
    position: absolute;
    content: '';
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background-color: #173248a1;
}

.card-case-one .content {
    position: absolute;
    bottom: 65px;
    left: 45px;
    z-index: 1;
    max-width: 395px;
}

.card-case-one .content .title {
    font-size: 48px;
    margin-bottom: 20px;
}

.card-case-one .content p {
    font-size: 24px;
    color: #9BC0C1 !important;
}

.card-case {
    width: 100%;
    height: 670px;
    max-height: 670px;
    background-size: cover;
    border-radius: 6px;
    overflow: hidden;
    padding: 10px;
    position: relative;
}
.card-case-two {
    background-image: url(../../images/custom/banner-cases.png);
}

.card-case-three {
    background-image: url(../../images/custom/banner-cases-3.png);
}

.card-case-four {
    background-image: url(../../images/custom/banner-cases-4.png);
}

.card-case::after {
    position: absolute;
    content: '';
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(210, 129, 106, 0.224);
    transition: all ease-in-out 0.3s;
}

.card-hover:hover > .card-case::after  {
    background-color: transparent;
}

.card-case .content {
    position: absolute;
    z-index: 20;
}

.card-case .content .title {
    color: var(--accent-color);
}

.card-case .content p {
    color: var(--secondary-color);
    font-weight: bold;
}

@media only screen and (min-width: 425px) {
    .card-case .content p {
        max-width: 250px;
    }
}

@media only screen and (max-width: 425px) {
    .card-case-one .content {
        left: 12px;
        right: 12px;
    }

    .card-case-one .content .title {
        font-size: 24px;
        margin-bottom: 10px;
    }

    .card-case-one .content p {
        font-size: 16px;
    }
}