header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.25rem;
  background-color: #474342;
  padding: 0 20px;
}

header img {
  width: 7rem;
}

header button {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 6px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: #fff;
  background-color: #3f3f3f;
}

header .menu {
  display: none;
}

header button .bi-list {
  font-size: 20px;
}

header .contact-us {
  display: none;
}

.mobile-menu {
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  z-index: 99;
  width: 15rem;
  display: none;
  background-color: #474342;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  padding: 4rem 2rem 2rem;
}

.mobile-menu.active {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.mobile-menu ul {
  display: flex;
  flex-direction: column;
  gap: 14px;
  list-style: none;
}

.mobile-menu ul li a {
  text-decoration: none;
  color: #f7f2ef;
  text-transform: capitalize;
  font-weight: bold;
  font-family: timeBurner, sans-serif;
}

.mobile-menu ul li a:hover {
  text-decoration: underline #ec1f26;
  text-decoration-thickness: 3px;
  text-underline-offset: 10px;
}

.mobile-menu .bi-x {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 20px;
  color: #fff;
  cursor: pointer;
  border: 1px solid #fff;
  border-radius: 6px;
  width: 1.5rem;
  height: 1.5rem;
  display: grid;
  place-content: center;
}

.mobile-menu .contact-us {
  width: 100%;
  height: 2.5rem;
  background-color: #ec1f26;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;

  & button {
    background: transparent;
    border: none;
    color: #f7f2ef;
    text-transform: capitalize;
    font-weight: bold;
  }
}


@media (min-width: 768px) {
  header button.menu-icon {
    display: none;
  }

  header .menu {
    display: flex;
    align-items: center;
    gap: 20px;
    list-style: none;
    text-transform: capitalize;
    font-weight: bold;
    font-family: timeBurner, sans-serif;

    & a {
      text-decoration: none;
      color: #f7f2ef;

      &:hover {
        text-decoration: underline #ec1f26;
        text-decoration-thickness: 3px;
        text-underline-offset: 10px;
      }
    }
  }

  header .contact-us {
    height: 2.5rem;
    background-color: #ec1f26;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 0 20px;

    & button {
      background: transparent;
      border: none;
      width: 100%;
      color: #f7f2ef;
      text-transform: capitalize;
      font-weight: bold;
    }
  }
}