#header {
  width: 100%;
  text-align: center;
  position: relative;
}

.header--container {
  margin: auto;
  max-width: 980px;
}

.header--top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  height: 60px;
  margin-top: 10px;
  margin-left: 20px;
}

.header--top-right {
  display: flex;
  align-items: center;
}

.header--top-right a {
  color: white;
  padding: 10px;
  font-size: 24px;
}

.header--bottom {
  padding: 10px 0;
  display: flex;
  align-items: left;
  border-bottom: 1px solid rgba(0, 0, 0, 0.5);
}

.header--bottom .mobile--icon {
  display: none;
}

.header--bottom a {
  color: white;
  margin-right: 10px;
  padding: 10px;
  font-size: 18px;
}

.header--bottom a:hover {
  color: var(--color-secondary);
}

.menu {
  color: white;
  padding: 16px;
  margin-right: 20px;
  font-size: 30px;
  cursor: pointer;
  display: none;
}

/* Responsive */

@media (max-width: 768px) {
  .menu {
    display: block;
  }

  .header--bottom {
    background: rgba(2, 9, 46, 0.9);
    backdrop-filter: blur(8px);
  }

  .header--bottom {
    position: fixed;
    top: 0;
    left: -100%;
    height: 100vh;
    width: 70%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    transition: all 0.5s ease-in-out;
  }

  .header--bottom nav {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
  }

  .header--bottom nav a {
    margin-bottom: 30px;
  }

  .header--bottom .header--top-right {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
  }

  .header--bottom .header--top-right div {
    margin-bottom: 10px;
  }

  .header--top-right {
    display: none;
  }
}

.showHeader .header--bottom {
  left: 0;
}