/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
/* Document
   ========================================================================== */
/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
   ========================================================================== */
/**
 * Remove the margin in all browsers.
 */
body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */
/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/* Text-level semantics
   ========================================================================== */
/**
 * Remove the gray background on active links in IE 10.
 */
a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
   ========================================================================== */
/**
 * Remove the border on images inside links in IE 10.
 */
img {
  border-style: none;
}

/* Forms
   ========================================================================== */
/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input { /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select { /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type=button],
[type=reset],
[type=submit] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type=button]:-moz-focusring,
[type=reset]:-moz-focusring,
[type=submit]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */
legend {
  box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type=checkbox],
[type=radio] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type=search] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Interactive
   ========================================================================== */
/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item;
}

/* Misc
   ========================================================================== */
/**
 * Add the correct display in IE 10+.
 */
template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
  display: none;
}

:root {
  --c-white: #fff;
  --c-black: #000;
  --c-yellow: #ffcc00;
  --c-green: #015f43;
  --c-green-light: #b8e0d4;
  --c-red: #f75a68;
  --c-silver: silver;
  --c-primary: #f6f7eb;
  --c-primary-dark: #e8e9dd;
  --c-secondary: #393e41;
  --c-tertiary: #e94f37;
  --c-secondary-light: rgba(57, 62, 65, 0.5);
  --c-tertiary-light: rgb(233, 79, 55, 0.5);
}

.d-flex {
  display: flex;
}

.justfy-content-center {
  justify-content: center;
}

.justfy-content-between {
  justify-content: space-between;
}

.align-items-center {
  align-items: center;
}

body {
  font-family: "Roboto", sans-serif;
  font-size: 1rem;
  padding: 1rem;
  color: var(--c-secondary);
  background-color: var(--c-primary);
}
@media (min-width: 960px) {
  body {
    padding: 2rem;
  }
}

a {
  color: var(--c-tertiary);
}

.hero {
  --sp-size: 0.75rem;
  background-color: var(--c-tertiary);
  color: var(--c-white);
  display: flex;
  padding: var(--sp-size);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 0.5rem;
  margin-bottom: 2rem;
  font-size: 1rem;
}
.hero h1 {
  margin: var(--sp-size) 0;
}
.hero h1 a {
  color: #fff;
  text-decoration: none;
}
@media (min-width: 960px) {
  .hero {
    --sp-size: 1.5rem;
    font-size: 1.5rem;
  }
}

.menu {
  display: flex;
  gap: 0.25rem;
}
.menu a {
  color: var(--c-white);
  text-decoration: none;
  transition: linear 0.3s;
  padding: 0.25rem 0.5rem;
  display: block;
  border-radius: 0.25rem;
}
.menu a span {
  display: none;
}
.menu a:hover {
  background-color: var(--c-secondary);
}

.footer {
  margin-top: 2rem;
  background-color: var(--c-secondary);
  border-radius: 4px;
  padding: 1.5rem;
}
.footer p {
  font-size: 12px;
  margin: 0;
  color: var(--c-white);
}

.balance {
  display: flex;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
}
.balance .values {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  gap: 1rem;
  margin: 0;
  padding: 0;
  flex-direction: column;
}
.balance .values li {
  flex: 1;
  background: #fff;
  padding: 1rem;
  position: relative;
  border-radius: 4px;
  width: 100%;
  box-sizing: border-box;
}
.balance .values li h6 {
  font-size: 1rem;
  margin: 0 0 1rem;
}
.balance .values li h6 strong {
  font-weight: 500;
}
.balance .values li p {
  font-size: 2rem;
  margin: 0;
  color: var(--c-tertiary);
}
.balance .values li i {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 2rem;
}
.balance .values li.incomes {
  background-color: var(--c-white);
}
.balance .values li.incomes p,
.balance .values li.incomes h6,
.balance .values li.incomes i {
  color: var(--c-green);
}
.balance .values li.expenses {
  background-color: var(--c-white);
}
.balance .values li.expenses p,
.balance .values li.expenses h6,
.balance .values li.expenses i {
  color: var(--c-red);
}
.balance .values li.total {
  background-color: var(--c-secondary);
  color: var(--c-white);
}
.balance .values li.total p {
  color: var(--c-white);
}
@media (min-width: 769px) {
  .balance .values {
    flex-direction: row;
  }
}
@media (min-width: 960px) {
  .balance .values {
    gap: 2rem;
  }
  .balance .values li {
    padding: 2rem;
  }
  .balance .values li h6 {
    font-size: 1.5rem;
  }
  .balance .values li p {
    font-size: 3rem;
  }
}
@media (min-width: 960px) {
  .balance {
    overflow: none;
    overflow-x: none;
  }
}

.listaTransacoes {
  display: flex;
  gap: 1rem;
  flex-direction: column;
  margin: 0;
  padding: 0;
  list-style: none;
}
.listaTransacoes .itemTransacao {
  background-color: var(--c-white);
  padding: 1rem;
  border-radius: 0.25rem;
  box-shadow: 2px 2px 3px var(--c-black);
  display: flex;
  justify-content: space-between;
}
.listaTransacoes .itemTransacao header {
  padding: 0;
  margin-bottom: 0;
}
.listaTransacoes .itemTransacao .price {
  font-size: 2rem;
  text-align: right;
}
.listaTransacoes .itemTransacao .actionButtons {
  text-align: right;
}
.listaTransacoes .itemTransacao .title {
  font-size: 1rem;
}
.listaTransacoes .itemTransacao .date {
  font-size: 1rem;
}
.listaTransacoes .itemTransacao p {
  margin: 0;
}

.view header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 1rem;
}
.view header h1 {
  font-size: 2rem;
}

.form {
  background-color: var(--c-white);
  padding: 1rem;
  border-radius: 4px;
}
.form fieldset {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border: none;
  margin: auto;
}
.form label {
  display: none;
}
.form input,
.form select {
  padding: 0.5rem;
  width: 100%;
}
.form button {
  padding: 1rem 1rem;
  width: 100%;
  border: none;
  background-color: var(--c-secondary);
  border-radius: 0.25rem;
  color: #fff;
  font-weight: 500;
  cursor: pointer;
  transition: linear 0.3s;
}
.form button:hover {
  background-color: var(--c-tertiary);
}
.form .twoButtons {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 1rem;
}
.form .twoButtons button {
  width: 100%;
  max-width: 140px;
}
.form .twoButtons a {
  display: block;
  padding: 1rem;
}
.form .radioList {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.form .radioList .radioLabel {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  background-color: var(--c-primary);
  color: var(--c-secondary);
  padding: 1rem;
  position: relative;
  cursor: pointer;
  border-radius: 0.25rem;
}
.form .radioList .radioLabel.income i {
  color: var(--c-green);
}
.form .radioList .radioLabel.income.checked {
  background-color: var(--c-green);
  color: #fff;
}
.form .radioList .radioLabel.income.checked i {
  color: #fff;
}
.form .radioList .radioLabel.expense i {
  color: var(--c-red);
}
.form .radioList .radioLabel.expense.checked {
  background-color: var(--c-red);
  color: #fff;
}
.form .radioList .radioLabel.expense.checked i {
  color: #fff;
}
.form .radioList .radioLabel input {
  width: auto;
  opacity: 0;
  position: absolute;
}
.form .radioList .radioItem {
  width: 100%;
}

.transactions {
  background-color: var(--c-white);
  padding: 1rem;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
}
.transactions .search {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.transactions .search input[type=search] {
  width: 100%;
  padding: 1rem;
  border: none;
  background-color: var(--c-silver);
  color: #fff;
  border-radius: 4px;
}
.transactions .search input[type=search]::placeholder {
  color: #fff;
}
.transactions .search button {
  display: flex;
  padding: 0.8rem;
  justify-content: space-between;
  align-items: center;
  border: none;
  background-color: var(--c-tertiary);
  color: #fff;
  border-radius: 4px;
}
.transactions .list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.transactions .list .item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  background-color: var(--c-primary);
  padding: 0.5rem;
  border-bottom: 1px solid var(--c-primary-dark);
  flex-direction: column;
}
.transactions .list .item p {
  margin: 0;
}
.transactions .list .item p a {
  text-decoration: none;
  font-weight: 500;
}
.transactions .list .item p.price {
  color: var(--c-green);
}
.transactions .list .item p.price.negativo {
  color: var(--c-red);
}
@media (min-width: 769px) {
  .transactions .list .item {
    padding: 1rem;
    flex-direction: row;
  }
  .transactions .list .item p.label {
    width: 35%;
  }
  .transactions .list .item p.price {
    width: 20%;
    text-align: right;
  }
  .transactions .list .item p.categories {
    width: 20%;
    text-align: center;
  }
  .transactions .list .item p.type {
    width: 20%;
    text-align: center;
  }
  .transactions .list .item p.dueDate {
    width: 10%;
    text-align: right;
  }
}
@media (min-width: 960px) {
  .transactions {
    padding: 2rem;
  }
}

.actionButton {
  border: none;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  color: var(--c-green);
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  transition: linear 0.3s;
  font-size: 1.25rem;
}
.actionButton span {
  display: none;
}
.actionButton:hover {
  background-color: var(--c-green-light);
}
@media (min-width: 769px) {
  .actionButton {
    padding: 0.5rem 1rem;
  }
  .actionButton span {
    display: flex;
    justify-content: flex-start;
    align-items: center;
  }
}
@media (min-width: 960px) {
  .actionButton {
    padding: 0.5rem 1rem;
  }
  .actionButton span {
    display: inline;
  }
}

.modal {
  display: none;
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.7);
  width: 100vw;
  height: 100vh;
  align-items: center;
  justify-content: center;
}
.modal.open {
  display: flex;
}
.modal .body {
  background-color: var(--c-primary);
  width: 100%;
  margin: 1rem;
  max-width: 640px;
  padding: 0.5rem;
  border-radius: 0.25rem;
  box-sizing: border-box;
}
.modal .body header {
  display: flex;
  font-size: 1.25rem;
  justify-content: space-between;
  align-items: center;
  font-weight: 500;
  padding: 0 0 0.5rem;
  border-bottom: 1px solid var(--c-primary-dark);
}
.modal .body header button {
  background-color: var(--c-tertiary);
  border: none;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 32;
  height: 32px;
  border-radius: 50%;
  transition: linear 0.3s;
  cursor: pointer;
}
.modal .body header button:hover {
  background-color: var(--c-red);
}
@media (min-width: 960px) {
  .modal body {
    padding: 1rem;
  }
}

/*# sourceMappingURL=style.css.map */
