.header-parent {
  display: inline;
}

.header {
  position: relative;
  display: flex;
  /* flex-direction: row; */
  width: 100%;
  padding: min(5vw, 20px) min(5vw, 50px);
  background-color: #D1C4E9;
  box-shadow: 0 6px 10px 0 rgba(0, 0, 0, 0.4);
  z-index: 10;
}
.header2 {
  position: relative;
  display: flex;
  /* flex-direction: row; */
  width: 100%;
  padding: min(5vw, 20px) min(5vw, 50px);
  padding-top: 0;
  background-color: transparent;
  /* box-shadow: 0 6px 10px 0 rgba(0, 0, 0, 0.4); */
  z-index: 10;
}

.header .logo,
.header2 .logo {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 50px;
  transform: translate(-50%, -50%);
}
.header .logo>img,
.header2 .logo>img {
  width: 50px;
}
/* .header2 .logo>img:first-child {
  display: block;
}

.header2 .logo>img:last-child {
  display: none;
} */
/* -----------------------------------Sticky Header----------------------------------------------- */
.header2.sticky {
  background-color: #d2c4e8;
  color: black;
}

.header.sticky, .header2.sticky {
  position: sticky;
  top: 0;
  height: 80px;
  padding: min(5vw, 10px) min(5vw, 50px);
  box-shadow: 0 6px 10px 0 rgba(0, 0, 0, 0.4);
  animation-name: fadein;
  animation-duration: 0.3s;
  z-index: 10;
}

.header.sticky .logo>img, .header2.sticky .logo>img {
  width: 60px;
}
.header2.sticky .logo>img:first-child {
  display: none;
}

.header2.sticky .logo>img:last-child {
  display: block;
}
.header .menu-links, .header2 .menu-links {
  display: none;
}


.menu li,
.menu-links li{
  list-style-type: none;
}
.menu li a,
.menu-links li a {
  font-family: "Open Sans", sans-serif;
  font-weight: 600;
  text-decoration: none;
  color: #424242;
  font-size: 0.8rem;

  &:hover {
    color: #EF483F;
  }
}

/* .header2 .menu li a,
.header2 .menu-links li a {
  color: #424242;
}
.header2.sticky .menu li a,
.header2.sticky .menu-links li a {
  color: #424242;
  &:hover {
    color: #EF483F;
  }
} */




/* -----------------------------------Mobile Menu----------------------------------------------- */
.overflow-hide {
  overflow: hidden;
}
.menu-left {
  align-self: center;
}
.menu-toggle {
  display: flex;
  align-items: center;
  justify-content: start;
  padding: 0;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: white;
}
.header2 .menu-toggle {
  color: #424242;
  padding-top: 1rem;
}
.header2.sticky .menu-toggle {
  /* color: black; */
  padding-top: 0;
  &:hover {
    color: var(--colour-4);
  }
}
.mobile-menu {
  display: block;
  opacity: 0;
  inset: 0;
  right: 100%;
  transition: 0.5s;
}

.mobile-menu.active {
  position: sticky;
  height: 100vh;
  height: 100dvh;
  overflow: auto;
  overflow-y: scroll;
  inset: 0;
  opacity: 1;
  width: auto;
  background-color: rgba(209, 196, 233, 0.9);
  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;
  display: flex;
  flex-direction: column;
  align-items: start;
  padding-top: 150px;
  padding-left: 50px;
  gap: 1.5rem;
  -webkit-overflow-scrolling: touch;
}
.mobile-menu.active>.menu-links {
  position: relative;
}
.mobile-menu>.menu-links>li>a{
  color: black;
  &:hover {
    color: var(--colour-4);
  }
}
.mobile-menu .menu2 {
  padding-top: 1rem;
  padding-left: 25px;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

@media screen and (min-width: 425px) {
  /* Main */
  .header .menu-links
  .header2 .menu-links {
    gap: 0.8rem;
  }

}
@media screen and (min-width: 600px) {

}
@media screen and (min-width: 769px) {
  .header, .header2 {
    justify-content: center;
    gap: 2rem;
  }
  .header .logo, .header2 .logo{
    position: relative;
    top: 0;
    left: 0;
    transform: translate(0, 0);
    display: flex;
    align-items: center;
    width: auto;
    padding-top: 10px;

  }
  .header .logo>img, .header2 .logo>img {
    width: 100px;
  }
  .header.sticky .logo,
  .header2.sticky .logo{
    padding-top: 0;
  }
  .header .menu-links, .header2 .menu-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: end;
    /* width: 60%; */
    gap: 1rem;
    font-size: 0.65rem;
    padding-left: 0;
  }

  .menu-toggle {
    display: none;
  }
  .mobile-menu,
  .mobile-menu.active {
    overflow-y: clip;
  }

}
@media screen and (min-width: 900px) {
  .header .menu-links, .header2 .menu-links {
    gap: 1.5rem;
    font-size: 0.75rem;
  }
}
@media screen and (min-width: 1024px) {
  .header, .header2 {
    gap: 3rem;
  }
  .header .menu-links, .header2 .menu-links {
    gap: 3rem;
  }
}
@media screen and (min-width: 1200px) {}
@media screen and (min-width: 1440px) {}
