/* Valiables */
/* Mixins */
/* Colors */
:root[data-theme=light] {
  --lighter: #fff;
  --body-txt: #232323;
  --body-bg: #f4f4f4;
  --header-bg: rgb(250 250 250 / .9);
  --txt-muted: #6d6d6d;
  --txt-bright: #fff;
  --primary: #b87333;
  --primary-light: #dadbfc;
  --secondary: #3378B8;
  --highlight-bg: #fff;
  --btn-bg: #fff;
  --link: #214e79;
  --logo-url: url("../images/logo-light.webp");
  --footer-bg: #ececec;
  --box-shadow: #8a8a8a;
  --border-muted: #cecece;
}

:root[data-theme=dark] {
  --lighter: #232323;
  --body-txt: #e6e6e6;
  --body-bg: #121418;
  --header-bg: rgb(23 26 31 / 0.9);
  --txt-muted: #a0a0a0;
  --txt-bright: #fff;
  --primary: #ff9f43;
  --primary-light: #dadbfc;
  --secondary: #70baff;
  --highlight-bg: #1a1c22;
  --btn-bg: #1d2027;
  --link: #43A4FF;
  --logo-url: url("../images/logo-dark.webp");
  --footer-bg: #0b0d0f;
  --box-shadow: #121212;
  --border-muted: #2c2c2c;
}

:root {
  --btn-txt: var(--body-txt);
  --btn-border: var(--body-txt);
  --btn-primary-bg: var(--primary);
  --btn-primary-txt: var(--body-bg);
  --button-box-bg: var(--btn-bg);
  --button-box-txt: var(--body-bg);
  --box-shadow: #121418;
  --transition: all .25s ease;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 5rem;
  z-index: 999;
}
header .header {
  background-color: var(--header-bg);
  box-shadow: 0 0 1rem var(--box-shadow);
  height: 5rem;
  gap: 1rem;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin: 0.25rem;
  padding: 1rem;
  border-radius: 0.5rem;
  -webkit-backdrop-filter: blur(2rem);
          backdrop-filter: blur(2rem);
}
header .header__logo {
  display: flex;
  align-items: center;
  gap: 1rem;
}
header .header__logo a {
  display: block;
  height: 3rem;
}
header .header__logo a img {
  width: auto;
  height: 100%;
  border-radius: 0.5rem;
}
header .header__text {
  display: none;
}
@media (min-width: 480px) {
  header .header__text {
    display: flex;
    flex-direction: column;
  }
}
header .header__tagline {
  color: var(--txt-muted);
  font-size: 0.8em;
  font-weight: bold;
}
header .header__nav {
  display: flex;
  flex-direction: row;
  gap: 0.5rem;
  align-items: center;
}
@media (min-width: 768px) {
  header .header__nav {
    gap: 2rem;
  }
}
header .header__main-menu {
  display: none;
}
@media (min-width: 768px) {
  header .header__main-menu {
    display: block;
  }
}
header .header__main-menu ul {
  display: flex;
  gap: 1rem;
}
header .header__btn-theme, header .header__btn-search {
  padding: 0;
  border: none;
  background-color: transparent;
  color: var(--body-txt);
  cursor: pointer;
}
header .header__bars {
  width: 3rem;
  height: 3rem;
  display: flex;
  justify-content: center;
  align-items: center;
}
@media (min-width: 768px) {
  header .header__bars {
    display: none;
  }
}
header .header__bars i {
  margin: 0;
}
header .header__bars, header .header .close {
  font-size: 1.5em;
  transition: color 0.25s ease;
}
header .header__bars:hover, header .header .close:hover {
  color: var(--primary);
  cursor: pointer;
}

#nav-toggle {
  display: none;
}

.mobile {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 500px;
  background-color: var(--highlight-bg);
  box-shadow: 0 0 1rem var(--clr-box-shadow);
  padding: 1rem 1rem 3rem 1rem;
  z-index: 99999;
  transform: translateX(120%);
  transition: transform 0.3s ease;
}
.mobile__nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-inline: auto;
  text-align: center;
  width: 100%;
  max-width: 20rem;
}
.mobile__nav ul li {
  margin-bottom: 1rem;
}
.mobile__close {
  margin-top: -0.25rem;
  font-size: 1.2em;
  text-align: end;
}
.mobile__btn-close {
  padding: 0.25rem;
  cursor: pointer;
}
.mobile__logo {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}
.mobile__logo img {
  width: 3rem;
  height: auto;
  border-radius: 0.25rem;
}
.mobile__text {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.mobile__tagline {
  margin-block: 0.25rem;
  font-size: 0.8em;
  color: var(--txt-muted);
  font-weight: bold;
}

#nav-toggle:checked ~ .mobile-nav {
  transform: translateX(0);
}

#search-toggle {
  display: none;
}

.search {
  position: fixed;
  top: 7rem;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 750px;
  margin: 0 auto;
  height: -moz-fit-content;
  height: fit-content;
  transform: translateY(-20rem);
  border: 1px solid var(--border-muted);
  border-radius: 0.5rem;
  background-color: var(--body-bg);
  box-shadow: 0 0 1rem var(--box-shadow);
  -webkit-backdrop-filter: blur(2rem);
          backdrop-filter: blur(2rem);
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  padding: 2rem 1rem;
  z-index: 998;
  transition: transform 0.25s ease;
}
.search__form {
  flex: 1;
  display: flex;
  flex-direction: row;
  gap: 0;
  height: 3rem;
  position: relative;
  margin-left: 1rem;
}
.search__input {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3rem;
  border: 1px solid var(--border-muted);
  background-color: var(--highlight-bg);
  flex: 1;
  border-radius: 0.5rem;
  padding: 1rem 2rem 1rem 3rem;
  outline: none;
}
.search__input:focus-visible {
  border-color: var(--primary);
  color: var(--primary);
}
.search__btn-submit, .search__btn-reset {
  position: absolute;
  top: 0;
  bottom: 0;
  height: 3rem;
  background-color: inherit;
  border: none;
  cursor: pointer;
}
.search__btn-submit {
  right: 1rem;
  color: var(--body-txt);
}
.search__btn-reset {
  left: 1rem;
  color: var(--txt-muted);
}
.search__btn-close i, .search__btn-submit i, .search__btn-reset i {
  margin: 0;
}
.search__btn-close {
  cursor: pointer;
  padding: 1rem;
}

#search-toggle:checked ~ .search {
  transform: translateY(0);
}/*# sourceMappingURL=header.css.map */