* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.slider {
  position: relative;
  width: 100%;
  margin: auto;
  overflow: hidden;
}
.slides {
  display: flex;
  transition: transform 0.5s ease-in-out;
}
.slide {
  min-width: 100%;
  box-sizing: border-box;
}
.slide img {
  width: 100%;
  height: 50vh;
  object-fit: cover;
}
.navigation {
  position: absolute;
  width: 100%;
  display: flex;
  justify-content: space-between;
  top: 50%;
  transform: translateY(-50%);
}
.navigation button {
  background: rgba(0, 0, 0, 0.5);
  border: none;
  color: white;
  padding: 10px;
  cursor: pointer;
}

.btn-1 > button {
  padding: 10px 30px;
  outline: none;
  border: none;
  border: 2px solid #000;
  background-color: #021526;
  color: #fff;
  border-radius: 20px;
}

#main-2 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

table {
  width: 15%;
  margin: 20px;
  border-radius: 10px;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 30px 60px -12px inset, rgba(0, 0, 0, 0.3) 0px 18px 36px -18px inset;
  overflow: hidden;
}

table, th, td {
  border: 1px solid #ddd;
  padding: 8px;
}

table th, table td, tbody tr th {
  padding-left: 10px;
}

.button-container {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 10px;
}

button {
  padding: 5px 10px;
  outline: none;
  border: none;
  border: 2px solid #000;
  color: #fff;
}

.btn-cart {
  background-color: #28a745;
}

.btn-delete {
  background-color: #d13335;
}

.table-img {
  width: 100%;
  height: 100px;
  border-radius: 10px 10px 0 0;
  display: block;
}

@media (max-width: 768px) {
  table {
    width: 40%;
  }
}

@media (max-width: 700px) {
  form {
    display: flex;
    flex-direction: column;
  }
  .btn-1 {
    align-self: center;
  }
  .main-sec .img-1 {
    height: 50vh;
  }
  table {
    width: 80%;
  }
}

@media (max-width: 480px) {
  table {
    width: 100%;
  }
  .navigation button {
    padding: 5px;
  }
  button {
    padding: 5px;
    font-size: 12px;
  }
  .btn-1 > button {
    padding: 5px 15px;
    font-size: 14px;
  }
}
