.text-cards--homepage {
    padding-top: 75px;
}

.text-cards__headlines {
    text-align: center;
    padding-bottom: 10px;
}

.text-cards__bttn {
    margin-top: 30px;
}

.text-cards__headlines h2 {
    margin-bottom: 0;
}

.text-cards__headlines h2 span {
    font-weight: 800;
}

.text-card-item {
    margin-top: 15px;
}

.text-card {
    border-radius: 20px;
    border: 2px solid #594B1A;
    background: radial-gradient(190.62% 141.42% at 0% 100%, rgba(89, 75, 26, 0.25) 0%, rgba(7, 5, 4, 0.25) 100%);
    padding: 12px 18px;
    text-align: center;
}

.text-cards--homepage .text-card strong,
.text-card p span {
    color: #51CCFF;
    font-weight: 700;
}

.text-card-main--content {
    position: relative;
    overflow: hidden;
}


@media (min-width: 768px) {
    .text-cards--homepage {
        padding-top: 100px;
    }

    .text-cards__headlines {
        text-align: left;
        padding-bottom: 30px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }


    .text-cards__headlines h2 span {
        font-weight: 900;
    }

     .text-card-flex {
        column-gap: 32px;
        -webkit-column-count: 2;
        column-count: 2;
    }

    .text-card-item {
        margin-top: 0;
        margin-bottom: 30px;
        break-inside: avoid;
        -webkit-column-break-inside: avoid; /* Safari */
        page-break-inside: avoid;
    }

    .text-card {
        padding: 30px 37px;
    }

    .text-card p {
        font-size: 20px;
    }

    .text-card-item:nth-child(2n) .text-card {
        background: radial-gradient(190.62% 141.42% at 0% 100%, rgba(7, 5, 4, 0.25) 0%, rgba(89, 75, 26, 0.25) 100%);
    }

}

@media (min-width: 1200px) {
    .text-cards--homepage {
        padding-top: 150px;
    }

    .text-cards__headlines {
        padding-bottom: 50px;
    }

     .text-card-flex {
        -webkit-column-count: 4;
        column-count: 4;
    }

    .text-card-item {
        margin-bottom: 31px;
    }

    .text-card {
        padding: 29px 37px;
    }



    .text-card--break p  span {
        display: block;
    }

    .text-cards__left {
        position: absolute;
        bottom: 31px;
        left: -214px;
        height: 308px;
    }

    .text-cards__right {
        position: absolute;
        bottom: 31px;
        right: -214px;
        height: 308px;
    }

    .text-card p {
        font-size: 17px;
    }

    .text-card--break p {
        font-size: 18px;
    }
}



@media (min-width: 1367px) {
    
    .text-card p,
    .text-card--break p {
        font-size: 24px;
    }
    
    .text-cards__left {
        left: -296px;
        height: auto;
    }

    .text-cards__right {
        right: -298px;
        height: auto;
    }
}

.text-cards__wrap {
    position: relative;
}

