.header {
  position: relative;

  a {
    bottom: -4px;
    position: relative;
  }
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1140px;
  width: 100%;
  box-sizing: border-box;
  margin: 0 auto;
  padding: 15px 0;
}

.header-logo {
  display: flex;

  img {
    width: auto;
    height: 50px;
  }
} 

.main-menu {
  display: inline;
}

.nav-menu {
  list-style: none;
  justify-content: center;
  display: none;

  > li {
    margin: 5px 10px;
  }

  > li > a {
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    text-transform: capitalize;
    /* color: #000; */
    font-weight: 500;
    display: inline-block;
    position: relative;
  }

  > li > a::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: 0;
    left: 0;
    transform-origin: bottom right;
    transition: transform 0.25s ease-out;
  }

  > li > a:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
  }
}

@media (min-width: 850px) {
  .nav-menu {
    display: inline-flex;
  }
}

@media (max-width: 849px) {
  .header-container {
    padding-left: 20px;
    padding-right: 20px;
  }
}
