a {
  color: #3d1b28;
}

a:hover {
  color: #953d5f;
}

body {
  min-width: 900px;
  padding: 24px;
  background: #f5d5df;
  color: #3d1b28;
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

h1 {
  color: #3b0f1d;
  text-align: center;
}

h2 {
  color: #3b0f1d;
  text-align: center;
}

.img-container {
  text-align: center;
}

img {
  border-radius: 24px;
}


form {
  padding: 24px;
  background: #ffffff;
  border: 3px solid #dc8eab;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
}

.top {
  display: flex;
  gap: 24px;
}

.sender {
  border: 3px solid #ecbdce;
  border-radius: 10px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #f8ebf0;
}

.recipient {
  border: 3px solid #ecbdce;
  border-radius: 10px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #f2d6e1;
  border: 3px solid #ecaec5;
}

.payment {
  max-width: 500px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #eeb0c8;
  border: 3px solid #db7c9f;
  border-radius: 10px;
}

.row {
  display: flex;
  gap: 10px;
}

.field {
  display: flex;
  flex-direction: column;
}

#preview {
  aspect-ratio: 2/1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #ffffff;
  border-radius: 10px;
}

#preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

#send {
  border: 2px solid #2e0b18;
  border-radius: 10px;
  background: #731f3f;
  font-size: 1.2rem;
  font-weight: bold;
  color: #ffffff;
  padding: 12px;
}

#send:hover {
  background: #56182f;
}

.error {
  color: red;
}

.invalid {
  border-color: red;
}