

@font-face {
  font-family: 'Material Symbols Outlined';
  font-style: normal;
  src: url('MaterialSymbolsRounded[FILL,GRAD,opsz,wght].woff2') format('woff2');
}



:root {

  --icon: #777;
  --icon-active: #f1f1f1;

  --white: #e6edf3;
  --black: #2d2d2d;

  --error: #b24226;

  --bg: #fff;

  --audit: #888;

  --inactive: #888;
  --secondary: #888;

  --action: #3c85c6;
  --call-to-action: #D65535;
  --enabled: rgb(26, 134, 58);
  --disabled: #b24226;

  --border: #ccc;
  --hover: #f6f6f6;

  --popup-bg: #282a2c;

  --clr-black: #2d2d2d;

  --clr-grey-100: #f4f4f5;
  --clr-grey-200: #e4e4e7;
  --clr-grey-300: #d4d4d8;
  --clr-grey-400: #a1a1aa;
  --clr-grey-500: #71717a;
  --clr-grey-600: #52525b;
  --clr-grey-700: #3f3f46;
  --clr-grey-750: #2e2f31;

  --font-icons: 'Material Symbols Outlined';
  --font-base: system-ui, sans-serif;
  --font-mono: ui-monospace, Menlo, Monaco, "Cascadia Mono", "Segoe UI Mono", "Roboto Mono", "Oxygen Mono", "Ubuntu Monospace", "Source Code Pro", "Fira Mono", "Droid Sans Mono", "Courier New", monospace;

  font: 16px/1.3 var(--font-base);

}

/*.material-symbols-outlined {
  font-family: 'Material Symbols Outlined';
  font-weight: normal;
  font-style: normal;
  display: inline-block;
  line-height: 1;
  text-transform: none;
  letter-spacing: normal;
  word-wrap: normal;
  white-space: nowrap;
  direction: ltr;
}*/

@keyframes rotate_animation {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

body {
  margin: 0;
  background: var(--bg, #fff);
  color: var(--black, #000);
  -webkit-font-smoothing: antialiased;
  font-optical-sizing: auto;
}


.icon, .node__flags {
  font-family: var(--font-icons);
  font-variation-settings: 'opsz' 24, 'wght' 300, 'FILL' 1, 'GRAD' 0;

  &.action {
    color: var(--action);
  }

  &.enabled {
    color: var(--enabled);
  }

  &.disabled {
    color: var(--disabled);
  }

  &.size--small {
    font-size: 18px;
  }

  &.size--medium {
    font-size: 20px;
  }
}


a.icon {
  font-family: var(--font-icons);
  font-variation-settings: 'opsz' 24, 'wght' 300, 'FILL' 1, 'GRAD' 0;
  font-weight: 400;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--clr-grey-600);

  &:hover {
    color: var(--black);
    background-color: var(--clr-grey-200);
  }
}

button {
  cursor: pointer;
}

#navbar {
  background: var(--clr-grey-750);
  position: fixed;
  z-index: 999;
  width: 80px;
  inset: 0 auto 0 0;
  padding: 10px 0;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 20px;


  &>div {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }


}

.navbar-link {
  background: none;
  border: none;
  color: var(--icon);
  text-decoration: none;

  & .icon {
    font-size: 32px;
  }

  &.open,
  &.current {
    .icon {
      color: var(--icon-active);
    }
  }
}

turbo-frame {
  display: block;
}

#main {
  margin: 0 0 0 80px;
  padding: 30px 40px;
}


h1,
.node-path {
  font-size: 1.5rem;
  line-height: 2;
  font-weight: 400;
  margin: 0 0 0 0;
}

.list-title-link {
  text-decoration: none;
  color: var(--black);
  padding: 0 0.6em;
  border-radius: 999px;
  display: inline-block;
  appearance: none;
  background-color: transparent;
  border: none;
  font-size: inherit;
  line-height: inherit;
}

a.list-title-link:hover {
  background-color: var(--clr-grey-200);
}


#flash {
  position: fixed;
  left: 80px;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 0px;
  font-size: 1rem;
  z-index: 100;
}

.flash__message {
  color: var(--white, #fff);
  background-color: rgba(119, 119, 119, 0.8);
  animation: appear-then-fade 2s both;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  

  & .icon {
    color: #f1f1f1;
    font-size: 2rem;
  }
}

@keyframes appear-then-fade {

  0%,
  100% {
    opacity: 0;
  }

  2%,
  90% {
    opacity: 1;
  }
}

.logo {
  display: block;  
  
  transform-origin: center center;
  width: 40px;
  aspect-ratio: 40/368;
  

  & svg {
    rotate: 90deg;
    display: block;
    transform-origin: 0 0;
    transform: translateY(-100%);
    height: 40px;
  }
  
}

