Changed around line 1
+ :root {
+ --primary-color: #ff6f61;
+ --secondary-color: #ffcc5c;
+ --background-color: #f8f8f8;
+ --text-color: #333;
+ --font-family: 'Arial', sans-serif;
+ }
+
+ body {
+ font-family: var(--font-family);
+ color: var(--text-color);
+ background-color: var(--background-color);
+ margin: 0;
+ padding: 0;
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+ justify-content: center;
+ min-height: 100vh;
+ }
+
+ header {
+ text-align: center;
+ padding: 20px;
+ background-color: var(--primary-color);
+ color: white;
+ width: 100%;
+ }
+
+ h1 {
+ font-size: 2.5rem;
+ margin: 0;
+ }
+
+ p {
+ font-size: 1.2rem;
+ }
+
+ main {
+ display: flex;
+ flex-wrap: wrap;
+ justify-content: center;
+ gap: 20px;
+ padding: 20px;
+ }
+
+ #game-board {
+ display: grid;
+ grid-template-columns: repeat(8, 50px);
+ grid-template-rows: repeat(8, 50px);
+ gap: 5px;
+ background-color: white;
+ padding: 10px;
+ border-radius: 10px;
+ box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
+ }
+
+ .candy {
+ width: 50px;
+ height: 50px;
+ border-radius: 10px;
+ cursor: pointer;
+ transition: transform 0.2s;
+ }
+
+ .candy:hover {
+ transform: scale(1.1);
+ }
+
+ #scoreboard {
+ background-color: white;
+ padding: 20px;
+ border-radius: 10px;
+ box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
+ }
+
+ #players-list {
+ list-style: none;
+ padding: 0;
+ }
+
+ #players-list li {
+ display: flex;
+ justify-content: space-between;
+ padding: 10px;
+ border-bottom: 1px solid #eee;
+ }
+
+ footer {
+ text-align: center;
+ padding: 20px;
+ background-color: var(--primary-color);
+ color: white;
+ width: 100%;
+ }
+
+ @media (max-width: 768px) {
+ #game-board {
+ grid-template-columns: repeat(6, 40px);
+ grid-template-rows: repeat(6, 40px);
+ }
+
+ .candy {
+ width: 40px;
+ height: 40px;
+ }
+ }