header {
  display: flex;

  position: relative;

  width: 100%;
  max-width: 100vw;
  background-color: var(--color-primary);

  /* overflow: hidden; */
}

header > .wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 2rem 0 !important;

  /* position: relative; */

  flex: 1;
}

.header__menu-icon {
  all: unset;

  display: none;
  color: #fff;

  border: 1px solid #fff;
  border-radius: 1rem;

  width: 4rem;
  height: 4rem;
}

.header__menu-icon > svg {
  width: 100%;
  height: 100%;
}

.header__logo > img {
  width: 20rem;
}

.header__links {
  display: flex;
  gap: 4rem;
}

.header__link {
  display: flex;
  align-items: center;
}

.header__link > a {
  color: #ececec;

  font-family: "Amsi Pro", sans-serif;
  font-size: 2rem;
  font-weight: bold;
  font-style: italic;

  text-transform: uppercase;
  text-decoration: none;
}

.header__link--highlight > a {
  font-size: 2.1rem;
  text-decoration: underline;
  text-underline-offset: 8px;
}

.header__link > a:hover {
  color: #fff;
}

.header__border {
  position: absolute;
  bottom: 0;
  left: 50%;

  width: 100vw;
  max-width: 1280px;
  height: 0.4rem;
  background-color: #fff;

  border-radius: 100%;

  transform: translateX(-50%);
}

@media screen and (max-width: 1200px) {
  header > .wrapper {
    padding: 2rem;
  }
}

@media screen and (max-width: 768px) {
  .header__logo > img {
    width: 15rem;
  }

  .header__menu-icon {
    display: block;
  }

  .header__nav {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: 80%;
    left: 0;

    width: 100vw;
    background-color: var(--color-primary);
    box-shadow: 3px 5px 10px 0 rgba(0, 0, 0, 0.5);

    z-index: 1000;

    transition: all 0.2s ease-in-out;
  }

  .header__nav--open {
    opacity: 1;
    visibility: visible;
    top: 100%;
  }

  .header__links {
    flex-direction: column;
    align-items: center;
    gap: 1rem;

    padding: 2rem;
  }
}
