body {
    margin: 0;
    padding: 0;
    font-family: 'Comic Sans MS', cursive, sans-serif;
    background-color: #fcf6f5;
}

#gameContainer {
    text-align: center;
    margin-top: 50px;
}

#gameBoard {
    width: 600px;
    height: 400px;
    background-color: #fff;
    border: 5px solid #000;
    border-radius: 10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin: 20px auto;
}

.tile {
    width: calc(25% - 10px);
    height: calc(33.33% - 10px);
    margin: 5px;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2em;
    cursor: pointer;
    transition: transform 0.2s ease-in-out;
}

.tile:hover {
    transform: scale(1.1);
}

.red { background-color: #ff5050; }
.blue { background-color: #3399ff; }
.yellow { background-color: #ffcc00; }
.green { background-color: #33cc33; }
.orange { background-color: #ff9933; }
.purple { background-color: #cc66ff; }
.cyan { background-color: #00cccc; }
.magenta { background-color: #ff33cc; }
.lime { background-color: #99cc00; }
.pink { background-color: #ff66cc; }


h1 {
    font-size: 3em;
    color: #ff5050;
}

button {
    padding: 10px 20px;
    font-size: 1.2em;
    background-color: #3399ff;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.2s ease-in-out;
}

button:hover {
    transform: scale(1.1);
}

.game-board {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.tile {
    width: 100px;
    height: 100px;
    margin: 10px;
    border: 2px solid #fff;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.tile.selected {
    border-color: #FFD700; /* Change border color for selected tiles */
}

.tile:hover {
    transform: scale(1.1); /* Enlarge tile on hover */
}
/* CSS for main colors */
.tile {
    width: 100px;
    height: 100px;
    margin: 10px;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

/* CSS for result colors */
.result-tile {
    width: 60px;
    height: 60px;
    margin: 10px;
    border: 2px solid #fff;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.tile.selected, .result-tile.selected {
    border-color: #FFD700; /* Change border color for selected tiles */
}

.tile:hover, .result-tile:hover {
    transform: scale(1.1); /* Enlarge tile on hover */
}
.game-board {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.tile {
    width: 100px;
    height: 100px;
    margin: 10px;
    border: 2px solid #fff;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.tile.selected {
    border-color: #FFD700; /* Change border color for selected tiles */
}

.tile:hover {
    transform: scale(1.1); /* Enlarge tile on hover */
}

.result-color {
    width: 50px;
    height: 50px;
    border: 2px solid #000;
    border-radius: 50%;
    margin: 10px;
}
.game-board {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.tile {
    width: 100px;
    height: 100px;
    margin: 10px;
    border: 2px solid #fff;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.tile.selected {
    border-color: #FFD700; /* Change border color for selected tiles */
}

.tile:hover {
    transform: scale(1.1); /* Enlarge tile on hover */
}

.result-color {
    width: 50px;
    height: 50px;
    border: 2px solid #000;
    border-radius: 50%;
    margin: 10px;
    background-color: #eee; /* Add background color to result tiles */
}
.game-board {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.tile {
    width: 100px;
    height: 100px;
    margin: 10px;
    border: 2px solid #fff;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.tile.selected {
    border-color: #FFD700; /* Change border color for selected tiles */
}

.tile:hover {
    transform: scale(1.1); /* Enlarge tile on hover */
}

.main-color {
    background-color: #fff; /* Set background color for main colors */
}

.result-color {
    width: 50px;
    height: 50px;
    border: 2px solid #000;
    border-radius: 50%;
    margin: 10px;
    background-color: #000; /* Set background color for result colors */
}
.color-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 20px;
}

.tile {
    width: 100px;
    height: 100px;
    margin: 10px;
    border: 2px solid #fff;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.tile.selected {
    border-color: #FFD700; /* Change border color for selected tiles */
}

.tile:hover {
    transform: scale(1.1); /* Enlarge tile on hover */
}

.main-color {
    background-color: #fff; /* Set background color for main colors */
}

.result-color {
    width: 50px;
    height: 50px;
    border: 2px solid #000;
    border-radius: 50%;
    margin: 10px;
    background-color: #000; /* Set background color for result colors */
}

.color-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 20px;
}

.tile {
    width: 100px;
    height: 100px;
    margin: 10px;
    border: 2px solid #fff;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s ease;
    background-color: #fff; /* Default background color */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2); /* Add shadow for depth effect */
}

.tile.selected {
    border-color: #FFD700; /* Change border color for selected tiles */
}

.tile:hover {
    transform: scale(1.1); /* Enlarge tile on hover */
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3); /* Increase shadow on hover */
}

.main-color {
    background-color: #fff; /* Set background color for main colors */
    animation: fadeIn 0.5s ease; /* Add fadeIn animation */
}

.result-color {
    width: 50px;
    height: 50px;
    border: 2px solid #000;
    border-radius: 50%;
    margin: 10px;
    background-color: #000; /* Set background color for result colors */
    animation: bounceIn 0.5s ease; /* Add bounceIn animation */
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes bounceIn {
    from {
        transform: scale(0.5);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

#resetButton {
    margin-top: 20px;
    padding: 10px 20px;
    font-size: 16px;
    background-color: #FFD700; /* Set button background color */
    color: #fff; /* Set button text color */
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#resetButton:hover {
    background-color: #FFA500; /* Change button background color on hover */
}

