:root {
    --desktop-font-size: 16px;
    --mobile-font-size: 22px;
    --pri-color: #FE8E00;
    --pri-button-color: #FE8E00;
    --sec-color: #6A6765;
    --pri-text-color: #2D2C34;
    --sec-text-color: #ffffff;
    --main-form-color: #4F412F;
    --main-hard-shadow-color: #F2C317;
    --sec-hard-shadow-color: #E3540A;
    --shadow-color: #CFB568;
    --main-hard-shadow-input-color: #9F805B;
    --sec-hard-shadow-input-color: #262018;
    --shadow-input-color: #C2AC7A;
    --shadow-dark-color: #181818;
}


.flex-form {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.page-body {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
}

.page-body__wrapper {
    background-color: black;
}

ul {
    list-style: none;
    /*padding: 0;*/
}

.page-header {
    min-width: 100vw;
    padding: 20px 0;
    width: 100vw;
    display: flex;
    justify-content: center;
}

.page-header__title {
    font-family: "Roboto", sans-serif;
    /*font-weight: 200;*/
    font-size: 60px;
    line-height: 72px;
    display: inline;
    margin-block: 0;
    margin: 20px auto;
}

.page-main {
    max-width: 100%;
    margin: 50px auto;
}

.flashes {
    color: greenyellow;

}

.order__wrapper, .main-nav__wrapper {
    display: flex;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.6);
    border: 2px solid white;
    width: 80%;
    border-radius: 25px;
    margin: 0;
    padding: 40px;
    justify-content: center;
    align-items: center;
}

.form-order {
    width: 100%;
}

.order__wrapper {
    margin: 30px auto;
    width: 97%;
    padding: 0;
}

.auth {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.auth__block {
    display: flex;
    flex-direction: column;
    align-items: center;
}

::placeholder {
    color: rgba(255, 255, 255, 0.5);

}

.text-field__input, .order__input, .item, .auth__input {
    height: 60px;
    width: 80%;
    margin: 10px;
    line-height: 30px;
    font-family: "Roboto", sans-serif;
    font-size: 24px;
    text-align: center;
    border-radius: 45px;
    color: #000;
    border: 3px solid var(--sec-text-color);
    background-color: rgba(255, 255, 255, 0.9);
}

.link {
    color: #000;
}

.text-field__input--area {
    width: min-content;
}

.button {
    background: transparent;
    border: 3px solid var(--sec-text-color);
    border-radius: 40px;
    line-height: 30px;
    font-size: 24px;
    color: var(--sec-text-color);
    text-align: center;
    text-decoration: none;
    padding: 10px 20px;
    margin: 10px;
    width: auto; /*width: min-content;    */

}

.button:focus {
    background: rgba(255, 255, 255, 0.4);
}


.topbutton {
    width: 100px;
    border: 2px solid #ccc;
    background: #f7f7f7;
    text-align: center;
    padding: 10px;
    position: fixed;
    bottom: 50px;
    right: 50px;
    cursor: pointer;
    color: #333;
    font-family: verdana;
    font-size: 12px;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    -khtml-border-radius: 5px;
}

.topbuttondown {
    width: 100px;
    border: 2px solid #ccc;
    background: #f7f7f7;
    text-align: center;
    padding: 10px;
    position: fixed;
    bottom: 10px;
    right: 50px;
    cursor: pointer;
    color: #333;
    font-family: verdana;
    font-size: 12px;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    -khtml-border-radius: 5px;
}

.message {
    background: rgba(0, 0, 0, 0.6);
    border: solid 1px var(--sec-text-color);
    border-radius: 25px;
    color: var(--sec-text-color);
    /*font-weight: 100;*/
    margin: auto;
    content: "";
    min-height: 100px;
    width: 80%;
}

.page-header__title {
    font-family: "Roboto", sans-serif;
    /*font-weight: 200;*/
    font-size: 24px;
    line-height: 30px;
    display: inline;
    margin-block: 0;
    margin: 10px auto;
}

.order {
    display: flex;
    flex-direction: column;
    max-width: 90vw;
    margin: 0 auto;
    padding: 0;
}

.order-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 10px;
    padding: 0 20px;
    width: 100%;
}

.order-item__description {
    font-size: 24px;
    display: grid;
    grid-template-columns: 0.35fr 1fr;
    grid-template-rows: 1fr 40px 60px 40px;
    gap: 10px;
    line-height: 30px;
    margin: 10px;
    color: white;
}

.order-item__description2 {
    font-size: 24px;
    display: grid;
    grid-template-columns: 0.35fr 3fr;
    gap: 10px;
    line-height: 48px;
    margin: 10px;
    color: white;
}

.order-item {
    display: flex;
    justify-content: space-between;

}

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

.order-item__image {
    grid-column: 1/2;
    grid-row: 1/2;
    margin: auto;
}

.order-item__name {
    grid-column: 2/3;
    grid-row: 1/2;
    width: 300px;
    display: flex;
}

.order__price {
    grid-column: 1/3;
    grid-row: 2/3;
    text-align: center;
}

.order__amount {
    grid-column: 1/3;
    grid-row: 3/4;
    display: flex;
    justify-content: center;
    vertical-align: center;
    align-items: center;
    font-size: 24px;
    height: 60px;
}

.order-item__comment {
    grid-column: 1/3;
    grid-row: 4/5;
}

.order-item__sep {
    grid-column: 1/3;
    grid-row: 4/5;
    display: flex;
    justify-content: center;
}

.order-item__separate {
    margin: 0 10px;
}

.order-item__updown {
    width: 50px;
    height: 48px;
}

.order-item__checker {
    width: 25px;
    height: 25px;
}


/*Для отчетов*/


.report-title__wrapper {
    display: flex;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.6);
    border: 2px solid white;
    border-radius: 25px;
    justify-content: center;
    align-items: center;

    margin: 30px auto;
    width: 97%;
    padding: 0;
}

.report-title-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 10px;
    padding: 0 20px;
    width: auto;
}

.report-category-list {
    list-style: none;
    /*display: flex;*/
    flex-direction: column;
    align-items: center;
    margin-bottom: 10px;
    width: 100%;
}

.report-list {
    /*column-count:3;*/
    list-style: none;
    /*display: flex;*/
    flex-direction: column;
    align-items: center;
    margin-bottom: 10px;
    padding: 0 20px;
    width: 97%;
}

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

.report__wrapper {
    display: flex;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.6);
    border: 2px solid white;
    border-radius: 25px;
    justify-content: center;
    align-items: center;

    margin: 30px auto;
    width: 97%;
    padding: 0;
}

.report-category {
    color: black;
    background-color: white;
    border-radius: 25px;
    padding: 8px;
    align-items: center;
}


/*Таблицы*/

.table {
    margin: 0;
    padding: 15px;
    border-collapse: collapse;
    border: 1px solid white;
}

.table-head {
    margin: 0;
    padding: 15px;
    border-bottom: 2px solid white;
    width: 120%;
    text-align: center;
    border: 3px solid var(--sec-text-color);
    border-radius: 70px;
    line-height: 60px;
    font-size: 48px;
}

.table-row .column {
    background: rgba(255, 255, 255, 0.4);
    padding: 10px;

}

/*Диаграммы*/

.chart-container {
    position: relative;
    height: 90vh;
    width: 80vw;
    margin: 50px 50px;
    background-color: white;
}

.myChart {
    position: relative;
    height: 60vh;
    width: 80vw;
    margin: 50px 50px;
    background-color: white;
}


.order-item__updown--up {
    background: url("../../static/img/plus.svg");
}

.order-item__updown--down {
    background: url("../../static/img/minus.svg");
}

.item {
    height: auto;
    line-height: 30px;
}

.link {
    text-decoration: none;
    color: #000;
}

.product-image {
    border-radius: 45px;
    border: 1px solid white;
    margin: 10px;
}


@media (max-device-width: 730px) {
    /*global*/
    .page-main {
        display: flex;
        flex-direction: column;
    }

    .page-header {
        background-color: rgba(0, 0, 0, 0.3);
        margin-bottom: 20px;
    }

    .page-body {
        background: url('../../static/img/bg.jpg') no-repeat;
        background-size: cover;
        font-family: "Roboto", sans-serif;
        font-size: 24px;
        line-height: 1.4em;
        color: var(--sec-text-color);
        width: 100vw;
        min-height: 100vh;
        margin: 0;
        padding: 0;
    }

    /*flex main*/
    .flex-form {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
    }

    .page-body {
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
        align-items: center;
    }

    .page-body__wrapper {
        background-color: black;
    }

    ul {
        list-style: none;
    }

    .page-header {
        min-width: 100vw;
        padding: 20px 0;
        width: 100vw;
        display: flex;
        justify-content: center;
    }

    .page-header__title {
        font-family: "Roboto", sans-serif;
        /*font-weight: 200;*/
        font-size: 60px;
        line-height: 72px;
        display: inline;
        margin-block: 0;
        margin: 20px auto;
    }

    .page-main {
        max-width: 100%;
        margin: 50px auto;
    }

    .flashes {
        color: greenyellow;
    }

    .message {
        background: rgba(0, 0, 0, 0.6);
        border: solid 1px var(--sec-text-color);
        border-radius: 25px;
        color: var(--sec-text-color);
        /*font-weight: 100;*/
        margin: auto;
        content: "";
        min-height: 150px;
        width: 80%;
    }

    .main-wrapper {
        width: 100vw;
        margin: 0;
    }

    .hidden {
        display: none;
    }

    .link {
        text-decoration: none;
        color: var(--sec-text-color);
    }

    .order {
        display: flex;
        flex-direction: column;
        max-width: 90vw;
        margin: 0 auto;
        padding: 0;
    }

    .order__wrapper, .main-nav__wrapper {
        display: flex;
        flex-direction: column;
        background: rgba(0, 0, 0, 0.6);
        border: 2px solid white;
        width: 80%;
        border-radius: 25px;
        margin: 0;
        padding: 40px;
        justify-content: center;
        align-items: center;
    }

    .order__wrapper {
        margin: 30px auto;
        width: 95%;
        padding: 0;
    }

    .text-field__input, .order__input, .item, .auth__input {
        height: 120px;
        width: 80%;
        margin: 20px;
        line-height: 60px;
        font-family: "Roboto", sans-serif;
        font-size: 48px;
        text-align: center;
        border-radius: 45px;
        color: var(--sec-text-color);
        border: 3px solid var(--sec-text-color);
        background-color: rgba(255, 255, 255, 0.3);
    }

    .text-field__input--area {
        width: min-content;
    }

    .order__input--date, .auth__input {
        background-color: rgba(255, 255, 255, 0.2);
    }

    .items-list {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 0;
    }

    .item {
        max-width: 80%;
        display: flex;
        align-items: center;
    }

    .link {
        font-size: 48px;
        /*font-weight: 300;*/
        margin: auto;
    }


    .text-field__label, .order__label, .auth__label {
        font-size: 36px;
        padding: 20px 20px 0 20px;

    }

    .button {
        background: transparent;
        border: 3px solid var(--sec-text-color);
        border-radius: 70px;
        line-height: 60px;
        font-size: 48px;
        color: var(--sec-text-color);
        text-align: center;
        text-decoration: none;
        padding: 20px 40px 20px 40px;
        margin: 20px;
        width: auto; /*width: min-content;    */

    }

    .button:focus {
        background: rgba(255, 255, 255, 0.4);
    }

    .footer {
    }

    .auth {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .auth__block {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    ::placeholder {
        color: rgba(255, 255, 255, 0.5);

    }

    /*Login*/
    .option {
        display: block;
        margin-bottom: 0.4em;
        font-size: 48px;
    }

    /* Check */
    .check {
        padding-left: 1.2em;
    }

    .check__input {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
    }

    .check__box {
        position: absolute;
        margin-left: -1em;
        width: 0.6em;
        height: 0.6em;
        overflow: hidden;
        border-radius: 0.05em;
        background-color: white;
        background-repeat: no-repeat;
        background-position: 50% 50%;
        box-shadow: 0 0 0 0.1em var(--pri-color);
    }

    /* Checked */
    .check__input:checked + .check__box {
        background-color: var(--pri-color);
        background-image: url(../img/check.svg);
    }

    /* Focused */
    .check__input:focus + .check__box {
        box-shadow: 0 0 0 0.1em #4A90E2,
        0 0 0 0.2em #7ED321;
    }

    /* Disabled */
    .check__input:disabled + .check__box {
        box-shadow: 0 0 0 0.1em #9B9B9B;
    }

    .check__input:checked:disabled + .check__box {
        background-color: #9B9B9B;
    }

    .form-order {
        margin: 0 auto;
    }

    .form-order__wrapper {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin: 0 auto;
        position: relative;
    }

    .form-order__head {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        background: rgba(20, 20, 20, 0.6);
        border-radius: 70px;
        border: solid 1px white;
        padding: 15px;
        margin: 0 auto;
    }

    .order-list {
        list-style: none;
        display: flex;
        flex-direction: column;
        padding: 0;
        align-items: center;
        margin-bottom: 30px;
    }

    .order-item__description {
        font-size: 36px;
        display: grid;
        grid-template-columns: 0.35fr 1fr;
        grid-template-rows: 1fr 40px 1fr 40px 40px;
        gap: 20px;
        line-height: 48px;
        margin: 10px;
        color: white;
    }

    .order-item__description2 {
        font-size: 36px;
        display: grid;
        grid-template-columns: 0.35fr 3fr;
        gap: 20px;
        line-height: 48px;
        margin: 10px;
        color: white;
    }

    .order-item__image {
        grid-column: 1/2;
        grid-row: 1/2;
        margin: auto;
    }

    .order-item__name {
        grid-column: 2/3;
        grid-row: 1/2;
        display: flex;
    }

    .order__price {
        grid-column: 1/3;
        grid-row: 2/3;
        text-align: center;
    }

    .order__amount {
        grid-column: 1/3;
        grid-row: 3/4;
        display: flex;
        justify-content: center;
        align-self: center;
        align-items: center;
        font-size: 24px;
    }

    .order-item__comment {
        grid-column: 1/3;
        grid-row: 4/5;
    }

    .order-item__sep {
        grid-column: 1/3;
        grid-row: 5/6;
        display: flex;
        justify-content: center;
    }

    .order-item__separate {
        margin: 0 10px;
    }

    .order-item__updown {
        width: 60px;
        height: 60px;
    }

    .order-item__checker {
        width: 40px;
        height: 40px;
    }

    .order-item__updown--up {
        background: url("../../static/img/plus.svg");
    }

    .order-item__updown--down {
        background: url("../../static/img/minus.svg");
    }
}


@media (min-device-width: 731px) {
    /*global*/
    .page-main {
        display: flex;
        flex-direction: column;
    }

    .page-header {
        background-color: rgba(0, 0, 0, 0.3);
        margin-bottom: 20px;
    }

    .page-body {
        background: url('../../static/img/bg.jpg') no-repeat;
        background-size: cover;
        font-family: "Roboto", sans-serif;
        font-size: 24px;
        line-height: 1.4em;
        color: var(--sec-text-color);
        width: 100vw;
        min-height: 100vh;
        margin: 0;
        padding: 0;
    }
}
