:root {
    --bg: white;
    --main1: black;
    --main2: gray;
    --hover: lightgray;
}

body {
    font-family: "Source Sans Pro", sans-serif;
    margin: 0;
    background: var(--bg);
}

header, footer {
    background: var(--main1);
    color: var(--bg);
    padding: 32px;
}

main {
    max-width: 960px;
    margin: 0 auto;
    padding: 40px 24px;
}

table {
    margin: 0;
    border-collapse: collapse;
    width: auto;
}

td {
    height: 128px;
}


th, td {
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 10px;
    padding-right: 5px;
    border-radius: 10px;
}

tr:nth-child(even) td:nth-child(even),
tr:nth-child(odd) td:nth-child(odd),
th:nth-child(even){
    background-color: var(--bg);
    color: var(--main1);
}

tr:nth-child(odd) td:nth-child(odd),
tr:nth-child(even) td:nth-child(even),
th:nth-child(odd) {
    background-color: var(--main1);
    color: var(--bg);
}

tr:nth-child(even) td:nth-child(even) img,
tr:nth-child(odd) td:nth-child(odd) img {
    filter: grayscale(1) invert(1);
}

tr:hover {
    background-color: var(--hover);
}

.container{
    display: flex;
}

.left-part{
    padding: 15px;
}

.right-part {
    border-radius: 10px;
    background-color: var(--main1);
    color: var(--bg);
    padding: 15px;
}

h2, p, form{
    border-radius: 10px;
    background-color: var(--main1);
    padding: 15px;
    color: var(--bg);
}
