* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  html body {
    height: 100%;
    width: 100%;
    scroll-behavior: smooth;
    background-color: #1a1a1a;
    overflow-x: hidden;
  }
  header {
    width: 100%;
    height: 80px;
    background-color: #1a1a1a;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .cursor {
    width: 20px;
    height: 20px;
    position: fixed;
    background-color: gray;
    border-radius: 50%;
    z-index: 2;
  }
  
  .logo img {
    width: 60px;
    height: 60px;
    filter: brightness(0) invert(1);
    margin-left: 15px;
  }
  
  nav {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 20px;
  }
  ul {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  ul li {
    list-style-type: none;
  }
  ul a {
    text-decoration: none;
    margin-right: 30px;
    color: white;
    text-transform: uppercase;
    position: relative;
  }
  ul a::after {
    position: absolute;
    content: " ";
    bottom: -5px;
    height: 2px;
    left: 0;
    width: 0;
    background-color: white;
    transition: 0.3s;
  }
  ul a:hover::after {
    width: 100%;
  }
  
  .btn {
    background-color: rgb(8, 8, 31);
    padding: 10px;
    border-radius: 100px;
    color: white;
    text-wrap: nowrap;
    border-color: transparent;
    cursor: pointer;
    margin-right: 40px;
  }
  
  .btn a {
    text-decoration: none;
    color: white;
  }
  
  .bar {
    display: none;
  }
  
  .close-icon {
    display: none;
  }
  
  .sign-up a {
    color: white;
    border-radius: 50%;
    border: 1px solid white;
    padding: 12px;
    margin: 15px;
  }
  
  @media screen and (max-width: 1024px) {
    .cursor {
      display: none;
    }
    .navlinks {
      display: block;
      position: absolute;
      top: 80px;
      right: 0;
      width: 100%;
      height: 90vh;
      background-color: rgba(0, 0, 0);
      display: none;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      transition: all 0.3s ease;
      z-index: 999;
    }
    ul li {
      padding: 20px 0;
    }
    .bar {
      display: block;
      color: white;
      font-size: 30px;
      cursor: pointer;
      position: absolute;
      right: 20px;
      top: 20px;
    }
    .close-icon {
      font-size: 30px;
      position: absolute;
      right: 20px;
      top: 20px;
      cursor: pointer;
      color: white;
    }
    .navlinks.active {
      display: flex;
    }
    ul li {
      margin-bottom: 20px;
    }
    .sign-up {
      margin-right: 30px;
    }
  }

main {
    padding: 20px;
}

.accessories {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}
#heading-h2 {
display: flex;
justify-content: center;
align-items: center;
height: 100px;

}
#heading-h2 h2{
    color: white;
    font-size: 40px;
}


@media screen and (max-width:768px) {
  #heading-h2 h2{
    font-size: 20px;
  }
}
.accessory {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 15px;
    text-align: center;
}

.accessory img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

.accessory h3 {
    margin: 10px 0;
}

.accessory p {
    color: #666;
}

.accessory span {
  display: block;
  font-weight: bold;
  color: #333;
  margin: 15px;
}

.add-to-cart {
  background-color: #333;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s ease;
  display: block;  
  width: 100%;
}

.add-to-cart:hover {
  background-color: #555;
} 


