@import "variables";

.header {
  /* Mobile Header */
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: auto;
  height: 5rem;
  border-bottom: 1px $borderAccent solid;
  background: $bg0;
  z-index: 1;
}

.mobileHeader {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;

  h1 {
    font-family: Pacifico;
    font-weight: 300;
    margin: 0;
    color: white;
  }

  .placeholder {
    flex: 1;

    button {
      width: 50px;
      height: 50px;
      font-size: 35px;

      svg {
        color: $primaryLight;
      }
    }
  }

  .headerLeft {
    svg {
      margin-left: 10px;
    }
  }

  .headerRight {
    svg {
      margin-right: 10px;
    }
  }
}

.desktopHeader {
  display: none;

  height: inherit;
  background-color: $bg1;
  border-bottom: 1px $borderAccent solid;
  padding: 10px;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
}

.backForwardNavigationWrapper {
  display: flex;

  justify-content: space-around;
  align-items: center;
  height: 100%;
  width: 80px;

  button {
    background-color: $bg9;
    width: 25px;
    height: 25px;

    border-radius: 50%;

    &:hover {
      background-color: $bg16;

      svg {
        color: white;
      }
    }
  }
}

.userSettingsButtonWrapper {
  margin-left: auto;
  margin-right: 20px;
  width: 45px;
  height: 45px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0;
  border-radius: 50%;
}

.userSettingsButton {
  margin: auto;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  position: relative;
  border: 1px $borderAccent solid;
  padding: 0;
  transition: 0.3s ease-out;

  &:hover {
    transform: scale(1.05);
  }
}

.profileMenu {
  position: absolute;
  right: 30px;
  top: 70px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;

  border-radius: 7px;
  background-color: $bg9;
  box-shadow: 0 1rem 1rem rgba(0, 0, 0, 0.2);
  overflow: hidden;

  > button {
    color: #ccc;
    font-family: "Open Sans";
    font-size: 14px;
    padding: 7px 20px;
    text-align: left;
    outline: none;
    width: 100%;
    transition: 0.2s ease;

    &:hover {
      background-color: $bg15;
      color: #fff;
    }
  }
}

@media (min-width: 800px) {
  .header {
    position: fixed;
    height: 80px;
    left: 230px;
    top: 0;
    right: 0;
    box-sizing: border-box;

    background-color: $bg1;

    .mobileHeader {
      display: none;
    }

    .desktopHeader {
      display: flex;
    }
  }
}

@media (min-width: 1000px) {
}
