import { styled } from 'styled-components';

export const StyledNavbar = styled.nav`
  position: sticky;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 100%;
  background-color: black;

  .navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 3.5em;
    margin: 0 auto;

    color: white;
    padding: 0.5em 1em;
    max-width: 1900px;
  }
`;

export const StyledNavBrand = styled.a`
  opacity: 0.85;
  font-weight: 700;
  font-size: 1.3em;
`;

export const StyledNavlinksWrapper = styled.div`
  display: flex;
  align-items: center;
  gap: 1em;
  font-size: 1.1em;

  ul {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 1em;
    font-weight: bold;
  }

  ul > li > a  {
    display: flex;
    align-items: center;
    gap: 0.5em;
  }

  @media screen and (max-width: 600px) {
    ul > li > a {
      display: none;
    }
  }
`;

export const StyledLangButton = styled.button`
  font-size: 1em;
  font-weight: bold;

  padding: 0.25em 1em;
  text-transform: uppercase;
  cursor: pointer;

  border: 1px solid ${({ theme }) => theme.colors.accent};
  background: none;
`;
