::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-thumb {
  border-radius: 10px;
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  background-color: rgb(44, 44, 44);
}

::-webkit-scrollbar-thumb:hover {
  border-radius: 10px;
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  background-color: rgb(218, 81, 81);
}

::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  background-color: #9e9e9e;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}
body {
  background-color: black;
}

nav {
  display: flex;
  justify-content: space-around;
  align-items: center;
  min-height: 72px;
  height: auto;
  padding: 0.65rem 1.25rem;
  gap: 0;
  background-color: #000000;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: lighter;
  position: fixed;
  z-index: 12;
  text-align: center;
  width: 100%;
  top: 0;
}

.logo {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  color: white;
  text-transform: uppercase;
  letter-spacing: 5px;
  font-size: 20px;
}
.logo img {
  margin-left: 0;
  max-height: 52px;
  width: auto;
  display: block;
}

.subbutton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  background-color: rgb(206, 171, 87);
  color: #000;
  padding: 0.75rem 1rem;
  border: none;
  border-radius: 999px;
  text-transform: uppercase;
  font-weight: 700;
  width: auto;
  min-width: 150px;
  transition: transform 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

.subbutton:hover {
  transform: translateY(-1px);
  background-color: rgb(223, 190, 111);
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.28);
}

.nav-links {
  display: flex;
  justify-content: space-around;
  gap: 0.2rem;
  width: 48%;
  flex: 0 1 48%;
  align-items: center;
  margin: 0;
  padding-left: 0;
  overflow: visible;
}
.nav-links li {
  list-style: none;
  margin-top: 0;
  flex: 0 0 auto;
}
.nav-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: rgb(226, 226, 226);
  text-decoration: none;
  letter-spacing: 0.18em;
  font-weight: bold;
  font-size: 0.82rem;
  transition: color 0.18s ease, transform 0.18s ease;
}

.nav-links li:not(.nav-cta) > a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0.4rem;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, rgba(206, 171, 87, 0), rgba(206, 171, 87, 1), rgba(206, 171, 87, 0));
  transform: scaleX(0);
  transform-origin: center;
  opacity: 0;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.nav-links li:not(.nav-cta) > a:hover,
.nav-links li:not(.nav-cta) > a:focus-visible {
  color: rgb(206, 171, 87);
  transform: translateY(-1px);
}

.nav-links li:not(.nav-cta) > a:hover::after,
.nav-links li:not(.nav-cta) > a:focus-visible::after {
  transform: scaleX(1);
  opacity: 1;
}

.nav-links li > a.text-danger {
  color: #d86868 !important;
}

.nav-links li > a.text-danger:hover,
.nav-links li > a.text-danger:focus-visible {
  color: #ff9797 !important;
}

.nav-links li > a:focus-visible,
.subbutton:focus-visible,
.burger:focus-visible {
  outline: 2px solid rgba(206, 171, 87, 0.9);
  outline-offset: 3px;
}
.dummyTeam {
  display: none;
}
button {
  cursor: pointer;
}
.burger {
  display: none;
  cursor: pointer;
}
.burger div {
  width: 25px;
  height: 3px;
  background-color: rgb(226, 226, 226);
  margin: 5px;
  transition: all 0.3s ease;
}

@media screen and (min-width: 790px) {
  .glass {
    margin-top: 4%;
  }
}

@media screen and (max-width: 1024px) {
  .nav-links {
    width: 68%;
    flex-basis: 68%;
  }
  .nav-links a {
    letter-spacing: 0.13em;
    font-size: 0.75rem;
  }
  .logo img {
    margin-left: 0;
  }
}

@media screen and (max-width: 920px) {
  body {
    overflow-x: hidden;
  }
  .logo {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    justify-content: center;
    z-index: 13;
  }
  nav {
    justify-content: space-between;
    min-height: 74px;
    padding: 0.8rem 1rem;
    gap: 0.75rem;
    position: fixed;
  }
  nav .logo {
    transform: translate(-50%, -50%);
  }
  .logo img {
    margin: 0 auto;
  }
  .nav-links {
    position: absolute;
    right: 0;
    top: 74px;
    height: calc(100vh - 74px);
    background-color: #000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0.35rem;
    width: min(78vw, 22rem);
    padding: 1rem 1.1rem 2rem;
    transform: translateX(100%);
    transition: transform 0.35s ease-in;
    margin: 0;
    border-left: 1px solid rgba(206, 171, 87, 0.14);
    overflow-y: auto;
    text-align: center;
  }
  .nav-links li {
    opacity: 0;
    margin-top: 0;
    width: auto;
    max-width: 100%;
    display: flex;
    justify-content: center;
  }
  .nav-links a {
    width: auto;
    justify-content: center;
    padding: 0.85rem 0;
    letter-spacing: 0.12em;
    font-size: 0.86rem;
    text-align: center;
  }
  .nav-links li:not(.nav-cta) > a::after {
    bottom: 0.35rem;
  }
  .dummyTeam {
    display: block;
  }
  .mainTeam {
    display: none;
  }

  .nav-cta {
    padding-top: 0.35rem;
  }

  .nav-cta > a {
    display: flex;
    justify-content: center;
    width: 100%;
  }

  .subbutton {
    width: min(100%, 15rem);
  }

  .burger {
    display: block;
    transform: none;
    margin-left: auto;
    position: relative;
    z-index: 14;
  }

  .nav-active {
    transform: translateX(0%);
  }
}

@media screen and (max-width: 1750px) {
  .nav-links {
    width: 52%;
    flex-basis: 52%;
  }
}
@media screen and (max-width: 1055px) {
  .nav-links {
    width: 70%;
    flex-basis: 70%;
  }
}

@media screen and (max-width: 450px) {
  .nav-links {
    width: min(100vw, 22rem);
  }
}

@media screen and (max-width: 375px) {
  .nav-links {
    width: 100vw;
  }
}
@media screen and (max-width: 360px) {
  .nav-links {
    width: 100vw;
    top: 74px;
  }
}

@keyframes navLinkFade {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0px);
  }
}

.toggle .line1 {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.toggle .line2 {
  opacity: 0;
}
.toggle .line3 {
  transform: rotate(45deg) translate(-5px, -6px);
}
