header {
  padding: 10px 20px;
  color: #000;
  font-size: 20px;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: #fff;
  transition: transform .3s ease
}

@media (prefers-reduced-motion: reduce) {
  header {
    transition: none
  }
}

header.hide {
  transform: translateY(-100%)
}

.wrapper {
  max-width: 1440px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto
}

img {
  width: 60px;
  height: 60px;
  object-fit: cover
}

.rotate-logo {
  animation: rotateLogo 15s linear infinite
}

@keyframes rotateLogo {
  from {
    transform: rotate(0)
  }

  to {
    transform: rotate(360deg)
  }
}

nav ul {
  display: flex;
  gap: 20px;
  list-style: none;
  align-items: center;
  margin: 0;
  padding: 0
}


.logo-wrapper {
  display: flex;
  gap: 5px;
  text-decoration: none;
  color: inherit;
}

.logo {
  display: flex;
  align-items: center;
  flex-direction: column
}

.logo-text {
  font-size: 42px;
  font-weight: 700
}

.gtc {
  font-size: 16px;
  width: 100%;
  text-align: center;
  margin-top: -5px
}

.custom-hr {
  top: 85px;
  position: fixed;
  left: 0;
  width: 100vw;
  transition: top .125s ease-in-out;
  border: none;
  height: 3px;
  background: var(--reverse);
  animation: wave 3s linear infinite;
  background-size: 220% 500%;
  z-index:8;
}


.custom-hr.hide {
  top: -100%
}

.mobile-nav {
  display: none;
  position: relative
}

.burger-icon {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  width: 34px;
  height: 28px;
  cursor: pointer;
  background: transparent;
  border: 0;
  padding: 0
}

.burger-icon span {
  height: 3px;
  background: #000;
  border-radius: 2px
}

.mobile-menu {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-width: 185px;
  top: 60px;
  right: 0;
  background: #fff;
  border: 2px solid #0ABCB1;
  padding: 12px;
  z-index: 1000;
  border-radius: 20px;
  display: none
}

.mobile-menu ul {
  flex-direction: column;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0
}

.mobile-menu li {
  margin: 10px 0;
  width: 100%;
  text-align: center
}

.active-link {
  background: rgba(0, 0, 0, .12);
  padding: 4px 8px;
  border-radius: 4px
}

#backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .3);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s
}

#backdrop.active {
  opacity: 1;
  pointer-events: auto;
  z-index: 50
}

.mobile-menu.open{ display:flex; }

@media(max-width:700px) {
  nav {
    display: none
  }

  .mobile-nav {
    display: flex
  }
}