.custom-underline {
    position: relative;
    color: black;
    text-decoration: none;
    overflow: hidden;
    padding: 0 0;
}

.custom-underline::before {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 80px;
    height: 0;
    background-color: #3087CA;
    transition: height 0.25s ease, bottom 0.25s ease;
    transform: translateX(-50%);
}

.custom-underline:hover::before {
    height: 90px;
    bottom: calc(100% - 90px);
}

@media only screen and (min-width:2100px) {
    .custom-underline::before {
        content: '';
        position: absolute;
        left: 50%;
        bottom: 0;
        width: 110px;
        height: 0;
        background-color: #3087CA;
        transition: height 0.25s ease, bottom 0.25s ease;
        transform: translateX(-50%);
    }

    .custom-underline:hover::before {
        height: 120px;
        bottom: calc(100% - 120px);
    }

}

.custom-underline:not(:hover)::before {
    height: 0;
    bottom: 0;
    transition: height 0.25s ease, bottom 0.25s ease;
}

.custom-underline:hover .icon-container {
    background-color: #4A93D0;
}

.custom-underline:hover .text-container {
    background-color: #4A93D0;
}

.bg-color-054EA2 {
    background-color: #054EA2;
}

.bg-color-2960AB {
    background-color: #2960AB;
}

.custom-horizontal-underline {
    position: relative;
    color: black;
    text-decoration: none;
    overflow: hidden;
    padding: 0 0;
    margin-top: -1px;
}

.custom-horizontal-underline::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 120px;
    background-color: #054EA2;
    width: 100px;
    transform: translateX(50%);
    transition: width 5s ease;
}

.custom-horizontal-underline:hover::before {
    width: 100%;
}

.custom-horizontal-underline:not(:hover)::before {
    width: 100px;
}

.custom-horizontal-underline::before {
    transition: width 0.25s ease;
}

.custom-horizontal-underline:hover .text-container2 {
    background-color: #2960AB !important;

}

.custom-horizontal-underline:hover .icon-container2 {
    background-color: #2960AB !important;
}

#hamburger.active span:first-of-type {
    transform: rotate(-135deg);
    top: 50%;
}

#hamburger.active span:last-of-type {
    transform: rotate(135deg);
    top: 50%;
    width: 100%;
}

@font-face {
    font-family: 'Gothic';
    src: url('../fonts/ZenKakuGothicAntique-Bold.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
  }


  #menu-header-menu {
    gap: 80px;
    margin-right: 50px;
  }

.menu-item-depth-0 {

  &:hover {
    > span {
      color: rgb(10 135 255 / var(--tw-text-opacity));
    }

    .sub-menu--depth-1 {
      visibility: visible;
      opacity: 1;
    }
  }
}

.sub-menu {

  &.sub-menu--depth-1 {
    position: absolute;
    top: 80px;
  }
}

.sub-menu--depth-1 {
  visibility: hidden;
  opacity: 0;
  position: relative;
  width: max-content;
  min-width: 250px;
  padding-block: 2rem;

  &:before {
    content: "";
    width: 100vw;
    height: 320px;
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgb(10 135 255 / var(--tw-text-opacity));
    z-index: -1;
  }
}

.menu-item-depth-1 {
  padding-block: 0.5rem;
  border-bottom-width: 1px;
  border-color: rgb(5 78 162 / var(--tw-border-opacity));


  .menu-link.menu-link--child {
    color: white;
    font-size: 13px;
    font-weight: 500;
  }
  
  &.menu-item-has-children {
    display: flex;
    padding-block: 0.5rem;
    justify-content: flex-start;
    gap: 20px;

    > .menu-link.menu-link--child {
      width: 30%;
    }
  }
}

.sub-menu--depth-2 {
  width: 100%;
}

.menu-item-depth-2 {
  width: 100%;
  padding-block: 0.5rem;
  border-bottom-width: 1px;
  border-color: rgb(5 78 162 / var(--tw-border-opacity));
  
  &:first-child {
    padding-block: 0 0.5rem;
  }
  &:last-child {
    padding-block: 0.5rem 0;
    border-bottom-width: 0;
  }
}

a {
  mark {
    text-decoration:underline;
  }
}