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;
    /* background-color: #D0FFD3; */
}

.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;
}

.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;
}

.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;
}

.burger {
    display: none;
}


.nav-burger {
    display: none;
}

.nav-burger-list {
    list-style: none;
    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;

    /* font-weight: 600;
    text-align: start; */
}

.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;
}

.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: 8px;
}

.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;
}

/* 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;
}