html {
  height: 100%;
}

body.modal-open section#home,
body.modal-open header#top,
body.modal-open section#balance {
  -webkit-filter: blur(4px);
  -moz-filter: blur(4px);
  -o-filter: blur(4px);
  -ms-filter: blur(4px);
  filter: blur(4px);
}

.before-style,
header ul li::before {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  content: '';
  width: 16px;
  height: 2px;
  background-color: #fff;
  transform-origin: 0 100%;
  transform: rotate(-5deg);
  transition: all 0.2s ease-out;
}

*,
::before,
::after {
  box-sizing: border-box;
  margin: 0;
}

::-webkit-scrollbar {
  width: 8px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background-color: #191a1d;
}

::-webkit-scrollbar-thumb {
  border-radius: 1em;
  background-color: #312d3c;
}

::-webkit-scrollbar-thumb:hover {
  background-color: #df2359;
}

body {
  height: 100vh;
  margin: 0;
  line-height: 1.5;
  font-family: 'Inconsolata', monospace;
  color: #fff;
  background-color: #191a1d;
}

.content {
  margin: 0 auto;
  width: calc(100% - 1em);
  padding: 0 1em;
  max-width: 1400px;
}

a {
  text-decoration: none;
  color: #fff;
}

a:hover,
a.active {
  color: #cfb53b;
  text-decoration: none;
}

#top {
  position: fixed;
  top: 0;
  width: 100%
}

ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.col {
  width: 50%;
  float: left;
  padding: 5px 5px;
}

.table::after {
  content: "";
  clear: both;
  display: table;
}

th {
  color: aliceblue;
}

tr {
  color: aliceblue;
  cursor: pointer;
}

.table-hover tbody tr:hover td,
.table-hover tbody tr:hover th {
  background-color: rgb(255, 255, 255, 0.6);
}

.custom-select {
  text-align: center;
}

header {
  display: flex;
  align-items: center;
  font-size: 1rem;
  position: sticky;
  top: 0;
  z-index: 4;
  padding: 0.5em;
  min-height: 6vh;
  justify-content: space-between;
  background-color: #191a1d;
}

@media (max-width: 768px) {
  header {
    flex-direction: column;
    font-size: 0.5em;
  }

  #tableOfIncomes,
  #tableOfExpenses {
    max-width: 85%;
  }

  h2,
  h3,
  h4 {
    font-size: 1em;
  }
}

header h3 {
  position: relative;
  margin: 0;
  font-family: 'Inconsolata', monospace;
  font-size: 2rem;
  color: #cfb53b;
}

header h3::before {
  background-color: aliceblue;
  width: 30px;
}

header ul {
  margin: 1em 0;
  display: flex;
  width: 100%;
  justify-content: flex-end;
  align-items: center;
}

header ul li {
  position: relative;
  margin: 0 1em;
  padding: 0.5em;
}

header ul li .material-icons:hover {
  transform: scale(1.3);
  transition: 1s;
  cursor: pointer;
}

header ul li a {
  text-transform: uppercase;
  font-family: 'Inconsolata', monospace;
  font-weight: 500;
}

header ul li:hover::before {
  width: 100%;
  background-color: #cfb53b;
}

section {
  position: relative;
  padding: 1.25em 1em;
  display: flex;
  width: 100%;
  min-height: 100vh;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 1em;
  background-color: #191a1d;
}

section h2 {
  position: relative;
  text-transform: uppercase;
  margin-bottom: 1em;
  font-family: 'Inconsolata', monospace;
}

section h2::before {
  width: 50px;
}

section#home {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

section#home::before {
  position: absolute;
  top: 0;
  left: 0;
  content: '';
  z-index: 0;
  width: 100%;
  height: 100%;
  background-color: #191a1d;
  opacity: 0.7;
}

section#balance {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.main {
  width: 100%;
  min-height: 100vh;
  position: absolute;
  top: 0;
  left: 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 1em;
}

section#balance::before {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  background-color: #191a1d;
}

section#home h1 {
  display: none;
}

section#home .content {
  z-index: 1;
}

@media (min-width: 991px) {
  section#home .content {
    display: grid;
    grid-template-columns: 1fr minmax(40%, auto);
    grid-gap: 1em;
  }
}

.social p {
  font-style: oblique;
  font-family: "Pacifico", cursive;
}

#fb,
#ln,
#gh {
  font-size: 20px;
  text-align: center;
  color: aliceblue;
  border-radius: 5px;
}

section#home .content .title {
  display: block;
  width: 100%;
  height: 100px;
  font-family: 'Inconsolata', monospace;
  transform: scale(0.9);
  font-size: 2.5rem;
}

@media (min-width: 480px) {
  section#home .content .title {
    font-size: 3rem;
    font-weight: 600;
  }
}

section#home .content .title text {
  fill: none;
  stroke: #fff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 700;
  stroke-dashoffset: 1000;
  animation: dash 3s linear forwards;
}

section#home .content .lead {
  font-size: 1.25rem;
  color: aliceblue;
}

section#home .content .blur {
  position: relative;
  margin: 0 auto;
  padding: 1em;
  overflow: hidden;
  width: 80%;
  border-radius: 0.35em;
  background-color: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(10px);
}

section#home .content .blur form {
  position: relative;
  margin: auto;
  padding: 0.5em;
  display: flex;
  min-height: 375px;
  flex-direction: column;
  align-items: center;
  border: 2px solid #fff;
  border-radius: 0.35em;
}

.wrapper1 .blur {
  position: relative;
  margin: auto;
  padding: 2em;
  align-items: center;
  border: 2px solid #fff;
  border-radius: 0.35em;
}

.wrapper {
  background-color: rgb(41, 43, 44, 0.9);
  -webkit-box-shadow: 2px 4px 26px 11px rgba(0, 0, 0, 0.7);
  -moz-box-shadow: 2px 4px 26px 11px rgba(0, 0, 0, 0.7);
  box-shadow: 2px 4px 26px 11px rgba(0, 0, 0, 0.7);
  border-radius: 30px;
  width: 85%;
  border: 2px solid #43505c;
}

.wrapper1 {
  padding: 1em;
  max-width: 45%;
  background-color: rgba(116, 130, 138, 0.85);
  -webkit-box-shadow: 2px 4px 20px 6px rgba(250, 250, 250, 0.7);
  -moz-box-shadow: 2px 4px 20px 6px rgba(255, 255, 255, 0.7);
  box-shadow: 2px 4px 20px 6px rgba(255, 255, 255, 0.7);
  border-radius: 15px;
}

#intro {
  background-color: transparent;
  color: aliceblue;
  letter-spacing: 2px;
}

.input-group {
  display: flex;
  width: 100%;
}

#tableOfIncomesInDetail {
  color: aliceblue;
}

.login-button {
  font-size: 1.5em;
}

.login-button .btn:hover {
  background-image: linear-gradient();
}

.content .blur form .row {
  min-width: 85%;
  max-width: 95%;
}

.login-input,
.register-input {
  display: flex;
  width: 100%;
  position: relative;
}

#ok {
  color: #2ecc71;
}

#wrong {
  color: #e74c3c;
}

#ok,
#wrong {
  font-size: 16px;
  visibility: hidden;
}

.login-input small,
.register-input small {
  color: #DC143C;
  position: absolute;
  left: 16%;
  top: 42px;
  visibility: hidden;
  font-weight: 500;
}

.form-control {
  border-radius: 5px;
  opacity: 0.8;
}

.login-icon,
.register-icon {
  display: flex;
  position: relative;
  color: #e3e3e3;
}

.register-input.success input,
.login-input.success input {
  border: 2px solid #2ecc71;
}

.register-input.error input,
.login-input.error input {
  border: 2px solid #e74c3c;
}

.register-input.success span#ok,
.login-input.success span#ok {
  color: #2ecc71;
  visibility: visible;
}

.register-input.error span#wrong,
.login-input.error span#wrong {
  color: #e74c3c;
  visibility: visible;
}

.register-input.error small,
.login-input.error small {
  visibility: visible;
}

.keeplogin input,
.keeplogin label {
  font-style: italic;
}

.page-footer {
  position: fixed;
  font-size: 14px;
  background-color: transparent;
  bottom: 0;
}

.modal {
  border-radius: 5px;
}

.modal-dialog {
  width: auto;
  height: auto;
  margin: 0 auto;
  padding: 0;
}

.modal-content {
  height: auto;
  min-height: 100%;
  border-radius: 0;
}

.modal .modal-content .modal-header {
  background-color: #191a1d;
  opacity: 0.85;
  border-radius: 5px;
  color: aliceblue;
  border: 2px 2px 0 2px solid rgba(147, 184, 189, 0.8);
  -webkit-box-shadow: 0pt 2px 5px rgba(105, 108, 109, 0.7), 0px 0px 8px 5px rgba(208, 223, 226, 0.4) inset;
  -moz-box-shadow: 0pt 2px 5px rgba(105, 108, 109, 0.7), 0px 0px 8px 5px rgba(208, 223, 226, 0.4) inset;
  box-shadow: 0pt 2px 5px rgba(105, 108, 109, 0.7), 0px 0px 8px 5px rgba(208, 223, 226, 0.4) inset;
  -webkit-box-shadow: 5px;
  -moz-border-radius: 5px;
}

.modal .modal-content .modal-header .close {
  color: aliceblue;
}

.modal .modal-content .modal-body {
  background-color: rgb(108, 115, 163, 0.4);
  border-radius: 5px;
  border: 0 2px 2px 0 solid rgba(147, 184, 189, 0.8);
  -webkit-box-shadow: 0pt 2px 5px rgba(105, 108, 109, 0.7), 0px 0px 8px 5px rgba(208, 223, 226, 0.4) inset;
  -moz-box-shadow: 0pt 2px 5px rgba(105, 108, 109, 0.7), 0px 0px 8px 5px rgba(208, 223, 226, 0.4) inset;
  box-shadow: 0pt 2px 5px rgba(105, 108, 109, 0.7), 0px 0px 8px 5px rgba(208, 223, 226, 0.4) inset;
  -webkit-box-shadow: 5px;
  -moz-border-radius: 5px;
}

.modal .modal-content .modal-footer {
  background-color: aliceblue;
  border-radius: 5px;
  border: 0 2px 0 2px solid rgba(147, 184, 189, 0.8);
  -webkit-box-shadow: 0pt 2px 5px rgba(105, 108, 109, 0.7), 0px 0px 8px 5px rgba(208, 223, 226, 0.4) inset;
  -moz-box-shadow: 0pt 2px 5px rgba(105, 108, 109, 0.7), 0px 0px 8px 5px rgba(208, 223, 226, 0.4) inset;
  box-shadow: 0pt 2px 5px rgba(105, 108, 109, 0.7), 0px 0px 8px 5px rgba(208, 223, 226, 0.4) inset;
  -webkit-box-shadow: 5px;
  -moz-border-radius: 5px;
}

.income-input,
.expense-input {
  position: relative;
  display: flex;
}

.income-icon,
.expense-icon {
  color: #495057;
  background-color: #e9ecef;
  border: 1px solid #ced4da;
  border-bottom-left-radius: 5px;
  border-top-left-radius: 5px;
}

.amount-data,
.data-control,
.user-options,
.form-data {
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
  border: 1px solid #ced4da;
  transition: border-color .25s ease-in-out;
}

#statusInfo {
  color: aliceblue;
  font-size: 2.5em;
}

#successInfo {
  color: seagreen;
  font-size: 2em;
}

#alertInfo {
  color: crimson;
  font-size: 2em;
}

.btn-rounded {
  border-radius: 10px;
}

#btnBack {
  font-size: 1.75em;
  letter-spacing: 2px;
  background: -webkit-linear-gradient(to right, #707274, #141E30);
  background: linear-gradient(to right, #707274, #141E30);
  color: #eee;
  border: 2px solid #eee;
  cursor: pointer;
  transition: 0.5s ease-in-out;
}

#btnBack:hover {
  transform: scale(0.95);
  color: #eee;
  background: linear-gradient(to right, #141E30, #707274);
  background: -webkit-linear-gradient(to right, #141E30, #707274);
}

#logInBtn,
#regBtn {
  color: cornsilk;
  border-radius: 10px;
  border: 2px solid #eee;
  background: linear-gradient(to bottom, cornflowerblue, rgb(93, 93, 233));
  transition: 0.5s ease-in-out;
}

.modal .modal-content .modal-footer button[type='submit'] {
  border-radius: 20px;
  letter-spacing: 1px;
  font-weight: bold;
  border: 2px solid #2ecc71;
}

.modal .modal-content .modal-footer button[type='reset'] {
  border-radius: 20px;
  letter-spacing: 1px;
  border: 2px solid #c01818;
  font-weight: bold;
}


#logInBtn:hover,
#regBtn:hover {
  background: linear-gradient(to bottom, rgb(93, 93, 233), cornflowerblue);
  transform: scale(1.05);

}

#redirect {
  font-size: 2em;
  letter-spacing: 2px;
  border: 2px solid #eee;
  color: aliceblue;
  background: linear-gradient(to bottom, #d45555, #992929);
  transition: 0.5s ease-in-out;
}

#redirect:hover {
  background: linear-gradient(to bottom, #c01818, #e98c8c);
  transform: scale(0.98);
}

.buttonBalance {

  font-size: 1.5rem;
  border: 2px solid #e3e3e3;
  border-radius: 50px;
  width: 100px;
  height: 100px;
  padding: 5px;
  margin: 10% auto;
  transition: .5s cubic-bezier(0.68, -0.55, 0.265, 1.55);

}

.icon {
  position: relative;
  margin: auto;
  color: #e3e3e3;
  transform: translateY(-50%);
  transform: scale(1.2);
  text-align: center;
}

.buttonBalance:hover {
  transform: scale(1.1);
  background-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0px 5px 5px rgba(0, 0, 0, 0.2);
  transition: .3s;
  cursor: pointer;
}

.buttonBalance:active {
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
  transition: .05s
}

.option {
  color: #cfb53b;
}

.option:hover {
  color: #e9ce55;
}

@-moz-keyframes dash {
  to {
    stroke-dashoffset: 0;
    fill: #fff;
  }
}

@-webkit-keyframes dash {
  to {
    stroke-dashoffset: 0;
    fill: #fff;
  }
}

@-o-keyframes dash {
  to {
    stroke-dashoffset: 0;
    fill: #fff;
  }
}

@keyframes dash {
  to {
    stroke-dashoffset: 0;
    fill: #fff;
  }
}

@-moz-keyframes hearts {
  50% {
    transform: scale(1.4);
  }
}

@-webkit-keyframes hearts {
  50% {
    transform: scale(1.4);
  }
}

@-o-keyframes hearts {
  50% {
    transform: scale(1.4);
  }
}

@keyframes hearts {
  50% {
    transform: scale(1.4);
  }
}