header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color:whitesmoke;
    padding: 20px;
}

header .logo img {
    width: 120px;
    height: auto;
}
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color:white;
    color: #333;
    height: 100vh;
}
.button3 {
    text-decoration: none; /* Loại bỏ dấu gạch chân */
    color: black;
    padding: 10px 20px;
    border: 1px solid whitesmoke;
    background-color: whitesmoke;
    border-radius: 5px;
    
}
.button3:hover {
    background-color: rgb(233, 230, 230);
    color: black;
}
.luachon1 {
    justify-content: center; /* Căn giữa theo chiều ngang */
    flex-wrap: wrap; /* Cho phép các nút chuyển xuống dòng tiếp theo nếu không đủ không gian */
  }
  .car-category{
    text-decoration: none;
    margin-bottom: 10px;
    color: black;
    padding: 10px 20px;
    font-size: 15px; 
  
}
    

.car-category:hover {
    text-decoration: underline;
    
    
}
.nut {
    margin-left: 70px;
    box-sizing: border-box;
}

.nut img {
    width: 400px;
}

.nut:hover {
    border: solid 3px black;
    border-radius: 5px;
    width: 430px;
    transition: width 0.3s;
}
.nut2 {
    margin-left: 90px;
    box-sizing: border-box;
}

.nut2 img {
    width: 400px;
}

.nut2:hover {
    border: solid 3px black;
    border-radius: 5px;
    width: 430px;
    transition: width 0.3s;
}
.nut3 {
    margin-left: 70px;
    box-sizing: border-box;
    margin-top: 90px;
}

.nut3 img {
    width: 400px;
}

.nut3:hover {
    border: solid 3px black;
    border-radius: 5px;
    width: 430px;
    transition: width 0.3s;
}
.nut4 {
    margin-left: 70px;
    box-sizing: border-box;
    margin-top: 90px;
}

.nut4 img {
    width: 400px;
}

.nut4:hover {
    border: solid 3px black;
    border-radius: 5px;
    width: 430px;
    transition: width 0.3s;
}
.nut5 {
    margin-left: 70px;
    box-sizing: border-box;
    margin-top: 1px;
}

.nut5 img {
    width: 400px;
}

.nut5:hover {
    border: solid 3px black;
    border-radius: 5px;
    width: 430px;
    transition: width 0.3s;
    height: 280px;
}
.ket {
    display: flex;
    gap: 10px;
    margin-top: 100px;
    margin-left: 580px;
    font-size: 13px;
}
.ket a {
  text-decoration: none; /* Remove underline */
  color: rgba(0, 0, 0, 0.626); /* Set link color */
  padding: 5px 10px; /* Add padding to links */
  transition: background-color 0.3s; /* Add transition for background color */
  text-align: center;
}
.footer {
    margin-top: 10px;
    text-align: center;
    color: gray;
    font-size: 13px;
    margin-bottom: 200px;
}
/* CSS cho menu */
.sidenav {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1;
    top: 0;
    right: 0;
    background-color: #111;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
  }
  
  .sidenav a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 25px;
    color: #818181;
    display: block;
    transition: 0.3s;
  }
  
  .sidenav a:hover {
    color: #f1f1f1;
  }
  
  .sidenav .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
  }
  /* CSS cho menu đa cấp */
.sidenav {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1;
    top: 0;
    right: 0;
    background-color: white;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 0%; /* Loại bỏ padding trên đầu */
    margin-top: 0; /* Loại bỏ margin trên đầu */
   
  }
  
  .sidenav a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 25px;
    color: black;
    display: block;
    transition: 0.3s;
    padding: 10px 20px; 
  }
  .sidenav a:hover{
    background-color: rgb(233, 230, 230);
    color: black;
  }
  
  .sidenav .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
  }
  
  .language-select a {
    font-size: 20px;
    color: black;
    display: block;
    transition: 0.3s;
  }
/* CSS cho logo và nút đóng */
.logo-link {
    display: flex; /* Sử dụng flexbox để căn chỉnh các phần tử bên trong */
    align-items: center; /* Căn chỉnh các phần tử theo chiều dọc */
    text-decoration: none; /* Loại bỏ gạch chân cho liên kết */
    color: #000; /* Màu sắc cho chữ "x" */
    justify-content: space-between; /* Căn giữa các phần tử và tạo khoảng cách giữa chúng */
}

.logo-link img {
    width: 100px; /* Độ rộng của logo */
    height: auto; /* Chiều cao tự động theo tỷ lệ */
}

.logo-link span {
    margin-left: 180px; /* Khoảng cách giữa logo và chữ "x" */
}

.icon-img {
    width: 100px; /* Độ rộng mong muốn */
    height: auto; /* Chiều cao tự động để giữ tỷ lệ khung hình */
}
.nut, .nut2, .nut3, .nut4, .nut5 {
    display: block; /* Mặc định hiển thị tất cả */
}
#search-input {
    border: 1px solid #ccc;
    border-radius: 25px;
    padding: 10px;
    width: 200px;
    margin-left: 280px;
    font-size: 16px;
  }
  
  button {
    padding: 10px 20px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 16px;
  }
  .right-text {
    text-align: right;
    color: rgba(0, 0, 0, 0.63);
    margin-right: 385px;
    margin-top: 30px;
    font-size: 20px;
}
