@import url("https://fonts.googleapis.com/css2?family=PT+Serif&display=swap");
#header--con {
  min-width: 100%;
  display: flex;
  background-color: var(--header--bg);
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 3rem;
  position: fixed;
  z-index: 999;
  /* transition: all 1s ease-in; */
  box-shadow: var(--header--shadow);
}
.show--header {
  padding: 0.2rem 3rem !important;
}
.lg--con {
  color: var(--title--clr);
  font-family: "Ultra", serif;
  font-size: 2rem;
  text-transform: capitalize;
  letter-spacing: 3px;
  flex-grow: 0.6;
  transition: all 400ms ease-in-out;
}
.logo--show {
  font-size: 1.3rem;
}
.nav--con {
  line-height: 40px;
  height: 100%;
  /* background: #000; */
}
.nav--con > nav > li {
  /* border: 2px solid; */
  display: inline-block;
  margin-left: 1rem;
  cursor: pointer;
  transition: background 300ms ease;
}

/* .nav--con > nav > li:hover {
  background-color: hsla(200, 64%, 84%, 0.5);
  transform: scale(1.02);
} */
/* .nav--active {
  background-color: hsla(200, 64%, 84%, 0.5);
} */
nav > li > a {
  padding: 0.3rem 0.1rem;
  /* border-radius: 5px; */
  color: var(--text--clr1);
  font-size: 16px;
  text-transform: capitalize;
  letter-spacing: 2px;
  font-weight: 600;
  letter-spacing: 2px;
  width: 100%;
  transition: all 200ms ease-in-out;
  height: 100%;
  /* font-style: italic; */
}
nav > li > a:active,
nav > li > a:focus {
  border-bottom: 3px solid var(--sec--clr);
}
.nav--con > nav > li > .a--show {
  font-size: 14px;
}
#header--con > .h--cl3 {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.mode {
  position: relative;
}
.h--cl3 > .mode > .change--mode {
  cursor: pointer;
  min-width: max-content;
  display: flex;
  justify-content: baseline;
  align-items: center;
  gap: 0.4rem;
  /* border: 2px solid red; */
  line-height: 30px;
}
.change--mode > img {
  width: 22px;
}
.change--mode > span {
  font-size: 16px;
  text-transform: capitalize;
  font-weight: 600;
  letter-spacing: 2px;
}
/* mode selection css styling start */
.mode .other--modes {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-content: center;
  min-width: max-content;
  padding: 0.8rem 0.8rem;
  transform: translate(-1rem, 2.5rem);
  border-radius: 10px;
  z-index: 555;
  background-color: var(--bg1--clr);
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.08);
  background: var(--card--bg);
}
.mode > .mode--active {
  display: none;
  background-color: var(--card--bg);
}

.other--modes > .other--mode {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.5rem;
  padding: 0.2rem 0.2rem;
  color: var(--text--clr1);
  /* background-color: red; */
  border-radius: 2px;
}
.other--mode:focus {
  background-color: var(--opt3--clr);
}
/* .other--mode > ion-icon {
  font-size: 16px;
} */
.other--mode > img {
  width: 20px;
}
.other--mode > span {
  font-size: 14px;
  letter-spacing: 2px;
  font-weight: 600;
  text-transform: capitalize;
}
/* mode selection css styling end */
.s--links {
  display: flex;
  justify-content: center;
  align-items: center;
}
.h--cl3 > .s--links .social {
  width: 25px;
  height: 25px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 100%;
  margin-left: 1rem;
  cursor: pointer;
  overflow: hidden;
  transition: transform 300ms ease-out;
}
.social > img {
  width: 100%;
  height: 100%;
}
.social--show {
  transform: scale(0.9);
}
/* .s--links > .social > ion-icon {
  font-size: 20px;
} */
.s--links > .social:hover {
  transform: scale(1.1);

  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.08);
}
.hamburger--con {
  width: 25px;
  position: relative;
  height: 25px;
  cursor: pointer;
  /* outline: 2px solid red; */
}
.hamburger--line {
  display: inline-block;
  width: 100%;
  height: 2px;
  background-color: var(--text--clr1);
}
.hamburger--line::before {
  content: "";
  position: absolute;
  top: 4px;
  right: 0;
  width: 80%;
  background-color: var(--text--clr1);
  height: 2px;
  transform: translate(0, 0px);
}
.hamburger--line::after {
  content: "";
  position: absolute;
  bottom: 6px;
  left: 0;
  width: 100%;
  background-color: var(--text--clr1);
  height: 2px;
  transform: translate(0, 0px);
}
@media (max-width: 500px) {
  #header--con {
    position: relative;
    width: 100% !important;
    padding: 0.5rem 2rem;
  }
  .lg--con {
    font-size: 1.5rem;
  }
  .nav--con {
    display: none;
  }
  .hamburger--con {
    display: block;
  }
  #header--con .h--cl3 {
    padding: 1rem;
    position: absolute;
    flex-direction: column;
    justify-content: flex-start;
    right: 0;
    top: 0;
    transform: translate(0rem, 3.5rem);
    gap: 1rem;
    /* border: 2px solid; */
    height: min-content;
    min-width: 200px;
    background-color: var(--card--bg);
    box-shadow: var(--header--shadow);
  }
  #header--con .h--cl3.close--hamburger {
    display: none;
  }
  .mode {
    /* border: 2px solid red; */
    align-self: flex-start;
  }
  .s--links {
    align-self: flex-start;
    margin: 0;
    justify-content: flex-start;
    /* border: 2px solid red; */
  }
  .h--cl3 .s--links .social {
    margin-left: 0;
    margin-right: 1rem;
  }
  /* Mobile menu nav */
  .mobile--menu {
    position: fixed;
    display: block;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--bg1--clr);
    box-shadow: var(--header--shadow);
    padding: 0.6rem 2rem;
    /* transform: translateY(1rem); */
  }
  .mobile--menu > .nav--menu {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .nv--list .link {
  }
  .link > img {
    width: 25px;
    object-fit: cover;
  }
  /* Mobile menu nav */
}
