html {
  background-color: #2e3440;
  font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
}

header {
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  height: fit-content;
}

.titel {
  color: #8fbcbb;
  background-color: #3b4252;
  padding: 5px;
  margin: 0;
  border-radius: 20px;
  font-size: 2rem;
  height: fit-content;
  width: fit-content;
}
.titel-Price{
  align-self: flex-start;
  left: 10px; /* new */
  top: 10px; /* new */
  position: absolute; /* new */
  color: #8fbcbb;
  background-color: #3b4252;
  padding: 5px;
  margin-top: 10px;
  margin-bottom: 10px;
  border-radius: 20px;
  font-size: 12px;
  height: fit-content;
  width: fit-content;
}

.subTitel {
  height: fit-content;
  width: fit-content;
  color: #8fbcbb;
  background-color: #3b4252;
  padding: 5px;
  margin: 0;
  margin-inline: auto;
  font-size: 1rem;
  border-radius: 10px;
}

footer {
  height: fit-content;
  width: fit-content;
  color: #8fbcbb;
  background-color: #3b4252;
  padding: 5px;
  margin: 0;
  margin-inline: auto;
  font-size: 1rem;

  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  color: white;
  text-align: center;
}

.alert {
  margin-inline: auto;
  margin-top: 20px;
  margin-bottom: 20px;
  padding: 20px;
  font-size: 2rem;
  border-radius: 20px;
  width: fit-content;
  background-color: #f44336;
  color: white;
  text-align: center;
}

.addMoreBtn {
  display: flex;
  margin-top: 20px;
  margin-inline: auto;
  cursor: pointer;
  background-color: #008542;
  color: #e5e9f0;
  border-radius: 10px;
  padding: 5px;
  font-weight: 900;
  border: none;
  font-size: 1.2rem;
}

.box {
  background-color: #4c566a;
  border-radius: 10px;
  height: 5rem;
  margin: 10px;
  display: flex;
  box-shadow: 5px 5px 5px #3b4252;
}

.itemImgContainer {
  border: 3px solid #434c5e;
  border-radius: 10px;
  margin-top: auto;
  margin-bottom: auto;
  margin-left: 5px;
}

.itemImg {
  border-radius: 10px;
  padding: 5px;
  width: 1.3rem;
  height: 1.3rem;
}

.itemTextContainer {
  width: 223px;
  padding: 10px;
  box-sizing: border-box;
  overflow: hidden;
  width: auto;
}

.itemTextTitel {
  color: #0a893d;
  font-size: 100%;
  white-space: nowrap;
  font-weight: 900;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.itemTextDiscription {
  margin-top: 0;
  font-size: 3vw;
  color: #8fbcbb;
  white-space: normal;
  overflow: hidden;
  text-overflow: ellipsis;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2; /* number of lines to show */
          line-clamp: 2; 
  -webkit-box-orient: vertical;
}

.itemTextToEdit{
  font-size: 0.5rem;
  margin: 0;
  padding: 0;
  text-align: center;
  color: #8fbcbb;
  font-weight: bold;
}

.itemStackConatiner {
  display: flex;
  align-items: center;
  border-radius: 10px;
  height: 30px;
  margin-top: auto;
  margin-bottom: auto;
  margin-left: auto;

}

.itemStackIncrease, .itemStackDecrease{
  background-color: #3b4252;
  border: none;
  border-radius: 50%;
  color: #fff;
  line-height: 34px;
  outline: none;
  vertical-align: top;
  width: 34px;
  font-size: 2rem;
  }

  .itemStackCard{
    margin-top: 5px;
    background-color: #2e3440;
    border-radius: 20px;
    font-size: 0;
    line-height: 0;
    margin-inline: auto;
    width: fit-content;
    padding: 3px;
  }

  .countStack-input {
    -moz-appearance: textfield;
    appearance: textfield;
    background-color: #2e3440;
    border:none;
    box-shadow:none;
    color:#fff;
    outline:none;
    text-align:center;
    vertical-align:top;
    border-radius: 25px;
    padding: 10px;
  }

  .countStack-inpu:disabled {
    background:#f5f5f5;
    color:#999
  }
  
  .countStack-inpu::-webkit-inner-spin-button,
  .countStack-inpu::-webkit-outer-spin-button {
    -webkit-appearance: none; 
  }
  

  .itemStackDisplay {
    width: 40px;
    height: fit-content;
    font-size: 1.5rem;
    padding: 1px;
    text-align: center;
    border: 1px solid #ddd;
    color: #8fbcbb;
    border-radius: 10px;
  }



.itemSettingsContaineer {
  text-align: center;
  margin-top: 5px;
}
.itemCheckContaineer {
  margin: 5px;
}

.itemCheck {
  width: 30px;
  height: 30px;
  border-radius: 5px;
}

dialog::backdrop {
  backdrop-filter: blur(10px);
}
dialog{
  background-color: #3b4252;
  text-align: center;
  color: #8fbcbb;
  border: none;
  border-radius: 25px;
}

input[type=text]{
  margin: 5px;
  border-radius: 25px;
}

.sheareList{
background-color: #008542;
color: #e5e9f0;
border: none;
border-radius: 25px;
padding: 10px;
font-weight: 900;
}

.dialogCloseTSubmitButton {
  background-color: #d08770;
  color: #3b4252;
  font-weight: 900;
  border: none;
  border-radius: 25px;
  padding: 10px;
  margin: 5px;
}

#dialogEditTSubmitButton, #dialogAddSubmitButton {
  background-color: #a3be8c;
  color: #3b4252;
  border: none;
  border-radius: 25px;
  font-weight: 900;
  padding: 10px;
  margin: 5px;
}

#deleteButton {
  background-color: #bf616a;
  color: #3b4252;
  font-weight: 900;
  border: none;
  border-radius: 25px;
  padding: 10px;
  margin: 5px;
}
