@import url('https://fonts.googleapis.com/css2?family=Onest:wght@100..900&display=swap');

body {
    margin: 0;
    font-family: Arial, sans-serif;
    scroll-behavior: smooth;
}

* {
    box-sizing: border-box;
    scroll-behavior: smooth;
}

.header {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: Onest;
}

.navbar {
    background-color: #9c9976;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.6s;
    padding-top: 20px;
    padding-bottom: 10px;
}

.navbar.sticky {
    background-color: #9c9976;
    padding: 5px 5px 5px 5px;
    border-bottom: 1px solid #fff;
    max-width: 100%;
}

.navbar.sticky ul li a:hover {
    border-bottom: 1px solid rgb(0, 0, 0);
}

.nav-list {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: space-around;
}

.nav-list li a {
    color: white;
    text-decoration: none;
    position: relative;
    margin-right: 60px;
    font-size: 17px;
    letter-spacing: 0.1em;
    color: #fff;
    transition: 0.6s;
    text-shadow: 0px 3px 4px #9c9976;
    transition: 0.5s ease, transform 0.3s ease;
}

.nav-list li .ru {
    border-radius: 35px;
    background-color: black;
    padding-left: 6px;
    padding-right: 6px;
    padding-top: 3px;
    padding-bottom: 3px;
}

.nav-list li a:hover {
    border-bottom: 1px solid #9c9976;
    font-size: 18px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.section-hader {
    padding-top: 100px;
}

.header-nv {
    display: flex;
    justify-content: space-between;
}

.item-nv {
    transition: all 0.3s;
}

.item-nv:hover {
    transform: scale(1.02);
}

.title-imitr-ikra h1 {
    margin-top: 72px;
    font-family: Onest;
    font-size: 85px;
    font-weight: 350;
    transition: all 0.3s;
}

.title-imitr-ikra h1:hover {
    text-shadow: -2px -3px 4px #b4b07f;
}

.title-imitr-ikra .table-one {
    margin-top: -200px;
    font-family: Onest;
    height: 200px;
}

.title-imitr-ikra .table-one td:first-child {
    height: 454px;
    font-size: larger;
}

.title-imitr-ikra .table-one td img {
    position: relative;
    right: 0;
    transition: all 0.3s;
}

.title-imitr-ikra .table-one td img:hover {
    transform: scale(1.02);
}



.ideal-for h2 {
    margin-top: 45px;
}

.box-text p {
    margin-top: 130px;
    line-height: 32px;
}

.box-photo p {
    color: #fff;
    font-family: Onest;
    padding: 15px 15px;
    background-color: #9c9976;
}

.primen {
    font-family: Onest;
    letter-spacing: 0.3px;
}

.table-idealnodla {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    transition: all 0.6s cubic-bezier(1, 0.06, 0.25, 1) 0s;
}

.table-idealnodla tr td {
    padding-left: 15px;
    padding-right: 15px;
}

.table-idealnodla tr td img {

    transition: all 0.6s;
}

.table-idealnodla tr td img:hover {
    transform: scale(1.02);
}

.footer {
    background-image: url("../img/footer.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    color: #fff;
    padding-bottom: 50px;
    box-shadow: 0px -3px 28px #9C9976;
}

.footer .two-list {
    display: flex;
    justify-content: space-between;
}

.footer .two-list ul {
    list-style: none;
    line-height: 30px;
}

.footer .two-list p {
    margin-top: 130px;
}

.footer .two-list ul:last-child {
    list-style: none;
    text-align: end;
}

.footer .two-list ul li h2 {
    font-weight: 500;
    font-size: 25px;
}

.burger {
    display: none;
    position: relative;
    z-index: 50;
    align-items: center;
    justify-content: flex-end;
    width: 30px;
    height: 18px;
}

.burger span {
    height: 2px;
    width: 80%;
    transform: scale(1);
    background-color: #FAF6F2;
}

.burger::before,
.burger::after {
    content: '';
    position: absolute;
    height: 2px;
    width: 100%;
    background-color: #FAF6F2;
    transition: all 0.3s ease 0s;
}

.burger::before {
    top: 0
}

.burger::after {
    bottom: 0
}

.burger.active span {
    transform: scale(0)
}

.burger.active::before {
    top: 50%;
    transform: rotate(-45deg) translate(0, -50%);
}

.burger.active::after {
    bottom: 50%;
    transform: rotate(45deg) translate(0, 50%);
}


@media (max-width: 720px) {
    .navbar {
        background-color: #9c9976;
        padding: 10px 8px 10px 8px;
        border-bottom: 1px solid #fff;
        max-width: 100%;
    }
    
    .nav-list {
        display: none; /* Скрыто по умолчанию */
    }

    .nav-list.active {
        display: flex;
        position: fixed;
        top: 79px;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 50;
        overflow-y: auto;
        background-color: rgb(62 64 44 / 53%);
        animation: burgerAnimation 0.4s;
        flex-direction: column;
        text-align: left;
        align-items: center;
        flex-wrap: nowrap;
        align-content: space-around;
        margin-bottom: 0;
        transition: all 0.3s;
    }

    .sticki.active {
        display: flex;
        position: fixed;
        top: 70px;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 50;
        overflow-y: auto;
        background-color: rgb(62 64 44 / 53%);
        animation: burgerAnimation 0.4s;
        flex-direction: column;
        text-align: left;
        align-items: center;
        flex-wrap: nowrap;
        align-content: space-around;
        margin-bottom: 0;
    }

    .nav-list ul {
        overflow-y: auto;
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .nav-list li a {
        overflow-y: auto;
        margin-right: 0;
        font-size: 6vw;
        font-weight: 100;
        padding: 10px 13px 10px 13px;
        background-color: rgba(48, 48, 48, 0.671);
        border-radius: 25px;
        box-shadow: #494943 15px 5px 10px;
    }


    .burger {
        display: flex;
        width: 35px;
        height: 23px;
        margin-right: 20px;
    }


    .burger.active::before {
        top: 50%;
        transform: rotate(-45deg) translate(0, -50%);
    }
    .burger::before {
        top: 0;
    }
    .burger::before, .burger::after {
        content: '';
        position: absolute;
        height: 2px;
        width: 100%;
        background-color: #FAF6F2;
        transition: all 0.3s ease 0s;
    }

    .burger.active::after {
        bottom: 50%;
        transform: rotate(45deg) translate(0, 50%);
    }
    .burger::after {
        bottom: 0;
    }
    .burger::before, .burger::after {
        content: '';
        position: absolute;
        height: 2px;
        width: 100%;
        background-color: #FAF6F2;
        transition: all 0.3s ease 0s;
    }

    .navbar.active {
        display: block;
        /* Показываем меню */
    }

    .nav ul {
        flex-direction: column;
        row-gap: 30px;
    }





    .footer .two-list {
        display: flex;
        flex-direction: column;
    }

    .footer .two-list ul:last-child {
        text-align: start;
        padding-left: 0;
        margin-top: 6px;
        line-height: 25px;
    }

    .footer .two-list ul {
        padding-left: 0;
        margin-top: 6px;
        line-height: 25px;
    }

    .footer .two-list p {
        margin-top: 41px;
    }


    .box-photo p {
        display: none;
    }

    .title-imitr-ikra .table-one td img {
        position: absolute;
        top: 90px;
        z-index: -100;
    }

    .title-imitr-ikra h1 {
        margin-top: 165px;
        font-size: 23vw;
    }

    .box-text p {
        margin-top: 50px;
    }

    .table-two tr {
        display: flex;
        flex-direction: column;
        width: 10vh;
    }

    .table-two tr img {
        width: 88vw;
        margin-top: 10px;
    }

    .table-two {
        margin-top: -150px;
    }

    .item-nv {
        width: 30vw;
        background-color: #ffffff;
        padding: 10px 10px 10px 10px;
        border-radius: 25px;
        border: 0.5px solid black;
    }

    .table-idealnodla tr {
        display: flex;
        flex-direction: column;
    }

    .primen {
        margin-left: 10px;
    }
}


@media (max-width: 1060px) {
    .title-imitr-ikra .table-one td:first-child {
        height: 500px;
        font-size: larger;
    }
}

@media (max-width: 768px) {
    .title-imitr-ikra .table-one td:first-child {
        height: 500px;
        font-size: larger;
    }
}

@media (max-width: 425px) {
    .title-imitr-ikra .table-one td:first-child {
        height: 725px;
        font-size: larger;
    }
}