body {
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    background-color: #f0f0f0;
}

.game-container {
    text-align: center;
    width: 100%;
    max-width: 500px;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.color-boxes {
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
}

.color-box {
    width: 100px;
    height: 100px;
    border: 2px solid #000;
    border-radius: 10px;
    margin: 0 10px;
}

.moves-left {
    font-size: 20px;
    margin-bottom: 20px;
}

.controls {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 20px;
}

.controls button {
    margin: 5px;
    padding: 10px;
    font-size: 16px;
    cursor: pointer;
    background-color: #f0f0f0;
    border: none;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: background-color 0.2s ease;
}

.controls button:hover {
    background-color: #ddd;
}

.split-button {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.split-button button {
    flex: 1;
    margin: 0 5px;
}

#result {
    font-size: 24px;
    margin-top: 20px;
    color: #007BFF;
}

#correctMoves {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 20px;
    gap: 20px;
}

.move-square {
    display: inline-block;
    margin: 10px;
    text-align: center;
}

.color-square {
    width: 50px;
    height: 50px;
    border: 1px solid #000;
    border-radius: 5px;
    margin-bottom: 5px;
}

.toggle-monochromatic {
    margin-top: 20px;
    text-align: center;
}

.restart-game {
    margin-top: 20px;
}

.restart-game button {
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: background-color 0.2s ease;
}

.restart-game button:hover {
    background-color: #0056b3;
}
body {
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    background-color: #f0f0f0;
}

.game-container {
    text-align: center;
    width: 100%;
    max-width: 500px;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.color-boxes {
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
}

.color-box {
    width: 100px;
    height: 100px;
    border: 2px solid #000;
    border-radius: 10px;
    margin: 0 10px;
}

.reference-image {
    margin-top: 20px;
}

.reference-image img {
    width: 100%;
    max-width: 300px; /* Limit the width to make it fit better */
    height: auto;
    border-radius: 5px;
    margin-top: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .reference-image img {
        max-width: 100%; /* Full width on mobile */
    }
}
