header {
  display: flex;
  flex-wrap: wrap;
  align-items: start;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem;
  height: 6rem;
}
.super-nav {
    display: flex;
    background: var(--bg2);
    width: 100%;
}
.super-nav a {
    padding: 1rem;
    text-decoration: none;
    color: #faf2de;
    font-size: 0.8rem;
}
.super-nav a::after {
    content: " ➜";
    font-size: 0.7rem;
    cursor: pointer;
}
header > p:first-child {
  color: wheat; 
  font-size: 0.6rem;
  position: absolute;
  top: 0;
  right: 0;
}
header .logo-link {
  display: flex;
  height: 100%;
  align-items: center;
}
header .logo-link img {
  height: 80%;
}
@media (prefers-color-scheme: light) { 
    header {
          background: var(--bg3);
    }
    .super-nav {
        background: var(--bg2);
    }
}
@media (prefers-color-scheme: dark)  { 
  header {
    background: black;
    border-bottom: 0.05rem solid ;
  }
  header .logo-link img {
    filter: invert(1);
  }
  .super-nav {
    background: var(--bg3);
  }
}
#menu_btn {
  z-index: 19;
  position: fixed;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  bottom: 25vh;
  right: 0;
  padding: 0.3rem;
  background: var(--c1);
  border-radius: 0.5rem 0 0 0.5rem;
  border: 0.05rem solid var(--border1);
  border-right: none;
}
#menu_btn span {
  height: 0.2rem; 
  border-radius: 999px;
  width: 1rem;
  background-color: white;
}
/*  */
  #header_menu {
    position: fixed;
    margin: auto;
    width: 96%;
    height: fit-content;
    max-width: 30rem;
    padding: 1rem;
    border-radius: 1rem;
    /* optional: make it look like a panel */
    background: var(--bg3);
    border: none;
    flex-direction: column;
    border: 0.05rem solid var(--cool);
  }
  .link-div {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-bottom: 1rem;
    overflow-x: auto;
  }
  #fav_channels,
  #recent_channels {
    display: flex;
    flex-direction: column;
  }
  #fav_channels a,
  #recent_channels a {
    text-transform: lowercase;
  }
  #fav_channels a::first-letter,
  #recent_channels a::first-letter {
    text-transform: uppercase;
  }
  .div-headline {
    margin-bottom: 0.5rem;
    font-size: 1rem;
    color: var(--cool);
  }
  .link-div a {
    gap: 0.5rem;
    font-size: 0.7rem;
    white-space: nowrap;
    color: var(--txt1);
  }
  .link-div a:not(:last-child) {
    margin-bottom: 0.3rem;
  }
  .link-div span {
    font-size: 0.7rem;
    color: var(--muted);
  }
/*  */

/*  */
  #user_div {
    height: 100%;
    min-width: 3rem;
    display: flex;
    flex-direction: column;
    font-size: 0.6rem;
    justify-content: space-around;
  }
  #user_div p {
  color: var(--txt1);
  }
  #user_div a {
    padding: 0.3rem 0.5rem;
    font-weight: bold;
    background: var(--bg2);
    text-decoration: none;
    border-radius: 0.2rem;
  }
  #user_div a:first-of-type {
    color: #ffffff;
  }
  #user_div a:last-of-type {
  color: rgb(255, 132, 132)
  }
  #access_btn {
    all: unset;
    font-size: 0.8rem;
    padding: 0 1rem;
    height: 100%;
    display: grid;
    background: var(--bg2);
    place-items: center;
    text-decoration: none;
    color: var(--txt2);
    border: 0.05rem solid var(--border2);
  }
/*  */
  #access_dialog {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 40rem;
    background: var(--bg3);
    margin: auto;
    color: var(--txt1);
    padding: 1rem;
    max-height: 40rem;
    height: 100%;
  }
  #access_dialog > div {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    border: 0.05rem dashed var(--border2);
    padding: 0.5rem;
    border-radius: 0.5rem;
  }
  #access_dialog p {
    font-size: 0.9rem;
    line-height: 1.3rem;
  }
.anonym-mode-btns {
  display: flex;
  gap: 0.5rem;
}
.anonym-mode-btns > button {
  all: unset;
  color: var(--txt1);
  width: 100%;
  padding: 0.4rem 0;
  border-bottom: 0.05rem solid var(--border2);
  text-align: center;
  font-size: 0.8rem;
}
.anonym-mode-btns > button.active {
  background-color: var(--bg2);
  color: var(--txt2);
}
#access_dialog > button:last-of-type {
  margin-top: auto;
}
.anonym-access-form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.anonym-access-form input {
  height: 2rem; 
  text-align: center;
  border: 0.05rem solid var(--border1);
}
.anonym-access-form button {
  width: 50%;
}
.privacy-consent-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg5);
  padding: 0.5rem;
}
.privacy-consent-wrap input {
  height: 1.5rem;
  width: 1.5rem;
}
.google-signin-btn {
    height: 3rem;
}