@import url('https://fonts.googleapis.com/css?family=Montserrat');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  font-size: 16px;
}
body {
  font-family: 'Montserrat', sans-serif;
  background-color: #505562;
  color: #fff;
}
.container {
    width: 500px;
    user-select: none;
    position: relative;
    border: 5px solid #171719;
    padding: 15px;
    margin-top:10px;
}
.header {
  background-color: #2d2d37;
  text-align: center;
  padding: 10px;
}
.header h1 {
  font-size: 2.25rem;
}

.result{
    font-size: 20px;
    color: #111111;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    padding: 0px;
    vertical-align: middle;
    min-height:3px;
    padding:5px;
}


.add-currency-btn {
  color: #fff;
  padding: 5px;
  font-size: 1.2rem;
  font-weight: bold;
  border: none;
  border-top: 3px solid #222;
  outline: none;
  width: 100%;
  cursor: pointer;
  position: relative;
  background-repeat: repeat-x;
  background-image: -webkit-linear-gradient(top,#5bc0de 0,#2aabd2 100%);
  background-image: -o-linear-gradient(top,#5bc0de 0,#2aabd2 100%);
  background-image: -webkit-gradient(linear,left top,left bottom,from(#5bc0de),to(#2aabd2));
  background-image: linear-gradient(to bottom,#5bc0de 0,#2aabd2 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff2aabd2', GradientType=0);
  filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
}
.add-currency-btn i {
  position: absolute;
  top: 0.6rem;
  left: 30%;
  font-size: 2rem;
  opacity: 0;
  transition: all 0.25s;
}

.add-currency-btn.open {
  background-color: #d9534f;
}
.add-currency-btn.open i {
  opacity: 1;
  left: 1.25rem;
}


@media (max-width: 600px) {
  html { font-size: 14px; }
  .container { width: 100%; margin: 0 auto; }
  ul.currencies { height: calc(100vh - 83px - 34px - 51px); }
  .header h1 { font-size: 2rem; }
  .flag { width: 3rem; height: 2rem; }
  .info .input span { font-size: 1.25rem; width: 3.5rem; }
  .info .input input { font-size: 1.25rem; width: 76%;}
  .info .currency-name { margin-left: 3.5rem; }
  .info .base-currency-rate { margin-left: 3.5rem; }
  ul.add-currency-list { bottom: 48px; height: calc(100vh - 80px - 51px); }
  .add-currency-btn i { left: 25%; top:0.65rem; }
}