/* This file defines unviersal style for the app's navbar*/
#header {
  position: fixed;
  top: 0;
  width: 100vw;
  height: 50px;
  z-index: 1000;
}
#navbar {
  width: 100%;
  height: 100%;
  align-items: center;
  padding: 0 20px;
  display: inline-flex;
  gap: 15px;
  backdrop-filter: blur(10px);
  font-size: 1.2em;
}
.panel-left-close {
  display: none;
}
#navbar:has(#menu-checkbox:checked) .panel-left-close  {
  display: inline-block;
}

#navbar:has(#menu-checkbox:checked) .panel-left  {
  display: none;
}

.app:has(#menu-checkbox:checked) #navbar {
  backdrop-filter: blur(0);
}

.app:has(#menu-checkbox:checked) .panel {
  left: 0;
}

#logo {
  color: var(--main-text-color);
  font-size: var(--logo-size);
  font-weight: bold;
  font-family: "Syne";
}

#auth-window-btn {
  width: 70px;
}
#panel-wrap {
  width: 70vw;
  height: 120dvh;
  z-index: 100;
  inset: unset;
  left: -70%;
  animation: panelSlideIn 0.3s forwards;
}
#panel-wrap:popover-open {
  /*animation: panelSlideIn 3s forwards;*/
}
#panel-wrap:where(:not(:popover-open)) {
  animation: panelSlideOut 1s forwards;
}

#panel-wrap::backdrop {
  backdrop-filter: blur(10px);
  background-color: rgba(20, 20, 20, 0.3);
}
#panel {
  width: 100%;
  height: 100%;
  display: flex;
  flex-flow: column;
  gap: 20px;
  padding: 20px 25px 25dvh;
  background-color: var(--main-bg-color);
}

.panel-ul {
  width: 100%;
  list-style-type: none;
  display: flex;
  flex-flow: column nowrap;
  gap: 2%;
}

.panel-ul-list {
  padding: 0 20px;
  width: 150px;
  height: 50px;
  border-radius: 15px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: var(--font-size-2);
  transition-duration: var(--transition-3th);
}
.panel-ul-list:hover {
  background-color: var(--very-lightgray-color);
  backdrop-filter: blur(30px);
  border: transparent;
  color: var(--main-text-color);
}
.panel-ul-list.active-element:hover {
/*.panel-ul-list[class*="active-element"]:hover {*/
  background-color: var(--alt-bg-color);
  color: var(--alt-text-color);
}

.theme-capsule {
  width: 80px;
  height: 35px;
  display: inline-flex;
  justify-content: space-around;
  align-items: center;
  border-radius: 20px;
  box-shadow: inset 2px 2px 6px var(--gray-700);
  margin-top: auto;
}

.theme-button {
  background-color: transparent;
  width: ;
  height: ;
  border-radius: 20px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 6px;
}
.active-element {
  background-color: var(--alt-bg-color);
  color: var(--alt-text-color);
}

.copyright {
  color: var(--primary-gray-color);
  font-size: var(--font-size-2);

}

/*It's the end*/