body {
  font-family: Arial, sans-serif;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  overflow: hidden;
  animation: gradientAnimation 20s linear infinite;
  letter-spacing: 1px;
}

@keyframes gradientAnimation {
  0%, 100% {
    background: linear-gradient(to bottom right, #00ced1, #8a2be2);
  }
  50% {
    background: linear-gradient(to bottom right, #ffd700, #00ced1);
  }

  75% {
    background: linear-gradient(to bottom right, #8a2be2, #ff7f50);
  }
}


.container {
  text-align: center;
  background-color: rgba(0, 0, 0, 0.7);
  padding: 20px;
  border-radius: 10px;
  margin: 20px;
  max-width: 400px;
  width: 100%;
  min-height: 200px;
}

.clear-button {
  background-color: #ff5555; /* Red color for clear button */
  width: 90px;
}

.clear-button:hover {
  background-color: #ff3333; /* Darker red color on hover */
}

h1 {
  margin-bottom: 20px;
}

input[type="text"] {
  padding: 10px;
  margin-bottom: 10px;
  width: 80%;
  text-align: center;
  border-radius: 5px;
  border: none;
  outline: none;
  font-size: 16px;
  background-color: #fff;
}

.button-group {
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
}

button {
  padding: 10px;
  background-color: #4caf50;
  border: none;
  color: #fff;
  border-radius: 5px;
  cursor: pointer;
  outline: none;
  font-weight: bold;
  font-size: 14px;
  margin-right: 10px;
  width: 100px;
}

.copy-button {
  background-color: #4287f5;
  width: 90px;
}

.copy-button:hover {
  background-color: #0080ff;
}


.button-group button:last-child {
  margin-right: 0;
}

button:hover {
  background-color: #45a049;
}

.result {
  margin-top: 20px;
}

@media (max-width: 800px) {

  body {
    flex-direction: column;
  }

  .container {
    margin: 20px auto;
  }

}