.app-header {
  position: sticky;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  box-shadow: 0 6px 12px var(--shadow-color);
  z-index: 100;

  .navbar-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--navbar-color);
    z-index: -1;
  }
}

@media (max-width: 768px) {
  .app-header {
    padding: 10px 20px;
  }
}

@font-face {
  font-family: "Righteous";
  src: url('/fonts/Righteous-Regular.ttf');
}

.logo {
  font-family: "Righteous", sans-serif;
  font-size: 42px;
  font-weight: 400;
  font-style: normal;
  
  text-decoration: none;
  
  color: var(--logo-text-color);

  .qr-letters {
    color: var(--logo-qr-color);
  }
}

.navbar {
  position: relative;

  .nav-menu {
    font-size: 24px;
    list-style: none;
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    width: max-content;
    transition: all 0.5s ease;
    z-index: -2;

    li {
      * {
        width: -webkit-fill-available;
        color: var(--navbar-text-color);
        padding: 10px 20px;
        display: block;
        /* transition: transform 0.3s ease, color 0.3s ease; */
      }
    }

    &.active {
      flex-direction: column;
      align-items: flex-start;
      padding: 0 0 20px 0;
      transform: translateY(10px);
      box-shadow: -6px 6px 6px 0 var(--shadow-color);

      li {
        width: -webkit-fill-available;
        padding: 0 20px;
      }
    }
  }
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
}

@media (max-width: 1024px) {
  .nav-menu {
    font-size: 20px !important;
  }
}

@media (max-width: 768px) {
  .logo {
    font-size: 32px;
  }  

  .nav-menu {
    font-size: 24px !important;

    flex-direction: column;
    position: absolute;
    align-items: start;
    top: 100%;
    right: 0;
    background-color: var(--navbar-color);
    box-shadow: 0 4px 8px var(--shadow-color);
    transform: translateY(-100%);
  }

  .menu-toggle {
    display: block;
  }
}

.logout {
  background-color: var(--contrast-button-color);

  &:hover {
    background-color: var(--contrast-button-hover-color);
  }
}