table {
    border-collapse: collapse;
    margin: 0;
    padding: 0;
    width: 100%;
    table-layout: fixed;
    background: #fefefe;
    color: #000000;
    box-shadow: 0px 0px 20px rgb(26 26 26 / 34%);
}

table caption {
    font-size: 1.5em;
    margin: .5em 0 .75em;
    color: #f6f6f6;
}

table thead {
    background-image: linear-gradient(to left, #b15e9a, #8c4f9d, #dc74af, #9168ac, #3d63ae);
    border-bottom: none;
    color: #fff;
}

table tr {
    padding: .35em;
}

table tr:nth-child(even) {
    background: #f0f0f0;
}

/* table tbody tr:hover {
    background: linear-gradient(to right, #31196d, #6d1929, #db1e2d, #87000b, #8b0305);
    color: #ffffff;
} */

table th,
table td {
    padding: 5px;
    text-align: center;
    border: 3px solid #ffffff;
    font-size: 17px;
    font-weight: 400;
    box-shadow: 1px 1px 12px #00000038;
}

table th {
    font-size: 18px;
    text-transform: capitalize;
    font-weight: 700;
}

.subheading1 {
    color: rgb(0, 0, 0);
    font-size: 14px;
    font-weight: 600;
}

@media screen and (max-width: 600px) {
    table {
        border: 0;
    }

    table caption {
        font-size: 1.3em;
    }

    table thead th {
        display: none;
    }

    table tr {
        display: block;
    }

    table td {
        /* border-bottom: 1px solid #ddd; */
        display: block;
        text-align: left;
    }

    table td::before {
        content: attr(data-label);
        /* display: block; */
        display: inline;
        font-weight: light;
        text-transform: capitalize;
        font-size: 17px;
        margin-bottom: 0.6em;
        color: #de1f26;
        font-weight: 700;
        padding-right: 15px;
    }

}

.regbg tr{
    background-color: rgba(52, 52, 223, 0.89) !important;
    color: white;
}

.greenbg tr{
    background-color: rgba(0, 128, 0, 0.733)  !important;
    color: white; 
}
.purplebg tr{
    background-color: rgba(128, 0, 128, 0.644)  !important;
    color: white; 
}

.redbg tr{
    background-color: rgba(255, 0, 0, 0.801)   !important;
    color: white; 
}