
h3 {
    font-family: 'Arial', sans-serif;
    font-size: 24px;
    text-align: center;
    color: #333;
    margin-top: 20px;
}
.table-container{
display:flex;
justify-content:center;
}
table {
    width: 80%;
    border-collapse: collapse;
    margin: 20px 0 0 40px;
    font-family: Arial, sans-serif;
}

th, td {
    padding: 10px;
    border: 1pxsolid #ddd;
    text-align: center;
}

th {
    background-color: #004f94;
    color: #ffd100;
    font-weight: bold;
}

td {
    background-color: #f9f9f9;
}

@media screen and (max-width: 768px) {
    table, thead, tbody, th, td, tr {
        display: block;
    }

    thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    tr {
        margin-bottom: 10px;
        border-bottom: 2px solid #ddd;
    }

    td {
        border: none;
        border-bottom: 1px solid #ddd;
        position: relative;
        padding-left: 70% !important;
        text-align: left;
        font-size: 12px;
    }

    td:before {
        position: absolute;
        left: 10px;
        width: 45%;
        padding-right: 10px;
        white-space: nowrap;
        font-weight: bold;
    }

td:nth-of-type(1):before { content: "Model Number"; }
td:nth-of-type(2):before { content: "Cylinder Capacity (tons)"; }
td:nth-of-type(3):before { content: "Stroke (mm)"; }
td:nth-of-type(4):before { content: "Oil Capacity (cm³)"; }
td:nth-of-type(5):before { content: "Collapsed Height (mm)"; }
td:nth-of-type(6):before { content: "Extended Height (mm)"; }
td:nth-of-type(7):before { content: "Outside Dia. (mm)"; }
td:nth-of-type(8):before { content: "Cylinder Bore Dia. (mm)"; }
td:nth-of-type(9):before { content: "Plunger Internal Thread (inch)"; }
td:nth-of-type(10):before { content: "Center Hole (mm)"; }
td:nth-of-type(11):before { content: "Weight (kg)"; }

    
}

/* For larger screens */
@media screen and (min-width: 769px) {
    th, td {
        padding: 6px;
        font-size: 14px;
    }
      table {
    width: 80%;
    border-collapse: collapse;
    margin: 0px 0 20px 0px;
    font-family: Arial, sans-serif;
}
}