body {
    background-color: #5749A4;
    font-family: 'Roboto', sans-serif;
    margin: 10px;
    margin-top: 30px;
    margin-bottom: 30px;
    overflow: hidden;
}

main {
    height: 94vh;
}

.separatorSmall{
    min-height: 120px;
}

.separatorBig{
    min-height: 361px;
    min-height: 250px;
    min-height: 230px;
}

.lightBackground{
    background-color: #988DFF;
}

.saveDB{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
}

.saveDBBox{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.adaptivButton{
    display: flex;
    align-items: center;
    color: white;
    height: 100px;
    box-shadow: 4px 4px 50px rgba(0, 0, 0, 0.35);
    border-radius: 10px;
    margin-top: 20px;
}

.adaptivButtonBig{
    display: flex;
    align-items: center;
    color: white;
    height: 150px;
    box-shadow: 4px 4px 50px rgba(0, 0, 0, 0.35);
    border-radius: 10px;
    margin-top: 20px;
}

.adaptivButtonText {
    text-align: center;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 40px; /* Adjust the font size as needed */
    margin-left: 10px;
    margin-right: 10px;
}

.smallerButton {
    display: flex;
    align-items: center;
    color: white;
    width: 300px;
    height: 100px;
    box-shadow: 4px 4px 50px rgba(0, 0, 0, 0.35);
    border-radius: 10px;
    margin-top: 20px;
}

.smallButton {
    display: flex;
    align-items: center;
    background-color: green;
    color: white;
    width: 485px;
    height: 161px;
    box-shadow: 4px 4px 50px rgba(0, 0, 0, 0.35);
    border-radius: 10px;
}

.bigButton {
    display: flex;
    align-items: center;
    background-color: green;
    color: white;
    width: 636px;
    height: 161px;
    box-shadow: 4px 4px 50px rgba(0, 0, 0, 0.35);
    border-radius: 10px;
}

.leftButtonSide{
    width: 100px;
    height: 100%;
}

.rightButtonSide{
    width: 100%;
}

.icon {
    text-align: center;
    margin-top: 55px;
    height: 50;
    width: 50;
    background-color: white;
    color: #5749A4;
    margin-left: 10px;
    margin-right: 10px;
    border-radius: 100%;
    font-weight: bold;
}

.iconNoRadius{
    text-align: center;
    margin-top: 23px;
    height: 50;
    width: 50;
    color: white;
    font-size: 40px;
}

.iconNoRadiusBig{
    text-align: center;
    margin-top: 47px;
    height: 100%;
    width: 50;
    color: white;
    font-size: 40px;
}

.buttonName {
    text-align: center;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* Adjust the font-size for the overall button if needed */
.smallButton, .bigButton, .buttonName {
    font-size: 40px; /* Adjust the font size as needed */
}

.line{
    height: 100%;
    background-color: #5749A4;
    min-width: 3px;
}

.smallButonSpacer{
    width: 40px;
}

.bigButonSpacer{
    width: 420px;
}

.red{
    background-color: #FF0000;
}

.orange, .avarageStack{
    background-color: #FFA500;
}

.green, .goodStack{
    background-color: #008000;
}

.gray, .grayStack{
    background-color: #808080;
}

.aNoDeco{
    text-decoration: none;
}

.aNoUnderline{
    color: #5749A4;
}

.aNoUnderlineSomethingInStack{
    color: #4CF9CF;
}

.aNoUnderlineFullStack{
    color: #F9954C;
}

.aNoUnderlinebadStack{
    color: #FF0000;
}

.aNoUnderlineavarageStack{
    color: #FFA500;
}

.aNoUnderlinegoodStack{
    color: #008000;
}

.redX{
    color: #FF0000;
}

.sideViewBigPallet{
    position: absolute;
    top: 65px;
    right: 80px;
    z-index: 9999;
    /* Add any other styles you want for the top left corner */
}

.sideViewClose{
    display: flex;
    justify-content: center;
    margin-right: 30px;
    margin-top: 30px;
    width: 100%;
    height: 200px;
}


.sideViewContent{
    display: flex;
    justify-content: center;
    height: 92%;
    width: 54vh;
    margin-left: 30px;
    margin-right: 30px;
}

.sideViewContentStack{
    height: 100%;
    width: 100%;
    max-width: 700px;
    margin: 10px;
    display: flex;
    flex-direction:column-reverse;
}

.sideViewContentStackName{
    text-align: center;
    font-size: 100px;
    font-weight: bolder;
    color: white;
}

.sideViewContentStackItem{
    display: flex;
    justify-content: space-between;
    height: 378px;
    margin: 10px;
    background-color: #5749A4;

}

.sideViewNumber{
    font-size: 45px;
    font-weight: bolder;
    color: #5749A4;
    text-align: center;
    background-color: white;
    padding: 6px;
    padding-left: 20px;
    padding-right: 15px;
    border-radius: 15px;
}

.sideViewBox{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 84%;
    margin-left: -200px;
    margin-top: 62px;
    border-top-left-radius: 60px;
    border-top-right-radius: 60px;

}

.sideViewBoxTop{
    display: flex;
    width: 93%;
    height: 30%;
    margin-bottom: 20px;

}

.sideViewBoxName{
    font-size: 40px;
    width: 100%;
    color: white;
    color: red;
    font-weight: bolder;
    text-align: center;
}

.sideViewBoxMiddle{
    display: flex;
    width: 93%;
    height: 30%;
    margin-top: 20px;
    color: white;

}

.sideViewBoxBottom{
    display: flex;
    width: 93%;
    height: 10%;
    margin-top: 10px;
    color: white;

}
.sideViewBoxOrigin{
    font-size: 20px;
    text-align: center;
    width: 100%;
}

.sideViewBoxOrigin .idkCirkus{
    display: inline;
    color: yellow;
    font-weight: bolder;
}

.sideViewBoxDate{
    width: 50%;
}


.sideViewBoxVyskladneno{
    width: 50%;
}

.sideViewBoxDate, .sideViewBoxVyskladneno{
    font-size: 25px;
    text-align: center;
}

.amountBox{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    color: white;
    font-size: 80px;
    font-weight: bolder;
}

.amountBoxInner{
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #988DFF;
    color: white;
    font-size: 80px;
    font-weight: bolder;
    padding: 25px;
    border-radius: 20px;
}

.amountBoxNext button{
    width: 100%;
    height: 100%;
    font-size: 80px;
    font-weight: bolder;
    border-radius: 20px;
    background-color: #008000;
    border: none;
    color: white;
    border-radius: 20px;
}

.amount{
    width: 510px;
    height: 60px;
    font-size: 80px;
    text-align: right;
    padding: 10px;
    border-radius: 10px;
    border-radius: 20px;
    background-color: #5749A4;
}

.numPad {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    margin-top: 20px;
    margin-bottom: 20px;
}


.numZero{
    grid-column: span 2;
    width: 424px;
    height: 200px;
    border-radius: 5% / 10%;
    border: none;
    background-color: hsl(0, 0%, 30%);
    color: white;
    font-size: 3rem;
    font-weight: bold;
    cursor: pointer;
    margin: 4px;
    place-self: center;
}

.numPadButton{
    width: 212px;
    height: 200px;
    border-radius: 10%;
    border: none;
    background-color: hsl(0, 0%, 30%);
    color: white;
    font-size: 3rem;
    font-weight: bold;
    cursor: pointer;
    margin: 4px;
    place-self: center;
}

.amountText{
    text-align: center;
}

.yesNo{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    margin-top: 20px;
    margin-bottom: 20px;
}

.yesNoItem {
    width: 300px;
    height: 250px;
    border-radius: 10%;
    border: none;
    background-color: hsl(0, 0%, 30%);
    color: white;
    font-size: 3rem;
    font-weight: bold;
    cursor: pointer;
    margin: auto; /* centers the items horizontally within the grid */
    display: flex;
    justify-content: center; /* centers text horizontally */
    align-items: center; /* centers text vertically */
    text-decoration: none; /* removes underline from text */
}

a {
    text-decoration: none; /* this removes underlines from all anchor tags */
    color: inherit; /* ensures that anchor tags use the text color specified in .yesNoItem */
}

.chemicals{
    margin-top: 50px;
    margin-bottom: 50px;
    width: 100%;
}

.chemical{
    display: inline-block;
    padding: 25px;
    width: 30.99%;
}

.chemicalButtons{
    text-align: center;
    font-size: 40px;
    font-weight: bolder;
    text-wrap:wrap;
    width: 100%;
    height: auto;
    min-height: 110px;
}

.sizeButtons{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: 100vh;
}

.sizeButton{
    text-align: center;
    font-size: 100px;
    font-weight: bolder;
    text-wrap:wrap;
    width: 100%;
    margin: 25px;
    margin-top: 150px;
    margin-bottom: 150px;
}

.LeftMidle{
    flex: 1;
}

.RightMidle{
    flex: 1;
    margin-right: -15px;
    margin-left: 200px;
}

.midle {
    display: flex;
}

.bottom {
    display: flex;
    justify-content: space-between;
}

footer {
    margin-left: 30px;
    margin-right: 30px;
    margin-bottom: 30px;
    display: flex;
    justify-content: wrap;
}

.bottomSpacer {
    margin-left: 100px;
}

.LeftMidle,
.RightMidle {
    width: 50%;
}

.stack {
    display: flex;
    flex-wrap: wrap;
}

.fullStack{
    background: #F9954C;
}

.somethingInStack{
    color: #4CF9CF;
    background-color: #4CF9CF;
}

.bigStack {
    max-height: 916px;
    max-width: 50%;
    display: flex;
}

.bigStackItem {
    min-height: 120px;
    min-width: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
}

.smallStackItem {
    min-height: 86.93px;
    min-width: 91px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
}

.noneSmall {
    border: none;
    margin-left: 2px;
    margin-right: 2px;
}

.noneBig {
    border: none;
    margin-left: 2px;
    margin-right: 2px;
}

.all {
    border: 1px solid white;
    border-radius: 10px;
}

.noTop {
    border-bottom: 1px solid white;
    border-left: 1px solid white;
    border-right: 1px solid white;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.noBottom {
    border-top: 1px solid white;
    border-left: 1px solid white;
    border-right: 1px solid white;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.noLeft {
    border-top: 1px solid white;
    border-right: 1px solid white;
    border-bottom: 1px solid white;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

.noRight {
    border-top: 1px solid white;
    border-left: 1px solid white;
    border-bottom: 1px solid white;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}

.onlySides {
    border-left: 1px solid white;
    border-right: 1px solid white;
}

.onlyTopBottom {
    border-top: 1px solid white;
    border-bottom: 1px solid white;
}

.bottomDots {
    border-bottom: 1px dashed white;
}

.rightDots {
    border-right: 1px dashed white;
}

.stackName {
    min-width: 75%;
    text-align: center;
}

.counter{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.counterSmall {
    min-width: 10%;
    max-width: 25%;
    margin-right: 5px;
    min-height: 110px;
}

.counterBig {
    width: 10px;
    min-width: 10%;
    max-height: 115px;
}

.counterItemSmall {
    width: 11px;
    height: 7px;
    border: 1px solid white;
    margin-top: 2px;
    margin-bottom: 2px;
    margin-right: 5px;
}

.counterItemSmallFull {
    width: 11px;
    height: 7px;
    border: 1px solid white;
    margin-top: 2px;
    margin-bottom: 2px;
    background-color: white;
    margin-right: 5px;
}

.counterItemBig {
    width: 11px;
    height: 9px;
    border: 1px solid white;
    margin-top: 2px;
    margin-bottom: 2px;
}

.counterItemBigFull {
    width: 11px;
    height: 9px;
    border: 1px solid white;
    margin-top: 2px;
    margin-bottom: 2px;
    background-color: white;
}

.itemMarginLeftRight {
    margin-left: 5px;
    margin-right: 5px;
}

.itemMarginLeft {
    margin-left: 5px;
}

.itemMarginRight {
    margin-right: 5px;
}

.itemMarginTopBottom {
    margin-top: 5px;
    margin-bottom: 5px;
}

.itemMarginTop {
    margin-top: 5px;
}

.itemMarginBottom {
    margin-bottom: 5px;
}

.itemMarginLeftRightBottomSpacer {
    margin-left: 225px;
    margin-right: 230px;
}

.available-item {
    background-color: green;
}

.not-best-item {
    background-color: yellow;
}

.not-available-item {
    background-color: red;
}

.inventura{
    text-align: center;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 99%;
    margin-left: 0.5%;
    margin-right: 0.5%;
}

.inventuraChems {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(33.3%, 1fr));
}

.inventuraChemItem {
    display: flex;
    justify-content: flex-start;
    border: 1px solid #272727;
    border-radius: 5px;
    padding: 2px;
    padding-left: 5px;
    margin: 5px;
    text-align: left;
    background-color: hsl(0, 0%, 30%);
    color: white;
}

.product {
    text-align: left;
    flex-basis: 60%; /* Adjusts the width of the product */
    margin-right: auto; /* Pushes all other spans to the right */
}

.quantity {
    text-align: right;
    flex-basis: 15%; /* Adjusts the width of the quantity */
}

.weight {
    text-align: right;
    flex-basis: 25%; /* Adjusts the width of the weight */
}
