body {
  background-color: #e8ded1;
  height: 100vh;
  color: black;
  font-family: andale mono, monospace;
}

.main {
  height: 100vh;
  width: 100vw;
  display: flex;
  flex-direction: column;
}

header {
  display: inline-flex;
  width: 100vw;
  margin-bottom: auto;
  /* flex-wrap: wrap; */
}

.logo {
  height: 100px;
  width: 100px;
  padding-right: 10px;
  margin-right: auto;
}

.logoutButton {
  background-color: #dec19b;
  border: none;
  text-align: center;
  display: block;
  position: relative;
  padding: 10px;
  max-height: 38.4px;
  margin-left: auto;
  margin-top: 20px;
  margin-right: 20px;
}

.logoutButton:hover {
  cursor: pointer;
}

h1 {
  margin: auto;
}

.buttonContainer {
  display: flex;
  flex-wrap: wrap;
  margin-top: auto;
  margin-bottom: auto;
}

.container {
  width: 200px;
  height: 100px;
  position: relative;
  margin: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.center {
  width: 180px;
  height: 60px;
  position: absolute;
}

.addPopup,
.removePopup {
  display: flex;
  background-color: #dec19b;
  flex-direction: column;
  padding: 10px;
  position: fixed;
  z-index: 1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  /* justify-content: center; */
  gap: 10px;
  width: 80vw;
  height: 60vh;
  border-radius: 20px;
  max-width: 800px;
  overflow: scroll;
  border: 2px solid #000000;
}

.quantity {
  width: 50px;
}

.categoryContainer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.type {
  width: 250px;
}

.fa-trash-can {
  margin-top: auto;
  margin-bottom: auto;
}
.fa-trash-can:hover {
  transform: scale(1.2);
  cursor: pointer;
}

#closeBtn {
  position: absolute;
  top: 30px;
  right: 30px;
  background: transparent;
  border-style: hidden;
  cursor: pointer;
  transition: transform 0.3s ease;
}

#closeBtn:hover {
  transform: scale(1.2);
}
/* #popupAddbtn {
  background-color: white;
  text-align: center;
  width: 25px;
  height: 25px;
} */

.overview {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-left: 5em;
  margin-right: 5em;
  margin-top: auto;
  margin-bottom: 5vh;
}

.status {
  display: flex;
  flex-direction: column;
  text-align: center;
  margin: auto;
}

.overviewPic {
  height: 80px;
  width: auto;
}

.btn {
  width: 180px;
  height: 60px;
  cursor: pointer;
  background: transparent;
  border: 1px solid black;
  outline: none;
  transition: 0.5s ease-in-out;
}

svg {
  position: absolute;
  left: 0;
  top: 0;
  fill: none;
  stroke: #000000b7;
  stroke-dasharray: 150 480;
  stroke-dashoffset: 150;
  transition: 0.5s ease-in-out;
}

.btn:hover {
  transition: 1s ease-in-out;
  background: #dec19b;
}

.btn:hover svg {
  stroke-dashoffset: -480;
}

.btn span {
  color: black;
  font-size: 18px;
  font-weight: 100;
}

.viewtitle {
  display: flex;
  font-size: 36px;
  justify-content: center;
}
.content-table {
  display: flex;
  justify-content: center;
  border-collapse: collapse;
  margin: 25px 0;
  font-size: 0.9em;
  min-width: 400px;
  border-radius: 5px 5px 0 0;
  gap: 100px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.content-table thead tr {
  background-color: #009879;
  color: #ffffff;
  text-align: left;
  font-weight: bold;
}

.content-table th,
.content-table td {
  padding: 12px 15px;
}

.content-table tbody tr {
  border-bottom: 1px solid #dddddd;
}

.content-table tbody tr:nth-of-type(odd) {
  background-color: #dec19b;
}

.content-table tbody tr:last-of-type {
  border-bottom: 2px solid #009879;
}

.content-table tbody tr.active-row {
  font-weight: bold;
  color: #009879;
}

.table-cat {
  font-weight: bold;
  font-size: 18px;
}

.hidden {
  display: none;
}

#addBtn {
  position: absolute;
  bottom: 30px;
  right: 30px;
  background-color: #50c878;
  padding: 10px;
  border: black 1px solid;
}

#removeBtn {
  position: absolute;
  bottom: 30px;
  right: 30px;
  background-color: rgb(255, 69, 100);
  padding: 10px;
  border: black 1px solid;
}

#addBtn:hover {
  cursor: pointer;
}

#removeBtn:hover {
  cursor: pointer;
}

#result {
  opacity: 0;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 20px;
  background-color: #f1f1f1;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.3);
  z-index: 2;
  transition: opacity 0.25s ease-in-out;
}

#result.show {
  opacity: 1;
}
