body {
  background-color: rgb(238, 237, 237);
}

.close_btn {
  background-color: rgb(110, 16, 16);
  color: white;
  border: none;
  padding: 5px 8px;
  font-size: 1.0rem;
  font-weight: 500;
  position: fixed;
  right: 20px;
  top: 20px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.close_btn:hover {
  background-color: rgb(220, 14, 14);
}

.result {
  position: absolute;
  bottom: 20px;
  left: 20px;
  padding: 10px 20px;
  background-color: #068d08;
  border-radius: 6px;
  font-size: 1.0rem;
  font-weight: 500;
  color: white;
  display: none;
  transition: all 0.3s ease;
  animation: slideRight 0.6s ease forwards;
}

@keyframes slideRight {
  from {
    transform: translateX(-300px);
  }
}

.result.error, .result.success {
  display: block;
}

.result.error {
  background-color: rgb(220, 14, 14);
}

form {
  display: flex;
  flex-direction: column;
  background-color: white;
  padding: 10px 15px;
  max-width: 600px;
  width: 100%;
  margin: 30vh auto auto auto;
  box-shadow: 0 2px 8px rgba(0,0,0,.1);
  border-radius: 8px 8px 10px 10px;
}

form h2 {
  color: rgb(3, 11, 65);
  margin: 15px auto 25px 5px;
  font-size: 1.28rem;
}

form textarea {
  padding: 10px;
  height: 70px;
  font-size: 1.0rem;
  border-radius: 5px;
  border: 1px solid rgba(0,0,0,.2);
  margin-bottom: 30px;
  outline: none;
}

form button {
  padding: 12px 24px;
  border: none;
  border-radius: 5px;
  font-size: 1.0rem;
  width: 60%;
  margin: 0 auto 20px auto;
  background-color: rgb(110, 16, 16);
  font-weight: 500;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
}

form button:hover {
  background-color: hsl(0, 75%, 35%);
}