.anchor-nav .container { display: flex; }
.anchor-nav.top-padding { padding-top: 50px; }
.anchor-nav.bottom-padding { padding-bottom: 50px; }
.anchor-nav .nav-container.centered { justify-content: center; position: relative; z-index: 2; }
.anchor-nav .nav-container > * { padding: 0 20px; position: relative; }
.anchor-nav .nav-container .nav-item:hover .lvl-2,
.anchor-nav .nav-container .lvl-2:hover { 
  opacity: 1;
  visibility: visible;
  z-index:24;
}
.anchor-nav .lvl-2 {
  position: absolute;
  z-index 2;
  background-color: #fff;
  box-shadow: 20px 20px 40px rgb(0 0 0 / 20%);
  border-radius: 10px;
  padding: 20px;
  width: auto;
  min-width: 225px;
  max-width: 275px;
  opacity: 0;
  visibility: hidden;
  transition: ease-in-out 0.3s all;
}
.anchor-nav .lvl-2 > a { 
  display: block; 
}
.anchor-nav .lvl-2 > a:not(:last-child) { 
  margin-bottom: 10px;
}

.anchor-nav .nav-item.has-children > a { position: relative; }
.anchor-nav .nav-item.has-children > a::after {
  content: url(https://f.hubspotusercontent40.net/hubfs/5176843/s2-assets/icons/carrot.svg);
  display: inline-block;
  position: relative;
  margin-left: 5px;
  top: -2px;
  transition: ease-in-out 0.2s all;
}
.anchor-nav .nav-item.has-children:hover > a::after {
  top: 4px;
  transform: rotate(180deg);
}

@media screen and (max-width: 500px){
  .anchor-nav .container {
    display: block;
    text-align: center;
  }
  .anchor-nav .lvl-2 {
    margin: 0 auto;
    left: 0;
    right: 0;
  }
}