* {
  margin: 0;
  padding: 0;
}

.img {
  width: 250px;
  height: 70%;
  max-height: 250px;
  border-top-left-radius: 1.5rem;
  border-top-right-radius: 1.5rem;
}

#result {
  max-width: 80%;
  margin: 0 auto;
  /* display: grid; */
  /* gap: .7rem; */
  /* grid-template-columns: 1fr 1fr 1fr 1fr; */
  display: flex;
  flex-wrap: wrap;
  /* padding: 0.5rem; */
  justify-content: space-evenly;
  margin-bottom: 1.5rem;
}

#cart {
  width: 65%;
  margin: 0 auto;
}

#total, #total_discount {
  width: 65%;
  margin: 0 auto;
  text-align: right;
}

.card {
  /* flex: auto; */
  min-width: 18%;
  min-height: 30vh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid black;
  border-radius: 1.5rem;
}

.card p{
  text-align: center;
}

.card button{
  height: 2.2rem;
  width: 60%;
  justify-self: center;
}

#shoppingCart {
  opacity: 0;
  text-align: center;
  font-size: 1.2rem;
}

#cart-item {
  padding-top: 1.3rem;
  width: 65%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 3fr 5fr 4fr 1.4fr 4fr;
  align-items: center;
  text-align: center;
  font-size: 1.5rem;
  opacity: 0;
}

.item{
  height: 4.5rem;
  display: grid;
  grid-template-columns: 3fr 5fr 4fr 1.4fr 4fr;
  align-items: center;
  text-align: center;
}

#total, #total_discount {
  display: grid;
  grid-template-columns: 13.4fr 4fr;
  align-items: center;
  text-align: center;
}


.item p{
  margin-top: 5px;
}

.reduced {
  color: green;
  font-size: 1.2rem;
}

.normal {
  text-decoration: line-through;
  color: red;
  font-size: 0.9rem;
}

.end {
  font-size: 1.7rem;
  color: green;
  text-decoration: double underline;
}

.end_normal {
  font-size: 1.3rem;
  color: red;
}

#price{
  font-size: 1.7rem;
  /* color: green; */
  text-decoration: double underline;
}

#total_discount{
  margin-bottom: 2rem;
}

#menge{
  display: flex;
  flex-direction: column;
}

#plusminus{
  /* width: 60px; */
  display: flex;
  justify-content: space-evenly;
  font-size: 1.2rem;
  margin-bottom: .3rem;
}

.pay{
  font-size: 1.7rem;
  text-align: right;
}
.right{
  text-align: right;
}

#imgCart {
  margin: 0 auto;
  width: 5.5rem;
  height: 90%;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  align-self: center;
  justify-self: center;
}

.h1{
  font-size: 2.5rem;
}
