* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Georgia, 'Times New Roman', Times, serif;
    background-color: white;
    color: #333;
}


header {
    text-align: center;
    margin-bottom: 30px;
}

h1 {
    font-size: 2.2em;
    color: #1e3a8a;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}


table {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto 0px;    
    border-collapse: collapse;
    background-color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    border: 2px solid #1e3a8a;
}

th, td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
    border-right: 1px solid #ddd;
    
}

th:last-child, td:last-child {
    border-right: none; 
}

th {
    background-color: #000000; 
    color: #fff;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 1em;
   

}

tr:nth-child(even) {
    background-color: #f9f9f9; 
}

tr:hover {
    background-color: #f1c40f; 
}

td:nth-child(1), th:nth-child(1) {
    width: 20%; 
}

td:nth-child(2), th:nth-child(2) {
    width: 40%; 
}

td:nth-child(3), th:nth-child(3) {
    width: 25%; 
}

td:nth-child(4), th:nth-child(4) {
    width: 15%; 
}


@media screen and (max-width: 768px) {
    h1 {
        font-size: 1.6em;
    }

    table, thead, tbody, th, td, tr {
        display: block;
        
    }

    thead {
        display: none; 
    }

    tr {
        margin-bottom: 15px;
        border: 1px solid #000000;
        border-radius: 5px;
    }

    td {
        border: none;
        position: relative;
        padding-left: 50%;
        font-size: 0.9em;
        
    }

    td:before {
        content: attr(data-label);
        position: absolute;
        left: 10px;
        width: 45%;
        font-weight: bold;
        color: #000000;
        
    }
}


table {
    animation: fadeIn 1s ease-in; 

}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
