/* Utillities */

:root {
  --blue-color: #2196f3;
  --white-color: #eaeaea;
  --grey-color: #777777;
  --green-color: #8BC34A;
  --red-color: #FF0000;
  --gold-color: #F1C40F;
}

* {
  margin: 0;
  padding: 0;
  line-height: normal;
  box-sizing: border-box;
  font-family: 'Open Sans', sans-serif;
  transition: ease-in-out 300ms;
}

body {
  margin: 0;
  padding: 0;
  line-height: normal;
  box-sizing: border-box;
  font-family: 'Open Sans', sans-serif;
  background: var(--blue-color);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  padding: 0;
}

button,
input,
select,
textarea {
  appearance: none;
  background: none;
  border: none;
  cursor: pointer;
  outline: none;
  margin: 0;
  padding: 0;
}

section {
  display: flex;
  justify-content: center;
}

/* Header */

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 2.5vw 6.25vw;
  margin-bottom: 0;
}

#menu {
  margin: 0;
  padding: 0;
  background-image: url(./img/menu.png);
  background-size: cover;
  width: 2.29vw;
  height: 1.875vw;
}

#home {
  background-image: url(./img/home.png);
  background-size: cover;
  width: 3.047vw;
  height: 3.33vw;
}

#dark-switch {
  margin: 0;
  padding: 0;
  background-image: url(./img/dark-off.png);
  background-size: cover;
  width: 3.33vw;
  height: 2.08vw;
}

/* Home-page */

#cards-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 6.25vw;
  margin-bottom: 0;
  width: 87.5vw;
  height: 33.33vw;
}

.card-main {
  background: var(--white-color);
  background: var(--white-color);
  width: 25vw;
  height: 33.33vw;
  box-shadow: 1.25vw 1.25vw 2.6vw 0.83vw rgba(0, 0, 0, 0.25);
  border-radius: 1.25vw;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.title {
  padding: 0.42vw 0.83vw;
  margin-top: 2.5vw;
  margin-bottom: 1.67vw;
  background: var(--blue-color);
  color: var(--white-color);
  box-shadow: 0px 0.21vw 0.21vw rgba(0, 0, 0, 0.25);
  border-radius: 0.625vw;
  font-weight: 800;
  font-size: 2.5vw;
}

.title:hover {
  box-shadow: 0.104vw 0.2083vw 0.83vw 0.104vw var(--blue-color);
}

.container {
  margin-left: 1.67vw;
  align-self: flex-start;
  height: 16.33vw;
  max-height: 16.33vw;
  overflow-y: visible;
  overflow-x: hidden;
  width: 21.67vw;
}

.content-group {
  padding-bottom: 0.4167vw;
  display: grid;
  grid-template-columns: 1.67vw minmax(0, 1fr) 1.67vw;
  column-gap: 1.25vw;
  align-items: center;
  text-align: justify;
  margin-bottom: 1.2533vw;
  width: inherit;
  border-bottom: 0.2083vw dotted transparent;
}

.content-group:hover {
  border-bottom: dotted 0.2083vw var(--blue-color);
}

.content-group img {
  width: 1.67vw;
  height: 1.67vw;
}

.text-button {
  font-weight: 700;
  font-size: 1.25vw;
  color: var(--blue-color);
  justify-self: start;
  text-align: left;
  width: 16.24vw;
}

.delete {
  margin: 0;
  height: 1.67vw;
  width: 1.67vw;
  display: none;
  transition: ease-in 200ms;
  background: url(./img/delete.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.delete:hover {
  background: url(./img/delete-open.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.delete-img,
.delete-img-open {
  transition: ease-in 200ms;
  display: block;
}

.delete-img-open {
  display: none;
}

.add {
  margin-bottom: 2.5vw;
  margin-top: 1.67vw;
  width: 4.167vw;
  height: 4.167vw;
  border-radius: 100%;
  background-image: url(./img/add.png);
  background-size: contain;
  background-repeat: no-repeat;
  transition: ease-in-out 200ms;
}

.add:hover {
  box-shadow: 0.104vw 0.2083vw 0.83vw 0.104vw var(--blue-color);
  transition: ease-in-out 10ms;
}

/* Calendar */

#calendar-section {
  display: none;
  margin-top: 1.67vw;
}

#card-calendar {
  width: 37.5vw;
  height: 43.75vw;
  background: #eaeaea;
  box-shadow: 1.25vw 1.25vw 2.6vw 0.83vw rgba(0, 0, 0, 0.25);
  border-radius: 1.25vw;
  display: flex;
  flex-direction: column;
}

#card-calendar .group {
  margin-left: 3.125vw;
  margin-top: 4.167vw;
  display: grid;
  grid-template-columns: 2.5vw minmax(0, 1fr) 2.5vw;
  column-gap: 1.25vw;
  align-items: center;
  text-align: left;
  width: 31.25vw;
}

.back {
  width: 2.5vw;
  height: 2.5vw;
  margin-right: 0.4167vw;
  display: flex;
  align-items: center;
}

.back img {
  width: 2.1875vw;
  height: 1.406vw;
}

h2 {
  font-weight: 700;
  font-size: 2.5vw;
  color: var(--grey-color);
}

#card-calendar .group h2 {
  margin-right: 14.739583vw;
}

.sort {
  width: 2.1875vw;
  height: 2.1875vw;
  display: flex;
  align-items: center;
  border-bottom: solid transparent 0.2083vw;
  padding-bottom: 0.2083vw;
}

.sort:hover {
  border-bottom: solid var(--grey-color) 0.2083vw;
}

.sort img {
  width: 2.1875vw;
  height: 1.914vw;
}

#card-calendar .container {
  margin: 0 3.125vw;
  margin-top: 1.67vw;
  height: 27.083vw;
  max-height: 27.083vw;
  width: 31.25vw;
}

#card-calendar .container .content-group {
  padding-bottom: 0.4167vw;
  display: grid;
  grid-template-columns: 2.5vw minmax(0, 1fr) 2.5vw;
  column-gap: 1.25vw;
  align-items: center;
  text-align: left;
  margin-bottom: 1.2533vw;
  width: inherit;
}

#card-calendar .container .content-group img {
  width: 2.5vw;
  height: 2.5vw;
}

#card-calendar .container .content-group .delete {
  width: 2.5vw;
  height: 2.5vw;
}

.calendar-input {
  font-weight: 700;
  font-size: 1.67vw;
  color: var(--grey-color);
  text-align: left;
}

.calendar-entry-2 span:first-child,
.calendar-input span:first-child {
  margin-right: 0.83vw;
}

#card-calendar .add {
  align-self: center;
}

/* Calendar Adding */

#adding-calendar-section {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.darken-bg {
  background: #333;
  opacity: 0.9;
  width: 100vw;
  height: 100vh;
  position: absolute;
}

#adding-calendar {
  z-index: 2;
  background: var(--white-color);
  width: 37.5vw;
  height: 50vw;
  box-shadow: 1.25vw 1.25vw 2.6vw 0.83vw rgba(0, 0, 0, 0.25);
  border-radius: 1.25vw;
  align-self: center;
  justify-self: center;
  margin-top: 3.125vw;
}

form {
  margin: 4.167vw 3.125vw;
  margin-top: 0;
  height: 41.67vw;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.form-group {
  height: 4.27083vw;
  /* margin-bottom: 2.083vw; */
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.textarea-group {
  height: 11.77vw;
  margin-bottom: 0;
}

input,
select,
textarea {
  width: 31.25vw;
  height: 3.33vw;
  background: var(--white-color);
  border: 0.104vw solid var(--grey-color);
  box-shadow: 0.104vw 0.2083vw 0.83vw 0.104vw rgba(0, 0, 0, 0.25);
  border-radius: 0.2083vw;
  font-weight: 600;
  font-size: 1.25vw;
  color: var(--grey-color);
  line-height: 1.25vw;
  padding: 0.83vw 0.83vw;
}

input::placeholder,
textarea::placeholder {
  opacity: 0.8;
}

textarea {
  height: 9.6875vw;
}

label {
  font-weight: 600;
  font-size: 1.4583vw;
  color: var(--grey-color);
  margin-left: 0.83vw;
  margin-bottom: -0.73vw;
  z-index: 3;
  background: radial-gradient(
    circle,
    rgba(234, 234, 234, 1) 70%,
    rgba(234, 234, 234, 0) 100%
  );
  width: fit-content;
  padding: 0 0.6083vw;
}

#repeat {
  background: radial-gradient(
    circle,
    rgba(234, 234, 234, 1) 80%,
    rgba(234, 234, 234, 0) 100%
  );
}

#description {
  background: radial-gradient(
    circle,
    rgba(234, 234, 234, 1) 90%,
    rgba(234, 234, 234, 0) 100%
  );
  padding: 0 0.4083vw;
}

#close {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 37.5vw;
  height: 1.67vw;
  margin-top: 2.083vw;
}

#close img,
#close-btn {
  width: 1.67vw;
  height: 1.67vw;
  margin-right: 1.4583vw;
}

input[type='submit'] {
  width: fit-content;
  height: fit-content;
  font-weight: 700;
  font-size: 1.4583vw;
  /* margin-top: 4.167vw; */
  padding: 0.9375vw 0.83vw;
  background: var(--blue-color);
  color: var(--white-color);
  box-shadow: 0.104vw 0.2083vw 0.83vw 0.104vw rgba(0, 0, 0, 0.25);
  border-radius: 0.4167vw;
  border: 0.104vw solid var(--blue-color);
  transition: ease-in 200ms;
}

input[type='submit']:hover {
  box-shadow: 0.104vw 0.2083vw 0.83vw 0.104vw var(--blue-color);
  background: var(--white-color);
  color: var(--blue-color);
  transition: ease-in 200ms;
}

input[type='text'],
textarea {
  cursor: text;
}

/* Editing Calendar */

#editing-calendar-section {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.edit-cancel {
  /* margin-top: 4.167vw; */
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 31.25vw;
}

.edit-cancel input[type='submit'] {
  margin: 0;
  padding: 0;
  width: 14.583vw;
  height: 3.33vw;
}

.cancel {
  font-weight: 700;
  font-size: 1.4583vw;
  color: var(--blue-color);
  width: 14.583vw;
  height: 3.33vw;
  box-shadow: 0.104vw 0.2083vw 0.83vw 0.104vw rgba(0, 0, 0, 0.25);
  border-radius: 0.4167vw;
  border: 0.104vw solid var(--blue-color);
  transition: ease-in 200ms;
}

.cancel:hover {
  transition: ease-in 200ms;
  width: 14.583vw;
  height: 3.33vw;
  box-shadow: 0.104vw 0.2083vw 0.83vw 0.104vw var(--blue-color);
  border: 0.15vw solid var(--blue-color);
}

/* To-Do Section */

#todo-section {
  display: none;
  margin-top: 1.67vw;
}

#card-todo {
  width: 37.5vw;
  height: 43.75vw;
  background: #eaeaea;
  box-shadow: 1.25vw 1.25vw 2.6vw 0.83vw rgba(0, 0, 0, 0.25);
  border-radius: 1.25vw;
  display: flex;
  flex-direction: column;
}

#card-todo .group {
  margin-left: 3.125vw;
  margin-top: 4.167vw;
  display: grid;
  grid-template-columns: 2.5vw minmax(0, 1fr) 2.5vw;
  column-gap: 1.25vw;
  align-items: center;
  text-align: left;
  width: 31.25vw;
}

.back {
  width: 2.5vw;
  height: 2.5vw;
  display: flex;
  align-items: center;
}

.back img {
  width: 2.1875vw;
  height: 1.406vw;
}

h2 {
  font-weight: 700;
  font-size: 2.5vw;
  color: var(--grey-color);
}

.sort img {
  width: 2.1875vw;
  height: 1.914vw;
}

#card-todo .container {
  margin: 0 3.125vw;
  margin-top: 1.67vw;
  height: 27.083vw;
  max-height: 27.083vw;
  width: 31.25vw;
}

#card-todo .container .content-group {
  padding-bottom: 0.4167vw;
  display: grid;
  grid-template-columns: 2.5vw minmax(0, 1fr) 2.5vw;
  column-gap: 1.25vw;
  align-items: center;
  text-align: left;
  margin-bottom: 1.2533vw;
  width: inherit;
}

#card-todo .container .content-group img {
  width: 2.5vw;
  height: 2.5vw;
}

#card-todo .container .content-group .delete {
  width: 2.5vw;
  height: 2.5vw;
}

.todo-input {
  font-weight: 700;
  font-size: 1.67vw;
  color: var(--grey-color);
  text-align: left;
}

.todo-entry span:first-child,
.todo-entry-2 span:first-child {
  margin-right: 0.83vw;
}

#card-todo .add {
  align-self: center;
}

/* To-Do Adding */

#adding-todo-section {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

#adding-todo {
  z-index: 2;
  background: var(--white-color);
  width: 37.5vw;
  height: 50vw;
  box-shadow: 1.25vw 1.25vw 2.6vw 0.83vw rgba(0, 0, 0, 0.25);
  border-radius: 1.25vw;
  align-self: center;
  justify-self: center;
  margin-top: 3.125vw;
}

#editing-todo-section {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

#adding-todo form .textarea-group,
#editing-todo form .textarea-group {
  height: 9.25vw;
}

#todo-description {
  height: 8.52083vw;
}

#editing-todo {
  z-index: 2;
  background: var(--white-color);
  width: 37.5vw;
  height: 50vw;
  box-shadow: 1.25vw 1.25vw 2.6vw 0.83vw rgba(0, 0, 0, 0.25);
  border-radius: 1.25vw;
  align-self: center;
  justify-self: center;
  margin-top: 3.125vw;
}

.clocks {
  cursor: pointer;
}

.clock {
  display: block;
}

.clock-full {
  display: none;
  opacity: 0.5;
}

/* Finance */

.finance-group {
  display: grid;
  grid-template-columns: 1.67vw minmax(0, 1fr) 1.67vw;
  column-gap: 1.25vw;
  align-items: center;
  text-align: justify;
  margin-bottom: 1.67vw;
  width: inherit;
}

.finance-group:last-child {
  margin-bottom: 1.25vw;
}

.finance-group img {
  width: 1.67vw;
  height: 1.67vw;
}

.green {
  color: var(--green-color);
}

.red {
  color: var(--red-color);
}

.blue {
  color: var(--blue-color);
}

.gold {
  color: var(--gold-color);
}

.income-value, 
.expenses-value, 
.total-value, 
.savings-value, 
.investments-value {
  justify-self: right;
  text-align: right;
  font-weight: 700;
  font-size: 1.25vw;
}

/* Finance Section */

#finance-section {
  display: none;
  flex-direction: column;
  align-items: center;
  /* margin-top: 1.67vw; */
}

#cards-finance {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 6.25vw;
  margin-bottom: 0;
  width: 87.5vw;
  height: 33.33vw;
}

.finance-container {
  background: var(--white-color);
  width: 25vw;
  height: 33.33vw;
  box-shadow: 1.25vw 1.25vw 2.6vw 0.83vw rgba(0, 0, 0, 0.25);
  border-radius: 1.25vw;
}

#income-card {
  height: 29.1673vw;
  width: 20.834vw;
  display: grid;
  grid-template-rows: 4.79vw 1fr 2.1875vw;
  row-gap: 1.67vw;
  justify-items: center;
  align-items: start;
  /* margin: 2.083vw; */
  margin: 2.083vw;
  /* margin-bottom: 0; */
}

#card-finance {
  width: 37.5vw;
  height: 43.75vw;
  background: #eaeaea;
  box-shadow: 1.25vw 1.25vw 2.6vw 0.83vw rgba(0, 0, 0, 0.25);
  border-radius: 1.25vw;
  display: flex;
  flex-direction: column;
}

#income-card .group {
  /* margin-top: 2.083vw;
  margin-bottom: 1.67vw; */
  display: grid;
  grid-template-columns: 1.875vw 1fr 1.67vw;
  column-gap: 1.67vw;
  align-items: center;
  width: 20.083vw;
  align-self: center;
}

#income-card .group img {
  width: 1.875vw;
  height: 1.75vw;
  /* margin-right: 0.625vw; */
}

#income-card .group h2 {
  font-weight: 700;
  font-size: 2.1875vw;
  color: var(--white-color);
  padding: 0.2083vw 0.83vw;
  background-color: var(--green-color);
  border-radius: 0.625vw;
  box-shadow: 0px 0.21vw 0.21vw rgba(0, 0, 0, 0.25);
  width: fit-content;
  justify-self: center;
}

#income-card .group .sort {
  width: 1.67vw;
  height: 1.67vw;
  display: flex;
  align-items: center;
}

#income-card .group .sort img {
  width: 1.67vw;
  height: 1.67vw;
}

#income-card .container {
  margin: 0;
  width: 20.83vw;
  height: auto;
}

#income-card .container .content-group {
  padding-bottom: 0.4167vw;
  display: grid;
  grid-template-columns: 1.67vw minmax(0, 1fr) 1.67vw;
  column-gap: 1.25vw;
  align-items: center;
  text-align: left;
  /* margin: 0; */
  width: inherit;
}

#income-card .container .content-group:hover {
  border-bottom: dotted 0.2083vw var(--green-color);
}

#income-card .container .content-group img {
  width: 1.67vw;
  height: 1.67vw;
}

/* .checked-income-entry,
.unchecked-income-entry,
.checked-expenses-entry,
.unchecked-expenses-entry {
  cursor: pointer;
} */

.unchecked-income-entry {
  display: none;
}

#income-card .container .content-group .delete {
  width: 1.67vw;
  height: 1.67vw;
}

.finance-input {
  font-weight: 700;
  font-size: 1.4583vw;
  color: var(--grey-color);
  text-align: left;
  display: grid;
  grid-template-columns: minmax(4vw, 1fr) minmax(0, 7vw);
  column-gap: 0.83vw;
  width: 16.24vw;
}

.income-entry {
  color: var(--green-color);
}

.income-item-value {
  width: fit-content;
  justify-self: right;
}

#income-total {
  display: grid;
  grid-template-columns: 2.1875vw minmax(0, 1fr) minmax(0, 1fr);
  column-gap: 0.83vw;
  align-items: center;
  text-align: left;
  width: 20.83vw;
}

#income-total img {
  width: 2.1875vw;
  height: 2.1875vw;
}

.income-total-text,
#income-total-value {
  font-weight: 700;
  font-size: 1.67vw;
  color: var(--green-color);
}

#income-total-value {
  justify-self: right;
  width: fit-content;
}

#income-card .add {
  align-self: center;
  background: url(./img/add-green.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  width: 4.167vw;
  height: 4.167vw;
  margin: 0;
}

#income-card .add:hover {
  box-shadow: 0.104vw 0.2083vw 0.83vw 0.104vw var(--green-color);
}

/* Expenses */

#expenses-card {
  height: 29.1673vw;
  width: 20.834vw;
  display: grid;
  grid-template-rows: 4.79vw 1fr 2.1875vw;
  row-gap: 1.67vw;
  justify-items: center;
  align-items: start;
  /* margin: 2.083vw; */
  margin: 2.083vw;
  /* margin-bottom: 0; */
}

#expenses-card .group {
  /* margin-top: 2.083vw;
  margin-bottom: 1.67vw; */
  display: grid;
  grid-template-columns: 1.875vw 1fr 1.67vw;
  column-gap: 1.67vw;
  align-items: center;
  width: 20.083vw;
  align-self: center;
}

#expenses-card .group img {
  width: 1.875vw;
  height: 1.75vw;
  /* margin-right: 0.625vw; */
}

#expenses-card .group h2 {
  font-weight: 700;
  font-size: 2.1875vw;
  color: var(--white-color);
  padding: 0.2083vw 0.83vw;
  background-color: var(--red-color);
  border-radius: 0.625vw;
  box-shadow: 0px 0.21vw 0.21vw rgba(0, 0, 0, 0.25);
  width: fit-content;
  justify-self: center;
}

#expenses-card .group .sort {
  width: 1.67vw;
  height: 1.67vw;
  display: flex;
  align-items: center;
}

#expenses-card .group .sort img {
  width: 1.67vw;
  height: 1.67vw;
}

#expenses-card .container {
  margin: 0;
  width: 20.83vw;
  height: auto;
}

#expenses-card .container .content-group {
  padding-bottom: 0.4167vw;
  display: grid;
  grid-template-columns: 1.67vw minmax(0, 1fr) 1.67vw;
  column-gap: 1.25vw;
  align-items: center;
  text-align: left;
  /* margin: 0; */
  width: inherit;
}

#expenses-card .container .content-group:hover {
  border-bottom: dotted 0.2083vw var(--red-color);
}

#expenses-card .container .content-group img {
  width: 1.67vw;
  height: 1.67vw;
}

.unchecked-expenses-entry {
  display: none;
}

#expenses-card .container .content-group .delete {
  width: 1.67vw;
  height: 1.67vw;
}

.expenses-entry {
  color: var(--red-color);
}

.expenses-item-value {
  width: fit-content;
  justify-self: right;
}

#expenses-total {
  display: grid;
  grid-template-columns: 2.1875vw minmax(0, 1fr) minmax(0, 1fr);
  column-gap: 0.83vw;
  align-items: center;
  text-align: left;
  width: 20.83vw;
}

#expenses-total img {
  width: 2.1875vw;
  height: 2.1875vw;
}

.expenses-total-text,
#expenses-total-value {
  font-weight: 700;
  font-size: 1.67vw;
  color: var(--red-color);
}

#expenses-total-value {
  width: fit-content;
  justify-self: right;
}

#expenses-card .add {
  align-self: center;
  background: url(./img/add-red.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  width: 4.167vw;
  height: 4.167vw;
  margin: 0;
}

#expenses-card .add:hover {
  box-shadow: 0.104vw 0.2083vw 0.83vw 0.104vw var(--red-color);
}

/* Savings & Investments */

#sai-card {
  height: 29.1673vw;
  width: 20.834vw;
  display: grid;
  grid-template-rows: 4.79vw 1fr 2.1875vw;
  row-gap: 1.67vw;
  justify-items: center;
  align-items: start;
  /* margin: 2.083vw; */
  margin: 2.083vw;
  /* margin-bottom: 0; */
}

#sai-card .group {
  /* margin-top: 2.083vw;
  margin-bottom: 1.67vw; */
  display: grid;
  grid-template-columns: 1.875vw 1fr 1.67vw;
  column-gap: 1.67vw;
  align-items: center;
  width: 20.083vw;
}

#sai-card .group img {
  width: 1.875vw;
  height: 1.75vw;
  /* margin-right: 0.625vw; */
}

#sai-card .group h2 {
  font-weight: 700;
  font-size: 1.875vw;
  color: var(--white-color);
  padding: 0.2083vw 0.83vw;
  background-color: var(--gold-color);
  border-radius: 0.625vw;
  box-shadow: 0px 0.21vw 0.21vw rgba(0, 0, 0, 0.25);
  width: fit-content;
}

#sai-card .group .sort {
  width: 1.67vw;
  height: 1.67vw;
  display: flex;
  align-items: center;
}

#sai-card .group .sort img {
  width: 1.67vw;
  height: 1.67vw;
}

#sai-card .container {
  margin: 0;
  width: 20.83vw;
  height: auto;
}

#sai-card .container .content-group-2 {
  padding-bottom: 0.4167vw;
  display: grid;
  grid-template-columns: 1.67vw minmax(0, 1fr);
  column-gap: 1.25vw;
  align-items: center;
  text-align: left;
  /* margin: 0; */
  width: inherit;
  margin-bottom: 1.2533vw;
  border-bottom: 0.2083vw dotted transparent;
}

#sai-card .container .content-group-2:hover {
  border-bottom: dotted 0.2083vw var(--gold-color);
}

#sai-card .container .content-group-2 .finance-input {
  width: 17.7083vw;
}


#sai-card .container .content-group-2 img {
  width: 1.67vw;
  height: 1.67vw;
}

.sai-entry {
  color: var(--gold-color);
}

.sai-item {
  width: fit-content;
  max-width: auto;
}

.sai-item-value {
  justify-self: right;
}

#sai-total {
  display: grid;
  grid-template-columns: 2.1875vw minmax(0, 1fr) minmax(0, 1fr);
  column-gap: 0.83vw;
  align-items: center;
  text-align: left;
  width: 20.83vw;
}

#sai-total img {
  width: 2.1875vw;
  height: 2.1875vw;
}

.sai-total-text,
#sai-total-value {
  font-weight: 700;
  font-size: 1.67vw;
  color: var(--gold-color);
}

#sai-total-value {
  justify-self: right;
  width: fit-content;
}

#sai-card .add {
  align-self: center;
  background: url(./img/add-gold.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  width: 4.167vw;
  height: 4.167vw;
  margin: 0;
}

#sai-card .add:hover {
  box-shadow: 0.104vw 0.2083vw 0.83vw 0.104vw var(--gold-color);
}

.finance-btn-group {
  display: flex;
  gap: 2.083vw;
  margin-top: 4.167vw;
}

#finance-wallet-button {
  background: var(--white-color);
  border: solid 0.104167vw var(--white-color);
  box-shadow: 0.4167vw 0.4167vw 2.6vw 0.83vw rgba(0, 0, 0, 0.25);
  border-radius: 0.4167vw;
  transition: ease-in-out 200ms;
}

#finance-wallet-button:hover {
  box-shadow: 0.4167vw 0.4167vw 2.6vw 0.83vw rgba(255, 255, 255, 0.35);
  transition: ease-in-out 300ms;
}

#finance-wallet-button img {
  height: 2.5vw;
  margin: 0.83vw 1.67vw;
}

#finance-total-button {
  width: fit-content;
  padding: 0.83vw 1.67vw;
  background: var(--white-color);
  color: var(--blue-color);
  border: solid 0.104167vw var(--white-color);
  box-shadow: 0.4167vw 0.4167vw 2.6vw 0.83vw rgba(0, 0, 0, 0.25);
  font-size: 2.5vw;
  font-weight: 700;
  border-radius: 0.4167vw;
  transition: ease-in-out 200ms;
}

#finance-total-button:hover {
  box-shadow: 0.4167vw 0.4167vw 2.6vw 0.83vw rgba(255, 255, 255, 0.35);
  transition: ease-in-out 300ms;
}


/* Adding Finance */

#adding-finance-section {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

#adding-finance {
  z-index: 2;
  background: var(--white-color);
  width: 37.5vw;
  height: 50vw;
  box-shadow: 1.25vw 1.25vw 2.6vw 0.83vw rgba(0, 0, 0, 0.25);
  border-radius: 1.25vw;
  align-self: center;
  justify-self: center;
  margin-top: 3.125vw;
}

#finance-amount {
  background: radial-gradient(
    circle,
    rgba(234, 234, 234, 1) 80%,
    rgba(234, 234, 234, 0) 100%
  );
}

#currency-select {
  background: radial-gradient(
    circle,
    rgba(234, 234, 234, 1) 90%,
    rgba(234, 234, 234, 0) 100%
  );
  padding: 0 0.4083vw;
}

/* Editing Finance */

#editing-finance-section {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

#editing-finance {
  z-index: 2;
  background: var(--white-color);
  width: 37.5vw;
  height: 50vw;
  box-shadow: 1.25vw 1.25vw 2.6vw 0.83vw rgba(0, 0, 0, 0.25);
  border-radius: 1.25vw;
  align-self: center;
  justify-self: center;
  margin-top: 3.125vw;
}