/* style for non mobile view */
@media (min-width: 640px) {
  #add-form {
    width: 33%;
    margin: auto;
  }

  #title-add-form {
    width: 33%;
    margin: auto;
  }

  #h1-index {
    margin: auto;
    margin-bottom: 8px;
    width: 75%;
    font-size: 3rem;
    text-transform: uppercase;
  }

  main > nav {
    display: block;
    margin: auto;
    width: 75%;
    position: static;
    padding: 0;
    box-shadow: none;
  }

  main > nav > button {
    height: auto;
    border-radius: 5px;
  }

  button {
    border: 2px solid #06b6d4;
    border-radius: 5px;
    background-color: #06b6d4;
    cursor: pointer;
    padding: 4px;
    font-size: 18px;
    width: 64px;
  }

  #option-container {
    margin: 1.5rem auto;
    width: 75%;
  }

  #summary-container {
    display: flex;
    flex-direction: row;
    overflow: visible;
    justify-content: space-between;
    margin: 1rem auto;
    width: 75%;
  }

  .summary-item > div {
    width: auto;
  }

  #detail-container {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    margin-bottom: auto;
  }

  #detail-container table {
    width: 100%;
  }

  #container-401 {
    position: absolute;
    width: 100%;
    height: 100%;
  }

  #container-401 > h1 {
    font-size: 4rem;
    margin: auto;
    width: 50%;
    height: 100%;
    text-align: center;
    vertical-align: middle;
  }

  /* Table Debit */
  table > thead > tr {
    display: revert;
  }

  table > tbody {
    display: revert;
    flex-direction: column;
  }

  table > tbody > tr {
    display: revert;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 0;
    border-style: solid;
    border-width: 0 0 1px 0;
    border-color: black;
  }

  #tx-debit > tbody > tr > td:nth-child(1) {
    text-align: right;
    align-self: flex-end;
    margin-top: 10px;
  }

  #tx-debit > tbody > tr > td:nth-child(2) {
    order: -1;
    width: auto;
    font-size: 1rem;
    margin-bottom: 4px;
  }

  #tx-debit > tbody > tr > td:nth-child(3) {
    order: -1;
    font-size: 1.25rem;
    align-self: flex-end;
    width: 7rem;
    text-align: right;
  }

  #tx-credit > tbody > tr > td:nth-child(3) {
    text-align: right;
    align-self: flex-end;
    margin-top: 10px;
    order: 3;
  }

  #tx-credit > tbody > tr > td:nth-child(2) {
    order: 1;
    width: auto;
    font-size: 1rem;
    margin-bottom: 4px;
  }

  #tx-credit > tbody > tr > td:nth-child(1) {
    order: 2;
    font-size: 1.25rem;
    align-self: flex-end;
    width: 7rem;
    text-align: right;
  }
}
