.kard {
    max-width: 1512px;
    height: auto;
    margin: 0 auto;
    padding: 100px 40px;
}
.kard-grid {
    display: grid;
    grid-template-columns: repeat(4, 343px);
    justify-content: center;
    gap: 20px;
}
.kard-item {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
    padding: 0px 0px 20px 0px;

    box-sizing: border-box;
    border: 1px solid rgba(193, 193, 193, 0.7);
    border-radius: 3px;

    img{
        width: 100%;
        max-height: 322px;
    }

    h4{
        color: rgba(1, 55, 159, 1);
        font-size: clamp(1.125rem, 1.094rem + 0.17vw, 1.25rem);
        font-weight: 700;
        line-height: 24px;
        letter-spacing: 0%;
        text-align: center;
        text-transform: uppercase;
    }

    p{
        color: rgba(1, 55, 159, 1);
        font-size: clamp(0.875rem, 0.813rem + 0.33vw, 1.125rem);
        font-weight: 400;
        line-height: 22px;
        letter-spacing: 0%;
        text-align: center;
    }
}
.kard-item__title{
    width: 95%;
    margin: 0 auto;
}
@media (max-width: 1450px) {
    .kard-grid {
        display: grid;
        grid-template-columns: repeat(4, 300px);
        justify-content: center;
        gap: 20px;
    }
}
@media (max-width: 1300px) {
    .kard-grid {
        display: grid;
        grid-template-columns: repeat(4, 270px);
        justify-content: center;
        gap: 20px;
    }
}
@media (max-width: 1200px) {
    .kard-grid {
        grid-template-columns: repeat(2, 1fr);
        justify-content: center;
    }
    .kard{
        padding: 50px 10px;
    }
    .kard-item{
        img{
            width: 100%;
            max-height: 370px;
        }
    }
}
@media (max-width: 600px) {
    .kard-grid {
        grid-template-columns: 1fr;
        justify-content: center;
    }
    .kard-item {
        width: 100%;
        max-width: 343px;
        margin: 0 auto;
    }
}
