﻿.nav-header {
  padding: 20px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  position: sticky;
  top: 0;
  z-index: 999;
  width: 100%;
}
@media (max-width: 768px) {
  .nav-header {
    display: none;
  }
  .nav-category{
    padding: 0;
  }
}

.nav-search-bar {
  display: flex;
  width: 100%;
  max-width: 64rem;
  padding: 0 30px;
}

.nav-search-bar input {
  padding: 10px 50px 12px 50px;
  font-size: 16px;
  border: 1px solid #96969650;
  border-radius: 50px;
  background: transparent;
  backdrop-filter: blur(10px);
  width: -webkit-fill-available;
  box-shadow: 0 0 10px #00000080;
  text-align: center;
  transition: all .5s ease;
}
.nav-search-bar input:focus {
  color:#fff
}
.nav-search-bar input:focus-visible{
  outline:0;
  border: 1px solid #fff;
}

.nav-select-wrapper {
  position: absolute;
  right: 2.8rem;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav-search-icon{
  position: absolute;
  left: 2.8rem;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}
.nav-search-icon svg{
  font-size: 1.5rem;
}

.nav-selected {
  font-size: 1.5rem;
  padding-bottom: 3px;
  transition:all .5s ease;
  margin-left: -.2rem;
}
.nav-selected:hover{
  transform:scale(1.2);  
}

.nav-select-options {
  position: absolute;
  left: 6rem;
  top: -46px;
  right: 0;
  background: transparent;
  border-radius: 8px;
  list-style: none;
  margin: 10px 0 0 0;
  padding: 0;
  display: none;
  z-index: 10;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  font-size: 1.5rem;
  animation: fadeIn .3s ease;
}

.nav-select-options li {
  padding: 5px;
  cursor: pointer;
  transition: all .5s ease;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.nav-select-options li:hover {
  background: #8e8e8e75;
  color: white;
}

.nav-main {
  padding: 20px 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  backdrop-filter: blur(10px);
  border-radius: 30px;
  box-shadow: 0 0 15px #00000080;
  background: #00000010;
  border: 1px solid #96969650;
  animation: main 1s ease;
}

.nav-category {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 1rem;
  opacity: 0;
}

.nav-category h2 {
  font-size: 20px;
  margin: 20px 0;
  border-left: 4px solid var(--accent-color);
  padding: 0 10px;
  border-right: 4px solid var(--accent-color);
}

.nav-site-grid {
  display: flex;
  text-align: center;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.nav-site-grid a {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 70px;
  height: 90px;
  margin: 0 20px 20px;
}

@media (max-width: 768px) {
  .nav-site-grid a {
    margin: 0 15px 15px;
  }
}

.nav-site-icon {
  width: 60px;
  height: 60px;
  min-height: 60px;
  border-radius: 16px;
  box-shadow: 0 0 10px #00000070;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  transition: all .5s ease;
}

.nav-site-icon img {
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  border-radius: 10px;
}

.nav-site-grid a:hover .nav-site-icon {
  transform: scale(1.1);
  background: #ffffff80;
}

.nav-site-label {
  font-size: 14px;
  word-break: break-word;
  white-space: nowrap;
}