* {
    margin: 0;
    padding: 0;
    font-family: "Amatic SC", serif;
    font-weight: 700;
}

:root {
    --green: #A3B18A;
    --dark-green: #588157;
    --yellow: #F5E3C3;
}

button {
    cursor: pointer;
}

#blur {
    display: block;
    position: absolute;
    top: 0;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    width: 100%;
    height: 100vh;
    z-index: 100;
}

body {
    display: flex;
    width: 100%;
    height: 100vh;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    position: fixed;
    gap: 3%;
}


#loader{
    display: flex;
    width: 100%;
    height: 100vh;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    position: fixed;
    gap: 3%;
}

#divHomePage {
    display: flex;
    width: 100%;
    height: 100vh;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    position: fixed;
    gap: 3%;
}


.title {
    font-size: 60pt;
    margin-bottom: 1%;
}


#inputItem {
    background-color: var(--green);
    border: 2px solid black;
    border-radius: 20px;
    padding: 1%;
    padding-bottom: 1.3%;
    width: 40%;
    font-size: 25pt;
}

#inputItem::placeholder {
    color: #000000;
    opacity: .7;
}


#divResults {
    width: 42%;
    border: 2px solid #000;
    background-color: var(--yellow);
    border-radius: 20px;
    height: 5vh;
    position: fixed;
    top: 60%;
    height: fit-content;
    max-height: 35vh;
    overflow: scroll;
}

.buttonResult {
    background: none;
    width: 100%;
    border: none;
    border-bottom: 2px solid black;
    font-size: 20pt;
    text-align: left;
    padding: 1%;
    padding-left: 2%;
    cursor: pointer;
    max-height: 10vh;
    overflow: scroll;
}

.lastResult {
    border: none;
}










.divButtons {
    display: flex;
    gap: 3vh;
}

.divButtons>button {
    background-color: var(--yellow);
    border-radius: 10px;
    padding: 1vh 3vh;
    border: none;
    font-size: 17pt;
    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2vh;
    flex-direction: row;
}














#divElement {
    display: flex;
    width: 100%;
    height: 100vh;
    align-items: center;
    justify-content: start;
    flex-direction: column;
    gap: 3%;
}

#navElement {
    width: 100%;
    height: 10vh;

    display: flex;
    justify-content: space-between;
    flex-direction: row;
    align-items: center;
    padding: 0 30%;
}

.divButtonsNavElement{
    display: flex;
    align-content: center;
    justify-content: center;
    flex-direction: row;
    gap: 3vh;
    margin-right: 3vh;
    height: 60%;
}

.divButtonsNavElement>button{
    border: none;

    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    padding: 1% 2vh;
    gap: 1vh;

    height: 100%;

    font-size: 17pt;
    color: #ffffff;

    border-radius: 10px;
}

.buttonDelete{
    background-color: #D64933;
}

.buttonEdit{
    background-color: var(--dark-green);
}

.buttonBack {
    border: none;
    background: none;
    font-size: 20pt;
    margin-left: 3vh;
}


#contentElement {
    width: 100%;
    height: 90vh;

    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-direction: column;
}

.divUpperPartElement {
    width: 80%;
    height: 22vh;

    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row;
}

#pElementName {
    font-size: 70pt;
}

.divLocationLabel {
    display: flex;
    width: 30vh;
    height: 13vh;

    background-color: var(--yellow);
    border-radius: 20px;

    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5vh;

    gap: 1.5vh;
}

.divLocationLabel p {
    width: 30%;
    background-color: var(--green);

    text-align: center;
    height: 100%;
    border-radius: 10px;

    font-size: 50pt;

    align-self: center;
    align-content: center;
}












#divLineDivider {
    width: 90%;
    height: .5vh;
    background-color: var(--dark-green);
    border-radius: 20px;
}



.divLowerPartElement {
    width: 80%;
    height: 64.5vh;

    display: flex;
    flex-direction: row;
}

.divLeftInfoElement {
    width: 60%;
    height: 100%;

    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: column;
    padding-top: 5vh;

    font-size: 30pt;

    gap: 2vh;
}

.divRightImgElement {
    width: 40%;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;
}

#imgInfoElement {
    width: 100%;
    height: fit-content;
    max-height: 80%;
    object-fit: contain;
}





















#divAddEditItem {
    display: block;
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: column;
    width: 60%;
    padding: 2%;

    z-index: 110;

    background-color: #ffffff;
    border-radius: 20px;

    box-shadow: 0px 0px 30px -5px #b9b9b9;

    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.navAddEditItem {
    width: 100%;
    margin-bottom: 2vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row;
}

.navAddEditItem>p {
    font-size: 35pt;
}

.navAddEditItem>button {
    border: none;
    background: none;
}

#buttonCloseModal{
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#buttonCloseModal img{
    width: 70%;
}

.divContentModal {
    width: 100%;
    display: flex;
    flex-direction: row;
}

.divContentModal>div {
    width: 50%;
}

.divContentModal>div>p {
    font-size: 25pt;
    margin-bottom: 1vh;
}

.divContentModal>div>input,
.divContentModal>div select {
    background: none;
    border: 1px solid #000000;
    font-size: 20pt;
    padding: 1% 2%;
    border-radius: 10px;
}

.divContentModal>div select{
    font-size: 17pt;
}

#inputName {
    margin-bottom: 2vh;
    width: 60%;
}


#divCounter {
    display: flex;
    flex-direction: row;
    padding: 1vh;
    gap: 1vh;
    background-color: #E0E0E0;
    border-radius: 10px;
    width: fit-content;
    margin-bottom: 2vh;
}

#divCounter>button,
#divCounter>input {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    width: 6vh;
    height: 6vh;
    font-size: 30pt;

    border: none;
}

.buttonMinusCounter {
    background-color: #D64933;
}

#inputNumberQuantity {
    background-color: #B6B6B6;
    text-align: center;
}

.buttonPlusCounter {
    background-color: #588157;
}






.div_restriction {
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-direction: row;

    gap: 1vh;

    font-size: 16pt;

    cursor: pointer;

    margin: 2vh 0;
}

.div_check_box_palette {
    width: 17px;
    height: 17px;
    border-radius: 5px;
    background-color: var(--theme);
    border: 3px solid #000000;

    display: flex;
    align-items: center;
    justify-content: center;
    transition: none;

    overflow: hidden;
}

.igm_check {
    width: 15px;
}

#checkbox {
    background-color: var(--main);
    border: none;
    cursor: pointer;
    width: 20px;
    height: 20px;
}






input[type="file"] {
    display: none;
}

.custom-file-upload {
    border: 1px solid #000000;
    border-radius: 10px;
    font-size: 17pt;
    padding: 6px 12px;
    cursor: pointer;
    margin-bottom: 1vh;

    display: flex;
    align-items: center;
    justify-content: center;
    width: 30%;

    height: 4vh;
}

.button_delete_uploaded_image{
    border: 2px solid #D64933;
    border-radius: 10px;
    background: none;
    padding: 1%;
    height: 6vh;
    width: 6vh;

    display: flex;
    align-items: center;
    justify-content: center;
}

.button_delete_uploaded_image img{
    object-fit: fill;
    height: 90%;
}

.div_container_image_upload{
    display: flex;
    flex-direction: row;
    gap: 2vh;
}

#pNameFile{
    font-size: 13pt;
}




















.div_selects{
    display: flex;
    flex-direction: row;

    align-items: center;
    justify-content: flex-start;

    font-size: 18pt;
    margin-bottom: 2vh;

    gap: 2vh;
}


.p_required_fields{
    font-size: 18pt;
    margin-top: 1%;
    
}

.spanRequired{
    margin-left: 3vh;
    color: #D64933;
}







.buttonSave{
    background-color: #0096FF;
    border-radius: 50px;
    padding: 1.1% 4%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2vh;
    flex-direction: row;
    color: #ffffff;
    font-size: 20pt;
    margin-top: 1%;
}











#divMessage, #divDeleteItem{
    display: block;
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: column;
    width: 30%;
    padding: 1.5%;
    gap: 2vh;

    z-index: 110;

    background-color: #ffffff;
    border-radius: 20px;

    box-shadow: 0px 0px 30px -5px #b9b9b9;

    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    font-size: 30pt;
}

.button_message_close{
    width: 100%;
    border: none;
    background-color: #A3B18A;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5%;
    font-size: 25pt;
    border-radius: 20px;
}




#divDeleteItem>div{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row;
    margin-top: 2vh;
}

#divDeleteItem>div>button{
    width: 45%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25% 0;
    font-size: 22pt;
    border-radius: 15px;
}

.button_cancel_delete{
    background-color: #E0E0E0;
}

.button_confirm_delete{
    background-color: #D64933;
}





#pCounteExpiredItems{
    width: 3.7vh;
    height: 3.7vh;
    border-radius: 30px;
    color: #fff;
}