* { margin: 0; padding: 0; box-sizing: border-box; font-family: sans-serif; } table { width: 99%; border: 1px solid black; margin-left: auto; margin-right: auto; margin-top: 4px; border-collapse: collapse; text-align: center; } .header { background-color: rgb(0, 38, 255); font-size: 1.3em; justify-content: space-between; padding: 5px 5px; color: white; } tr { border: 1px solid black; } th { padding: 15px 5px; border: 1px solid black; } td { padding: 10px 10px; font-size: 1.1em; border: 1px solid black; } tr:nth-child(even) { background-color: #dddddd; } button { padding: 5px; border: 1px solid black; } button:hover { background-color: rgb(11, 179, 11); color: white; }