/* style.css */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family:'Times New Roman', Times, serif;
}

body {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: linear-gradient(135deg, black, #772b3c, black);
  background-size: 400% 400%;
  animation: gradientShift 10s ease infinite;
  color: #fff;
}

h1 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
  border-bottom: 3px dashed #fff;
  padding-bottom: 8px;
}

#jokes {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 20px auto;
  padding: 20px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  line-height: 1.6;
}

button {
  margin-top: 15px;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: bold;
  border: none;
  border-radius: 10px;
  background: linear-gradient(45deg, black, #ff9671);
  color: #fff;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}

button:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

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

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
