* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans",
    "Helvetica Neue", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-optical-sizing: auto;
  font-style: normal;
}

:root {
  /* Website width on screens smaller than 1000px should be 95% */
  --website-width: min(1000px, 95%);
  --color-primary-100: hsl(44, 100%, 85%);
  --color-primary-200: hsl(44, 100%, 65%);
  --color-primary-400: #ffc11a;
  --color-neutral-900: #000;
  --color-neutral-100: #fff;
  --section-spacing: 8vh;
}

body {
  background-color: #fefcef;
  background-image: radial-gradient(
      circle at top left,
      rgba(255, 255, 255, 0.85) 0%,
      rgba(255, 255, 255, 0.45) 85%,
      transparent 100%
    ),
    linear-gradient(
      115deg,
      hsla(44, 50%, 55%, 0.9) 0,
      hsla(44, 50%, 55%, 0.9) 30vw,
      hsla(44, 50%, 75%, 0.9) 30vw,
      hsla(44, 50%, 75%, 0.9) 85vw,
      hsla(44, 50%, 85%, 0.7) 85vw
    );
  background-repeat: no-repeat;
}

nav {
  background-color: rgba(0, 0, 0, 0.8);
  padding-inline: calc(calc(100vw - var(--website-width)) / 2);
  padding-block: 1rem;
  display: flex;
  gap: min(10vw, 200px);

  @media screen and (width<800px) {
    align-items: center;
    flex-direction: column;
    gap: 5vw;
  }

  ul {
    display: flex;
    list-style: none;
    gap: 4vw;
    align-items: center;

    a {
      text-decoration: none;
      color: var(--color-neutral-100);
      font-size: 1.25rem;
      font-weight: normal;
      position: relative;

      &::after {
        content: "";
        position: absolute;
        left: 0;
        top: 1.5rem;
        width: 0;
        height: 3px;
        background-color: var(--color-primary-400);
        transition: width 200ms ease-in;
      }

      &:hover {
        &::after {
          width: 100%;
        }
      }

      &.active {
        &::after {
          width: 100%;
        }
      }
    }
  }
}

.logo {
  height: 60px;
  width: 80px;
  background-image: url("images/logo-dark.svg");
  background-repeat: no-repeat;
  background-position: center center;
}

footer {
  width: 100vw;
  padding-inline: calc(calc(100vw - var(--website-width)) / 2);
  padding-block: 0.5rem;

  background-color: var(--color-neutral-900);

  position: fixed;
  bottom: 0;

  display: flex;
  justify-content: space-between;
  align-items: center;

  @media screen and (width<800px) {
    flex-direction: column;
    gap: 0.5rem;
  }

  .copy {
    font-style: italic;
    color: var(--color-neutral-100);
  }

  .social {
    display: flex;
    align-self: stretch;
    justify-content: space-between;
    gap: 1.25rem;

    @media screen and (width<800px) {
      justify-content: center;
    }

    a {
      height: 32px;
      width: 32px;
    }

    .fb {
      background-image: url(images/icon-fb.svg);
    }

    .insta {
      background-image: url(images/icon-insta.svg);
    }

    .x {
      background-image: url(images/icon-x.svg);
    }

    .wa {
      background-image: url(images/icon-wa.svg);
    }
  }
}
