.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
  background-color: rgb(255, 255, 255);
  z-index: 1;
}

.header__alltitle-container {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header__img-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.header__divider {
  display: none;
  width: 1px;
  height: 25px; /* Adjust as needed */
  background-color: black;
  margin: 0px;
}

.header__text-container {
  /* display: none; */
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.header__logo {
  justify-self: center;
  align-self: center;
  width: var(--size-3xl);
  height: auto;
  display: inline;
  vertical-align: middle;
  margin-left: 1rem;
}

.header__title {
  align-self: flex-start;
  font-size: var(--size-base);
  font-weight: 700;
  color: var(--clr-text);
  text-decoration: none;
}

.header__slogan {
  display: none;
  align-self: flex-start;
  font-family: var(--font-secondary);
  font-size: var(--size-xs);
  font-weight: 500;
  color: var(--clr-text);
}

.header__bars {
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  font-size: var(--size-2xl);
  width: var(--size-2xl);
  height: var(--size-2xl);
  margin-right: 1rem;
}

.header__menu {
  display: none;
  align-items: center;
  list-style: none;
  padding: 0;
}

.header__link {
  font-size: var(--size-sm);
  text-decoration: none;
  font-weight: 600;
  color: var(--clr-text);
  transition: background-color 0.3s ease;
}

.header__link:hover {
  color: var(--clr-hover);
}

.header__separator {
  display: none;
  border: 1px solid var(--clr-muted);
  padding-top: 1.5rem;
}

.header__sign-up-btn {
  display: none;
  font-family: var(--font-primary);
  font-size: var(--size-sm);
  font-weight: 600;
  color: var(--clr-text);
  text-decoration: none;
  border: 1px solid var(--clr-text);
  border-radius: 14px;
  padding: 4px 20px;
}

.header__sign-up-btn:hover {
  color: var(--clr-hover);
  background-color: white;
}

.header__log-in-btn {
  display: none;
  font-family: var(--font-primary);
  font-size: var(--size-sm);
  font-weight: 600;
  color: var(--clr-light-bg);
  text-decoration: none;
  background-color: var(--clr-hover);
  border-radius: 14px;
  padding: 5px 24px;
  border: 1px solid var(--clr-hover);
}

.header__log-in-btn:hover {
  color: var(--clr-text);
  background-color: var(--clr-btn);
  border: 1px solid var(--clr-btn);
}

.header__btn-container {
  display: flex;
  gap: 1rem;
}

.header__learn-more {
  display: none;
}

.header__learn-more:hover {
  color: var(--clr-text);
  background-color: var(--clr-btn);
}

.header__bars:hover {
  color: var(--clr-hover);
}

/* mobile-nav */

.mobile-nav {
  display: flex;
  flex-direction: column;
  margin-left: 2em;
  margin-right: 2em;
  top: 80px;
  width: unset;
  list-style: none;
  background-color: rgba(7, 11, 32, 0.1);
  backdrop-filter: blur(15px);
  border-radius: 10px;
  overflow: hidden;
  height: 0;
  transition: height 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  margin-bottom: 1rem;
  z-index: 1;
}

.mobile-nav.open {
  height: 240px;
}

.mobile-nav li {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--size-base);
  font-weight: 600;
  color: var(--clr-text);
  padding: 0.7rem;
}

.mobile-nav__link {
  text-decoration: none;
}

.mobile-nav__link:hover {
  color: var(--clr-hover);
}

.mobile-nav__log-in-btn {
  width: 100%;
  display: flex;
  justify-content: center;
  font-family: var(--font-primary);
  font-size: var(--size-sm);
  font-weight: 600;
  color: var(--clr-light-bg);
  text-decoration: none;
  background-color: var(--clr-hover);
  border-radius: 14px;
  padding: 5px 24px;
  border: 1px solid var(--clr-hover);
}

.mobile-nav__log-in-btn:hover {
  color: var(--clr-text);
  background-color: var(--clr-btn);
  border: 1px solid var(--clr-btn);
}

/* 2XS */
/* @media (min-width: 425px) {} */

/* XS */
@media (min-width: 475px) {
  .header__text-container {
    display: flex;
  }

  .header__slogan {
    display: none;
  }
}

/* SM */
@media (min-width: 640px) {
  .mobile-nav {
    display: block;
    position: absolute;
    right: 2rem;
    top: 80px;
    width: 300px;
    list-style: none;
    background-color: rgba(7, 11, 32, 0.1);
    backdrop-filter: blur(15px);
    border-radius: 10px;
    overflow: hidden;
    height: 0;
    transition: height 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  }
}

/* MD */
@media (min-width: 768px) {
  .header__bars {
    display: none;
  }

  .header__menu {
    display: flex;
    gap: 2em;
    align-items: center;
    font-size: var(--size-xxs);
  }

  .header__separator {
    display: none;
  }

  .header__learn-more {
    display: flex;
    font-family: var(--font-primary);
    font-size: var(--size-sm);
    font-weight: 600;
    color: var(--clr-light-bg);
    text-decoration: none;
    background-color: var(--clr-hover);
    border-radius: 14px;
    padding: 5px 24px;
  }

  .header__logo {
    width: var(--size-4xl);
  }

  .mobile-nav {
    display: none;
  }
}

/* LG */
@media (min-width: 1024px) {
  .header__learn-more {
    display: none;
  }

  .header__log-in-btn {
    display: flex;
  }

  .header__sign-up-btn {
    display: flex;
  }

  .header__title {
    font-size: var(--size-lg);
  }

  .header__slogan {
    display: flex;
  }

  .header__divider {
    display: flex;
  }

  .header__link {
    font-size: var(--size-base);
  }

  .header__sign-up-btn {
    font-size: var(--size-sm);
  }

  .header__log-in-btn {
    font-size: var(--size-sm);
  }
}

/* XL */
@media (min-width: 1280px) {
  .header__menu {
    gap: 6em;
  }

  .header__btn-container {
    gap: 1.5em;
  }
}

/* 2XL */
@media (min-width: 1536px) {
  .header__btn-container {
    gap: 1.5em;
  }
}
