#header-space, header {
  height: 70px; }

header {
  background: linear-gradient(to bottom, rgba(0, 0, 0, .9), rgba(0, 0, 0, .6), rgba(0, 0, 0, 0));
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100; }
  header > div {
    height: 100%; }
    header > div #burger {
      cursor: pointer;
      width: 120px; }
      header > div #burger > div {
        background-color: white;
        width: 20px;
        height: 2px;
        border-radius: 2px;
        transition: width 0.5s; }
        header > div #burger > div:not(:last-child) {
          margin-bottom: 5px; }
      header > div #burger #burger2 {
        width: 15px; }
      header > div #burger:hover #burger1, header > div #burger:hover #burger3 {
        width: 15px; }
        header > div #burger:hover #burger2 {
          width: 20px; }
    header > div > .logo-container {
      height: 100%; }
      header > div > .logo-container a {
        height: 100%;
        width: max-content;
        margin: 0 auto;
        display: flex;
        align-items: center;
        justify-content: center; }
        header > div > .logo-container a img {
          height: 60%;
          width: auto; }
    header > div .logo-white {
      display: block; }
    header > div .logo-black {
      display: none; }
    header > div .btn.login {
      background-color: var(--primary-color);
      color: white; }
      header > div .btn.av {
        background-color: white;
        color: var(--black);
        /*&:hover, &:visited, &:link {
                    color: white;
                }*/
        text-decoration: none; }
        header > div .btn.av svg {
          display: none;
          color: white;
          fill: white;
          width: 20px;
          height: 20px; }
  header.transparent {
    background: linear-gradient(to bottom, rgba(0, 0, 0, .8), rgba(0, 0, 0, 0)); }
  header.header-white {
    background: none;
    background: white; }
    header.header-white a.btn.av {
      background-color: var(--black);
      color: white; }
      header.header-white a.btn.av * {
        color: white; }
    header.header-white #burger > * {
      background-color: var(--black); }
    header.header-white .logo-white {
      display: none; }
    header.header-white .logo-black {
      display: block; }

#menu-mask {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, .4);
  transition: opacity 0.2s;
  opacity: 0;
  z-index: 490; }
  #menu-mask.active {
    opacity: 1; }

#menu {
  position: fixed;
  top: 0;
  left: -300px;
  width: 300px;
  z-index: 500;
  height: 100vh;
  transition: left 0.5s; }
  #menu > * {
    display: none; }
  #menu.open {
    display: block;
    left: 0;
    box-shadow: -2px 0 22px var(--primary-color); }
    #menu.open > * {
      display: block; }
  #menu .closer {
    padding-top: 10px;
    width: max-content;
    cursor: pointer; }
    #menu .closer > * {
      height: 2px;
      width: 15px;
      background-color: var(--primary-color);
      border-radius: 2px;
      cursor: pointer; }
    #menu .closer .line1 {
      transform: translateY(-1px) rotate(-45deg); }
    #menu .closer .line2 {
      transform: translateY(-3px) rotate(45deg); }
  #menu .main-menu {
    position: relative;
    z-index: 2;
    max-width: 300px;
    height: 100%;
    background-color: #1a1a1a;
    z-index: 100;
    box-shadow: 2px 0 10px rgba(0, 0, 0, .1);
    overflow: auto;
    color: white;
    display: flex;
    flex-direction: column; }
    #menu .main-menu .title {
      padding: 25px;
      margin-bottom: 15px; }
      #menu .main-menu .title .logo {
        width: 80px;
        height: auto; }
    #menu .main-menu ul {
      list-style: none;
      margin: 0;
      padding: 0;
      flex: 1; }
      #menu .main-menu ul li {
        padding: 15px 25px;
        margin: 0;
        cursor: pointer; }
        #menu .main-menu ul li:hover {
          background-color: var(--primary-color); }
    #menu .main-menu .menu-footer {
      padding: 25px;
      padding-bottom: 75px;
      display: flex;
      flex-direction: column;
      gap: 6px; }
      #menu .main-menu .menu-footer a:hover {
        text-decoration: underline; }
  #menu .side-menu {
    background-color: var(--primary-color);
    color: white;
    position: absolute;
    top: 0;
    left: -50px;
    left: calc($width - $swidth);
    width: 350px;
    height: 100vh;
    transition: left 0.3s;
    overflow: auto; }
    #menu .side-menu.open, #menu .side-menu:hover {
      left: 300px; }
    #menu .side-menu .closer {
      display: none;
      margin: 25px; }
      #menu .side-menu .closer > * {
        background-color: white; }
    #menu .side-menu .content-type {
      display: none;
      padding: 15px 0; }
      #menu .side-menu .content-type.active {
        display: block; }
      #menu .side-menu .content-type ul {
        list-style: none;
        margin: 0;
        padding: 0; }
        #menu .side-menu .content-type ul li {
          padding: 15px 25px;
          margin: 0; }
          #menu .side-menu .content-type ul li a:hover {
            text-decoration: underline; }
      #menu .side-menu .content-type.categories li a {
        display: flex;
        align-items: center;
        gap: 10px; }
        #menu .side-menu .content-type.categories li a img {
          height: 30px;
          width: auto;
          filter: brightness(0) invert(1); }
      #menu .side-menu .content-type.schools li img {
        height: 20px;
        width: auto; }
