Испытание: первая раскладка

Помогите советом. Результат немного сдвинут влево. Как это исправить?

li:nth-child(n){
margin-left: -15px;
}

li:nth-child(n):not(:nth-child(5)) {
width: 36px;
height: 54px;
}

li:nth-child(8n-3){
margin-right: 30px;
margin-left: 15px;
}

ul:not(:nth-child(5)) li.diamond:not(.nine){
background-color: #0099ff;
}

ul li:nth-child(3):not(.club) {
background-color: #ff3300;
}

ul:nth-last-of-type(1) li:nth-last-of-type(3n-2) {
background-color: #339933;
}

li:nth-child(n)
li:not(:first-of-type) {
margin-left: -15px;
}

1 лайк

Спасибо, получилось. Только почему-то не с первого раза.