* {
  box-sizing: border-box;
  font-weight: 300;
  font-family: "Roboto", sans-serif;
}

body {
  background:#222;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  min-height: 100vh;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

h1 {
  text-align: center;
}

.current-curency {
  margin: 1em auto;
  background:#222;
  color: #F30;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -ms-flex-pack: distribute;
      justify-content: space-around;
  height: 7.5em;
  width: 11em;
  border-radius: 2px;
  padding: 0.25em;
}
.current-curency .code {
  font-size: 4em;
}
.current-curency .name {
  font-size: 1em;
  color: #0BBAF4;
}

main.currency-exchange {
  padding: 0.33em;
}

.currencies {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  text-align: center;
}
.currencies .currency {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -ms-flex-pack: distribute;
      justify-content: space-around;
  height: 6.5em;
  width: 6.5em;
  padding: 0.5em;
  background: #2C2C2C;
  color: #f5fcd0;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  -webkit-transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.currencies .currency .rate {
  font-size: 1.25em;
}
.currencies .currency .code {
  font-size: 2em;
}
.currencies .currency .name {
  font-size: 0.75em;
  color: #BDBDBD;
}
.currencies .currency:hover {
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
  z-index: 1;
}
.currencies .currency .flex {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -ms-flex-pack: distribute;
      justify-content: space-around;
  width: 100%;
}

html {
  /* ===== == = === Base Styles === = == ===== */
  font-size: 11px;
  /* ===== == = === 20em (320px) === = == ===== */
  /* ===== == = === 30em (480px) === = == ===== */
  /* ===== == = === 37.5em (600px) === = == ===== */
  /* ===== == = === 48em (768px) === = == ===== */
  /* ===== == = === 62.25em (992px) === = == ===== */
  /* ===== == = === 68.75em (1100px) === = == ===== */
  /* ===== == = === 81.25em (1300px) === = == ===== */
}
@media (min-width: 20em) {
  html {
    font-size: 12px;
  }
}
@media (min-width: 30em) {
  html {
    font-size: 13px;
  }
}
@media (min-width: 37.5em) {
  html {
    font-size: 13.75px;
  }
}
@media (min-width: 48em) {
  html {
    font-size: 14.8px;
  }
}
@media (min-width: 62em) {
  html {
    font-size: 16.2px;
  }
}
@media (min-width: 68.75em) {
  html {
    font-size: 16.875px;
  }
}
@media (min-width: 81.25em) {
  html {
    font-size: 18.125px;
  }
}
