@import url("https://fonts.googleapis.com/css?family=Titillium+Web");
* {
  font-family: 'Titillium Web', sans-serif;
}

body {
  background-color: #6dbe50;
  transition: all ease 0.5s;
}

.container {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.converter {
  padding: 1.25rem 3.75rem 1.875rem;
  background-color: #0e0e0e;
  width: 21.875rem;
  display: inline-flex;
  flex-direction: column;
  border-radius: 0.375rem;
  box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.75);
}
.converter .heading {
  color: #fbbd2e;
  text-align: center;
  font-size: 1.625rem;
  margin-bottom: 0.625rem;
  text-transform: uppercase;
  font-variant: small-caps;
}
.converter .content {
  display: flex;
  justify-content: space-between;
}
.converter .content .wrapper {
  display: flex;
  flex-direction: column;
  flex-basis: 90%;
}
.converter .content .wrapper .inputGroup {
  margin: 0.625rem 0;
}
.converter .content .wrapper .inputGroup input {
  display: flex;
  width: 100%;
  box-sizing: border-box;
  font-size: 1.125rem;
  padding: 0.5rem;
  outline: 0;
  background-color: #fddd92;
  border: none;
  border-radius: 0.125rem;
}
.converter .content .wrapper .inputGroup input::placeholder {
  color: #5b4002;
}
.converter .content .wrapper.toggle .inputGroup:first-child {
  order: 2;
}
.converter .content .switch {
  margin: 0.625rem 0;
  display: flex;
  margin-left: 0.25rem;
  flex-basis: 10%;
}
.converter .content .switch button {
  border: none;
  background-color: #fbbd2e;
  color: #8d6303;
  border-radius: 0.125rem;
  outline: 0;
  transition: all ease 0.5s;
}
.converter .content .switch button:hover {
  background-color: #f1aa05;
  cursor: pointer;
}
.converter .bottomContent .bars {
  display: flex;
  flex-direction: column;
  margin-top: 0.625rem;
}
.converter .bottomContent .bars .barContainer {
  display: flex;
  margin: 0.0625rem 0;
  align-items: center;
  justify-content: center;
}
.converter .bottomContent .bars .barContainer .bar {
  flex-basis: 90%;
  height: 0.375rem;
  border-radius: 0.0625rem;
  background-color: #fddd92;
  position: relative;
  overflow: hidden;
}
.converter .bottomContent .bars .barContainer .bar span {
  position: absolute;
  background-color: red;
  width: 0;
  height: 100%;
  transition: all ease 0.5s;
}
.converter .bottomContent .bars .barContainer .percentage {
  flex-basis: 10%;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin-left: 0.25rem;
  color: #fbbd2e;
}
.converter .bottomContent .bars .barContainer.red span {
  background-color: #ff0000;
}
.converter .bottomContent .bars .barContainer.blue span {
  background-color: #0000ff;
}
.converter .bottomContent .bars .barContainer.green span {
  background-color: #00ff00;
}
