html, body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    height: 100%;
}

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

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

section {
    padding: 50px;
}

.row {
    --bs-gutter-x: 0;
}

a {
    color: #ffffff;
}

p {
    margin: 0;
}

.card {
    background-color: #c0c0c0;
    border-radius: 10px;
}

.video-header {
    width: 100%;
    height: 670px;
}

#vid1 {
    width: 100%;
    height: 800px;
    position: absolute;
    top: 0;
    left: 0;
}

/*--------------------------------------------------------Main--------------------------------------------------------*/
.gradient-background {
    z-index: 0 !important;
}

/*Секция рецепта*/
.recipe {
    top: -670px;
    z-index: 10;
    width: 100%;
    display: flex;
    justify-items: center;
    justify-content: center;
    position: absolute;
}


.recipe-main-row {
    justify-content: center;
}

.card-img-top {
    width: 100%;
    border-radius: 10px;
}

.dish_container {
    padding: 15px;
}

/*Карточка рецепта*/
.dish_info_row {
    display: grid;
}

.dish-card-body {
    border-radius: 10px;
    background-color: #f1f1f1 !important;
}

.dish-title {
    background-color: transparent;
    line-height: 22px;
    padding: 10px;
    font-size: 20px;
    font-weight: 700;
}

.dish-card-title {
    display: flex;
    padding: 5px;
    font-size: 17px;
    font-weight: 700;
}


.dish-card-title .dish-title {
    justify-content: center;
    align-content: center;
    text-align: center;
}

.dish_recipe_time_to_cook {
    font-size: 18px;
    text-align: start;
    font-weight: 500;
}

/* Стили для иконки сердца */
.heart-icon {
    position: static;
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    fill: rgba(255, 0, 0, 0.35);
    cursor: pointer;
    transition: fill 0.3s ease;
}

.heart-icon.liked path {
    fill: red;
}

/*Информация о блюде*/
.dish-title {
    line-height: 19px;
    padding: 5px;
    margin: 0;
    height: 120px;
    text-align: start;
    align-content: center;
    align-self: center;
}

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

.dish-like {
    justify-content: flex-end;
    padding: 5px;
    display: inline-grid;
}

.dish_like_icon {
    justify-items: center;
}


.dish-time {

}

.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: 16px;
    line-height: 15px;
    margin: 5px auto;
    text-align: center;
    box-shadow: 0 3px 3px 3px rgb(0 0 0 / 10%);
}
.dish_row {
    justify-content: center;
    align-items: center;
}

.dish_col {
    padding: 10px;
    margin: 0;
}

.time-to-cook-col {
    padding: 5px;
    text-align: center;
    align-items: center;
    align-self: center;
}

#time-to-cook-text {
    font-size: 17px;
    font-weight: 600;
}

.dish_body {
    display: flex;
    border-radius: 10px;
    margin: 0;
}

.product_list {
    font-size: 21px;
    line-height: 28px;
    color: black;
    padding: 0;
    margin: 0;
    display: inline-grid;
    list-style-type: none;
    gap: 7px;

}

.pie-chart {
    position: relative;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin: 5px auto;
    border: 1px solid #272727;
    background: conic-gradient(#36A2EB 0% 33%, #FF6384 33% 66%, #FFCE56 66% 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.nutrient-label {
    position: absolute;
    font-size: 14px;
    font-weight: bold;
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.protein-label { top: 10%; left: 50%; transform: translateX(-50%); }
.fat-label { top: 50%; left: 80%; transform: translate(-50%, -50%); }
.carb-label { top: 80%; left: 50%; transform: translateX(-50%); }

.dish_info_pfc {
    margin: 0;
    padding: 5px;
    font-size: 17px;
    line-height: 19px;
    font-weight: 500;
}

.diagram-row {
    justify-content: center;
}

.pie-calories {
    display: inline-grid;
    text-transform: uppercase;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #f7f7f7;
    color: #272727;
    font-weight: 600;
    font-size: 15px;
    line-height: 19px;
    margin: 5px auto;
    text-align: center;
    box-shadow: 0 3px 3px 3px rgb(0 0 0 / 10%);
}

#proteins-b {
    background-color:  #acffac;
}

#fats-b {
    background-color:  #f3ffa2;
}

#carbs-b {
    background-color:  #97b0fd;
}

.dish_info_ingredient {
    font-weight: 500;
    font-size: 22px;
    margin: 0;
    padding: 0;
}


.product_list_element {
    line-height: 19px;
    font-size: 17px;
    color: black;
}


/*Рецепт блюда*/
.recipe-steps {
    width: 100%;
    background-color: #272727;
}

.recipe-steps-title {
    padding: 10px;
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    color: #f7f7f7;
}

.recipe-step-element {
    margin: 0;
    padding: 10px;
}

.recipe-step-card {
    min-height: 150px;
    height: 100%;
    width: 100%;
}

.recipe-step-desc {
    height: 100%;
    padding: 10px;
    font-size: 17px;
    line-height: 19px;
    font-weight: 400;
}

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