/* https://github.com/kevquirk/simple.css/wiki/Getting-Started-With-Simple.css */
:root {
  --accent: red;
}

#main {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 720px;
}

h1 {
  text-align: center;
}

h4 {
  margin-top: 0;
  text-align: center;
}

#compare {
  display: flex;
  gap: 0.5rem;
  margin: 2rem 0;
  position: relative;
}

#fromContainer, #toContainer {
  flex: 1;
  display: flex;
  flex-direction: column;
}

#flag {
  display: none;
  height: 32px;
  width: 32px;
  vertical-align: middle;
  margin-top: -4px;
  margin-left: 4px;
  margin-right: 4px;
}

.currencySelect {
  margin-bottom: auto;
  max-width: 250px;
}

.currencySelectSwap {
  display: none;
  transition: transform .5s;
}

.priceVolume {
  line-height: 1.25em;
  margin: .5rem 0;
}

.textAlignRight {
  text-align: right;
}

.currencyValue {
  display: block;
  max-width: 250px;
  font-size: 2rem;
}

#swapContainer {
  display: flex;
  flex-direction: column;
  align-items: center;
}

#swapButton {
  display: flex;
  flex-direction: column;
  background: #404144;
  font-size: .75em;
  border: none;
  margin: 0;
}

#swapButton:hover, #swapButton:active, #swapButton:focus-visible, #swapButton[disabled] {
  background: #606164;
  cursor: pointer;
}

#swapButton img {
  height: 24px;
  width: 24px;
}

#arrow {
  margin-top: auto;
  margin-bottom: 0.75rem;
}