/*https://www.youtube.com/watch?v=g_UtsCOqHvo*/
body{
    font-family: monospace;
}
.container{
    width: 100%;
    max-width: 1300px;
    margin: auto;
}
.table{
    width: 100%;
    border: 1px solid #ccc;
    border-collapse: collapse;
    margin: 0;
    padding: 0;
    table-layout: fixed;
}
.table caption{
    font-size: 20px;
    text-transform: uppercase;
    font-weight: bold;
    margin: 8px 0px;
}
.table tr{
    background-color: #f8f8f8;
    border: 1px solid #ddd;
}
.table th, .table td{
    font-size: 13px;
    padding: 8px;
    text-align: center;
}
.table thead th{
    text-transform: uppercase;
    background-color: #ddd;

}
.table tbody tr:hover{
    background-color: rgba(0, 0, 0, 0.2);
}
.table tbody td:hover{
    background-color: rgba(0, 0, 0, 0.1);
}
@media screen and (max-width:600px){
    .table{
        border: 0px;
    }
    .table caption{
        font-size: 22px;
    }
    .table thead{
        display: none; /*quita los tiputos de la tabla*/
    }
    .table tr{
        margin-bottom: 8px;
        border-bottom: 4px solid #ddd;
    }
    .table th .table td{
        font-size: 12px;
    }
    .table td{
        display: block;
        border-bottom: 1px solid #ddd;
        text-align: right;
    }
    .table td:last-child{
        border-bottom: 0px;
    }
    .table td:before{
        content: attr(data-label);
        font-weight: bold;
        text-transform: uppercase;
        float: left;
    }
}