/* General Body Styling */
body {
  font-family: 'Comic Sans MS', sans-serif; /* Comic Sans font */
  background-color: #d3d3d3; /* Light grey background */
  color: #333;
  margin: 0;
  padding: 0;
  text-align: center;
}

/* Main Container */
h1, h2, h3 {
  color: #4a90e2;
  margin-bottom: 10px;
  font-size: 32px; /* Adjust font size for better appearance */
  background: linear-gradient(45deg, red, orange, yellow, green, blue, indigo, violet);
  -webkit-background-clip: text;
  color: transparent;
}

/* Counter and Button Styling */
#counter {
  font-size: 48px;
  color: #e94e77;
  font-weight: bold;
}

button {
  background-color: #4a90e2;
  color: white;
  border: none;
  padding: 10px 20px;
  font-size: 18px;
  cursor: pointer;
  border-radius: 5px;
  transition: all 0.3s ease;
}

button:hover {
  background-color: #357ABD;
  transform: scale(1.1);
}

button:active {
  background-color: #2d6aa2;
}

/* Name List Styling */
#name-list {
  list-style-type: none;
  padding: 20px;
  background-color: #f0f0f0; /* Light grey background for the name list */
  border-radius: 8px;
  margin: 20px 0;
}

#name-list li {
  font-size: 20px;
  margin: 10px 0;
  background-color: #fff;
  padding: 10px;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  background: linear-gradient(45deg, red, orange, yellow, green, blue, indigo, violet);
  -webkit-background-clip: text;
  color: transparent;
}

#name-list li:nth-child(even) {
  background-color: #e8f3fd;
}

/* Form Styling */
input[type="text"] {
  padding: 10px;
  font-size: 18px;
  margin-right: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  width: 250px;
}

form {
  margin-top: 20px;
}

form button {
  background-color: #e94e77;
  font-size: 18px;
  cursor: pointer;
}

form button:hover {
  background-color: #d3375f;
}
