
body {
 background-color: #778899;
}
.displayed {
    display: block;
    margin-left: auto;
    margin-right: auto;
  }

.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  height: 100vh;
  top: 5%;
}

input[type="text"] {
  padding: 10px;
  border-radius: 10px;
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.1);
  border: none;
  outline: none;
  resize: none;
  width: 50%;
  min-width: 200px;
  max-width: 50%;
  overflow: hidden;
  text-overflow: ellipsis;
  word-wrap: break-word;
  height: auto;
  min-height: 50px;
}

input[type="text"]:focus {
  width: 100%;
  height: auto;
  min-height: 50px;
}

button[type="submit"] {
  margin-top: 10px;
  padding: 10px 20px;
  border-radius: 10px;
  background-color: seagreen;
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.1);
  border: none;
  color: white;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.2s;
}

button[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
}

button[type="submit"]:active {
  transform: translateY(2px);
  box-shadow: none;
}

.loading-spinner {
  margin-left: 10px;
  border: 2px solid transparent;
  border-top-color: white;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.hidden {
  display: none;
}

