/* CSS Reset (Optional) */
body, h1, h2, h3, p, ul, li {
    margin: 0;
    padding: 0;
}

.header {
    display: flex; /* Use flexbox */
    justify-content: space-between; /* Distribute items along the main axis with space between them */
    align-items: center; /* Center items vertically */
    background-color: #333; /* Background color of the header */
    color: #fff; /* Text color */
    padding: 20px; /* Padding around the content inside the header */
}

.header h1 {
    margin: 0; /* Remove default margin */
}

nav ul {
    list-style-type: none; /* Remove default list styles */
    display: flex; /* Use flexbox for the list items */
}

nav ul li {
    margin-right: 20px; /* Right margin between list items */
}

nav ul li a {
    color: #fff; /* Text color of the navigation links */
    text-decoration: none; /* Remove underline from links */
}

nav ul li a:hover {
    text-decoration: underline; /* Underline links on hover */
}
li a i {
    margin-right: 10px; /* Add margin-right to create space between the icon and the text */
}

.top-nav {
    background-color: #333;
    color: #fff;
}

.top-nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.top-nav ul li {
    display: inline-block;
    padding: 10px 20px;
}

.top-nav ul li a {
    color: #fff;
    text-decoration: none;
}

.side-nav {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.side-nav li {
    padding: 10px;
}

.side-nav li a {
    color: #333;
    text-decoration: none;
    display: block;
}

.side-nav li a:hover {
    background-color: #f4f4f4;
}


.home-section {
    padding: 20px;
    background-color: #f0f0f0;
    text-align: center;
}

.grid-container {
    display: grid;
    gap: 2px;
    background-color: #ffffff;
    padding: 10px;
  }
  
  .grid-item {
    background-color: rgba(0, 0, 0, 0.8);
    text-align: center;
    padding: 20px;
    font-size: 30px;
  }
  
  .item1 {
    grid-column: 1 / span 2;
    grid-row: 1;
  }
  
  .item2 {
    grid-column: 3;
    grid-row: 1 / span 2;
    background-color: #f7c443;
}

  
  .item5 {
    grid-column: 1 / span 3;
    grid-row: 3;
    background-color: #843b14;

  }


  .footer {
    font-size: 14px;
    color: #ffffff;
    text-align: center;
    margin-top: 10px;
}

.image-container h3 {
    text-align: center; /* Center the heading */
    width: 100%; /* Ensure the heading spans the entire container */
    margin-top: 20px; /* Adjust spacing between the heading and images */
}

.Title {
    text-align: center;
    margin-bottom: 20px;
}



.vendor-lane {
    position: relative; /* Menetapkan posisi relatif untuk kontainer */
    overflow: hidden; /* Sembunyikan konten yang melebihi batas kontainer */

}

.image-container {
    display: flex;
    position: absolute; /* Menetapkan posisi absolut */
    top: 0; /* Meletakkan kontainer gambar di bagian atas */
    left: 0; /* Meletakkan kontainer gambar di sebelah kiri */
    transition: transform 0.3s ease; /* Efek transisi saat gambar bergerak */
}


.vendor-lane img {
    max-width: 100px;
    height: auto;
    border: 2px solid #ccc;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-right: 10px; /* Ruang antara gambar */
}

#swipeLeft,
#swipeRight {
    position: absolute; /* Menetapkan posisi absolut */
    top: 50%; /* Posisi vertikal di tengah */
    transform: translateY(-50%); /* Pusatkan tombol secara vertikal */
    background-color: #843b14;
    color: #fff;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 16px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

#swipeLeft {
    left: 0; /* Menempatkan tombol swipe kiri di sebelah kiri */
}

#swipeRight {
    right: 0; /* Menempatkan tombol swipe kanan di sebelah kanan */
}

#swipeLeft:hover,
#swipeRight:hover {
    background-color: #f7c443;
}
