*,
*::before,
*::after {
  box-sizing: border-box;
  font-family: 'Quicksand', sans-serif;
  font-weight: normal;
}

body {
  margin: 0;
  padding: 0;
  background: #022;
}

.calculator-grid {
  display: grid;
  justify-content: center;
  align-content: center;
  min-height: 100vh;
  grid-template-columns: repeat(3, 100px);
  grid-template-rows: 140px repeat(4, 100px);
}

.calculator-grid>button {
  cursor: pointer;
  font-size: 2rem;
  border: 1px solid white;
  outline: none;
  background-color: rgba(255, 255, 255, .75);
}

.calculator-grid>button:hover {
  background-color: rgba(255, 255, 255, .9);
}

.output {
  background-color: rgba(0, 0, 0, .75);
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  padding: 10px;
  color: white;
  overflow: hidden;
}

.output .price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  height: 3.5rem;
}

.output .label {
  color: rgba(255, 255, 255, .75);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.output .price {
  font-size: 2.5rem;
  line-height: 3.5rem;
  white-space: nowrap;
  overflow: hidden;
  text-align: right;
}

.output .results {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  color: rgba(255, 255, 255, .75);
  font-size: 1.1rem;
}

.output .results [data-eur],
.output .results [data-usd] {
  color: white;
  font-weight: 500;
}
