
@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");
@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");


:root {
  color-scheme: dark;
  font-family: system-ui, sans-serif;
  background: #20222a;
  color: #e7e8ed;

  --fc: hsl(0, 0%, 100%);
  --fs: 13px;
  --fsTable: 11px;
  --clr0: hsl(230, 15%, 0%);
  --clr5: hsl(230, 15%, 5%);
  --clr10: hsl(230, 15%, 10%);
  --clr15: hsl(230, 15%, 15%);
  --clr20: hsl(230, 15%, 20%);
  --clr25: hsl(230, 15%, 25%);
  --clr30: hsl(230, 15%, 30%);
  --clr35: hsl(230, 15%, 35%);
  --clr40: hsl(230, 15%, 40%);
  --clr45: hsl(230, 15%, 45%);
  --clr50: hsl(230, 15%, 50%);
  --clr55: hsl(230, 15%, 55%);
  --clr60: hsl(230, 15%, 60%);
  --clr65: hsl(230, 15%, 65%);
  --clr70: hsl(230, 15%, 70%);
  --clr75: hsl(230, 15%, 75%);
  --clr80: hsl(230, 15%, 80%);
  --clr85: hsl(230, 15%, 85%);
  --clr90: hsl(230, 15%, 90%);
  --clr95: hsl(230, 15%, 95%);
  --clr100: hsl(230, 15%, 100%);
  --bgClr: var(--clr15);
  --fcPassive: hsl(0, 0%, 50%);
  --whiteShadow: hsl(230, 15%, 70%, 0.2);
  --blackShadow: hsl(0, 0%, 0%, 0.6);
  --shadowOutside: -2px -2px 6px var(--whiteShadow), 2px 2px 6px var(--blackShadow);
  --shadowInset: inset -2px -2px 6px var(--whiteShadow), inset 2px 2px 6px var(--blackShadow);
  --shadowActive: inset 0 0 10px 0px hsl(40, 100%, 40%, 0.8);
  --fieldHeight: 50px;
  --headerHeight: calc(78px + env(safe-area-inset-top));
  --br: 10px;
  --posClr: hsl(120, 100%, 15%);
  --negClr: hsl(0, 100%, 15%);
  --neutClr: hsl(240, 100%, 15%);
  --gradientDegree: 330deg;
  --posGradient: linear-gradient(var(--gradientDegree), var(--posClr) 0%, hsl(120, 100%, 20%) 100%);
  --negGradient: linear-gradient(var(--gradientDegree), var(--negClr) 0%, hsl(0, 100%, 20%) 100%);
  --neutGradient: linear-gradient(var(--gradientDegree), var(--neutClr) 0%, hsl(240, 100%, 20%) 100%);
}

/* basic setup */
/* Set core body defaults */
*,
*::before,
*::after {
  box-sizing: border-box;
}
/* Remove default margin */
* {
  margin: 0;
  padding: 0;
  font: inherit;
}

html { touch-action: pan-x pan-y; }

input:not([type="button"]):not([type="submit"]):not([type="reset"]):not([type="checkbox"]):not([type="radio"]),
select,
textarea {
  font-size: 16px !important;
}

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;
}

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 */

body,
html {
  margin: 0;
  padding: 0;
  height: 100%;
  font-size: var(--fs);
  font-family: "Poppins", sans-serif;
  /* font-family: "Montserrat", sans-serif; */
  color: var(--fc);
  user-select: none;
  -webkit-user-select: none;
}

html {
  background: var(--bgClr);
}

h2 {
  font-size: 1.2em;
  font-weight: bold;
}

.flex {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.3em;
}

.flexColumn {
  flex-direction: column;
}

.out {
  box-shadow: var(--shadowOutside);
}

.in {
  box-shadow: var(--shadowInset);
}

input {
  font-size: var(--fs);
  width: 100%;
  height: var(--fieldHeight);
  color: var(--fc);
  background: var(--bgClr);
  border: none;
  outline: none;
  border-radius: 1000px;
  padding: 0 1em;
  text-align: left;
  vertical-align: center;
  box-shadow: var(--shadowInset);
}

input::placeholder {
  font-size: 1em;
  color: var(--fcPassive);
}

.button {
  /* background: var(--accentClr); */
  padding: 0em 1em;
  border-radius: 1000px;
  width: max-content;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  height: var(--fieldHeight);
}

.statusBar {
  height: 50rem;
  width: 100%;
  background-color: var(--bgClr);
  /* background-image: linear-gradient(white 0%, black 100%); */
  /* background: red; */
  position: fixed;
  top: calc(-50rem + var(--headerHeight));
  z-index: 499;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  gap: 0.3em;
  background-color: var(--bgClr);
  width: 100%;
  padding: 5px 10px;

  box-shadow: 2px 2px 6px var(--blackShadow);
  z-index: 2147483647;
  height: var(--headerHeight);
}

header .user {
  font-weight: bold;
}

header .navTitle {
  font-weight: bold;
  margin-left: 1rem;
}

header .button {
  height: 35px;
  min-width: 35px;
  padding: 0.5em 1rem;
}

.headerRightContainer {
  margin-left: auto;
  gap: 0.5rem;
}

.headerRightContainer .button {
  padding: 0.5em;
}

.navBarSymbols img {
  max-height: 20px;
}

/* 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;
}



* { box-sizing: border-box; }

html, body {
  min-height: 100vh;
  margin: 0;
  padding: 0 0 max(20px, env(safe-area-inset-bottom));
  font-family: system-ui, sans-serif;
  color: #e7e8ed;
}

.topBar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2147483647;
  display: flex;
  align-items: center;
  width: 100%;
  height: auto;
  gap: 12px;
  max-width: none;
  margin: 0;
  padding: calc(12px + env(safe-area-inset-top)) 5px 14px;
  background-color: #20222a;
  box-shadow: none;
  isolation: isolate;
}

.topBar::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: calc(50% - 50vw);
  width: 100vw;
  background: #20222a;
}

.title { flex: 1; margin: 0; font-size: 1.15rem; font-weight: 600; }

.initial {
  min-width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  padding: 0 10px;
  border-radius: 14px;
  color: #c9cbd5;
  font-weight: 700;
}

.control {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 14px;
  color: inherit;
  background: #20222a;
  box-shadow: -5px -5px 10px #30323c, 5px 5px 10px #111217;
  font-size: 1.25rem;
  text-decoration: none;
  cursor: pointer;
}

.control img { width: 21px; height: 21px; filter: invert(1); opacity: .86; }
.backControl svg { width: 21px; height: 21px; fill: none; stroke: #e7e8ed; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.monthNavArrow { flex: 0 0 36px; width: 36px; height: 36px; padding: 0; border-radius: 12px; }
.monthNavArrow svg { width: 19px; height: 19px; fill: none; stroke: #e7e8ed; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.monthTitleContainer { position: relative; }
.monthNavPrevious, .monthNavNext { position: absolute; top: 50%; transform: translateY(-50%); }
.monthNavPrevious { left: calc(50% - 138px); }
.monthNavNext { left: calc(50% + 102px); }
.control:active { box-shadow: inset -4px -4px 9px #30323c, inset 4px 4px 9px #111217; }
main {
  max-width: 1100px;
  margin: 0 auto;
  padding-top: var(--headerHeight);
}

.backgroundLogo {
  position: fixed;
  right: 10px;
  bottom: 50px;
  z-index: -1;
  width: 80%;
  opacity: 0.1;
  filter: invert(1);
  pointer-events: none;
}
