:root{
    --primary-color: #ffffff;
    --secondary-color: #2A2A2A;
    /* --tertiary-color:  */
    /*  */
  }
  
  .dark-theme{
    --primary-color: #2A2A2A;
    --secondary-color: #ffffff;
  }
  

  .nav-links{
    display: flex;
    justify-content: center;
    align-items: center;
    background: #212121;
    /* padding: 15px 15px; */
    border-radius: 12px;
    box-shadow: 0 5px 10px rgba(0,0,0,0.2);
  }
  
  .logo{
    width: 80px;
    height: auto;
    float: left;
    transition: transform 0.3s ease-in-out;
  }
  
.logo:hover{
  transform:rotate(30deg);
}

  .nav-links li{
  
    list-style: none;
    margin: 0 12px;
  }
  .nav-links li a{
    position: relative;
    color: #ffffff;
    font-size: 20px;
    font-weight: 500;
    padding: 6px 0;
    text-decoration: none;
  }
  .nav-links li a:before{
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: white;
    border-radius: 12px;
    transition: all 0.4s ease;
  }
  .nav-links li a:hover:before{
    width: 100%;
  }
  .nav-links li.center a:before{
    left: 50%;
    transform: translateX(-50%);
  }
  .nav-links li.upward a:before{
    width: 100%;
    bottom: -5px;
    opacity: 0;
  }
  .nav-links li.upward a:hover:before{
    bottom: 0px;
    opacity: 1;
  }
  .nav-links li.forward a:before{
    width: 100%;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
  }
  .nav-links li.forward a:hover:before{
    transform: scaleX(1);
    transform-origin: left;
  }
  
  .theme{
    flex: 1;
    text-align: right;
  }
  

  #icon{
    width: 30px;
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
  }
  
  #icon:hover{
    transform: rotate(30deg);
  }