@font-face {
    font-family:Poppins-Regular;
    src: url(../fonts/Poppins-Regular.ttf);
}
@font-face {
    font-family:Poppins-SemiBold;
    src: url(../fonts/Poppins-SemiBold.ttf);
}
header{
  background-color: #0000008f ;
  position: fixed;
  z-index: 6;
  width: 100%;
  backdrop-filter: blur(3px);
    
}
.fa-bars{
  color: #fff;
  font-size: 18px;
}

.nav-item .nav-link{
    color: #fff;
    font-size: 18px;
    font-family: Poppins-Regular;
    padding: 7px 30px;
    position: relative;
   
}
nav .active {
  border-bottom: 2px solid #E31E24;  
}

/* .navbar a img{
  width: 80px;
} */

.nav-item .nav-link:hover{
    color: #fff;
}
.nav-item::after{
    position: absolute;
    content: "";
    width: 0;
    height: 2px;
    background-color: #E31E24;
    bottom: 0;
    left: 0;
    right: 0;
    transition: all .3s ease-in;
}
.nav-item:hover::after{
    width: 100%;
}
.nav-item:hover::after{
    width: 100%;
}
/* .nav-item:nth-child(3)::after{
    width: 0;
} */
.nav-item {
    margin: 0 14px;
    position: relative;
}

.nav-item:last-child{
    margin-right: 0;
}
@media (min-width: 767px) {
    .animate {
      animation-duration: 0.3s;
      -webkit-animation-duration: 0.3s;
      animation-fill-mode: both;
      -webkit-animation-fill-mode: both;
    }
    /* .dropdown:hover .dropdown-menu{
      display: block;
      margin-top: 0;
  } */
  }

  @media (min-width: 992px) {
    .animate {
      animation-duration: 0.3s;
      -webkit-animation-duration: 0.3s;
      animation-fill-mode: both;
      -webkit-animation-fill-mode: both;
    }
     .dropdown:hover .dropdown-menu{
      display: block;
      margin-top: 0;
  }
  
  }
  @keyframes slideIn {
    0% {
      transform: translateY(1rem);
      opacity: 0;
    }
  
    100% {
      transform: translateY(0rem);
      opacity: 1;
    }
  
    0% {
      transform: translateY(1rem);
      opacity: 0;
    }
  }
  
  @-webkit-keyframes slideIn {
    0% {
      -webkit-transform: transform;
      -webkit-opacity: 0;
    }
  
    100% {
      -webkit-transform: translateY(0);
      -webkit-opacity: 1;
    }
  
    0% {
      -webkit-transform: translateY(1rem);
      -webkit-opacity: 0;
    }
  }
  
  .slideIn {
    -webkit-animation-name: slideIn;
    animation-name: slideIn;
  }
  .dropdown-menu li{

    margin-bottom: 10px;
  }

  .navbar-nav .dropdown-item{
    font-size: 15px;
    font-weight: 500;

  }
  .navbar-nav .dropdown-item:hover {
    color: #fff;
    background-color: #E31E24;
}
.navbar .dropdown-item.active, .dropdown-item:active{
  background-color: #E31E24;
}

/* back to top button css  */

/* #backtop {
  display: inline-block;
  background-color: #E31E24;
  width: 50px;
  height: 50px;
  text-align: center;
  border-radius: 4px;
  position: fixed;
  bottom: 30px;
  right: 30px;
  transition: background-color .3s, 
    opacity .5s, visibility .5s;
  opacity: 0;
  visibility: hidden;
  z-index: 1000;
}
#backtop i{
  margin-top: 14px;
    font-size: 24px;
}
#backtop i:hover{
  color: #fff;
}
#backtop::after {
   content: '\f062';
  font-family: "Font Awesome 5 Free"; 
  font-weight: normal;
  font-style: normal;
  font-size: 2em;
  line-height: 50px;
  color: #fff;
}
#backtop:hover {
  cursor: pointer;
  background-color: #333;
}
#backtop:active {
  background-color: #555;
}
#backtop.show {
  opacity: 1;
  visibility: visible;
  color: #fff;
} */

