* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  --shadow: 0em 0em 1em black;
}
.theme-light {
  --primary-color: #f9f9f9;
  --secondary-color: #fb9318;
  --secondary-color-flipped: #076fd6;
  --secondary-color-flipped-darker: #065499;
  --text-color: #191919;
}
.theme-dark {
  --primary-color: #191919;
  --secondary-color: #fb9318;
  --secondary-color-flipped: #076fd6;
  --secondary-color-flipped-darker: #065499;
  --text-color: #f9f9f9;
}

body {
  color: var(--text-color);
  background-color: var(--primary-color);
  font-family: Montserrat, sans-serif;
}

/* Navigation */

nav {
  position: fixed;
  left: 0;
  z-index: 50;
  display: flex;
  justify-content: space-around;
  flex-direction: column;
  height: 100vh;
  width: min-content;
  background: var(--secondary-color);
}

label {
  color: var(--text-color);
}

nav > div {
  padding: 20px;
  transform: scale(1.5, 1.5);
  transition: all 0.5s ease-in-out;
  display: inline-block;
  text-align: center;
  height: min-content;
}

nav > div > img {
  filter: invert(1);
}

nav > div:hover {
  transform: scale(2, 2);
  cursor: pointer;
}

/* Inputs */

.input-container {
  display: -ms-flexbox; /* IE10 */
  display: flex;
  width: 100%;
  margin-bottom: 15px;
}

.input-container > img {
  padding: 10px;
  background: var(--secondary-color);
  color: white;
  min-width: 50px;
  text-align: center;
  border-radius: 10px 0px 0px 10px;
}

.input {
  padding: 5px;
  font-size: 16px;
  border-radius: 10px;
  border: 0px;
  background-color: var(--text-color);
  color: var(--primary-color);
  outline: var(--text-color) solid 2px;
  margin-bottom: 0.25rem;
}

.logininput {
  width: 100%;
  padding: 10px;
  outline: none;
  border-radius: 0px 10px 10px 0px;
  margin-bottom: 0;
  border: 2px solid transparent;
}

.logininput:hover {
  border: 2px solid var(--secondary-color);
}

.logininput:focus {
  border: 2px solid var(--secondary-color-flipped);
}
.input:hover {
  outline: var(--secondary-color) solid 2px;
}

.input:focus {
  outline: var(--secondary-color-flipped) solid 2px;
}

.popupcontent input[type='text'],
.popupcontent input[type='file'],
.popupcontent input[type='button'],
.popupcontent select {
  background-color: var(--primary-color);
  color: var(--text-color);
  margin-bottom: 0.35rem;
  width: 100%;
}

.button {
  border-radius: 10px;
  border: 0px;
  outline: var(--text-color) solid 2px;
  cursor: pointer;
  color: var(--text-color);
  font-size: 16px;
  padding: 5px 12px;
  background-color: var(--primary-color);
  text-decoration: none;
  margin-bottom: 0.5rem;
}
.button:hover {
  outline: none;
  background-image: linear-gradient(
    281deg,
    rgba(255, 78, 0, 1) 0%,
    rgba(251, 147, 24, 1) 100%
  );
}
.button:active {
  position: relative;
  top: 1px;
}

.innerContainer {
  width: 70%;
}

.v-hCenter {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  overflow: auto;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.fixed {
  position: fixed;
}

.vCenter {
  display: flex;
  justify-content: center;
  height: 100vh;
  overflow: auto;
}

.popup {
  visibility: hidden;
  background-color: var(--text-color);
  border-radius: 25px 0px 25px 25px;
  width: min-content;
  text-align: center;
  padding: 20px;
  position: fixed;
  color: var(--primary-color);
  box-shadow: var(--shadow);
}

.popup.show {
  visibility: visible;
  -webkit-animation: fadeinPopup 0.75s;
  animation: fadeinPopup 0.75s;
}

.popup label {
  color: var(--primary-color);
}

@-webkit-keyframes fadeinPopup {
  from {
    transform: translate(0%, 25%);
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeinPopup {
  from {
    transform: translate(0%, 25%);
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@-webkit-keyframes fadeoutPopup {
  from {
    opacity: 1;
  }
  to {
    transform: translate(0%, 25%);
    opacity: 0;
  }
}

@keyframes fadeoutPopup {
  from {
    opacity: 1;
  }
  to {
    transform: translate(0%, 25%);
    opacity: 0;
  }
}

#popup > img {
  right: 0.25vh;
  top: 0.25vh;
  position: absolute;
  cursor: pointer;
}

.delete,
.edit {
  cursor: pointer;
  filter: invert(58%) sepia(93%) saturate(1009%) hue-rotate(349deg)
    brightness(100%) contrast(98%);
}

.delete:hover,
.edit:hover {
  cursor: pointer;
  filter: invert(30%) sepia(100%) saturate(3442%) hue-rotate(203deg)
    brightness(95%) contrast(97%);
}

.trhovercolor:hover {
  background-color: var(--secondary-color-flipped-darker);
}

table {
  border: hidden;
}

.snackbar {
  visibility: hidden;
  min-width: 250px;
  background-color: var(--text-color);
  color: var(--primary-color);
  text-align: center;
  border-radius: 2px;
  padding: 16px;
  position: fixed;
  z-index: 1;
  bottom: 30px;
  box-shadow: var(--shadow);
}

.snackbar.show {
  visibility: visible;
  -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
  animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

@-webkit-keyframes fadein {
  from {
    bottom: 0;
    opacity: 0;
  }
  to {
    bottom: 30px;
    opacity: 1;
  }
}

@keyframes fadein {
  from {
    bottom: 0;
    opacity: 0;
  }
  to {
    bottom: 30px;
    opacity: 1;
  }
}

@-webkit-keyframes fadeout {
  from {
    bottom: 30px;
    opacity: 1;
  }
  to {
    bottom: 0;
    opacity: 0;
  }
}

@keyframes fadeout {
  from {
    bottom: 30px;
    opacity: 1;
  }
  to {
    bottom: 0;
    opacity: 0;
  }
}

a {
  text-decoration: none;
  font-weight: bold;
}

a:hover {
  background: linear-gradient(
    281deg,
    rgba(255, 78, 0, 1) 0%,
    rgba(251, 147, 24, 1) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Settings Menu */

.accordion {
  background-color: var(--text-color);
  color: var(--primary-color);
  cursor: pointer;
  padding: 18px;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  font-size: 15px;
  transition: 0.4s;
}

.active,
.accordion:hover {
  background-color: var(--secondary-color);
}

.accordion:after {
  content: '🠔';
  color: var(--primary-color);
  font-weight: bold;
  float: right;
  margin-left: 5px;
}

.active:after {
  content: '🠗';
}

.panel {
  padding: 0 18px;
  background-color: var(--primary-color);
  max-height: 0;
  overflow: hidden;
  color: var(--text-color);
  transition: max-height 0.2s ease-out;
}

.panel > form > textarea {
  width: 100%;
  height: 150px;
  padding: 5px;
  font-size: 16px;
  border-width: 1px;
  border-color: #cccccc;
  background-color: #ffffff;
  color: #000000;
  border-style: solid;
  border-radius: 15px;
}

.attention {
  font-style: italic;
  font-weight: light;
  font-size: 1.5vh;
}

.center2 {
  margin: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}
.border {
  background-color: var(--text-color);
  color: var(--primary-color);
  padding: 25px;
  border-radius: 25px;
}
.container {
  display: flex;
}

.containerAll {
  width: 100%;
}

.navContainer {
  flex: 1 0 auto;
}

/* Media query */

body {
  --animationparameter: 30px;
}

@media only screen and (max-width: 720px) {
  nav {
    position: fixed;
    bottom: 0;
    z-index: 50;
    display: flex;
    justify-content: space-around;
    flex-direction: row;
    width: 100%;
    height: min-content;
    background: var(--secondary-color);
  }
  .navContainer {
    bottom: 0;
    position: fixed;
    width: 100%;
  }
  .container {
    flex-direction: column-reverse;
  }
  .tablediv {
    overflow: auto;
  }
  .input {
    width: 100%;
  }
  .button {
    width: 100%;
  }
  .snackbar {
    bottom: 98px;
  }
  body {
    --animationparameter: 98px;
  }
}

@-webkit-keyframes fadein {
  from {
    bottom: 0;
    opacity: 0;
  }
  to {
    bottom: var(--animationparameter);
    opacity: 1;
  }
}

@keyframes fadein {
  from {
    bottom: 0;
    opacity: 0;
  }
  to {
    bottom: var(--animationparameter);
    opacity: 1;
  }
}

@-webkit-keyframes fadeout {
  from {
    bottom: var(--animationparameter);
    opacity: 1;
  }
  to {
    bottom: 0;
    opacity: 0;
  }
}

@keyframes fadeout {
  from {
    bottom: var(--animationparameter);
    opacity: 1;
  }
  to {
    bottom: 0;
    opacity: 0;
  }
}
@media only screen and (min-width: 720px) {
  .tableNav .input[type='text'] {
    float: left;
  }

  .tableNav input[type='button'] {
    float: right;
  }
  .tableNav .button {
    margin-left: 1rem;
  }
}
