.container {
    padding-top: 1.5em;
    padding-bottom: 1.5em;
}


/* Table index style */
.index-table {
    border: 1px solid #ccc;
    border-collapse: collapse;
    margin: 0;
    padding: 0;
    width: 100%;
    table-layout: fixed;
}

.index-table caption {
    font-size: 1.5em;
    margin: .5em 0 .75em;
}

.index-table tr {
    background-color: #f8f8f8;
    border: 1px solid #ddd;
    padding: .35em;
}

.index-table th,
.index-table td {
    padding: .625em;
    text-align: left;
}

.index-table thead tr {
    background-color: rgb(5, 26, 38);
}

.index-table th {
    color: white;
    font-size: .85em;
    letter-spacing: .1em;
    text-transform: uppercase;
}

@media screen and (max-width: 600px) {
    .index-table {
        border: 0;
        width: 50vw;

        background-color: red;
    }

    .index-table caption {
        font-size: 1.3em;
    }

    .index-table thead {
        border: none;
        clip: rect(0 0 0 0);
        height: 1px;
        margin: -1px;
        overflow: hidden;
        padding: 0;
        position: absolute;
        width: 1px;
    }

    .index-table tr {
        border-bottom: 3px solid #ddd;
        display: block;
        margin-bottom: .625em;
    }

    .index-table td {
        border-bottom: 1px solid #ddd;
        display: block;
        font-size: .8em;
        text-align: right;
    }

    .index-table td::before {
        /*
    * aria-label has no advantage, it won't be read inside a table
    content: attr(aria-label);
    */
        content: attr(data-label);
        float: left;
        font-weight: bold;
        text-transform: uppercase;
    }

    .index-table td:last-child {
        border-bottom: 0;
    }
}