/* ------------------- */
/* Navigation  */
/* ------------------- */
.navbar {
  background-color: var(--clr-light);
}

.navbar a,
ul {
  text-decoration: none;
  list-style-type: none;
  color: var(--clr-primary);
  padding-left: 20px;
}

.navbar a:hover {
  color: var(--clr-accent1);
  text-decoration: underline;
}

.navbar p {
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.1rem;
}

.navbar img {
  padding: 10px 0 0 10px;
}

/* top navbar */
.navbar--top {
  height: 70px;
  padding-right: 2.5em;
  /* text-align: right; */
  display: none;
  /* align-content: center; */
  /* box-shadow: 0 1px 8px 0 var(--clr-secondary); */
}

/* side navbar */
.navbar--side {
  width: 20rem;
  min-width: 16rem;
  /* height: 100%; */
  /* position: fixed; */
  top: 50px;
  left: 0;
  padding: 1rem;
  display: none;
}

/* mobile navbar */
.navbar--mobile {
  overflow: hidden;
  position: relative;
}

/* Hide the links inside the navigation menu (except for logo/home) */
.navbar--mobile #links--mobile {
  display: none;
}

/* Style navigation menu links */
.navbar--mobile a {
  color: var(--clr-primary);
  padding: 12px 16px;
  text-decoration: none;
  font-size: 1rem;
  display: block;
}

/* Style the hamburger menu */
/* .navbar--mobile a.icon {
  background: var(--clr-light);
  display: block;
  position: absolute;
  right: 1rem;
  top: 0.5rem;
  font-size: 2rem;
} */

.navbar--mobile a.icon {
  background: var(--clr-light);
  display: block;
  position: absolute;
  right: 1rem;
  top: 0.5rem;
  font-size: 2rem;
  /* transition: background 0.3s; Add a smooth transition for better visual effect */
}

/* Style the close icon */
.navbar--mobile a.icon.close {
  background: var(--clr-light); /* Adjust the background color if needed */
}

.navbar--mobile p {
  font-weight: 700;
  padding: 0 0 0 1em;
  letter-spacing: 0.1rem;
}

.navbar--mobile img {
  padding: 0;
}

/* Style the active link (or home/logo) */
.active {
  /* background-color: var(--clr-light);
    color: var(--clr-primary); */
  color: var(--clr-accent1);
  /* border-bottom: 0.2rem solid var(--clr-accent1); */
}

.underline-indicators > * {
  padding: 0.5em 0;
}
.underline-indicators > *:hover {
  border-bottom: 0.2rem solid var(--clr-accent1);
}

.underline-indicator > .active {
  border-bottom: 0.2rem solid var(--clr-accent1);
}
/* ------------------- */
/* Wrappers  */
/* ------------------- */

.container {
  display: block;
}

.container--split {
  /* display: none; */
  gap: var(--gap, 1rem);
  justify-content: space-between;
}

.content {
  max-width: 80%;
  margin: 0 auto; /* margin-inline: auto */
  padding: 20px;
  /* background-color: var(--clr-secondary); */
}

.flex {
  display: flex;
  justify-content: space-between;
  width: 80%;
  padding-left: 20px;
}

/* ------------------- */
/* Typography  */
/* ------------------- */
.content__title--numbered {
  font-family: var(--ff-sans-cond);
  font-size: var(--fs-500);
  text-transform: uppercase;
  letter-spacing: 4.72px;
}

.content__title--numbered span {
  margin-right: 0.5em;
  font-weight: 700;
  color: var(--clr-secondary);
}

.page__title--numbered span {
  margin-right: 0.5em;
  font-weight: 400;
  color: var(--clr-secondary);
}

h4 {
  font-style: italic;
  font-size: 1rem;
}

/* ------------------- */
/* Colour swatches  */
/* ------------------- */
.colourswatch--outline {
  padding: 3rem 5rem 1rem 1rem;
  /* border: 1px solid rgb(1, 1, 1); */
  box-shadow: 0px 0px 0px 1px var(--clr-secondary) inset;
}

.colourswatch {
  padding: 3rem 5rem 1rem 1rem;
}

/* .flex-grow {
  flex-grow: 1;
} */

.swatch__wrap > *:where(:not(:first-child)) {
  padding-top: 2em;
}

/* ------------------- */
/* Responsive  */
/* ------------------- */
@media (min-width: 45em) {
  .container {
    display: flex;
    gap: var(--gap, 1rem);
  }

  .content {
    width: 80%; /* 80rem */
    margin: 0 auto;
    padding: 1rem;
  }

  .colourswatch--outline {
    width: 16rem;
  }

  .colourswatch {
    width: 16rem;
  }

  .navbar--side {
    display: block;
  }
  .navbar--top {
    display: flex;
  }
  .navbar--mobile {
    display: none;
  }
  .container--split {
    display: flex;
  }
  .wrap {
    display: flex;
    flex-wrap: wrap;
  }
  .swatch__wrap > *:where(:not(:first-child)) {
    padding-top: 0em;
  }
}
