
*{
  scroll-behavior: smooth;
}

/* =========== Menu Mobile 768px =========== */

ul.wp-block-navigation__submenu-container {
  background: var(--wp--preset--color--accent-2)!important;
  pad: 16px;

}

@media (min-width: 769px) {
  .wp-block-navigation__responsive-container-open:not(.always-shown) {
    display: none;
  }
  
  .wp-block-navigation__responsive-container:not(.has-modal-open):not(.is-menu-open) {
    display: block;
  }

}

@media (max-width: 769px) {
  .wp-block-navigation__responsive-container-open:not(.always-shown) {
    display: flex;
  }
  
  .wp-block-navigation__responsive-container:not(.has-modal-open):not(.is-menu-open):not(.hidden-by-default) {
    display: none;
  }
  .wp-block-navigation__responsive-container{
    background: var(--wp--preset--color--accent-2)!important;
    opacity: 0.8;
  }

}
/* =========== Menu Links =========== */
.menu-wrapper{
a {
  background-image: linear-gradient(
    to right,
    var(--wp--preset--color--base),
    var(--wp--preset--color--base) 50%,
    var(--wp--preset--color--contrast) 50%
  );
  background-size: 200% 100%;
  background-position: -100%;
  display: inline-block;
  padding: 5px 0;
  position: relative;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: all 0.3s ease-in-out;
}

a:before{
  content: '';
  background:var(--wp--preset--color--base);
  display: block;
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 3px;
  transition: all 0.3s ease-in-out;
}

a:hover {
 background-position: 0;
 cursor: pointer;
}

a:hover::before{
  width: 100%;
}
}

