.netWorth {
  /* display: inline; */
  /* margin-right: 1rem;
  margin-left: 1rem; */
  padding-right: 10px;
  padding-left: 10px;
  width: min-content;
  color: white;
  transition: all 500ms ease-in-out;
  font-family: "Rampart One";
  font-size: 3rem;
}
.item {
  font-family: "Balsamiq Sans";
}
.akhanouch {
  width: 100px;
  height: 100px;
  margin-left: 50px;
}

#a {
  animation: slideInDown 1000ms;
}

#b {
  animation: slideInRight 1000ms;
}

#c {
  animation: slideInLeft 1000ms;
}

body {
  background-color: whitesmoke;
  margin: 0%;
}

#header {
  display: flex;
  justify-content: center;
  padding: 0.5rem;
  background-color: white;
  font-size: 20px;
  /* width: 100%; */
}

#networthHeader {
  display: flex;
  justify-content: center;
  background-color: teal;
  position: sticky;
  top: 0%;
  left: 0%;
  box-shadow: 0 1em 1em rgb(0 0 0 / 30%);
  margin-bottom: 4rem;
  z-index: 9;
  transition: 500ms ease-in-out;
}

#grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 0;
  max-width: 1000px;
  margin: 0 auto;
  animation: flipInX;
  animation-duration: 1000ms;
  width: 90%;
}

.ggrid {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 2fr 0.5fr 0.5fr 0.5fr;
  padding: 2rem;
  padding-top: 25px;
  background-color: white;
  border: unset;
  box-shadow: 0 0.25em 1em rgb(0 0 0 / 10%);
  border-radius: 10px;
  text-align: center;
  width: 400px;
  margin: 0 auto;
}
.itemImg {
  margin: 0 auto;
}
.oh {
  /* height: 40px; */
  width: 100px;
  font-size: 30px;
  padding: 0%;
  border: rgb(0 0 0 / 10%) solid 2px;
  border-radius: 10px;
  outline: none;
  text-align: center;
}

input::placeholder {
  font-size: 20px;
  width: 100%;
  display: flex;
  justify-content: center;
}

.details {
  display: grid;
  grid-template-columns: 100%;
}

.btn {
  height: 100%;
  background-color: teal;
  border: unset;
  font-size: 15px;
  font-weight: bold;
  text-align: center;
  transition: 300ms linear;
  padding: 0%;
  margin: 0%;
  width: 50px;
  /* border: 1px solid teal; */
}

.btn:hover {
  background: white;
  border: 1px solid teal;
  border-radius: 50px;
}

.sellNBuy {
  display: flex;
  justify-content: space-between;
  max-width: fit-content;
  margin: 0 auto;
  position: relative;
  height: 50px;
}

.input {
  width: 200px;
  border-radius: 0%;
}

.taman {
  color: teal;
}

.recipe {
  display: block;
  width: 50%;
  margin: 0 auto;
  border-radius: 20px;
  box-shadow: 0 0.25em 1em rgb(0 0 0 / 50%);
  margin-bottom: 150px;
  background-color: rgb(127, 191, 187);
  margin-top: 5rem;
  font-size: 15px;
}

.facture {
  position: sticky;
  text-align: center;
  padding-top: 10px;
}

.lineOfReceipe {
  height: 2px;
  width: 100%;
  background: black;
  position: relative;
  top: 65%;
}

.itemInTheReceipe {
  display: flex;
  position: relative;
}

.itemNameInTheReceipe {
  position: relative;
  flex: 1.5;
  left: 10px;
  max-width: 20ch;
}

.itemQuantity {
  color: white;
  flex: 0.4;
  text-align: end;
}

.itemTotalDue {
  flex: 1;
  text-align: end;
  padding-right: 20px;
}

.total {
  position: relative;
  top: 67%;
  display: flex;
  justify-content: space-between;
  padding: 15px;
}

/* .totalPrice {
  position: relative;
}

.totalText {
  position: relative;
} */

img {
  width: 300px;
  height: 200px;
}

footer {
  background-image: linear-gradient(to top, teal, whitesmoke);
  height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-top: 50px;
  flex-direction: column;
}

/* @media (max-width: 1300px) {
  #big {
    font-size: 18px;
  }
}

@media (max-width: 1050px) {
  #grid {
    max-width: 850px;
    gap: 10px 0;
  }

  .ggrid {
    width: 350px;
  }

  #big {
    font-size: 18px;
  }

  img {
    width: 240px;
    height: 160px;
  }

  .item {
    font-size: 1.3rem;
  }
}

@media (max-width: 900px) {
  #grid {
    max-width: 750px;
  }

  .ggrid {
    width: 300px;
  }

  #header {
    font-size: 13px;
  }
}

@media (max-width: 800px) {
  #grid {
    max-width: 650px;
  }

  .ggrid {
    width: 250px;
  }

  img {
    width: 150px;
    height: 100px;
  }

  #big {
    font-size: 13px;
  }
}

@media (max-width: 700px) {
  #grid {
    max-width: 550px;
  }

  .ggrid {
    width: 200px;
  }

  img {
    width: 120px;
    height: 80px;
  }

  #big {
    font-size: 13px;
  }

  .oh {
    width: 50px;
  }
}

@media (max-width: 600px) {
  #grid {
    max-width: 450px;
  }

  .ggrid {
    width: 150px;
  }

  img {
    width: 120px;
    height: 80px;
  }

  #big {
    font-size: 13px;
  }

  .oh {
    width: 50px;
    height: 24px;
    font-size: 15px;
  }

  input::placeholder {
    font-size: 5px;
  }

  .btn {
    height: 25px;
    width: 25px;
    font-size: 10px;
  }
} */
@media (max-width: 980px) {
  .ggrid {
    width: 80%;
  }
  .recipe {
    font-size: 13px;
    width: 70%;
  }
  .netWorth {
    font-family: "Balsamiq Sans";
  }
}
