main {
    display: flex;
    padding: 0;
    min-height: 100vh;
    position: relative;
    z-index: 0;
}

.customizePizza-image-part {
    padding-top: 100px;
    width: 70%;
    height: 100vh;
    background: url('../Assets/customizePizza/customizePizza-background.jpg') no-repeat center center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
    position: sticky;
    top: 0;
}

.customizePizza-image-container {
    width: 40vw;
    height: 40vw;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.customizePizza-image-container img {
    transition: transform 0.3s ease, opacity 0.1s ease, width 0.3s ease, height 0.3s ease;
    object-fit: cover;
    position: absolute;
    /*transform: scale(0.8);*/
    opacity: 1;
}
.customizePizza-image-container .size-small{
    width: 60%;
    height: 60%;
}
.customizePizza-image-container .size-medium{
    width: 80%;
    height: 80%;
}
.customizePizza-image-container .size-large{
   width: 100%;
    height: 100%;
}



.customizePizza-menu-part {
    padding: 100px 30px;
    width: 30%;
    height: 100%;
    background-color: var(--main-white);
    border-left: 1px solid var(--main-black);
    overflow-y: scroll;
}

.customizePizza-menu-part h4 {
    font-family: var(--logo-font);
    color: var(--main-red);
    margin-bottom: 20px;
    border-bottom: 1px solid var(--main-red);
    padding-bottom: 10px;
}

.customizePizza-image-part p {
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.size-part, .sauce-part {
    margin-top: 20px;
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.sauce-part input[type="radio"] + label {
    width: 200px;
}

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

input[type="radio"] + label {
    border: 1px solid var(--main-black);
    color: var(--main-black);
    padding: 5px 10px;
    cursor: pointer;
    width: 100%;
    min-width: 150px;
    max-width: 230px;
    height: 50px;
    display: flex;
    align-items: center;
}
input[type="radio"] + label span{
padding-left: 10px;
    margin-left: auto;
    color: #848484;
    float: right;
}


input[type="radio"] + label img {
    margin-right: 10px;
    height: 100%;
    object-fit: cover;
}

input[type="radio"]:checked + label {
    border: 2px solid var(--main-red);
    color: var(--main-red);
    background-color: var(--main-white);
}

.ingredient-part {
    width: 100%;
    margin-top: 20px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 500px;
    overflow-y: scroll;
}

.ingredient {
    width: 100%;
    padding: 10px;
    height: 70px;
    display: flex;
    align-items: center;
    border: 1px solid var(--main-black);
    margin-bottom: 10px;
    justify-content: space-between;
    /*flex-wrap: wrap;*/
}
.ingredient div{
    height: 100%;
    display: flex;
    align-items: center;
}
.ingredient label{
    margin-right: auto;
    height: 100%;
    display: flex;
    align-items: center;
    /*justify-content: center;*/
}
.ingredient .price{
    height: 100%;
    margin-right: 10px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    color: #848484;

}
.ingredient input{
    width: 30px;
    height: 30px;
    padding: 0;
    margin: 0 10px;
    text-align: center;

}
.ingredient input[type="number"]::-webkit-inner-spin-button,
.ingredient input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.ingredient input[type="number"] {
    -moz-appearance: textfield;
}

.remove-ingredient{
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}

.remove-ingredient.stop{
    background-color: transparent;
    border: lightgray 1px solid;
    --main-red: lightgray;
    pointer-events: none;
}

.remove-ingredient.remove{
    background-color: transparent;
    border: var(--main-red) 1px solid;

}
.add-ingredient{
    width: 30px;
    height: 30px;

    padding: 0;

}
.ingredient label img {
    height: 100%;
    object-fit: cover;
    margin-right: 10px;
}


textarea {
    width: 100%;
    min-height: 100px;
    padding: 10px;
    border: 1px solid var(--main-black);
    resize: none;
}

#pizza_name {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--main-black);
}

#pizza_name_label {
    margin-bottom: 10px;
    display: block;
}

#comment_label {
    display: block;
    margin-top: 10px;
    margin-bottom: 10px;
}

button,#cancel {
    width: 100%;
    height: 50px;
    background-color: var(--main-red);
    color: var(--main-white);
    border: none;
    cursor: pointer;
}
#cancel{
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--main-white);
    color: var(--main-red);
    border: 1px solid var(--main-red);
    font-family: var(--logo-font);
    margin: 20px 0;
    font-size: 1.2rem;
}
button[type="submit"] {
   float: right;
    font-family: var(--logo-font);
    font-size: 1.2rem;

}
@media screen and (max-width: 1100px) {
    main {
        flex-direction: column;
    }
    .customizePizza-image-part {
        width: 100%;
        height: 50vh;
    }
    .customizePizza-menu-part {
        width: 100%;
        height: 50vh;
        padding-top: 30px;
    }
}