body {
  font-family: 'Segoe UI', sans-serif;
  background: #121212;
  color: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  margin: 0;
}

.container {
  text-align: center;
  max-width: 600px;
  width: 90%;
}

h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

input {
  width: 100%;
  padding: 0.75rem;
  font-size: 1rem;
  border: none;
  border-radius: 5px;
  margin-bottom: 1rem;
}

button {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  background-color: #ff5c5c;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

#responseBox {
  margin-top: 2rem;
}

#answerText {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

#memeImage {
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

.spinner {
  border: 4px solid #444;
  border-top: 4px solid #fff;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  margin: 1rem auto;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.hidden {
  display: none;
}

#tweetBtn {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.5rem 1rem;
  background: #1da1f2;
  color: white;
  text-decoration: none;
  border-radius: 5px;
}
.button-group {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

button {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  background-color: #ff5c5c;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

#randomBtn {
  background-color: #5c9dff;
}
