
.notice-bar-message {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--notice-bar-color);
  height: auto;
  z-index: 10;
}
.notice-bar-message p {
  font-size: 1rem;
  font-weight: 600;
  /* font-weight: bold; */
  color: var(--notice-bar-text-color);
  text-align: center;
  margin: 0.2rem 0.5rem;
}

.header-parent {
  /* display: flex;
  flex-direction: column; */
  display: inline;
  /* height: 100vh;
  height: 100dvh; */
}
.header {
  position: relative;
  display: flex;
  /* flex-direction: row; */
  width: 100%;
  padding: min(5vw, 50px) min(5vw, 20px);
  background-color: var(--navigation-bar-color);
  box-shadow: 0 6px 10px 0 rgba(0, 0, 0, 0.4);
  z-index: 10;
}

.header .logo{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100px;
}

/* -----------------------------------Sticky Header----------------------------------------------- */
.notice-bar.sticky {
  position: sticky;
  top: -1px;
  animation-name: fadein;
  animation-duration: 0.3s;
  z-index: 10;
}

.header.sticky {
  position: sticky;
  top: 0;
  /* height: 70px; */
  padding: min(5vw, 10px) min(5vw, 20px);
  animation-name: fadein;
  animation-duration: 0.3s;
  z-index: 10;
}
.header.add-notice.sticky {
  /* top: calc(2rem - 3px); */
}

.header.sticky .logo>img {
  width: 100px;
}
.header .menu-links {
  display: none;
}

.header .menu-right{
  display: flex;
  flex-direction: row;
  justify-content: end;
  align-items: center;
  gap: 0.5rem;
  margin: auto;
  margin-right: 0;
}
.menu li,
.menu-links li,
.menu-right li{
  list-style-type: none;
}
.menu li a,
.menu-links li a,
.menu-right li a {
  font-family: 'League Spartan', sans-serif;
  font-weight: 500;
  text-decoration: none;
  color: var(--navigation-bar-link-color);
  white-space: Nowrap;
}
.menu li a:hover,
.menu-links li a:hover,
.menu-right li a:hover {
  color: var(--navigation-bar-link-hover-color);
}
.menu-right i {
  position: relative;
  font-size: 1.2rem;
  font-weight: 400;
}
.menu-right li:nth-last-child(2),
.menu-right li:last-child {
  display: none;
}
.menu-button {
  font-size: 0.8rem;
  margin-top: 0.5rem;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  min-width: 80px;
  background-color: var(--submit-button-color);
  color: var(--submit-button-text-color);
}
.menu-button:hover {
  background-color: var(--colour-5);
}
/* -----------------------------------Mobile Menu----------------------------------------------- */
.overflow-hide {
  overflow: hidden;
}
.menu-toggle {
  display: flex;
  align-items: start;
  justify-content: center;
  padding: 0;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: var(--navigation-bar-link-color);
}
.menu-toggle:hover {
  color: var(--navigation-bar-link-hover-color);
}
.mobile-menu {
  display: block;
  opacity: 0;
  inset: 0;
  right: 100%;
  transition: 0.5s;
}

.mobile-menu.active {
  position: sticky;
  height: 100vh;
  height: 100dvh;
  overflow: auto;
  /* -webkit-overflow-scrolling: ; */
  overflow-y: scroll;
  inset: 0;
  opacity: 1;
  width: auto;
  background-color: rgba(255, 255, 255, 0.4);;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 11;
  transition: 0.5s;


  -webkit-overflow-scrolling: touch;
}

.mobile-menu .close-button {
  display: none;
  color: black;
  position: absolute;
  top: 30px;
  right: 30px;
  border: none;
  background: transparent;
  width: 30px;
  height: 30px;
  padding: 0;
  z-index: 100;
  font-size: 2rem;
  cursor: pointer;
}

.close-button>img {
  width: 30px;
  aspect-ratio: 1;
}
.mobile-menu .close-button.active {
  display: block;
}
.mobile-menu>.menu-links {
  position: fixed;
  /* position: relative; */
  display: flex;
  flex-direction: column;
  align-items: start;
  padding-top: 80px;
  padding-bottom: 150px;
  padding-left: 50px;
  gap: 0.5rem;

  -webkit-overflow-scrolling: touch;
}

.mobile-menu.active>.menu-links {
  position: relative;
}
.mobile-menu>.menu-links>.parent-links {
  padding-top: 10px;
}
.mobile-menu>.menu-links>.parent-links.dummy>a {
  font-size: 1rem;
  color: var(--colour-3)
}
/* .mobile-menu>.menu-links>.sub-links {
  padding-left: 10px;
} */
.mobile-menu>.menu-links>li>a{
  font-size: 1.3rem;
  line-height: 1.5em;
  color: var(--mobile-menu-link-color);
}
.mobile-menu>.menu-links>li>a:hover{
  color: var(--mobile-menu-link-hover-color);
}
.mobile-menu .menu2 {
  padding-top: 1rem;
  padding-left: 25px;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}



@media screen and (min-width: 425px) {
  .header .menu-links,
  .header .menu-right{
    gap: 0.6rem;
  }
  .menu-right i {
    font-size: 1.5rem;
  }
}
@media screen and (min-width: 600px) {
  /* Extra */
  .menu-right li:nth-last-child(2),
  .menu-right li:last-child {
    display: block;
  }
}
@media screen and (min-width: 769px) {
  .header {
    flex-direction: column-reverse;
    box-shadow: none;
  }
  .header .logo{
    left: 20px;
    transform: translate(0, -50%);
  }
  .header .menu-links {
    display: flex;
    align-items: end;
    justify-content: end;
    gap: 1.5rem;
    font-size: 1rem;
    padding-right: 0;
    padding-left: auto;
  }
  .header.sticky .menu-links {
    padding-left: auto;
  }

  .header .menu-right{
    gap: 1rem;
  }
  .menu-button {
    font-size: 1rem;
  }
  /* .menu-icons i {
    font-size: 1.7rem;
  } */
  .menu-toggle {
    display: none;
  }
  .mobile-menu,
  .mobile-menu.active {
    /* display: none; */
    /* position: relative;
    width: 100%; */
    overflow-y: clip;
  }
  .menu-search .close-button {
    position: absolute;
    right: 20px;
  }

}
@media screen and (min-width: 1024px) {
  /* Main */
  .header {
    flex-direction: row;
  }

  .header .logo{
    position: relative;
    top: 0;
    left: 0;
    transform: translate(0, 0);
    display: flex;
    align-items: center;
    width: 100px;
  }

  .header .menu-links {
    gap: 1.5rem;
  }
}
@media screen and (min-width: 1200px) {
  /* Extra */
  .header .menu-links {
    font-size: 1.2rem;
    gap: 2rem;
  }
}
