header {
  width: 100%;
  height: 6rem;
  /* color: #f8fafb; */

  display: flex;
  justify-content: space-around;
  align-items: center;

  position: absolute;
  /* position: fixed !important; */
  top: 0;
  z-index: 2;
  /* z-index: 100; */
  background-color: transparent;
  backdrop-filter: blur(3px);
  box-shadow: 0 0 2px 0;
}
/* :root {
  --black-color-heavy-2: #2a2a2a;
} */

header .logo-wrapper {
  width: 6rem;
  height: 6rem;
  position: absolute;
  top: 0.7rem;
  left: 2.3rem;
  z-index: 4;
  border-radius: 8px;
  overflow: hidden;
  transform: translateY(30px);
  opacity: 0.7;
  /* backdrop-filter: blur(1px); */

  /* box-shadow: 0 0 10px 0 var(--black-color-heavy2); */
}

header .logo-wrapper img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  padding: 0.65rem;

  animation: scale-logo 3s infinite forwards linear alternate;
  -webkit-animation: scale-logo 3s infinite forwards linear alternate;
  -moz-animation: scale-logo 3s infinite forwards linear alternate;
  -o-animation: scale-logo 3s infinite forwards linear alternate;
  -ms-animation: scale-logo 3s infinite forwards linear alternate;
}
@keyframes scale-logo {
  from {
    /* transform: scale(1.3); */
    transform: scale(1.6);
  }
  to {
    /* transform: scale(1.1); */
    transform: scale(1.4);
  }
}

/* ================================================ */
.nav-bar a {
  margin: 0 1rem;
  text-transform: capitalize;
  border-radius: 8px;
  padding: 0.6rem;
  background-color: transparent;
  transition: 0.4s;
}
.nav-bar a:hover {
  border: 1px solid rgba(238, 238, 238, 0.708);
  background-color: rgba(255, 255, 255, 0.3);
}
.burger-menu {
  display: none;
  position: absolute;
  right: 2.3rem;
}
.burger-menu a {
  border-radius: 8px;
  padding: 0.6rem;
  background-color: transparent;
  /* background-color: ; */
  font-size: larger;
  transition: 0.3s;

  display: flex;
  justify-content: center;
  align-items: center;
}
.burger-menu a:hover {
  border: 1px solid rgba(238, 238, 238, 0.708);
  background-color: rgba(255, 255, 255, 0.2);
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 99;

  /* background-color: var(--darker-main-color); */
  /* background-color: transparent; */
  backdrop-filter: blur(4px);
  /* width: 90%; */
  width: 55%;
  height: 100vh;
  /* border-left: 2px solid #f8f8f8; */
  border-left: 2px solid rgba(200, 200, 200, 1);
  box-shadow: 0 0 0 1000vmax rgba(0, 0, 0, 0.65);

  animation: appear-mob 1s ease;
  -webkit-animation: appear-mob 1s ease;
  -moz-animation: appear-mob 1s ease;
  -o-animation: appear-mob 1s ease;
  -ms-animation: appear-mob 1s ease;

  display: none;
}

@keyframes appear-mob {
  from {
    width: 0%;
  }
}
/* For disappear */
@keyframes disappear-mob {
  to {
    width: 0%;
  }
}
.mobile-menu ul {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 2rem;
  /* margin: 7rem 0; */
  margin: 9rem 0;
}
.mobile-menu ul li {
  text-transform: capitalize;
  background-color: transparent;
  transition: outline 0.3s;
  border-radius: 6px;
  padding: 4px;
}
.mobile-menu ul li:hover {
  /* border: 1px solid rgba(238, 238, 238, 0.708); */
  outline: 1px solid rgba(0, 0, 0, 0.35);
  outline-offset: 2px;
  /* background-color: rgba(255, 255, 255, 0.2); */
}

header .mobile-menu #return-btn {
  display: flex;
  justify-content: center;
  /* align-items: center; */
}
header .mobile-menu #return-btn ion-icon {
  text-align: center;
  font-size: 23pt;
}

#color_scheme_btn {
  outline: none;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: transparent;
  transition: outline 0.3s;
  cursor: pointer;
}
#color_scheme_btn ion-icon {
  font-size: 1.23rem;
}

#color_scheme_btn:hover {
  outline: 1px solid rgba(255, 255, 255, 0.45);
  outline-offset: 3px;
}
#color_scheme_btn:active {
  outline-offset: 2px;
}

#close-btn {
  position: fixed;
  bottom: 15%;
  right: 9%;
  box-shadow: 0 0 0.18rem rgba(0, 0, 0, 0.65);
  width: 2rem;
  height: 2rem;
  border-radius: 50%;

  display: flex;
  justify-content: center;
  align-items: center;

  cursor: pointer;

  /* opacity: 0; */
  animation: appear-btn 1s 0.2s;
  -webkit-animation: appear-btn 1s 0.2s;
  -moz-animation: appear-btn 1s 0.2s;
  -o-animation: appear-btn 1s 0.2s;
  -ms-animation: appear-btn 1s 0.2s;
}
@keyframes appear-btn {
  from {
    bottom: 0;
    opacity: 0;
  }
  to {
    bottom: 15%;
    opacity: 1;
  }
}
#close-btn p {
  font-size: 1.35rem;
  padding: 0.3rem;
  text-shadow: 0 0 2px;

  opacity: 0.65;
  animation: attention-close 0.7s 0.2s alternate infinite;
}
@keyframes attention-close {
  to {
    opacity: 1;
  }
}

/*
    - Put all the required code for responsive design here
*/
@media (min-width: 320px) and (max-width: 767px) {
  header {
    height: 5rem;
  }
  .logo-wrapper {
    font-size: 1.45rem;
    margin: 0 1rem;
  }
  .nav-bar {
    display: none;
  }
  .burger-menu {
    display: block;
  }
}

@media (width < 850px) {
  .nav-bar {
    display: none;
  }
  .burger-menu {
    display: block;
  }
  #color_scheme_btn {
    position: absolute;
    bottom: 0;
    top: 0;
    right: 80px;
    top: 0;
    margin: auto;
  }
}

@media (min-width: 767px) {
  header .logo-wrapper {
    width: 7.3rem;
    height: 7.3rem;
  }
}

/*
    - End of responsive
*/

/*
    - End of styling header
*/
