/* custom_nav_menu.css */
.custom-nav-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: white;
  z-index: 1;
  display: none;
  justify-content: center;
  align-items: center;
  font-family: 'Raleway', Arial, sans-serif;
}
.custom-nav-overlay.active {
  display: flex;
  padding:36px;
}
.custom-nav-content {
  width: 100vw;
  display: grid;
  grid-template-columns: 2fr auto 1fr;
  align-items: center;
  /* gap: 80px; */
  position: relative;
}

.custom-nav-logo {
  width: 90%;
  grid-column: 1; 
  justify-self: center;
  text-align: left;
  display: flex;
  justify-content: center;
}
.custom-nav-logo-main {
  font-size: 2.8rem;
  color: #fff;
  font-weight: 300;
  letter-spacing: 1px;
}

.custom-nav-logo-img {
  width: 100%;
  height: auto;
  vertical-align: middle;
  opacity: 0; /* Initially hide the logo */
  transition: opacity 0.3s ease-in-out; /* Smooth transition for showing */
}
@media(max-width:1100px){
  .custom-nav-logo-img{
    max-width: 200px;
  }
}
.custom-nav-logo-accent {
  color: rgb(132, 62, 143);
  font-weight: 400;
}
.custom-nav-logo-sub {
  font-size: 1.1rem;
  color: #fff;
  margin-top: 0.2em;
}
.custom-nav-links {
  display: flex;
  flex-direction: row;
  gap: 80px;
  grid-column: 2;
}
.custom-nav-col {
  display: flex;
  flex-direction: column;
  /* gap: 18px; */
  min-width: 350px;
}
@media(min-width:2000px){
   .custom-nav-col {
    min-width: 480px;
  }
  .custom-nav-logo-img{
    width:400px;
  }
}
@media(max-width:1150px){
  .custom-nav-col {
    min-width: 300px;
  }
}
@media(max-width:980px){
  .custom-nav-col {
    min-width: 270px;
  }
}
.custom-nav-col a {
  font-size: 1.6rem;
  color: black;
  text-decoration: none;
  font-weight: 300;
  letter-spacing: 0.5px;
  transition: color 0.2s;
}
.custom-nav-col a:hover {
  color: rgb(132, 62, 143);
}
.custom-nav-col .hrdiv{
  margin: 18px 0;
}
@media(max-width:900px){
  .custom-nav-col .hrdiv{
    margin: 0;
  }
}
.custom-nav-col hr {
  border: none;
  /* border-top: 0.6px solid black; */
  margin: 0.5em 0;
  background-color: black;
}
.custom-nav-col a:hover .custom-nav-col hr {
  padding: 0.2px 0;
  background-color: purple;
}

.custom-nav-col a:hover + .hrdiv hr {
  background-color: hotpink;
}

.custom-nav-social {
  display: flex;
  gap: 18px;
  margin-top: 18px;
}
.custom-nav-social a {
  color: black;
  font-size: 1.4rem;
  transition: color 0.2s;
}
.custom-nav-social a:hover {
  color: rgb(132, 62, 143);
}
.custom-nav-copyright {
  font-size: 0.95rem;
  color: black;
  margin-top: 24px;
  opacity: 0.7;
}

@media (max-width: 900px) {
  .custom-nav-content {
    display:flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    width: 100vw;
    padding: 0;
    position: relative;
    /* min-height: 100vh  ; */
  }
  .custom-nav-logo {
    margin-top: -53px;
    margin-bottom: 46px;
    position: relative;
    top: 78px;
    left: 0;
    /* margin-bottom: 24px; */
    text-align: center;
    width: 100%;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
  }
  .custom-nav-logo img {
    display: block;
    height: auto;
    justify-self: center;
  }
  .custom-nav-logo-main {
    font-size: 2rem;
    text-align: center;
    width: 100%;
  }
  .custom-nav-logo-sub {
    font-size: 1rem;
    text-align: center;
    width: 100%;
  }
  .custom-nav-links {
    flex-direction: column;
    gap: 0;
    width: 100%;
    align-items: center;
    position: relative;
    z-index: 1;
  }
  .custom-nav-col {
    min-width: 0;
    width: 100%;
    align-items: center;
    gap: 0;
  }
  .custom-nav-col a {
    font-size: 1.2rem;
  }
  .custom-nav-social {
    gap: 12px;
    justify-content: center;
    position: absolute;
    bottom: 60px;
    left: 0;
    width: 100%;
    z-index: 3;
    display: flex;
  }

}
@media (max-width: 600px) {
  .custom-nav-content {
    gap: 16px;
    padding: 0;
  }
  .custom-nav-logo{
    top: 60px;
  }
  .custom-nav-logo-main {
    font-size: 1.3rem;
  }
  .custom-nav-logo-sub {
    font-size: 0.85rem;
  }
  .custom-nav-logo img {
    /* max-width: 120px; */
    /* margin: 0 auto !important; */
  }
  .custom-nav-col a {
    font-size: 1rem;
  }

  .custom-nav-social {
    bottom: 60px;
  }
}

#panel-btn,
#mmenu-toggle {
    z-index: 10000000;
    cursor: pointer;
}

.hamburger-icon {
    width: 24px;
    height: 20px;
    position: relative;
    transform: rotate(0deg);
    transition: .5s ease-in-out;
    cursor: pointer;
}

.hamburger-icon span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: #843E8F;
    border-radius: 9px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
}

.hamburger-icon span:nth-child(1) {
    top: 0px;
}

.hamburger-icon span:nth-child(2) {
    top: 8px;
}

.hamburger-icon span:nth-child(3) {
    top: 16px;
}

.hamburger-icon.is-active span:nth-child(1) {
    top: 8px;
    transform: rotate(135deg);
}

.hamburger-icon.is-active span:nth-child(2) {
    opacity: 0;
    left: -60px;
}

.hamburger-icon.is-active span:nth-child(3) {
    top: 8px;
    transform: rotate(-135deg);
}

.header-hidden {
    visibility: hidden;
}

.header-hidden #panel-btn,
.header-hidden #mmenu-toggle {
    visibility: visible;
}

.logo-clone {
    position: fixed;
    z-index: 9999;
    transition: all 0.5s ease-in-out;
}
