.main-nav {
  list-style: none;
  display: flex;
  gap: 10px;
  position: relative;
  margin: 0!important;
  padding-left: 0;
  place-content: center;
}
.main-nav > li {
  display: inline-block;
}

.main-nav > li a {
  /* padding-right: 60px; */
  color: var(--wp--preset--color--white);
  font-size: var(--wp--preset--font-size--small);
  line-height: 1.7;
  text-decoration: none;
}

.main-nav li li a {
  color: var(--wp--preset--color--black)!important;
}

.main-nav > li a:hover, .main-nav li.current-menu-item > a {
  /* color: var(--wp--preset--color--blue); */
  border-bottom: 1px solid var(--wp--preset--color--blue);
}

.main-nav ul {
  list-style: none;
}
.main-nav > li > a {
  padding: 10px 10px 20px 10px;
}
.main-nav > .menu-item-has-children > .sub-menu {
  position: absolute;
  padding: 10px 40px 30px 40px;
  column-count: 4;
  column-gap: 30px;
  transition-delay: 0.2s;
  transition: opacity 100ms;
  background: #fff;
  box-shadow: 0px 9px 9px 0 rgba(85,85,85,.16);
  z-index: 1;
  top: 43px;
  width: 100%;
  max-width: 100%;
  margin-left: 0;
}
.main-nav .sub-menu {
  position: relative;
  display: block;
  line-height: 1.8;
  transform: none;
  opacity: 0;
  left: 0;
  width: 100%;
  max-width: var(--wp--custom--content-size);
  visibility: hidden;
}

.menu-item-has-children:hover .sub-menu,
.sub-menu.open {
  opacity: 1;
  transition: opacity 200ms;
  transition-delay: 0.2s;
  visibility: visible;
  transform: none;
}

.menu-item-has-children:hover .sub-menu .sub-menu {
  position: relative;
  margin: 0;
  padding: 0;
  max-width: 100%;
}
.menu-item {
  position: static;
}

.sub-menu__colection-image {
  display: block;
  background-repeat: no-repeat;
  background-position: top;
  background-size: cover;
  height: 0;
  padding-bottom: 46%;
  margin-bottom: 20px;
}

.sub-menu > li {
  display: block;
}

.main-nav > li > .sub-menu > li {
  margin-bottom: 10px;
  break-inside: avoid;
}

/* .main-nav > li > .sub-menu > li > a {
  font-weight: var(--wp--custom--bold-weight);
} */

.sub-menu li li {
  display: block;
}

.sub-menu .site-nav__dropdown-link:not(.site-nav__dropdown-link--top-level) {
  font-size: calc(var(--typeBaseSize) - 1px);
  line-height: 1.5;
}

.sub-menu .h5,.sub-menu h5 {
  margin-bottom: 5px;
  font-weight: 700;
}

.submenu-button {
  width: 25px;
  height: 25px;
  background-color: transparent;
  border: 0;
  text-align: center;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 9999;
  font-weight: 700;
}

.submenu-button:after {
   color: #fff;
   content: ' ▾';
   display: flex;
   justify-content: center;
   font-size: var(--wp--preset--font-size--large);
 }

 .nav-outer-wrapper .demo, .nav-outer-wrapper .menu {
  display: none;
}

@media screen and (max-width: 1024px) {
  .wp-block-nav-content {
    position: absolute;
    top: 33px;
    right: -200%;
    display: none;
    width: 100vw;
    min-height: calc(100vh - 78px);
    background-color: var(--wp--preset--color--white);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 2rem;
    padding: 1rem 2rem!important;
    transition: all 0.5s ease;
    z-index: 1;
  }
  .wp-block-nav-content.right-open {
    right: -16px;
    display: block;
    background-color: var(--wp--preset--color--black);
  }
  .wp-block-nav-content.right-open a {
    color: var(--wp--preset--color--white);
  }
  .main-nav {
    flex-direction: column;
    flex-grow: 0;
    margin: 0;
    z-index: 1;
    column-count: 1;
  }
  .main-nav > li {
    display: block;
  }
  .menu-item-has-children {
    position: relative;
  }
  .main-nav > li > .sub-menu > li {
    margin-bottom: 0;
  }
  .main-nav > li > a {
    padding: 5px 5px 5px 0;
  }  
  .main-nav li li a {
    color: var(--wp--preset--color--white) !important;
  }
  .main-nav > .menu-item-has-children > .sub-menu {
    position: relative;
    background-color: transparent;
    box-shadow: none;
    padding: 0.5rem 1rem;
    visibility: visible;
    display: none;
    top: 0;
    column-count: 1;
  }
  .main-nav .sub-menu {
    line-height: 1.5;
  }
  .menu-item-has-children:hover .sub-menu {
    display: block;
  }
  .nav-outer-wrapper .demo, .nav-outer-wrapper .menu {
    display: block;
  }
  .nav-outer-wrapper .menu span {
    display: block;
    width: 22px;
    height: 4px;
    background: #fff;
    margin-bottom: 2px;
    border-radius: 1px;
    transition: all 275ms ease;
  }
  .nav-outer-wrapper .menu.active .bar1 {
    transform: rotate(45deg) translateY(3px) translateX(4px);
  }
  .nav-outer-wrapper .menu.active .bar2 {
    opacity: 0;
  }
  .nav-outer-wrapper .menu.active .bar3 {
    transform: rotate(135deg) translateX(-5px) translateY(5px);
  }
}


.main-nav > li.donate {
  margin-left: 30px;
}
.main-nav > li.donate a {
  position: relative;
  z-index: 0;
  padding: 10px 10px 8px 10px;
}
.main-nav > li.donate a:before {
  content: '';
  position: absolute;
  left: -20%;
  top: -20%;
  width: 140%;
  height: 140%;
  background-color: var(--wp--preset--color--blue);
  display: block;
  z-index: -1;
}
.main-nav > li.donate a:hover,
.main-nav > li.donate a:hover:before {
  background-color: var(--wp--preset--color--white)!important;
  color: var(--wp--preset--color--black)!important;
  border-color: var(--wp--preset--color--white)!important;
  border-bottom-color: var(--wp--preset--color--white)!important;
  outline-color: var(--wp--preset--color--white)!important;
}

.waggle {
    -webkit-animation: waggle 6s infinite forwards ease-out;
    animation: waggle 6s infinite forwards ease-out;
}
@keyframes waggle {
  0% {
    transform: scale(1);
  }
  91% {
    transform: scale(1);
  }
  93% {
    transform: scale(1.2);
  }
  95% {
    transform: scale(1.2);
  }
  94% {
    transform: scale(1);
  }
  96% {
    transform: scale(1.2);
  }
  97% {
    transform: scale(1);
  }
  98% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}


/* .nav-outer-wrapper {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 1rem;
  transition: all 0.5s ease;
}
.wp-block-nav-content {
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
@media screen and (max-width: 1024px) {
  .wp-block-nav-content {
    position: absolute;
    top: 100%;
    right: -200%;
    width: 100%;
    min-height: calc(100vh - 78px);
    background-color: var(--wp--preset--color--white);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 2rem;
    padding: 3rem 2rem!important;
    transition: all 0.5s ease;
  }
  .wp-block-nav-content.right-open {
    right: 0;
    background-color: var(--wp--preset--color--black);
  }
  .wp-block-nav-content.right-open a {
    color: var(--wp--preset--color--white);
  }
}
.main-nav {
  display: flex;
  justify-content: start;
  flex-grow: 1;
  gap: 2rem;
  list-style: none;
  margin: 0!important;
}
.sub-menu {
  list-style: none;
}
@media screen and (max-width: 1024px) {
  .main-nav {
    flex-direction: column;
    flex-grow: 0;
    margin: 0;
  }
}
.wp-block-nav-content li a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  transition: all 0.5s ease;
  color: var(--wp--preset--color--black);
  text-decoration: none;
  text-transform: capitalize;
}
.wp-block-nav-content li a:hover {
  color: var(--wp--preset--color--blue);
}
.wp-block-nav-content li .arrow {
  transition: 0.3s ease;
}
.wp-block-nav-content li .arrow.up {
  transform: rotate(180deg);
}
.menu-item-has-children {
  display: inline-block;
}
.sub-menu {
  display: none;
  margin-top: 1rem;
  flex-direction: column;
  gap: 15px;
  padding: 1.5rem;
  background-color: var(--wp--preset--color--white);
  border-radius: 1rem;
  box-shadow: 0 0 18px rgba(0, 0, 0, 0.122);
  z-index: 999;
  width: max-content;
}
@media screen and (min-width: 1025px) {
  .sub-menu {
    position: absolute;
    flex-direction: row;
    width: 100%;
    left: 0;
    top: 135px;
    flex-wrap: wrap;
  }
  .sub-menu li {
    width: calc(33.333% - 10px);
    display: block;
  }
}
.sub-menu li a {
  font-weight: 400;
}
.sub-menu li:first-of-type a {
  font-weight: var(--wp--custom--bold-weight);
}

@media screen and (max-width: 1024px) {
  .menu-item-has-children {
    position: relative;
  }
    .sub-menu {
    position: inherit;
    background-color: transparent;
    box-shadow: none;
    padding: 0.5rem 1rem;
  }
}
.sub-menu.open {
  display: flex;
}
.sub-menu.features {
  right: 0;
}
.sub-menu.company {
  left: 0;
  width: max-content;
}
.nav-outer-wrapper .demo {
  display: none;
  z-index: 2;
}
.nav-outer-wrapper .menu {
  display: none;
  float: left;
  transition: all 275ms ease;
  cursor: pointer;
}
@media screen and (max-width: 1024px) {
  .nav-outer-wrapper .demo, .nav-outer-wrapper .menu {
    display: block;
  }
}
.nav-outer-wrapper .menu span {
  display: block;
  width: 22px;
  height: 4px;
  background: #000000;
  margin-bottom: 2px;
  border-radius: 1px;
  transition: all 275ms ease;
}
.nav-outer-wrapper .menu.active {
  transform: rotate(-45deg);
}
.nav-outer-wrapper .menu.active .bar1 {
  transform: rotate(0deg) translateY(6px);
}
.nav-outer-wrapper .menu.active .bar2 {
  opacity: 0;
}
.nav-outer-wrapper .menu.active .bar3 {
  transform: rotate(-90deg) translateX(5px);
} */