@import '../../styles/breakpoints/index';

.footer {
  align-self: flex-end;
  padding-left: var(--pageMargin);
  padding-right: var(--pageMargin);
  width: 100%;
  position: relative;
}

.grid {
  padding-top: var(--margin);
  padding-bottom: calc(var(--margin) * 1.25);
  display: grid;
  align-items: baseline;
  box-shadow: inset 0 1px 0 0 var(--color-border);

  @media (orientation: portrait) {
    grid-row-gap: 12px;
    justify-items: flex-start;
    padding-top: calc(var(--margin) * 2);
    padding-bottom: calc(var(--margin) * 2);
  }

  @media (orientation: portrait) and ($sm) {
    grid-template-columns: repeat(2, 1fr);
    justify-items: space-between;
  }

  @media (orientation: landscape) {
    grid-template-columns: repeat(2, 1fr);
    justify-items: space-between;
  }
}

.nav {
  text-align: right;
  display: grid;
  width: 100%;

  @media (orientation: portrait) and ($sm) {
    justify-items: flex-end;
  }

  @media (orientation: landscape) {
    justify-items: flex-end;
  }

}

.list {
  display: inline-grid;
  align-items: baseline;
  grid-auto-flow: column;
  grid-auto-columns: min-content;
  white-space: nowrap;
  grid-column-gap: 16px;
}

.link {
  background-color: transparent;
  border: 0;
  padding: 0;
  appearance: none;
  outline: none;
  cursor: pointer;
  color: var(--color-text);
  font-weight: 500;
}

.link:hover {
  color: var(--color-primary);
}

.dot {
  color: var(--color-black-light-3);
}

.active {
  color: var(--color-primary);
}
