body {
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding-top: 50px;
    height: 100vh;
    margin: 0;
    background-color: #f0f0f0;
}

.game-row {
    display: flex;
    margin-bottom: 5px;
    padding: 5px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.active-row {
    background-color: rgba(255, 255, 0, 0.2); /* Light yellow highlight */
}

#game-options, #difficulty-selector {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

#game-options button, #difficulty-selector button {
    margin: 0 5px;
    padding: 5px 10px;
    cursor: pointer;
}

#game-board {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}

.peg {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid #ccc;
    margin: 0 5px;
}

.feedback-peg {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.black-peg {
    background-color: black;
}

.white-peg {
    background-color: white;
    border: 1px solid #ccc;
}

.feedback {
    width: 30px;
    height: 30px;
    border: 1px solid #444444;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-left: 10px;
    font-weight: bold;
    font-size: 20px;
    /* cursor: pointer; */
}

.feedback-pegs {
    display: flex;
    justify-content: center;
    align-items: center;
}

.feedback.clickable {
    cursor: pointer;
}

.feedback.incomplete {
    color: #ccc;
}

.feedback.clickable:not(.incomplete) {
    color: #000;
}

.feedback.clickable:hover {
    background-color: #f0f0f0;
}

.peg-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 2px;
    padding: 2px;
    margin-left: 3px;
    width: 25px;
    height: 25px;
}

#input-selector {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

#input-selector button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    margin: 0 5px;
    cursor: pointer;
}

#submitBtn, #giveUpBtn {
    display: block;
    margin: 10px auto;
    padding: 10px 20px;
    cursor: pointer;
}

#message {
    text-align: center;
    margin-top: 20px;
    font-weight: bold;
}

.dent {
    cursor: pointer;
}

.dent.selected {
    border: 2px solid #000;
}

.input-tile {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #ccc;
    margin: 0 5px;
    cursor: pointer;
}

.input-tile[style*="background-color: white"] {
    border: 1px solid #ccc;
}

.input-tile:hover {
    opacity: 0.8;
}

#game-options {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

#gameMode {
    margin-right: 10px;
    padding: 5px;
}

button {
    padding: 5px 10px;
    cursor: pointer;
}

.active-row {
    background-color: rgba(255, 255, 0, 0.2);
}

@media (max-width: 430px) {
    .container {
        padding: 10px;
    }
    h1 {
        font-size: 1.5em;
    }
    #game-board {
        border-collapse: collapse;
        margin: 0 auto;
        width: 100%;
        max-width: 100%;
    }
    
    #startButton {
        font-size: 16px;
        padding: 8px 16px;
    }

    #score {
        font-size: 20px;
    }
}