* {
  box-sizing: border-box;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  margin: 0;
  text-align: center;
  color: white;
  background: #6a7b82;
  min-width: 375px;
}

pre {
  color: rgb(118, 0, 0);
  font-size: .7em;
}

#eur {
  color: #004494;
}

#mxn {
  color: #006341;
}

main {
  font-size: 2em;
  margin: 100px auto;
  max-width: 30em;
}

main > label {
  width: 100%;
  margin: auto;
  display: flex;
  gap: .6em;
}

main > label > * {
  flex: 1 1 0;
}

main > label > div {
  display: inline-block;
  text-align: left;
  font-weight: bold;
}

input {
  font-size: inherit;
  color: white;
  background: transparent;
  border: none;
  text-align: right;
  text-decoration: none;
  appearance: textfield;
  width: 100%;
}

input:focus {
  border: none;
  outline: none;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

img {
  border-radius: 15px;
}
