* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
  }
  body{
    font-family: 'Times New Roman', Times, serif;
    background-color: #171717;
    color: #EDEDED;
  }
  .container{
    width: min(90% ,1200px);
    margin: 0 auto;
  }
  header{
    background-color: #444;
    height: 4rem;
    display: flex;
    justify-content: center;
  }
  .logo h1 a{
    color: #EDEDED;
    font-size: 2rem;
  }
  nav{
    display: flex;
    justify-content: space-between;
    align-items: center;
  
  }
  
  .nav-links {
    display: flex;
   align-items: center;
   gap: 2rem;
  }
  .nav-links  li{
   list-style: none;
  }
  .nav-links .dash-link{
    display: none;
  }
  .nav-links  li a{
    color: #EDEDED;
    font-size: 1.2rem;
    text-decoration: none;
  }
  .nav-links  li a:hover , .nav-links  li a.active , .log-out-btn a:hover {
    color: #DA0037;
  }
.btn{
    background-color: #DA0037;
    color: #EDEDED;
    border: none;
    padding: 10px 15px;
    font-size: 1.2rem;
    border-radius: 5px;
    cursor: pointer;
    
  }
  .user-login .btn , .log-out-btn , .log-btn{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
   
    
  }
  .log-btn{
    display: none;
  }
  .log-out-btn{
    background: none;
    display: flex;
    gap: 10px;
    border:none ;
    color: #3c3c3c;
    font-size: 1.3rem;
    cursor: pointer;

  }
 
  .user-login .btn a , .log-out-btn a , .log-btn a{
    color: #EDEDED;
  }
  .user-login{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
  }
  .user-login #user{
    display: none;
    background-color: #2c2c2c;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #EDEDED;
    line-height: 40px;
    text-align: center;
    font-size: 1rem;
    cursor: pointer;
  }
  .user-info{
    position: absolute;
    top: 10%;
    right: 13%;
    background-color: #444;
    padding:10px 30px;
    display: none;
    font-size: 1.4rem;
    gap: .5rem;
    border-radius: 8px;
    z-index: 1;
    transition: 300ms ease ;
  }
  .user-info.show{
    display: flex;
  }
 .btn:hover{
    background-color: #FF0044;
    color: #EDEDED !important;
  }
  .toggle-button {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    position: absolute;
    top: 20px;
    right: 20px;
  }
  .toggle-button .bar{
    width: 100%;
    height: 3px;
    background-color: white;
    border-radius: 10px;
  }
  @media (max-width:768px){
     nav{
      flex-direction: column;
      align-items: start;
      gap: .7rem;
     }
     nav h1{
      margin-top: 1rem;
     }
     .nav-links{
      width: 100%;
      display: none;
     flex-direction: column;
     justify-content: center;
     background-color:#444;
     padding-top: 10px ;
     min-height: 0;
     opacity: 0;
     z-index: 1;
     }
     .toggle-button{
      display: flex;
  }
  .nav-links.active {
    display: flex;
      min-height: 275px;
      opacity: 1;
      transition: 300ms ease-in-out;
  }
  nav.active .toggle-button .bar{
      transition: 300ms ease-in-out;
  }
  nav.active .toggle-button .bar:nth-child(2){
      opacity: 0;
  
  }
  nav.active .toggle-button .bar:nth-child(1){
      transform: translateY(8px) rotate(45deg);
  }
  nav.active .toggle-button .bar:nth-child(3){
      transform: translateY(-8px) rotate(-45deg);
  }
  .nav-links li {
    width: 100%;
    text-align: center;
  }
  .nav-links  .btn{
    width: 100%;
  }

  .log-btn{
    margin-top: 5px;
    display: flex;
  }

  .user-info{
    top: 10%;
    right: 10%;
  }

  .user-login .btn{
    display: none;
  }
  .user-login #user{
    position: absolute;
    right: 16%;
    top:12px;
  }
  }