.nav {
  display: flex;
  background-color: var(--color-white);
  border-radius: var(--radius-mlg);
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-width);
  
  width: 100%;
  padding: 4px 4px 4px 20px;
  height: 56px;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;

}
.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.nav-left, .nav-right, .nav-contacts, .nav-auth, .nav-links {
  display: flex;
  align-items: center;
}

.nav-left{
    gap: 89px;
 
}
.nav-left img{
  width: 138px;
  height: 28px;
  margin-bottom: 8px;
}

.nav-right{
    gap: var(--spacing-md)
}
.nav-links{
    gap: var(--spacing-lg)
}
.nav-contacts{
    gap: var(--spacing-sm);
}

.nav-contacts a{
  width: 48px;
  min-width: 48px;
  height: 48px;
  padding: 0;
}
.nav-auth{
    gap: var(--spacing-xs);
}
.burger-menu-button{
  display: none;
}

.mobile-menu{
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 0 24px 0 24px;
  width: 100%;
}

.menu-logo img{
  width: 147px;
  height: 30px;
}
.mobile-menu-links{
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md)
}
.mobile-menu-links a{
  color: var(--color-dark);
  font-size: var(--font-size-md);
  line-height: 28px;
  text-align: center;
}
.menu-auth{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-sm);
  width: 100%;
}
.menu-buttons{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-sm);
  width: 100%;
}
.menu-buttons button{
  width: 100%;
}

.menu-social-links{
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}
.menu-social-links a{
  border: none;
  width: 48px;
  height: 48px;
}

@media (max-width: 1350px) {
  .nav-links{
    display: none;
  }
}

@media (max-width: 768px) {
  .nav{
    padding: var(--spacing-xs);
    max-width: auto;
    height: 48px;
    border-radius: var(--radius-lg);
  }
  .nav-content{
    
  }
  .nav-left img{
    margin-bottom: 4px;
  }
  .burger-menu-button{
    display: flex;
    height: 40px;
    width: 40px;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-light);
    cursor: pointer;
    padding: 0;
  }
 
  .nav-contacts, .nav-auth{
    display: none;
  }
}


@media (max-width: 768px) {
  .nav{
    padding: var(--spacing-xs);
    max-width: auto;
    height: 48px;
  }
  .nav-content{
    flex-direction: row-reverse;
  }
  .nav-left img{
    margin-bottom: 4px;
  }
  .burger-menu-button{
    display: flex;
    height: 40px;
    width: 40px;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-light);
    cursor: pointer;
  }
 
  .nav-contacts, .nav-links, .nav-auth{
    display: none;
  }
}