figure img { display: block; margin-left: auto; margin-right: auto; } /* Styling of tables */ table { border-collapse: collapse; } table, th, td { border: 1px solid black; } th { background-color: #4CAF50; color: white; } tr:nth-child(even) {background-color: #f2f2f2;} h1 { font-size: 31px; } h2 { font-size: 22px; }