@font-face {
    font-family: "Nunito";
    font-weight: 400;
    font-style: normal;
    font-display: swap;
    src: url('../fonts/Nunito-Regular.woff2') format('woff2');
}



body {
    font-family: 'Nunito', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.4;
}

header.m42-main-header {
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(7.099999904632568px);
    box-shadow: 0px -5px 13.5px 0px #FFFFFF1F inset;
    height: 148px;
    transition: all 300ms ease;
}
header.m42-main-header::before{
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: linear-gradient(90deg, rgb(0, 44, 87) 0%, rgb(0, 44, 87) 100%);
    transition: opacity 1000ms ease;
}
header.m42-main-header.scrolled::before {
    opacity: 0.84;
}

header.header-fixed {
    position: fixed;
    top: -74px;
}


@media (max-width: 1200px) {
    header.m42-main-header {
        height: 60px;
    }
}

.m42-header-top {
    width: 100%;
    position: relative;
    height: 100%;

}

.m42-header-top::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    opacity: 0.43;
    background: linear-gradient(90deg, rgba(254, 240, 171, 0) 0%, #FEF0AB 28.11%, #FEF0AB 72.34%, rgba(254, 240, 171, 0) 100%);
}

.m42-header-top .container-main {
    align-items: center;
    padding-top: 6px;
    height: 100%;
    padding-bottom: 6px;

    div {
        height: 100%;
        display: flex;
        align-items: center;
    }
}

.m42-header-top form {
    height: 45px;
    border-radius: 24px;
}

.m42-contacts {
    /* flex-grow: 1; */
    align-items: center;
}

.m42-contacts *:first-child {
    /* margin: 0 auto; */
}

.m42-contacts *:last-child {
    /* margin: 0 auto 0 0; */
}

.m42-header-bottom {
    width: 100%;
    height: 100%;
}

.m42-header-bottom .container-main {
    height: 100%;
    align-items: center;
    padding-top: 6px;
    padding-bottom: 6px;

    div {
        height: 100%;
    }
}

.m42-button {
    /* border: 1px solid; */
}

header a.m42-button {
    width: 204px;
    height: 45px;
}



.m42-advantage {
    position: relative;
    z-index: 1;
}

.m42-advantage .container {
    padding: 24px;
}

.m42-advantage .m42-text {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 0;
    text-align: center;
    color: #232323;
    overflow: hidden;
    transition: 0.7s;
}


.m42-advantage .m42-text {
    height: 160px;
}

#popupForm,
#headerForm {
    max-width: 600px;
    padding: 40px;
    background: rgba(255, 255, 255, 0.25);
}

#headerForm {
    max-width: 440px;
    border-radius: 12px;
}

@media (max-width: 768px) {

    #popupForm,
    #headerForm {
        max-width: 100%;
        padding: 10px;
    }
}

#popupForm input,
#headerForm input {
    height: 64px;
    border-radius: 32px;
    padding: 0 40px;
}

#popupForm .caption,
#headerForm .caption {
    color: #fff;
    font-size: 36px;
    font-weight: 600;
}

#popupForm p,
#headerForm p {
    color: #fff;
    line-height: 1.1;
    margin: 1em 0;
}

#cboxOverlay {
    background: rgba(240, 246, 246, 0.5);
}

#cboxContent,
#cboxLoadedContent {
    background: transparent !important;
}


#popupForm {
    color: rgba(68, 68, 68, 1);
    background: rgba(240, 246, 246, 0.25);
    backdrop-filter: blur(7.099999904632568px);
    box-shadow: 0px -5px 13.5px 0px rgba(255, 255, 255, 0.12) inset;

}

#popupForm p,
#popupForm .caption {
    color: inherit;
}

#headerForm button {
    margin: 0;
}

.bx-wrapper {
    box-shadow: none;
}

body footer .menu> :not([hidden])~ :not([hidden]) {
    margin-top: 16px;
}

.download-button {
    padding: 30px;
    border: none;
    width: auto;
    align-self: flex-start;
    text-decoration: underline;
}

/* мои стили */

#menu-glavnoe-menyu li a {
    font-size: 20px;
    font-weight: 500;
}

@media (max-width: 768px) {
    .product-info.scrolled {
        top: 50px !important;
        flex-wrap: wrap !important;
        gap: 2px !important;
        height: 184px !important;
    }
}

@keyframes marquee-partners {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.partners-marquee {
    width: 100%;
    margin-bottom: 40px;
}

.marquee-track {
    animation: marquee-partners 50s linear infinite;
    white-space: nowrap;
}

@media screen and (min-width: 768px) {
    .marquee-track {
        animation: marquee-partners 100s linear infinite;

    }
}

.snowflakes {
    position: fixed;
    top: -160px;
    left: 0;
    width: 100vw;
    height: calc(100vh + 200px);
    pointer-events: none;
    z-index: 1000;
    overflow: hidden;
    opacity: 0.4;
}

.snowflake {
    position: absolute;
    top: 0;
    animation: fall linear infinite;
    color: rgb(178, 212, 254, 0.8);
    font-size: 45px;
    user-select: none;
    opacity: 0;
}

@keyframes fall {
    0% {
        transform: translateY(-100px);
        opacity: 0;
    }

    5% {
        opacity: 1;
    }

    100% {
        transform: translateY(calc(100vh + 160px));
        opacity: 1;
    }
}

.snowflake:nth-child(1) {
    left: 10%;
    animation-duration: 15s;
    animation-delay: 0s;
}

.snowflake:nth-child(2) {
    left: 20%;
    animation-duration: 8s;
    animation-delay: 1s;
}

.snowflake:nth-child(3) {
    left: 30%;
    animation-duration: 6s;
    animation-delay: 0.5s;
}

.snowflake:nth-child(4) {
    left: 40%;
    animation-duration: 10s;
    animation-delay: 1.8s;
}

.snowflake:nth-child(5) {
    left: 50%;
    animation-duration: 7s;
    animation-delay: 1s;
}

.snowflake:nth-child(6) {
    left: 60%;
    animation-duration: 9s;
    animation-delay: 2s;
}

.snowflake:nth-child(7) {
    left: 70%;
    animation-duration: 8.5s;
    animation-delay: 0.3s;
}

.snowflake:nth-child(8) {
    left: 80%;
    animation-duration: 9.5s;
    animation-delay: 1.5s;
}

.snowflake:nth-child(9) {
    left: 90%;
    animation-duration: 7.5s;
    animation-delay: 0.8s;
}

.snowflake:nth-child(10) {
    left: 15%;
    animation-duration: 11s;
    animation-delay: 2.2s;
}

#headerForm {
    backdrop-filter: blur(7.1px);
    -webkit-backdrop-filter: blur(7.1px);
    box-shadow: 0px -5px 13.5px 0px #FFFFFF1F inset;
    background: linear-gradient(0deg, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.25)),
        linear-gradient(0deg, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.25));

}

#headerForm input {
    border-radius: 51px;
}

@media (max-width: 768px) {
    #headerForm {
        padding: 30px;
    }

    #headerForm input {
        height: 49px;
        border-radius: 40px;
        padding: 0 13px;
    }
}


.new-button {
    width: 100%;
    max-width: 100px;
    min-height: 48px;
    height: 100%;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border-radius: 9px;
    box-shadow: 1px 1px 0px 1.2px #0000001C;
    color: Black;
    font-weight: 700;
    font-size: 14px;
    opacity: 85%;
}

.new-button--active {
    background-color: #FFEF9F;
}


.new-button--packed {
    justify-content: start;
    max-width: 100px;
}




.quantity-input {
    font-size: 15px;
    line-height: 1.4;
    text-align: center;
    font-weight: 700;
    width: 100%;
    color: black;
}


.new-btn {
    font-weight: 600;
    font-size: 10px;
    line-height: 1.4;
    color: #002c57;
    border-radius: 1.5rem;
    background-color: white;
    height: 40px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3px;
    border: solid 1px #002c57;
}

.new-btn--add-to-cart-button {
    background: #002c57;
    color: #FEF0AB;

}

@media (min-width: 768px) {
    .new-btn {
        height: 52px;
        font-size: 16px;
        max-width: 223px;
    }

    .new-button--packed {
        max-width: 162px;
    }
}

/* новости */
.news__item {
    position: relative;
    height: 282px;
    width: 100%;
}

.news__item:hover img {
    transform: scale(1.1);
}

@media (min-width: 768px) {
    .news__item {
        height: 322px;
    }
}

.bg-gradient {
    opacity: 0.7;
    background: linear-gradient(60.66deg, #09062A 1.08%, rgba(7, 11, 48, 0.9) 13.63%, rgba(6, 16, 54, 0.8) 25.9%, rgba(5, 24, 63, 0.7) 43.81%, rgba(3, 31, 71, 0.6) 61.16%, rgba(0, 44, 87, 0.5) 93.75%);
}

.news__item img {
    transition: transform 0.3s ease-in-out;
}

.news__content {
    height: 282px;
    width: 100%;
}

@media (min-width: 768px) {
    .news__content {
        height: 328px;
    }
}

.pagination {
    gap: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.pagination .page-numbers {
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 40px;
    min-height: 40px;
    padding: 10px;
    border-radius: 5px;
    background-color: rgba(5, 5, 5, 0.274);
    color: white;
}

@media (max-width: 768px) {
    .pagination .page-numbers {
        max-width: 30px;
        min-height: 30px;
    }
}

.pagination .page-numbers.current {
    background-color: #002c57;
}

.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

#partners {
    margin-top: 120px !important;
}

@media (max-width: 768px) {
    #partners {
        margin-top: 60px !important;
    }
}