:root {
    --base00: #657b83;
    --base2: #eee8d5;
    --base3: #fdf6e3;
    --blue: #268bd2;
    --orange: #cb4b16;
    --red: #dc322f;

    --card-width: 100px;
    --card-height: 160px;
}

html {
    background-color: var(--base3);
    color: var(--base00);
}

a {
    color: var(--base00);
}

body {
    max-width: 30cm;
    margin: auto;
}

h1 {
    color: var(--orange);
}

h2 {
    color: var(--blue);
    margin-top: 80px;
}

h3 {
    margin-top: 60px;
}

table {
    border: 1px solid var(--blue);
    border-collapse: collapse;
    width: 100%;
}

th,
td {
    padding: 16px;
}

th {
    background-color: var(--base2);
}

li {
    margin-bottom: 16px;
}

.card {
    display: inline-block;
    width: var(--card-width);
    height: var(--card-height);
    margin-right: 8px;
    margin-bottom: 8px;
    border-radius: 5px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.4);
    transition: 0.3s;
}

.card:hover {
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.4);
}

.card img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    border-radius: 5px;
}

.deck {
    margin-right: 8px;
    margin-bottom: 8px;
    display: inline-block;
}

.deck .card {
    position: relative;
    float: left;
    display: inline;
    margin-right: auto;
}

.deck .card:not(:first-child) {
    margin-left: calc(2px - var(--card-width));
}

.deck > *:nth-child(1) {
    margin-top: 2px;
}
.deck > *:nth-child(2) {
    margin-top: 4px;
}
.deck > *:nth-child(3) {
    margin-top: 6px;
}
.deck > *:nth-child(4) {
    margin-top: 8px;
}
.deck > *:nth-child(5) {
    margin-top: 10px;
}
.deck > *:nth-child(6) {
    margin-top: 12px;
}
.deck > *:nth-child(7) {
    margin-top: 14px;
}
.deck > *:nth-child(8) {
    margin-top: 16px;
}
.deck > *:nth-child(9) {
    margin-top: 18px;
}
.deck > *:nth-child(10) {
    margin-top: 20px;
}
.deck > *:nth-child(11) {
    margin-top: 22px;
}
.deck > *:nth-child(12) {
    margin-top: 24px;
}
.deck > *:nth-child(13) {
    margin-top: 26px;
}
.deck > *:nth-child(14) {
    margin-top: 28px;
}
.deck > *:nth-child(15) {
    margin-top: 30px;
}
.deck > *:nth-child(16) {
    margin-top: 32px;
}
.deck > *:nth-child(17) {
    margin-top: 34px;
}
.deck > *:nth-child(18) {
    margin-top: 36px;
}
.deck > *:nth-child(19) {
    margin-top: 38px;
}
.deck > *:nth-child(20) {
    margin-top: 40px;
}
.deck > *:nth-child(21) {
    margin-top: 42px;
}
.deck > *:nth-child(22) {
    margin-top: 44px;
}
.deck > *:nth-child(23) {
    margin-top: 46px;
}
.deck > *:nth-child(24) {
    margin-top: 48px;
}
.deck > *:nth-child(25) {
    margin-top: 50px;
}
.deck > *:nth-child(26) {
    margin-top: 52px;
}
.deck > *:nth-child(27) {
    margin-top: 54px;
}
.deck > *:nth-child(28) {
    margin-top: 56px;
}
.deck > *:nth-child(29) {
    margin-top: 58px;
}
.deck > *:nth-child(30) {
    margin-top: 60px;
}
.deck > *:nth-child(31) {
    margin-top: 62px;
}
.deck > *:nth-child(32) {
    margin-top: 64px;
}
.deck > *:nth-child(33) {
    margin-top: 66px;
}
.deck > *:nth-child(34) {
    margin-top: 68px;
}
.deck > *:nth-child(35) {
    margin-top: 70px;
}
.deck > *:nth-child(36) {
    margin-top: 72px;
}
.deck > *:nth-child(37) {
    margin-top: 74px;
}
.deck > *:nth-child(38) {
    margin-top: 76px;
}
.deck > *:nth-child(39) {
    margin-top: 78px;
}
.deck > *:nth-child(40) {
    margin-top: 80px;
}
.deck > *:nth-child(41) {
    margin-top: 82px;
}
.deck > *:nth-child(42) {
    margin-top: 84px;
}
.deck > *:nth-child(43) {
    margin-top: 86px;
}
.deck > *:nth-child(44) {
    margin-top: 88px;
}
.deck > *:nth-child(45) {
    margin-top: 90px;
}
.deck > *:nth-child(46) {
    margin-top: 92px;
}
.deck > *:nth-child(47) {
    margin-top: 94px;
}
.deck > *:nth-child(48) {
    margin-top: 96px;
}
.deck > *:nth-child(49) {
    margin-top: 98px;
}
.deck > *:nth-child(50) {
    margin-top: 100px;
}
.deck > *:nth-child(51) {
    margin-top: 102px;
}
.deck > *:nth-child(52) {
    margin-top: 104px;
}
.deck > *:nth-child(53) {
    margin-top: 106px;
}
.deck > *:nth-child(54) {
    margin-top: 108px;
}
.deck > *:nth-child(55) {
    margin-top: 110px;
}
.deck > *:nth-child(56) {
    margin-top: 112px;
}
.deck > *:nth-child(57) {
    margin-top: 114px;
}
.deck > *:nth-child(58) {
    margin-top: 116px;
}
.deck > *:nth-child(59) {
    margin-top: 118px;
}
.deck > *:nth-child(60) {
    margin-top: 120px;
}

.error,
.warning {
    border-radius: 8px;
    background-color: var(--base2);
    padding: 8px;
    margin: 32px 0;
}

.error {
    border: 2px solid var(--red);
}

.warning {
    border: 1px solid var(--orange);
}
