/* ========== BASE STYLES ========== */
ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background-color: #111010;
}

li {
  float: left;
}

li a, .dropbtn {
  display: flex;
  flex-direction: row;
  color: white;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

li a:hover, .dropdown:hover .dropbtn {
  background-color: red;
}

li.dropdown {
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: rgba(12, 9, 9, 0.2);
  min-width: 160px;
  /*box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);*/
  z-index: 1;
}

.dropdown-content a {
  color: white;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.dropdown-content a:hover {
  background-color:black;
}

.dropdown:hover .dropdown-content {
  display: block;
}

div.container {
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 100px;
  border: 1px solid white;
  background-image: url("../media/images/office.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  box-sizing: border-box;
}

div.card-container {
  display: flex;
  gap: 8px;
  flex-direction: row;
  flex-wrap: wrap; /* enables wrapping on smaller screens */
  justify-content: center;
  box-sizing: border-box;
  padding: 100px;
}

div.card {
  text-align: center;
  padding: 5px;
  width: 250px;
  border-radius: 10px;
  box-sizing: border-box;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.3);
}
div.card img{
  border-radius: 10px;
  
}

div.container input.search-box {
  padding: 15px;
  width: 100%;
  max-width: 500px;
  box-sizing: border-box;
  border-radius: 18px;
  border: none;
  text-align: center;
}

div.cart {
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: center;
  width: 100%;
  max-width: 500px;
  box-sizing: border-box;
  /*border: solid black 2px;*/
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.5);
  border: none;
}

table.t-items {
  border-collapse: collapse;
  width: 100%;
}

table.t-items th {
  color: white;
  background-color: black;
  padding: 20px;
}

table.t-items tr {
  margin-bottom: 7px;
}

table.t-items tr td {
  padding: 6px;
}

button {
  padding: 13px;
  color: white;
  border: none;
  background-color:rgb(17, 22, 17);
  border-radius: 18px;
}
button.searchbtn{
margin-top: 10px;
width: 10%;

}
button:hover{
  background-color: orange;
}

div.container-3{
  display: flex;
  gap: 40px;
  flex-direction: row;
  flex-wrap: wrap;
  padding: 40px;
}
div.content{
  width: 40%;
}


/* ========== RESPONSIVE STYLES ========== */
@media screen and (max-width: 600px) {
  ul {
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  ul li {
    width: 100%;
    float: none; /* reset float */
  }

  ul li a, .dropbtn {
    display: block;
    width: 100%;
    padding: 12px;
    text-align: left;
  }

  .dropdown-content {
    position: static;
    box-shadow: none;
  }

  div.container {
    padding: 40px;
    gap: 20px;
    background-position: top; /* adjust for smaller height */
  }

  div.container input.search-box {
    padding: 10px;
    max-width: 100%;
  }

  div.card-container {
    flex-direction: column;
    padding: 20px;
    gap: 20px;
  }

  div.card {
    width: 100%;
  }

  div.cart {
    padding: 10px;
  }

  table.t-items th,
  table.t-items td {
    padding: 12px;
    font-size: 14px;
  }

  button {
    width: 100%;
    padding: 10px;
    font-size: 14px;
  }
}
