@charset "UTF-8";
html, body {
    margin: 0;
    box-sizing: border-box;
    height: 100%;
    padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
}

body {
    background: radial-gradient(#272727, #606060);
}

main {
    z-index: 10;
    position: relative;
}

header {
    margin: 0;
    height: 125px;
    overflow-y: hidden;
    animation: fadeIn 1 1s ease-out;
}

section {
    padding: 50px;
}

a {
    color: #ffffff;
}

a:hover {
    color: #ffffff;
}

/*--------------------------------------------------------main-------------------------------------------------------*/
.about, .calculator, .diet {
    display: flex !important;
    width: 100%;
}

.main-body {
    display: grid !important;
    justify-content: center !important;
    align-self: center !important;
    align-items: center !important;
}

.diet {
    background-color: rgba(0, 0, 0, 0.5);
}

.about-col {
    background-color: transparent !important;
}

.about-second-col, .calculator-second-col {
    background-color: rgba(0, 0, 0, 0.5) !important;
}

.about-second-col {
    padding: 10px;
    align-content: flex-end !important;
}

.about-main-row {
    width: 100%;
    justify-content: center;
    align-self: center;
}

.about-text {
    text-align: center;
    border-radius: 10px;
    padding: 10px;
    font-size: 18px;
    font-weight: 500;
    color: #272727;
    background-color: #f1f1f1;
}

.about-col-text-second {
    display: flex !important;
    padding: 0;
    justify-content: center;
    justify-items: center;
    border-bottom: 2px solid white;
    border-left: 2px solid white;
    border-right: 2px solid white;
}

.about-text-second {
    color: white;
    font-weight: bold;
    font-size: 17px;
    text-transform: uppercase !important;
}

#about_text_column {
    align-self: center;
}

.diet-col, .about-col {
    background-color: transparent !important;
    display: flex !important;
    justify-content: center;
    align-self: center;
    justify-items: center;
    padding: 15px;
}


/*Diet example*/
.weekdays {
    width: 100% !important;
    z-index: 10;
    text-align: center;
    padding: 0;
}

.weekdays-list {
    display: flex !important;
    gap: 5px;
    padding: 0;
}

.weekdays_btn {
    border: 0;
}

.weekdays-list-element {
    width: 15%;
    border-radius: 10px;
    border: 1px solid #f1f1f1;
}

.weekdays_btn {
    font-size: 20px !important;
    align-items: center !important;
    align-content: center;
    width: 100%;
    height: 50px;
    border-radius: 10px;
}
.meal-cards {
    justify-content: center !important;
}

@media (max-width: 990px) {
    .meal-cards {
        display: grid;
    }
}
@media (min-width: 991px) {
    .meal-cards {
        display: flex;
    }
}


.meal-order-name {
    align-self: center !important;
    justify-content: center !important;
    padding: 10px;
    font-weight: 600;
    line-height: 22px;
    font-size: 20px;
    color: #f1f1f1;
}

.free-meal-order-row {

}

@media (max-width: 767px) {
    .calculator-second-col {
        background-color: transparent !important;
    }
}

@media (max-width: 991px) {
    .diet-card {
        padding: 5px;
    }

    .free-meal-order-row {
        width: 100%;
    }

    .main-meal-order-row {
        width: 100%;
    }

    .meal-order-name {
        display: flex;
    }

    .meal-arrow-down {
        display: none;
    }

    .meal-arrow-right {
        display: flex;
    }
}

@media (min-width: 991px) {
    .diet-card {
        padding: 15px;
    }

    .free-meal-order-row {
        align-content: flex-start;
        width: 30%;
    }

    .main-meal-order-row {
        width: 70%;
    }

    .meal-order-name {
        display: inline-grid;
    }

    .meal-arrow-down {
        display: flex;
    }

    .meal-arrow-right {
        display: none;
    }
}

.meal-arrow-right, .meal-arrow-down {
    justify-content: center;
    color: white;
    padding: 1px;
    align-self: baseline;
    line-height: 28px;
    font-size: 25px;
}

.dish_col {
    text-align: start;
}

.meal-info-row-title {
    color: white;
    text-align: center;
}

.meal-kpfc-info {
    padding: 5px;
}

.meal-kpfc-info-title {
    font-weight: 500;
    font-size: 18px;
    color: #dddddd;
    align-content: center;
    text-align: center;
}

.meal-info-col {
    justify-items: center;
    text-align: center;
    font-size: 14px;
    line-height: 15px;
    font-weight: 500;
}

.meal-info-text {
    font-size: 20px;
    font-weight: 600;
    padding: 0;
}

/*Dish card*/
.dish-card {
    background-color: #f1f1f1;
    border-radius: 10px;
}

.dish_col {
    text-align: center;
    padding: 10px;
    margin: 0;
}

.card-body {
    padding: 0;
    background-color: #f1f1f1;
}

.card_img_top {
    width: 100%;
    border-radius: 10px;
}


.dish_body {
    display: grid;
    margin: 0;
}

.dish-title {
    align-items: center;
    align-self: center;
    display: flex;
    line-height: 19px;
    padding: 3px;
    margin: 0;
    height: 90px;
    text-align: start;
}

.dish_name {
    color: #272727;
    font-size: 17px;
    line-height: 18px;
    font-weight: 600;
}

.dish-like {
    padding: 5px;
    display: inline-grid;
}

.dish_like_icon {
    justify-items: center;
}


.dish-time {
    align-self: center;
}

.dish_time_to_cook {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: #f7f7f7;
    color: #272727;
    font-size: 14px;
    line-height: 15px;
    margin: 5px auto;
    text-align: center;
    box-shadow: 0 3px 3px 3px rgb(0 0 0 / 10%);
}

.circle {
    justify-items: center;
    align-content: center;
    width: 100%; /* Полностью занимает доступное пространство */
    max-width: 60px; /* Ограничение максимальной ширины */
    height: auto; /* Автоматическая высота */
    aspect-ratio: 1 / 1; /* Сохраняет соотношение сторон */
    border: 1px solid black;
    border-radius: 50%;
}

.portion-svg {
    width: 94px;
    height: 84px;
    border-radius: 10px;
    background-color: #f1f1f1;
}

.portion-text {
    justify-content: center;
    width: 100%;
    display: flex;
    padding: 5px;
    font-size: 24px;
    font-weight: 600;
}

.portion-text-mid {
    transform: none;
    fill: black;
    font-weight: 500;
    text-align: center;
    text-anchor: middle;
}


/*Calculator link*/
.calculator-col {
    justify-content: center;
    display: flex;
}

.calculator-second-col {
    padding: 10px;
}

.calculator-row {
    width: 100%;
    justify-content: center;
    justify-items: center;
    padding: 0;
}

.calculator-btn-link-col {
    padding: 20px;
}

.calculator-btn-link-col, .calculator-image-col {
    align-self: center;
}

.calculator-link-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-transform: uppercase;
    border-radius: 10px;
    background-color: transparent;
    color: white;
    border: 1px solid white;
    padding: 1px;
    font-size: 16px;
    font-weight: 600;
    width: 100%;
    height: 48px;
    text-align: center;
}

.calculator-link-btn:hover {
    color: black;
    background-color: white;
}




.diet-col {
    padding: 0;
}

.diet-card {
    color: white;
    border-radius: 10px;
    font-weight: bold;
    font-size: 25px;
    text-align: center;
    text-transform: uppercase;
}

#spinner-overlay {
    z-index: 1050;
}


