@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@100;200;400&display=swap");

:root {
  --gradientDegree: 25deg;
  --hdrClr: hsl(0, 0%, 0%);
  --hdrClr: hsl(240, 100%, 10%);

  --bodyClr: hsl(0, 0%, 5%);
  --bodyGradient: linear-gradient(
    s var(--gradientDegree),
    var(--bodyClr) 0%,
    hsl(0, 0%, 20%) 100%
  );
  --bodyGradient: linear-gradient(
    var(--gradientDegree),
    black 0%,
    darkblue 100%
  );

  --buttonClr: hsl(240, 100%, 27%);
  --buttonGradient: linear-gradient(
    var(--gradientDegree),
    var(--buttonClr) 0%,
    hsl(240, 100%, 50%) 100%
  );

  --notiPosClr: hsl(120, 100%, 30%);
  --notiNegClr: hsl(0, 100%, 30%);
  --notiNeutClr: hsl(240, 100%, 30%);

  --notiPosGradient: linear-gradient(
    var(--gradientDegree),
    var(--notiPosClr) 0%,
    hsl(120, 100%, 50%) 100%
  );

  --notiNegGradient: linear-gradient(
    var(--gradientDegree),
    var(--notiNegClr) 0%,
    hsl(0, 100%, 50%) 100%
  );

  --notiNeutGradient: linear-gradient(
    var(--gradientDegree),
    var(--notiNeutClr) 0%,
    hsl(240, 100%, 50%) 100%
  );

  --br: 8px;
  --headerHeight: 2rem;
}

/* basic setup */
/* Set core body defaults */
*,
*::before,
*::after {
  box-sizing: border-box;
}
/* Remove default margin */
* {
  margin: 0;
  padding: 0;
  font: inherit;
}

body {
  text-rendering: optimizeSpeed;
  margin: 0;
  position: relative;
}

b {
  font-weight: bold;
}

p,
a,
a:link,
a:active,
a:visited {
  text-decoration: none;
  color: inherit;
}

a {
  cursor: pointer;
}

a:hover p,
a:hover svg {
  filter: invert(1);
}

p {
  text-align: justify;
  text-align-last: none;
}

/* Remove all animations, transitions and smooth scroll for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Make images easier to work with */
img,
svg,
video,
canvas,
audio,
iframe,
embed,
object,
picture {
  display: block;
  max-width: 100%;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role="list"],
ol[role="list"] {
  list-style: none;
}

/* Set core root defaults */
html:focus-within {
  scroll-behavior: smooth;
}

/* basic end */
/* basic end */

.flex {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.3rem;
  flex-wrap: wrap;
}
.flexColumn {
  flex-direction: column;
}
input {
  border-radius: var(--br);
  height: 2rem;
  padding: 0.1rem;
  font-size: 0.8rem;
  /* min-width: 350px; */
}
.button {
  background: var(--buttonGradient);
  padding: 0.3rem 0.5rem;
  border-radius: var(--br);
  width: max-content;
}
.button.green {
  background: var(--notiPosGradient);
}
.button.red {
  background: var(--notiNegGradient);
}
.button.blue {
  background: var(--notiNeutGradient);
}

html,
body {
  min-height: 100vh;
  font-family: "Poppins", sans-serif;
  color: white;
  background-color: var(--hdrClr);
  background-image: var(--bodyGradient);
  user-select: none;
  -webkit-user-select: none;
  /* background-color: blue; */
}

em {
  min-height: 83vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  /* align-items: center; */
  /* margin: 0.1rem; */
}

.statusBar {
  height: 50rem;
  width: 100%;
  background-color: var(--hdrClr);
  position: fixed;
  top: -49rem;
  /* z-index: 0; */
}

header {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  background-color: var(--hdrClr);
  /* background-color: red; */
  color: white;
  height: var(--headerHeight);
  width: 100%;

  /* justify-content: right; */
  /* z-index: 99; */
}

header .user {
  display: flex;
  align-items: center;
  height: 100%;
  margin-right: 1rem;
  cursor: pointer;
  /* background-color: red; */
}
.centSymbol {
  margin-left: 0.5rem;
  margin-right: auto;
}

#navTitle {
  margin-left: 1.5rem;
  margin-right: auto;
  /* background-color: pink; */
  width: 100%;
}

#navReload {
  margin-right: 0;
  margin-left: auto;
  /* background-color: green; */
}

#navHome {
  margin-right: 1rem;
  margin-left: auto;
  /* background-color: red; */
}

#navMenu {
  margin-right: 0;
  margin-left: auto;
  /* position: absolute; */
  /* right: 0; */
  /* justify-self: flex-end; */
}

.svgHeader {
  fill: white;
  padding: 4px;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
}

header img {
  height: 100%;
}

.nav-bar-link {
  flex-shrink: 0;
  /* background-color: red; */
}

/* not visible but takes the space */
.invisible {
  visibility: hidden !important;
}

/* not visible and does NOT take the space */
.hidden {
  visibility: hidden !important;
  display: none !important;
}

.notificationContainer {
  width: 100%;

  /* background-color: red; */
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  justify-content: start;
  gap: 0.5rem;

  position: fixed;

  top: var(--headerHeight);

  z-index: 999;
}

.notification {
  width: 320px;
  max-width: 95%;

  height: 3rem;
  background: var(--_notiClr, grey);
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  justify-content: center;
  padding: 0.2rem;

  border-radius: var(--br);

  animation: notification 4900ms linear forwards;
  z-index: 999;
  position: relative;
}

/* .notification::after {
  content: "x";
  position: absolute;
  top: 0.05rem;
  right: 0.6rem;
  color: var(--notiPosClr);
} */

@keyframes notification {
  0% {
    scale: 0 1;
    transform-origin: right;
  }
  3% {
    scale: 1;
    /* bottom: var(--_bottom, -3rem); */
  }
  90% {
    /* bottom: var(--_bottom, -3rem); */
    /* top: 0; */
    scale: 1;
    height: 3rem;
    transform-origin: top;
  }
  100% {
    scale: 1 0;
    display: none;
    height: 0;
    /* bottom: 0; */
    /* top: -5rem; */
    /* background: black; */
  }
}

/* login window */
.loginContainer {
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  justify-content: start;
  position: fixed;
  padding: 0.5rem;
  z-index: 99;
}

.loginWindow {
  width: 350px;
  /* max-width: 350px; */
  background-color: var(--hdrClr);
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  justify-content: center;
  padding: 1rem;
  gap: 0.5rem;
  border-radius: var(--br);
}

.loginWindow input {
  min-width: 300px;
}

.pwContainer {
  position: relative;
  /* width: 100%; */
}

.loginWindow .eye {
  width: 30px;
  height: 30px;
  /* fill: red; */
  stroke: var(--hdrClr);
  position: absolute;
  top: 0.1em;
  right: 0.1rem;
}

.loginWindow .buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  gap: 0.5rem;
}

.userContainer {
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  position: fixed;
  z-index: 99;
  top: var(--headerHeight);
}

.userWindow {
  position: fixed;
  background-color: var(--hdrClr);
  padding: 0.5rem;
  border-bottom-right-radius: var(--br);
}

.menuContainer {
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: end;
  flex-shrink: 0;
  position: fixed;
  z-index: 99;
  /* background-color: red; */
  /* top: 2rem; */
}

.menuWindow {
  display: flex;
  flex-direction: column;
  align-items: end;
  gap: 0.2rem;
  position: fixed;
  background-color: var(--hdrClr);
  /* background-color: blue; */
  padding: 0.5rem;
  border-bottom-left-radius: var(--br);
}
