@media screen and (max-width: 768px) {
    header {
        color: white;
        padding: 0;
        text-align: center;
    }
    .navbar {
        position: relative;
        padding: 5px 20px;
    }

    .navbar-hamburger {
        display: block;
        position: absolute;
        left: 15px;
        color: black;
    }

    .navbar-menu-close {
        position: absolute;
        top: 15px;
        right: 15px;
        font-size: 2.5em;
        color: black;
        cursor: pointer;
        z-index: 1001;
        display: block;
    }

    .navbar > .d-flex {
        margin: 0 auto;
    }

    .navbar-logo {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .navbar-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        height: 100%;
        background-color: #e0e0e0;;
        transition: left 0.3s ease-in-out;
        z-index: 1000;
        padding-top: 60px;
        overflow-y: auto;
        display: block;
    }

    .navbar-menu.active {
        left: 0;
        box-shadow: 5px 0 15px rgba(0,0,0,0.2);
    }

    .navbar-menu ul {
        flex-direction: column;
        margin: 0;
        padding: 0;
        width: 100%;
    }

    .navbar-menu ul li {
        margin: 15px 0;
        text-align: left;
        padding: 0 20px;
        color: black;
    }

    .navbar-menu .dropdown > a {
        color: black;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .navbar-menu .dropdown > a::after {
        content: ' +';
        color: black;
        font-size: 1.2em;
    }

    .navbar-menu .dropdown.active > a::after {
        content: ' -';
    }

    .navbar-menu .dropdown-menu {
        position: static;
        display: none;
        background-color: #e3e3e3;
        box-shadow: none;
        padding: 0;
        margin-top: 10px;
        display: none;
    }

    .navbar-menu .dropdown:hover .dropdown-menu {
        display: none;
    }

    .navbar-menu .dropdown:hover .dropdown-menu.active {
        display: block;
    }

    .navbar-menu .dropdown-menu li {
        padding: 10px 30px;
        /*border-bottom: 1px solid #333;*/
    }

    .navbar-menu .dropdown-menu li a {
        color: black;
    }

    .navbar-menu .dropdown-menu li:last-child {
        border-bottom: none;
    }

    .navbar-mobile-phone {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 15px 0;
        background-color: #f0f0f0;
        margin-bottom: 20px;
    }

    .navbar-mobile-phone i {
        margin-right: 10px;
        color: black;
        font-size: 1.2em;
    }

    .navbar-mobile-phone a {
        text-decoration: none;
        color: black;
        font-size: 1.3em;
        font-weight: bold;
    }

    .navbar-right .navbar-phone, .navbar-right ul {
        display: none;
    }

    .nav-lang {
        display: flex!important;
        flex-direction: row!important;
        align-items: center;
        justify-content: center;
        padding: 15px 0;
        background-color: #f0f0f0;
        border-bottom: 1px solid #e3e3e3;
    }

    .nav-lang li {
        width: 100%;
        text-align: center!important;
        padding: 10px!important;
        margin: 0px!important;
    }

    .nav-lang li.active {
        background-color: #e3e3e3;
    }
    
    .main-bg {
        background-size: 150% auto;
        background-position: center bottom 37%;
    }

    .biglogo {
        vertical-align: middle;
        display: inline-block;
        max-width: 90%;
        height: auto;
    }

    .line-inner p {
        font-size: 13px;
    }

    .measure-inner {
        padding: 10px;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-around;
    }

    .icon-box-wrapper {
        width: 24%;
        flex-wrap: wrap;
        text-align: center;
        fill: #fff;
        color: #fff;
        border-color: #fff;
        margin: 10px 0px;
    }

    .icon-box-icon {
        font-size: 40px;
    }

    .icon-box-content h3 {
        font-size: 16px;
    }

    #greentest {
        scroll-margin-top: 90px;
    }

    .desc {
        max-width: 90%;
        margin: 0px 0px 0px 5%;
        padding: 0px 0px;
    }

    .desc p {
        font-size:14px;
    }

    .func-title {
        padding: 10px 0px;
    }

    .func-title h2 {
        font-size: 30px;
    }

    .functions-inner, .products-inner {
        margin: 0 10px;
    }

    .function-box-wrapper {
        width: 100%;
        margin: 0 0 1rem;
        flex-direction: row;
    }

    .function-box-wrapper .icon-box-icon {
        font-size: 100px;
        margin: 0 0 0 10px;
        min-width: 113px;
        width: 113px;
    }

    .functions.nitrates .function-box-wrapper {
        width: 100%;
        margin: 0 0 1rem;
        flex-direction: column;
    }

    .functions.nitrates .function-box-wrapper .icon-box-icon {
        font-size: 100px;
        margin: auto;
        min-width: 113px;
        width: 113px;
    }

    .icon-box-content {
        width: 100%;
    }

    .product-box-wrapper {
        width: 100%;
        margin: 0 0 1rem;
    }

    .compare-inner {
        padding: 0 20px;
    }

    .warranty-inner {
        margin: 0 10px;
    }

    .warranty-inner figure {
        margin: 0;
        padding: 0;
    }

    .warranty-inner figure img {
        min-height: 140px;
    }

    .function-box-wrapper.zagroza {
        padding: 10px;
    }
    
    .pt30 {
        padding: 30px 0 0 0;
    }

    .faq-inner {
        margin: 0 10px 15px 10px;
        font-size: 19px;
    }

    .contact-inner {
        margin: 0 0 15px 0;
        flex-direction: column;
    }

    .contact-inner div {
        width: 100%;
        margin-bottom: 16px;
    }

    .footer-inner {
        margin: 0 0 15px 0;
        grid-template-columns: minmax(0, 1fr);
    }

    .footer-inner div:nth-child(1)
    {
        order: 2;
    }

    .footer-inner div:nth-child(3)
    {
        order: 1;
    }

    .footer-inner div:nth-child(2n)
    {
        order: 1;
    }

    .footer-inner.noborder {
        margin: 0;
    }

    .page_content_header {
        display:flex;
        flex-direction: row;
        align-items: flex-end;
        justify-content: center;
    }

    .page_content_header h1 {
        margin: 60px 0 20px 0;
        font-size: 40px;
        text-align: center;
    }

    .page_content_inner {
        margin: 0px 10px;
        align-items: stretch;
        flex-direction: column;
    }

    .page_content_inner .left_column, .page_content_inner .right_column {
        padding: 30px;
        width: auto;
    }

    .page_content_inner .right_column {
        margin: 0;
    }

    .page_content_inner .left_column h3, .page_content_inner .right_column h3 {
        font-size: 25px;
    }

    .right_column  .contact-inner div div a {
        font-size: 20px;
    }

    .right_column  .contact-inner div div a i {
        font-size: 25px;
    }

    .right_column  .contact-inner div {
        display: flex;
        width: auto;
        justify-content: start;
        margin: 0;
    }

    .right_column p {
        margin: 0 0 2rem 0;
    }

    .map {
        margin: 30px 0 0 0;
    }

    .map-inner {
        flex-direction: column;
    }

    .map-address, .google-map {
        width:auto;
    }

    .divider {
        display: none;
    }

    .page_card img {
        max-width: 70%;
    }

    .page_card p {
        margin: 0;
    }

    .page_card p.mb05rem {
        margin: 0 0 .5rem 0;
    }

    .page_content_header.static h1 {
        padding: 0 0 10px 0;
        line-height: 1.2;
    }

    .product_header {
        max-width: 90%;
        margin: 0 0 0 5%;
        padding-block-start: 70px;
        flex-direction: column;
    }

    .product_images {
        width: auto;
    }

    .product_info {
        width: auto;
        padding: 10px 0 0 0;
    }

    .product_price {
        flex-direction: column-reverse;
    }

    div.buy {
        flex-direction: column-reverse;
    }

    .free_delivery {
        margin: 0 0 15px 0;
    }

    .add_to_cart_button a {
        justify-content: center;
    }

    .func-title.zagroza {
        padding: 10px 5%;
    }

    .product_details h2, .product_process h2 {
        margin: 25px 0 25px 0;
        font-size: 27px;
        text-align: center;
    }

    .product_details, .product_process {
        width: auto;
        padding: 0px;
    }

    .product_feature {
        flex-direction: column;
    }

    .feature_icon {
        font-size: 35px;
        padding: 0;
    }

    .feature_content {
        text-align: center;
    }

    .feature_content h3 {
        font-size: 22px;
    }

    .feature_content p {
        font-size: 15px;
    }

    .product_header.prod_proc {
        padding-block-start: 30px;
        margin-bottom: 50px;
    }

    .product_process {
        margin-bottom: 30px;
    }

    .product_process .product_feature {
        flex-direction: row;
    }

    .product_process .product_feature .feature_icon {
        padding: 0 20px 0 0;
    }

    .product_process .product_feature .feature_content {
        font-size: 18px;
        text-align: left;
    }

    .product_header.bottom_buy {
        flex-direction: row;
    }

    .product_header.bottom_buy div:nth-child(1) {
        width: 35%;
    }

    .product_header.bottom_buy div:nth-child(1) img {
        max-width: 150px;
        max-height: 150px;
        width: 100%;
        height: 100%;
    }

    .product_header.bottom_buy div:nth-child(2) {
        width: 65%;
    }

    .product_header.bottom_buy div:nth-child(2) span {
        font-size: 20px;
    }

    .bottom_buy_button .add_to_cart_button {
        padding: 15px 12px;
    }

    .bottom_buy_button a i {
        display: none;
    }

    .product_images_slider, .product_images_slider2 {
        touch-action: pan-y; /* Allows vertical scrolling while enabling horizontal swipe */
        -webkit-user-select: none; /* Prevents text selection during swipe */
        user-select: none;
    }

    .content_area {
        padding-block-start: 60px;
    }

    .blog_content {
        margin: -70px auto 30px auto;
        width: 85%;
    }

    .blog_content .breadcrumbs {
        text-wrap: nowrap;
        overflow-x: scroll;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .blog_content h1 {
        font-size: 29px;
        line-height: 1;
    }

    .blog_grid {
        width: 90%;
    }

    .blog_1_flex_1 {
        flex-direction: column;
        justify-content: unset;
    }

    .blog_1_flex_2 img {
        max-width: 100%;
        aspect-ratio: auto;
    }

    .blog_1_flex_3 a {
        display: block;
    }

}
@media screen and (min-height: 1100px) {
    .main-bg {
        background-size: 150% auto;
        background-position: center bottom 10%!important;
    }
}

@media screen and (min-width: 576px) {
    .blog_grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media screen and (min-width: 1025px) {
    .blog_grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

