
body {
  margin: 0%;
  padding-top: 100px;
  font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
  background-image: linear-gradient(
    rgba(250, 195, 122, 0.411),
    rgb(221, 164, 164),
    rgb(221, 149, 149)
  );
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style: none;
}


.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 20px;
}

#searchbar {
  margin: 10px;
  padding: 10px;
  border-radius: 5px;
  width: 50%;
  box-sizing: border-box;
}

#list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.product {
  font-size: 1.2em;
  padding: 10px;
  border-bottom: 1px solid #ccc;
  animation: fadeIn 0.5s ease-in-out;
}

.product:last-child {
  border-bottom: none;
}

@keyframes fadeIn {
  from {
      opacity: 0;
      transform: translateY(-10px);
  }

  to {
      opacity: 1;
      transform: translateY(0);
  }
}

#searchbar {
  width: 700px;
  border-radius: 8px;
  padding-left: 10px;
outline:none;
  border: 2px rgb(221, 164, 164) solid;
  height: 50px;
  display: flex;
  margin: auto;
  margin-top: 48px;
  margin-bottom: 175px;
  background: #00000000;
  color: rgba(109, 83, 83, 1);
  font-size: 16px;
}
.main {
  display: block;
  justify-content: center;
  width: 100%;
}
.product-parent {
  width: 700px;
  margin: auto;
  background-color: rgba(0, 0, 0, 0.418);
  justify-content: center;
  align-items: center;
  display: flex;
  gap: 3rem;
  flex-direction: column;
  justify-self: center;
  justify-content: center;
  border-radius: 10px;
  backdrop-filter: blur(0px);
  padding-top: 100px;
  margin-bottom: 100px;
  padding-bottom: 50px;
}

.product-div {
  border-color: black;
  border-style: solid;
  border-radius: 8px;
  border-width: 2px;
  width: fit-content;
  background-color: rgba(208, 228, 247, 0.356);
  text-align: center;
  padding-bottom: 38px;
}
.product-image {
  height: 200px;
  width: 300px;
  border-radius: 8px;
}
.check-out-btn {
  background-color: rgb(72, 255, 0);
  color: rgb(0, 0, 0);
  width: 100px;
  height: 30px;
  cursor: pointer;
  border-radius: 6px;
  border: none;
  margin-top: 13px;
}
.check-out-btn:hover{
  background-color: rgba(89, 252, 25, 0.733);  
  width: 95px;
  height: 28px;
}
.check-out-btn:active{
   background-color: rgb(72, 255, 0);
  color: rgb(0, 0, 0);
  width: 100px;
  height: 30px;
}
.product-name{
  margin-top: 10px;
  font-weight:20px ;
}
.price{
  margin-top: 10px;
  color: #0000008a;
}

@media (max-width: 780px) {
  body{
    width: 100;
  }
  #searchbar{
    width: 327px;

      margin-left: 10px;
    margin-right: 10px;
    padding-right: 4px;
 
  }
  .product-parent{
    width: 340px;
    margin-left: 10px;
    margin-right: 10px;
  }
  
  .product-image{
    width: 200px;
    height:180px ;
    
}
}