header{
  position: relative;
  left: 0;
  right: 0;
  z-index: 10;
  background-color: var(--bg-primary);
}
.header{
  padding: 10px 0px;
  box-shadow: 0 .5rem 1rem rgba(0,0,0,.03);
}
.header a{
  display: flex;
}
 
.header-logo {
  padding-left: 0px;
}
  .header-logo  img{
    height: 45px;
  }
.header__search input{
  background-color: var(--bg-4);
  width: 350px;
  height: 50px;
  border-radius: 50px;
  padding-left: 50px;
  margin-right: 8px;
}
.header__search svg{
  position: absolute;
  left:0;
  width: 50px;
  font-size: calc(var(--heading-3) - 5px);
}
.header__navigation li{
    padding-inline: 8px;
}
.header__navigation li a{
      height: 50px;
      width: 50px;
      background-color: var(--bg-4);
      display: flex;
      justify-content: center;
      align-items: center;
      border-radius: 100%;
}
      .header__navigation li a svg{
        font-size: calc(var(--heading-3) - 3px);
      }
.header__search svg,
.header__navigation svg{
  fill: var( --color-2)
}

.header__tools li {
  padding-inline: 18px;
  & a svg{
  font-size: var(--heading-2);
    & path{
      fill: var(--color-3);
    }
  }
}
.header__avatar img{
  height: 32px;
  width: 32px;
  border-radius: 100%;
}
@-webkit-keyframes xoayvong {
  from {
    -webkit-transform:rotate(0deg);
    -moz-transform:rotate(0deg);
    -o-transform:rotate(0deg);
  }
  to {
    -webkit-transform:rotate(360deg);
    -moz-transform:rotate(360deg);
    -o-transform:rotate(360deg);
  }
}
@keyframes xoayvong {
  from {
    -webkit-transform:rotate(0deg);
    -moz-transform:rotate(0deg);
    -o-transform:rotate(0deg);
  }
  to {
    -webkit-transform:rotate(360deg);
    -moz-transform:rotate(360deg);
    -o-transform:rotate(360deg);
  }
}
.header__setting a{
  animation: xoayvong 2s linear 0s infinite;
  -webkit-animation: xoayvong 2s linear 0s infinite;
  -moz-animation: xoayvong 2s linear 0s infinite;
  -o-animation: xoayvong 2s linear 0s infinite; 
  height: 27px;
  width: 27px;
}
.header__bell a::after{
  position: absolute;
  content: "";
  height: 5px;
  width: 5px;
  background-color: var(--color-6);
  right: 8px;
  top: 5px;
  border-radius: 100%;

}
.active-menu a{
  background-color: var(--bg-3);
}
.header__mobile li a{
  height: 35px;
  width: 35px;
  border-radius: 100%;
  background-color: var(--bg-4);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 10px;
  & svg{
    font-size: var( --heading-3);
    height: 15px;
  }
}
.header__btn::before{
  content: "";
  display: inline-block;
  width: 30px;
  height: 2px;
  top: 7px;
  right: 0;
  position: absolute;
  border-radius: 1px;
  background: #1b1d21;
  -webkit-transition: all .25s;
  -o-transition: all .25s;
  transition: all .25s;
  
}
.header__btn.open-menu::before{
  transform: translateY(8px) rotate(45deg);
}
.header__btn::after{
  content: "";
  display: inline-block;
  width: 22px;
  height: 2px;
  top: 18px;
  right: 0;
  position: absolute;
  border-radius: 1px;
  background: #1b1d21;
  -webkit-transition: all .25s;
  -o-transition: all .25s;
  transition: all .25s
}
.header__btn.open-menu::after{
  transform: translateY(-8px) rotate(-45deg);
  width: 30px;
  top: 22px;
}
.header__btn{
  margin-top: -7px;
}
.header__navigation--mobile {
  & li{
    & a{
      background-color: transparent;
      height: auto;
      width: auto;
      & svg{
        font-size: calc(var(--heading-3) - 3px);
        height: 20px;
      }
    }
  }
  
}
.header__navigation--mobile svg {
  fill: #606060;;
}
.header__navigation--mobile {
  & li {
    padding-inline: 15px;
  }
}
.headerRB-mobile{
  padding-top: 15px;
}
.header__navigation--mobile li{
  position: relative;
}
.header__navigation--mobile li.active::after{
  content: "";
  width: 100%;
  height: 1px;
  background-color: var(--bg-3);
  position: absolute;
  bottom: -10px;
  left: 0;
  right: 0;
}


.header{
  transition: all 0.3s;
}
.header.fixed{
  position: fixed;
  animation: fadeIn 0.5s ease-in-out;
  left: 0;
  right:0;
  background-color:white;
  top:0;
}
@keyframes fadeIn {
  from {
    transform: translateY(-100px);
    opacity: 0;
  }
  to {
    opacity: 1;
    transform: translateY(0px);
  }
}
.submenunavRb{
  padding-top: 20px;
  width: 100px;
  position: absolute;
  top: 77%;
  visibility: hidden;
  opacity: 0;
  transform: scale(1 , 0);
  transform-origin: 0 0;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  
}
.submenunavRb li{
  background-color: white;
  padding: 4px 0px;
  box-shadow: 0 1rem 3rem rgb(0, 0, 0);
  -webkit-box-shadow: 0px 30px 70px 0px rgba(58, 58, 58, 0.4);
  -moz-box-shadow: 0px 30px 70px 0px rgba(137,139,142,0.15);

  border-radius: 5px;
}
.submenunavRb a{
  height: auto !important;
  width: auto !important;
  background-color:transparent !important;
}
.header__li:hover .submenunavRb {
  opacity: 1;
  visibility: visible;
  transform: scale(1)
}
.header__li img{
  height: 25px;
  width: auto;
}
.header__avatar ul{
  width: 230px;
  background-color: var(--bg-primary);
  padding: 10px 0px;
  border-radius: 5px;
  position: absolute;
  top: 100%;
  box-shadow: 0 1rem 3rem rgba(0,0,0,.175);
  right: 30px;
  visibility: hidden;
  opacity: 0;
  transform: scale(1 , 0);
  transform-origin: 0 0;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  -webkit-box-shadow: 0px 30px 70px 0px rgba(137,139,142,0.15);
  -moz-box-shadow: 0px 30px 70px 0px rgba(137,139,142,0.15);
}
.header__avatar ul a{
  padding: 4px 18px;
}
.header__avatar ul a svg{
  margin-right: 12px;
}
.re__border-b{
  border-bottom: 1px solid #F2F2F2;
  margin-top: 8px;
  margin-bottom: 8px;
  line-height: 0px;
}
.name__avatar{
  padding: 0px 8px;
  font-size: 14px;
}
.name__avatar ~ svg{
  height: 12px;
}
.header-avatar__content.active ~ .header-avatar__ul{
  opacity: 1;
  visibility: visible;
  transform: scale(1)
}
.header-avatar__content{
  cursor: pointer;
}
.home-right{
  height: fit-content;
  position: sticky;
  top: 110px;
}
@media (min-width: 576px){
  
}
@media (min-width: 768px){
  .header__mobile li a{
    height: 45px;
    width: 45px;
    & svg{
      height: 17px;
    }
  }
  .header__bell a::after{
    position: absolute;
    content:"";
    height: 7px;
    width: 7px;
    background-color: var(--color-6);
    right: -6px;
    top: -4px;
    border-radius: 100%;
  }
}
@media (min-width: 992px){
  .header__search{
    display: flex;
  }
  .header {
    padding: 18px 0px;
  }
  .header__mobile{
    display: none;
  }
  .header__avatar, 
  .header__tools{
    display: flex;
  }
  .header-logo {
    width: 280px;
    padding-left: 10px;
  }
    .header-logo img{
      height: 55px;
    }
  .headerRB-mobile,
  .share-post--mobile{
    display: none;
  }
}
@media (min-width: 1200px){
 
}
@media (min-width: 1400px){
  .header__navigation{
    display: block;
   }
}