/* General Styles */
body {
    background-color: #f8f8f8;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: #222;
}

h1 {
    text-align: center;
    font-size: 2em;
    margin: 20px 0;
    color: #333;
}

.table_container {
    width: 80%;
    margin: 20px auto;
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.table1 {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
}

.printtext {
    display: none;
}

.table1 caption {
    margin-bottom: 15px;
    font-size: 1.2em;
    color: #555;
    text-align: left;
    padding: 10px;
}

.table1 th {
    background-color: #3f51b5;
    color: white;
    padding: 10px;
    text-transform: uppercase;
}

.table1 td {
    padding: 10px;
    border: 1px solid #ddd;
}

.table1 tbody tr:nth-child(even) {
    background-color: #f2f2f2;
}

.table1 tbody tr:nth-child(odd) {
    background-color: #ffffff;
}

.table1 tbody tr td strong {
    color: #d32f2f;
    font-weight: bold;
}

/* Responsive Design */
@media (max-width: 768px) {
    .table_container {
        width: 95%;
    }

    h1 {
        font-size: 1.5em;
    }

    .table1 caption {
        font-size: 1em;
    }
}


@media print {
    h1 {
        text-transform: lowercase;
        letter-spacing: .5em;
        margin: 24px 0;
        color: black;
    }
    
    .table_container {
        width: 100%; margin: 10px auto;
        border: 0px solid firebrick;
        background-color: #fff;
        box-shadow: none;
    }
    
    .table1 {
        color: #222;
    }

    .printtext {
        display: inline;
    }
    

    
    .table1 thead {
        background-color: #fff;
        color: #222;
        font-size: 24pt;
    }
    
    
    .table1 tbody tr:nth-child(even) {
        background-color: #fff; color: #222;
    }
    
    .table1 tbody tr:nth-child(odd) {
        background-color: #fff; color: #222;
    }
    
    
}