/* General body styling */
body {
  font-family: 'Comic Sans MS', cursive, sans-serif;
  background: linear-gradient(135deg, #ff9a9e, #fad0c4);
  color: #333;
  text-align: center;
  margin: 0;
  padding: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* Header styling */
h1 {
  font-size: 3rem;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  margin-bottom: 20px;
}

/* Joke display styling */
#joke {
  font-size: 1.5rem;
  background: #fff;
  color: #333;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  margin-bottom: 20px;
  max-width: 80%;
  word-wrap: break-word;
}

/* Button styling */
button {
  font-size: 1.2rem;
  background: #ff6f61;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s, background 0.3s;
}

button:hover {
  background: #ff3b2f;
  transform: scale(1.1);
}

button:active {
  transform: scale(1);
}

/* Responsive design */
@media (max-width: 600px) {
  h1 {
    font-size: 2rem;
  }

  #joke {
    font-size: 1.2rem;
  }

  button {
    font-size: 1rem;
  }
}
