tr:not(:last-child) td,
tr:not(:last-child) th {
    border-style: dashed;
    border-color: var(--primary-color);
}
tr:last-child td,
tr:last-child th {
    border-style: none;
}
td, th, tr, table{
    background-color: var(--secondary-color) !important;
}

@media (max-width: 560px){
    p {
        font-size: small;
    }
    table td{
        font-size: small;
    }
    table th{
        font-size: small;
    }
}

@media (max-width: 450px) {
    .service-item .text-container {
        left: 3%;
    }
    .service-item a {
        height: 150px;
    }
    .service-item img {
        margin-top: 20px;
        height: 150px;
    }
}
.service-item {
    overflow: hidden;
    position: relative;
    display: flex !important;
    flex-direction: column;
    border-radius: 1rem;
}

.service-item > p{
    margin:  1rem .5rem .5rem .5rem;
    font-weight: 300;
    color: var(--primary-color);
    font-size: small;
    text-align: justify
}

.service-item a {
    width: 100%;
    height: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.service-item img {
    position: absolute;
    top: 1%;
    width: 100%;
    height: 250px;
    object-fit: cover;
    object-position: center;
    min-width: 100%;
    clip-path: url(#slantedRectangle);
    -webkit-clip-path: url(#slantedRectangle);
    border-radius: 1rem 2rem 1rem 1rem;
}

.service-item picture {
    height: auto;
    width: 100%;
}
.service-item .text-container {
    position: absolute;
    overflow: hidden;
    top: 0;
    right: 0;
    left: 0;
    padding: .5rem 1rem 3rem 4rem;
    font-size: medium;
    font-weight: 700;
    z-index: 3;
    background: transparent;
    align-items: flex-end;
    justify-content: right;
    display: flex;
}
.service-item h5 {
    color: var(--primary-color);
    text-decoration: none;
    font-size: medium;
    font-weight: 700;
    text-align: right;
    width: 60%;
    background: transparent;
}
