.raboti-flex {
    display: flex;
    column-gap: 20px;
    row-gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

main {
    min-height: calc(100svh - 450px);
}

.raboti-card {
    width: 280px;
    height: 280px;
    position: relative;
    transition: 0.3s;
    overflow: hidden;
}

.raboti-card img {
    position: absolute;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.4s;
}

.grey-title-bg {
    z-index: 2;
    position: absolute;
    margin-left: auto;
    margin-right: auto;
    bottom: 20px;
    border-radius: 5px;
    background-color: rgba(27, 27, 27, 0.8);
    padding: 10px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;
    text-align: center;
    width: 100%;
    transition: 0.3s;
}

.raboti-card:hover .grey-title-bg {
    color: #ff7b06;
    transition: 0.3s;
}

.raboti-card:hover {
    box-shadow: 6px 6px 8px 4px #ff7a0650;
    transition: 0.3s;
}

.raboti-card:hover img {
    scale: 1.2;
    transition: 0.4s;
}

@media (max-width: 1200px) {
    .raboti-card {
        width: 313px;
        height: 313px;
    }
}


@media(max-width: 1000px) {
    .raboti-flex {
        justify-content: flex-start;
    }

    .raboti-card {
        width: 245px;
        height: 245px;
    }
}


@media(max-width: 800px) {
    .raboti-flex {
        justify-content: space-around;
    }
}