// Getting root rules from _root.scss
@use "../root" as root; // Usage: root.$value-name

header {
  height: root.$header-height;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: root.$header-padding-y root.$header-padding-x;
  background-color: root.$header-footer-background;
  border-bottom: 1px solid root.$divider;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;

  .logo {
    max-height: root.$header-height;
    width: auto;
    text-decoration: none !important;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: inherit;
    transition: color 0.3s;

    &:hover {
      color: root.$accent;
    }

    img {
      height: 50px;
      width: auto;
    }
  }
}
