* {
  padding: 0;
  margin: 0;
  color: #3c4043;

  font-family: "Poppins", sans-serif;
}

body {
  background-color: #f6f9fe;
  min-width: 400px;
}

.productswrapper {
  margin-bottom: 80px;
}
.cartwrapper {
  margin: 60px auto 0;
  width: 90%;
}

.cartwrapper h1 {
  font-size: 45px;
  margin-bottom: 40px;
}

.prod1 {
  background-color: white;
  display: flex;
  justify-content: space-between;
  width: 90%;
  margin: 2px auto;
  padding: 20px;
  align-items: center;
  box-shadow: 0px 0px 2px 0px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.prodinfo {
  align-items: center;
  display: flex;
}
.prodinfo p {
  width: 200px;
}

.prodinfo img {
  width: 100px;
  height: 100px;
  margin-right: 20px;
  border-radius: 10px;
}

.prodpricewrapper {
  display: flex;
}

.prodtotal {
  margin-right: 20px;
}

.prodtotal form {
  display: flex;
}

.prodtotal input {
  margin-left: 20px;
  width: 100px;
  padding: 5px;
  border-radius: 10px;
  border-color: #3c4043;
  padding-left: 10px;
}

form label {
  display: flex;
  align-items: center;
}

.total {
  width: 90%;
  margin: 20px auto;
  align-items: flex-end;
  display: flex;
  flex-direction: column;
}

.total button {
  margin-top: 10px;
  font-size: 20px;
  padding: 10px 20px;
  background-color: #3c4043;
  color: white;
  border: none;
  border-radius: 5px;
}

.total button:hover {
  background-color: #327559;
  cursor: pointer;
}

@media screen and (max-width: 780px) {
  .prodtotal {
    margin-right: 0;
  }

  .prodpricewrapper {
    flex-direction: column;
    align-items: flex-end;
  }

  .prodpricewrapper div {
    margin: 3px;
  }

  .prodtotal input {
    width: 60px;
  }
}

@media screen and (max-width: 720px) {
  label {
    font-size: 15px;
  }
}

@media screen and (max-width: 580px) {
  .prod1 {
    width: 95%;
    padding: 5px;
  }

  .prodinfo img {
    padding: 5px;
    width: 90px;
    height: 90px;
  }
}

@media screen and (max-width: 500px) {
  .prod1 {
    flex-direction: column;
  }

  .prodinfo {
    flex-direction: column;
    text-align: center;
  }

  .prodinfo img {
    margin-right: 0;
    width: 140px;
    height: 140px;
  }
  .prodpricewrapper {
    text-align: center;
    align-items: center;
    margin: 10px;
  }

  .prodtotal {
    flex-direction: column;
  }

  .prodtotal input {
    margin-left: 0;
    margin: 0 auto;
    margin-top: 5px;
  }

  .prodtotal form {
    flex-direction: column;
  }

  .prodinfo p {
    font-size: 20px;
    width: 250px;
  }

  .cartwrapper h1 {
    text-align: center;
  }

  .prodprice p {
    margin-top: 10px;
  }

  .total {
    align-items: center;
  }
}
