body {
  margin: 0;
  font-family: 'Comic Sans MS', cursive, sans-serif;
  background: linear-gradient(135deg, #ff9a9e 0%, #fad0c4 100%);
  color: #333;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  text-align: center;
}
.container {
  background: rgba(255, 255, 255, 0.8);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  max-width: 400px;
  width: 90%;
}
.meme-card {
  position: relative;
  margin: 1rem auto;
  text-align: center;
}
.meme-card img {
  max-width: 100%;
  border-radius: 0.5rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  display: block;
  margin: 0 auto;
}
#caption {   
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 1.5rem;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  pointer-events: none;
  padding: 0 0.5rem;
  word-wrap: break-word;
  max-width: 90%;
}
input#text-input {
  width: 90%;
  padding: 0.75rem;
  margin-bottom: 1rem;
  border: 2px solid #ff6f61;
  border-radius: 0.5rem;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s;
}
input#text-input:focus {
  border-color: #6b5b95;
}
.buttons {
  display: flex;
  justify-content: space-between;
}
.btn {
  flex: 1;
  margin: 0 0.25rem;
  padding: 0.75rem;
  font-size: 1rem;
  font-weight: bold;
  color: white;
  background: linear-gradient(45deg, #6b5b95, #feb236);
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}
.btn:active {
  transform: translateY(-1px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}