/* Extra small devices (phones, less than 768px) */
@media only screen and (max-width: 767px) {
  .grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    margin-left: 10px; /* Add margin to the left */
    margin-right: 10px; /* Add margin to the right */
  }

  body {
    font-size: 16px;
  }

  .hot-sale {
    width: 100%; /* Set width to fit two images per row */
  }

  .hot-sale1 {
    width: 100%; /* Set width to fit two images per row */
  }

  /* Review Comment */
  .review1 {
    border: 1px solid #ccc;
    width: 300px;
    height: 300px;
    justify-content: center;
    align-items: center;
    margin-left: 10px;
  }

  .review1 p {
    margin-left: 10px;
  }

  .review1 img {
    margin-left: 10px;
  }

  #navigation {
    margin-left: 40px;
    margin-right: 0px;
  }

  /* For hamburger-menu */
  .hamburger-menu {
    margin-left: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
  }

  /* CSS for close button */
  .close-button {
    display: none; /* Initially hide the close button */
    position: absolute; /* Position the close button */
    top: 10px; /* Adjust top position as needed */
    left: 450px; /* Adjust left positions as needed */
  }

  .close-button img {
    width: 20px;
    height: 20px;
  }

  /* For navigation bar */

  .nav-container ul {
    display: none;
  }

  .nav-links li.active {
    background-color: #7c0202; /* Change background color when menu is expanded */
  }

  #hamburger-menu.active img {
    transform: translateX(10px); /* Adjust the translation value as needed */
  }

  .search-bar {
    display: none;
  }
}

/* Small devices (tablets, 768px and up) */
@media only screen and (min-width: 768px) and (max-width: 991px) {
  .grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    justify-content: center;
    align-items: center;
  }

  .review-grid {
    display: flex;
    justify-content: space-between;
  }

  .review1 {
    border: 1px solid #ccc;
    width: 300px;
    height: 300px;
    justify-content: center;
    align-items: center;
    margin-left: 10px;
  }

  .review1 p {
    margin-left: 10px;
  }

  .review1 img {
    margin-left: 10px;
  }

  #navigation {
    margin-left: 30px;
    margin-right: 30px;
  }

  /* For hamburger-menu */
  .hamburger-menu {
    margin-left: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
  }

  /* CSS for close button */
  .close-button {
    display: none; /* Initially hide the close button */
    position: absolute; /* Position the close button */
    top: 10px; /* Adjust top position as needed */
    left: 450px; /* Adjust left positions as needed */
  }

  .close-button img {
    width: 20px;
    height: 20px;
  }

  /* For navigation bar */

  .nav-container ul {
    display: none;
  }

  .nav-links li.active {
    background-color: #7c0202; /* Change background color when menu is expanded */
  }

  #hamburger-menu.active img {
    transform: translateX(10px); /* Adjust the translation value as needed */
  }

  .search-bar {
    display: none;
  }
}

/* Medium devices (desktops, 992px and up) */
@media only screen and (min-width: 992px) and (max-width: 1199px) {
}

/* Large devices (large desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {
  .content-box {
    background-color: #f44336; /* Red background for extra large screens */
  }
}

/* Media query for screens up to 768 pixels */
@media screen and (max-width: 768px) {
  .grid-container {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    margin-left: 2px; /* Add margin to the left */
    margin-right: 2px; /* Add margin to the right */
  }

  .bike-item {
    border: 1px solid #ccc;
  }
  .service-box {
    width: calc(50% - 20px); /* Set width to 50% minus margin */
  }
}
