body { background-color: #114c2b; } h1 { color: #fff; text-align: center; font-size: 48px; font-family: "Times New Roman", Times, serif; } p { margin: 5px 0; font-size: 16px; } #board-container { margin: 0 auto; display: flex; background-color: #1c8011; border-radius: 8px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); text-align: center; padding: 24px; } #board { margin: 0 auto; } #board, td { border: 1px solid rgb(91, 177, 102); border-collapse: collapse; width: 500px; height: 50px; } #options { margin: 0 auto; text-align: center; place-items: center; justify-content: center; align-items: center; } button { font-size: 16px; font-weight: 300; color: #fff; background-color: #60d768; border: 1px solid #fff; border-radius: 8px; background-size: contain; background-repeat: no-repeat; background-position: center; cursor: pointer; transition: all 0.3s ease; } button:hover { transform: scale(1.1); } #options button { margin: 0 12px; width: 120px; height: 48px; } #solution-navigation { display: none; } #solution-navigation button { margin: 0 12px; width: 120px; height: 48px; background-color: #39b957; } #board-color-picker { font-size: 16px; font-weight: 300; color: #166c0e; align-items: center; justify-content: center; } #queen-picker { margin: 0 auto; margin-top: 24px; width: fit-content; align-items: center; } #queen-picker button { width: 50px; height: 50px; margin: 5px; } #black-queen { background-image: url("../img/valo.png"); } #white-queen { background-image: url("../img/reyna1.png"); } #cartoon-queen { background-image: url("../img/reyna2.png"); } #simple-queen { background-image: url("../img/reyna3.png"); } #queen-elizabeth { background-image: url("../img/eliza.jpg"); } #color-picker { margin: 0 auto; margin-top: 24px; width: fit-content; align-items: center; } #color-picker div { display: inline-block; width: fit-content; margin: 0 12px; } #color-input { height: 48px; width: 48px; } #color-info { font-size: 16px; font-weight: 300; color: #53bb22; width: 80px; } td[data-attacked] { transition: background-color 0.3s ease; } tr:nth-child(odd) td:nth-child(odd), tr:nth-child(even) td:nth-child(even) { background-color: #48943b; } tr:nth-child(odd) td:nth-child(even), tr:nth-child(even) td:nth-child(odd) { background-color: #fbfbfa; }