html {
    box-sizing: border-box;
    scroll-behavior: smooth;
}

*,
*::before,
*::after {
    box-sizing: inherit;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
}

body {
    min-width: 320px;
    font-family: 'font', sans-serif;
    margin: 0;
    color: #212121;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 10px;
    width: 100%;
}

.flex {
    display: flex;
}


/* header */

.header {
    border-bottom: 1px solid #c4c4c4;
    padding-bottom: 15px;
}

.link-main {
    margin-right: auto;
}

.image-logo {
    /* margin-right: auto; */
    margin-top: 25px;
}

.title {
    flex-direction: column;
    margin-right: auto;
    margin-left: 25px;
    margin-top: 30px;
    align-items: start;
}

.title-logo {
    font-size: 20px;
    font-weight: 500;
    font-family: 'Montserrat Bold';
    margin: 0;
}

.text-logo {
    font-size: 12px;
    font-family: 'Roboto Regular';
    color: #818181;
}

.image-logo {
    width: 116px;
    height: 101px;
}

.news-image {
    max-width: 80%;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.header-container {
    align-items: center;
}

.header-list {
    list-style: none;
}

.header-list-item:not(:last-child) {
    margin-right: 50px;
}

.header-link:hover {
    color: #71A7E2;
}

.header-link {
    position: relative;
    font-weight: 600;
    color: #1c1c1c;
    font-size: 15px;
    transition: color 0.3s ease-in-out;
}

.menu {
    display: none;
}

/* welcome */

.welcome {
    margin-top: 100px;
}

.welcome-container {
    display: block;
    /* max-width: 900px; */
}

.welcome-card {
    margin-bottom: 100px;

}

.welcome-text {
    text-align: center;
    margin: 0;
    margin-bottom: 10px;
    padding-top: 30px;
}

.welcome-title {
    margin: 0;
    margin-bottom: 40px;
    text-align: left;
    font-weight: 300;
    font-size: 36px;
    line-height: 130%;
    color: #1c1c1c;
}

.welcome-link {
    color: #1c1c1c;
    transition: color 0.3s ease-in-out;
}

.welcome-link:hover {
    color: #71A7E2;
}

.welcome-image {
    display: block;
    margin-bottom: 20px;
    object-fit: cover;
    max-width: 900px;
    margin: 0 auto
}


/* contacts */

.contacts {
    padding: 42px 0;
}

.contact-title {
    margin: 0;
    margin-bottom: 40px;
    text-align: left;
    font-weight: 300;
    font-size: 36px;
    line-height: 130%;
    color: #1c1c1c;
}

.contacts-address {
    flex-direction: column;
    text-align: center;
    line-height: 30px;
}

.contacts-item-link:hover {
    color: #71A7E2;
}

.contacts-item-link {
    font-size: 14px;
    line-height: 180%;
    color: #787878;
    transition: color 0.3s ease-in-out;
}

.menu-container {
    justify-content: space-between;
    margin-top: 70px;
}

.dropdown-list {
    max-width: 280px;
    list-style: none;
}


.dropdown-list-link {
    margin-bottom: 15px;
    font-size: 20px;
}

.dropdown-item {
    display: block;
    margin-left: 20px;
    padding: 10px;
}

.drop-link:hover {
    background-color: #71A7E2;
}

.drop-link {
    margin: 0;
    position: relative;
    font-weight: 400;
    color: #1c1c1c;
    font-size: 20px;
    transition: background-color 0.3s ease-in-out;
}


.dropdown-item:hover {
    background-color: #71A7E2;
}

.dropdown-item {
    position: relative;
    font-weight: 400;
    color: #1c1c1c;
    font-size: 15px;
    transition: background-color 0.3s ease-in-out;
}

.dropdown-item-recipes {
    display: block;
    margin-left: 40px;
    padding: 10px;
}

.dropdown-item-recipes:hover {
    background-color: #71A7E2;
}

.dropdown-item-recipes {
    position: relative;
    font-weight: 400;
    color: #1c1c1c;
    font-size: 15px;
    transition: background-color 0.3s ease-in-out;
}

.dropdown-kzhbu {
    margin-bottom: 15px;
    font-size: 20px;
    margin-left: -10px;
}

.hidden {
    display: none;
}

/* right-inf */

.article-subcategory-data {
    display: none;
}

.right-inf {
    width: 80%;
    padding: 0;
    padding-left: 30px;
}

.title-div {
    border-bottom: 2px solid #3498db;
    padding-bottom: 5px;
}

.title-main-div {
    color: #2c3e50;
    line-height: 1.6;
    font-size: 25px;
    border-bottom: 2px solid #3498db;
    padding-bottom: 5px;
}

/* p */
.desc-main-div {
    margin: 20px;
    line-height: 1.6;
}

/*p tip*/

.tip-desc {
    font-weight: 500;
    color: #2c3e50;
}

.highlight {
    background-color: #e8f4f8;
    padding: 15px;
    border-radius: 8px;
    margin: 20px 0;
    font-style: italic;
    border-left: 4px solid #3498db;
}

.section-note {
    font-size: 0.95em;
    color: #555;
    font-style: italic;
}

/* h */
.title-main-div-desc {
    color: #2c3e50;
    margin: 20px;
    line-height: 1.6;
}

/* ul class="list-desc" */
.list-desc {
    margin-bottom: 15px;
}

.list-desc li {
    margin-bottom: 20px;
}

.example-desc {
    background-color: #fff8e1;
    padding: 12px;
    border-radius: 6px;
    margin: 15px 0;
    font-size: 0.95em;
}

.ol-list-desc {
    margin: 16px 0;
    padding-left: 20px;
}

.table-desc {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.table-desc th,
.table-desc td {
    border: 1px solid #ccc;
    padding: 8px;
    text-align: center;
}

.table-desc th {
    background-color: #3498db;
    color: white;
}

.table-desc tr:hover {
    background-color: #f0f7ff;
}

.box {
    background-color: #ecf0f1;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.equipment {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 15px 0;
    background: #2ecc71;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.85em;
}

.icon {
    font-size: 1.4em;
    vertical-align: middle;
    margin-right: 8px;
}

.meal-time {
    font-weight: 500;
    color: #1976d2;
}

.macro {
    display: inline-block;
    margin-right: 15px;
    font-weight: 500;
    color: #1565c0;
}

.visual {
    text-align: center;
    font-size: 0.9em;
    color: #666;
    margin: 10px 0;
}

.link-other-articles {
    color: #8884f6;
    text-decoration: underline;
    text-decoration-style: dotted;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
    border: none;
    background: none;
    cursor: pointer;
    transition: color 0.2s ease;
}

.link-other-articles:hover {
    color: #2a6f97;
    text-decoration-style: solid;
}

.title-inside-tables {
    margin: 5px;
}

.server-rendered {
    display: none;
}

/*form*/

.form-input {
    border: 1px solid #dadada;
    border-radius: 15px;
    box-sizing: border-box;
    padding: 16px 28px;
    width: 310px;
    height: 60px;
    transition: background-color 0.3s ease-in-out, border-color 0.3s ease-in-out;
}

.form-input:focus {
    outline: none;
    border-color: #71A7E2;
    background-color: rgba(113, 167, 226, 0.2);
}

.form-input:hover {
    border-color: #71A7E2;
}

.form-input:active {
    border-color: #0E3b6c;
}

.form-select:focus {
    outline: none;
    border-color: #71A7E2;
    background-color: rgba(113, 167, 226, 0.2);
}

.form-select:hover {
    border-color: #71A7E2;
}

.form-select:active {
    border-color: #0E3b6c;
}

.form-select {
    border: 1px solid #dadada;
    border-radius: 15px;
    box-sizing: border-box;
    padding: 16px 28px;
    width: 310px;
    height: 60px;
    transition: background-color 0.3s ease-in-out, border-color 0.3s ease-in-out;
}

.form-textarea {
    border: 1px solid #dadada;
    border-radius: 20px;
    box-sizing: border-box;
    resize: none;
    padding: 16px 28px;
    width: 100%;
    height: 100%;
    transition: background-color 0.3s ease-in-out, border-color 0.3s ease-in-out;
}

.form-textarea:focus {
    outline: none;
    border-color: #71A7E2;
    background-color: rgba(113, 167, 226, 0.2);
}

.form-textarea:hover {
    border-color: #71A7E2;
}

.form-textarea:active {
    border-color: #0E3b6c;
}

.form-bottom {
    display: flex;
    justify-content: flex-end;
}

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

.form-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 19px;
}

.form-left {
    width: 49%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 14px;
}

.form-right {
    width: 49%;
}

.form-btn {
    min-width: 230px;
    padding-top: 20px;
    padding-bottom: 20px;
    border-radius: 15px;
    margin-bottom: 9px;
}

.form-check {
    font-size: 12px;
    line-height: 16px;
    color: #787878;
}

.form-check input {
    margin-right: 8px;
}

.form-check a {
    color: #3172b9;
    border-bottom: 1px solid #3172b9;
}

.form-input:nth-child(-n+2) {
     margin-bottom: 19px; 
}


/* .result-container {
  opacity: 0;
  transform: translateY(-20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.result-container.show {
  opacity: 1;
  transform: translateY(0);
} */

/* back to top */

.back-to-top {
    margin-right: 15%;
    margin-bottom: 5%;
    display: flex;
    justify-content: end;
}

.button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgb(20, 20, 20);
    border: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 0px 0px 4px rgba(180, 160, 255, 0.253);
    cursor: pointer;
    transition-duration: 0.3s;
    overflow: hidden;
    position: relative;
}

.svgIcon {
    width: 12px;
    transition-duration: 0.3s;
}

.svgIcon path {
    fill: white;
}

.button:hover {
    width: 140px;
    border-radius: 50px;
    transition-duration: 0.3s;
    background-color: rgb(181, 160, 255);
    align-items: center;
}

.button:hover .svgIcon {
    /* width: 20px; */
    transition-duration: 0.3s;
    transform: translateY(-200%);
}

.button::before {
    position: absolute;
    bottom: -20px;
    content: "Back to Top";
    color: white;
    /* transition-duration: .3s; */
    font-size: 0px;
}

.button:hover::before {
    font-size: 13px;
    opacity: 1;
    bottom: unset;
    /* transform: translateY(-30px); */
    transition-duration: 0.3s;
}

/*footer*/

.title-policy {
    color: #2c3e50;
    line-height: 1.6;
    font-size: 25px;
    border-bottom: 2px solid #3498db;
    padding-bottom: 5px;
}

.policy h2,
h3,
h4,
h5 {
    color: #2c3e50;
    margin: 20px;
    line-height: 1.6;
}

.cookie-modal {
    display: none;
    /* Скрыто по умолчанию */
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #f0f0f0;
    /* Светло-серый фон */
    padding: 15px;
    box-sizing: border-box;
    z-index: 10000;
    /* Высокий z-index, чтобы поверх других элементов */
    font-family: Arial, sans-serif;
    font-size: 14px;
    line-height: 1.4;
    box-shadow: 0px -2px 10px rgba(0, 0, 0, 0.1);
}

.cookie-modal-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    /* Ограничиваем ширину */
    margin: 0 auto;
    /* Центрируем */
    gap: 15px;
    /* Отступ между текстом и кнопкой */
}

.cookie-modal p {
    margin: 0;
    flex-grow: 1;
    /* Текст занимает доступное пространство */
}

.cookie-modal a {
    color: #007bff;
    /* Цвет ссылки */
    text-decoration: underline;
}

.cookie-modal a:hover {
    color: #0056b3;
    /* Цвет ссылки при наведении */
}

.cookie-btn {
    background-color: #007bff;
    /* Цвет кнопки */
    color: white;
    border: none;
    padding: 8px 16px;
    cursor: pointer;
    border-radius: 4px;
    font-size: 14px;
}

.cookie-btn:hover {
    background-color: #0056b3;
    /* Цвет кнопки при наведении */
}

/*Metrica*/

.ym-hidden-element {
    position: absolute;
    left: -9999px;
}