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

body {
  font-family: 'Montserrat', sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

h1 {
  padding: 15px 0 15px 0;
  text-align: center;
  font-weight: bolder;
}

footer ul {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
  flex-direction: column;
  text-align: center;
}

footer li {
  margin: auto 10px;
}

/* =============================================================================
| GENERAL
============================================================================= */
#calculate-button {
  margin-top: 15px;
}


.budget-breakdown-entry {
  display: flex;
  flex-direction: column;
  margin-bottom: 10px;
}

.budget-breakdown-entry label {
  min-width: 200px;
}
.budget-percent-input-container {
  display: flex;
  align-items: center;
  height: 35px;
  min-width: 100px;
  max-width: 100%;
  margin-bottom: 10px;
}

.budget-breakdown-entry input {
  color: #666666;
  border: 1px solid #e8e8e8;
  text-align: right;
  padding: 8px;
  border-radius: 5px;
  width: 100%;
}
.button {
  background: #444;
  border: 1px solid #444;
  color: #fff;
  letter-spacing: 1px;
  padding: 15px 40px;
}

.budget-form {
  display: flex;
  flex-direction: column;
}

.budget-instructions {
  padding: 30px;
  display: flex;
  flex-direction: column;
}


.budget-percent-input-container p {
  background: #F1F1F1;
  height: 100%;
  margin: 0;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
  display: flex;
  align-items: center;
  padding: 8px;
}

.budget-input-container {
  display: flex;
  justify-content: center;
  flex-direction: column;
}
.percent-input {
  border-top-right-radius: 0px !important;
  border-bottom-right-radius: 0px !important;
  height: 100%;
}
.budget-input-container input, .guilt-free-input{
  color: #666666;
  border: 1px solid #e8e8e8;
  padding: 8px;
  max-width: 250px;
  width: 100%;
  border-radius: 5px;
}


.guilt-free-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 350px;
  text-align: center;
  margin: 0 auto;
  padding: 30px;
}
.calculator-result-side {
  display: flex;
  flex-direction: column;
}
.flex-1 {flex: 1}

#toggle-btn {margin: 10px auto;}
#directions {text-align: center}

/* =============================================================================
| RESPONSIVE MEDIA QUERY // TARGETS TABLETS AND ABOVE
============================================================================= */
@media (min-width: 768px) {
  #directions {text-align: left}
  #toggle-btn {margin: 10px 0}
  .budget-breakdown-entry {flex-direction: row;}
  .budget-percent-input-container {
    max-width: 100px;
    margin-bottom: 0px;
    margin-right: 10px;
  }
  footer ul {  flex-direction: row; text-align: left;}

}