/*
0. Global
1. Head
2. Hero
3. Pros
4. Pros 2
5. Pros 3
6. Banner
7. About
8. Composition
9. Tables
10. Footer

*/

/* ==============================
0. Global
============================== */
@font-face {
    font-family: "Gloria Hallelujah";
    font-display: swap;
    font-weight: 400;
    src: url('https://biofeedzoo.pl/data/include/cms/6111018811/assets/fonts/GloriaHallelujah-Regular.ttf');
}

._biofeed {
    margin: 0 auto;
    max-width: 1200px;
    color: #FFFFFF !important;
    font-size: 20px;
    font-family: "Roboto Condensed", "Oswald", "Arial Narrow", "Liberation Sans Narrow", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    @media screen and (max-width: 500px) {
        font-size: 18px;
    }
    h1, h2, h3, h4 {
        margin: 0;
        font-weight: 700;
    }
    h2,
    .__bf_h2_style {
        font-size: 40px;
        line-height: 1;
        .weak {
            font-weight: 400;
        }
        .__bf_small {
            font-size: 24px !important;
        }
        @media screen and (max-width: 500px) {
            font-size: 30px;
        }
    }
    h3 {
        font-size: 22px;
        @media screen and (max-width: 500px) {
            font-size: 18px;
        }
    }
    p {
        margin: 0;
        line-height: 1.25;
    }
    .__bf_secondary_font {
        font-family: "Gloria Hallelujah";
    }
}

.__bf_wrapper {
    margin: 0 auto;
    padding-inline: 32px;
    max-width: 1000px;
    box-sizing: border-box;
    @media screen and (max-width: 400px) {
        padding-inline: 24px;
    }
}

._bf_content {
    background: #303030;
    background: linear-gradient(180deg, #303030 19.33%, #000000 81.66%, #000000 100%);
}

.__bf_image {
    width: 100%;
    height: auto;
    max-width: fit-content;
    object-fit: contain;
}

.__bf_has_background {
    background-repeat: no-repeat;
}

.__bf_accent {
    color: #DB052C !important;
}

.__bf_accent_bg {
    background-color: #DB052C !important;
}

.__bf_text_dark {
    color: #000000 !important;
}

.__bf_small_text {
    font-size: 16px;
    line-height: 1.1;
}

.__bf_large_text {
    font-size: 22px;
    line-height: 1.4;
    @media screen and (max-width: 500px) {
        font-size: 18px;
    }
}

.__bf_xl_text {
    font-size: 24px;
    line-height: 1.1;
}

.__bf_xxl_text {
    font-size: 30px !important;
    line-height: 1.2 !important;
    @media screen and (max-width: 500px) {
        font-size: 25px !important;
    }
}


/* ==============================
1. Head
============================== */
._bf_head {
    padding-block: 40px 0px;
    box-sizing: border-box;
    .__bf_wrapper {
        display: flex;
        justify-content: space-between;
        gap: 36px;
    }
    @media screen and (max-width: 900px) {
        background-position: top right;
    }
    @media screen and (max-width: 600px) {
        background-position: bottom right;
        .__bf_wrapper {
            gap: 24px;
        }
        .__bf_image {
            &:nth-of-type(1) {
                width: 82px;
            }
            &:nth-of-type(2) {
                width: 193px;
            }
        }
    }
    @media screen and (max-width: 360px) {
        .__bf_image {
            &:nth-of-type(1) {
                width: 70px;
            }
            &:nth-of-type(2) {
                width: 160px;
            }
        }
    }
}

/* ==============================
2. Hero
============================== */
._bf_hero {
    padding-top: 60px;
    background: 
        url(https://biofeedzoo.pl/data/include/cms/6111018811/assets/images/bg_hero_1.png) top -30px left no-repeat,
        url(https://biofeedzoo.pl/data/include/cms/6111018811/assets/images/bg_hero_2.png) center right no-repeat;
        background-size: auto 100%, auto 100%;
    .__bf_wrapper {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 46px;
        .__bf_column {
            flex: 1;
            display: flex;
            align-items: center;
            flex-direction: column;
            text-align: center;
            &:first-of-type {
                max-width: 390px;
            }
            &:nth-of-type(2) {
                max-width: 380px;
                gap: 18px;
            }
            h2 {
                max-width: 540px;
            }
        }
    }
    @media screen and (max-width: 900px) {
        background: 
        url(https://biofeedzoo.pl/data/include/cms/6111018811/assets/images/bg_hero_1.png) top -30px left no-repeat,
        url(https://biofeedzoo.pl/data/include/cms/6111018811/assets/images/bg_hero_2.png) top -30px right no-repeat;
        /* background-size: auto 400px; */
        .__bf_wrapper {
            flex-direction: column;
            gap: 24px;
            .__bf_column {
                &:nth-of-type(2) {
                    max-width: 100%;
                    .__bf_image {
                        max-width: 242px;
                        max-height: 150px;
                    }
                }
            }
        }
    }
    @media screen and (max-width: 600px) {
        padding-top: 40px;
        background: 
        url(https://biofeedzoo.pl/data/include/cms/6111018811/assets/images/bg_hero_1.png) top 47% left -45% no-repeat,
        url(https://biofeedzoo.pl/data/include/cms/6111018811/assets/images/bg_hero_2.png) top right -90% no-repeat;
        background-size: 70% auto, 80% auto;
    }
    @media screen and (max-width: 500px) {
        .__bf_wrapper {
            .__bf_column {
                &:nth-of-type(2) {
                    .__bf_image {
                        &:nth-of-type(1) {
                            max-width: 218px;
                        }
                        &:nth-of-type(2) {
                            max-width: 194px;
                        }
                    }
                }
            }
        }
    }
}


/* ==============================
3. Pros
============================== */
._bf_pros {
    padding-top: 60px;
    .__bf_wrapper {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 26px;
        .__bf_pros_card {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 14px;
            text-align: center;
            h3 {
                max-width: 180px;
            }
        }
    }
    @media screen and (max-width: 900px) {
        .__bf_wrapper {
            gap: 24px;
            grid-template-columns: repeat(2, 1fr);
        }
    }
    @media screen and (max-width: 500px) {
        padding-top: 44px;
        .__bf_wrapper {
            grid-template-columns: repeat(1, 1fr);
            justify-items: center;
            .__bf_pros_card {
                max-width: 290px;
            }
        }
    }
}


/* ==============================
4. Pros 2
============================== */
._bf_pros_2 {
    margin-top: -60px;
    padding-block: 120px 60px;
    background: 
        url(https://biofeedzoo.pl/data/include/cms/6111018811/assets/images/bg_pros_2.png) top -45px right -20px no-repeat;
    .__bf_wrapper {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 20px;
        .__bf_row {
            width: 100%;
            display: flex;
            flex-direction: column;
            gap: 20px;
            text-align: center;
            p {
                max-width: 900px;
            }
        }
        .__bf_column {
            flex: 1;
            display: flex;
            flex-direction: column;
            gap: 30px;
            min-width: 25%;
            &:nth-of-type(2) {
                max-width: 428px;
            }
            .__bf_pros_2_item {
                padding: 12px 24px;
                text-align: center;
                border-radius: 80px;
                box-sizing: border-box;
                >div {
                    margin-bottom: 6px;
                }
            }
        }
    }
    @media screen and (max-width: 900px) {
        background-position: top -45px right -60px;
        .__bf_wrapper {
            flex-direction: column;
            .__bf_column {
                .__bf_pros_2_item {
                    max-width: 509px;
                }
            }
        }
    }
    @media screen and (max-width: 720px) {
        margin-top: -30px;
        background-position: top -110px right -140px;
        .__bf_wrapper {
            .__bf_column {
                align-self: center;
                .__bf_image {
                    margin-left: -15px;
                    width: calc(100% + 30px);
                }
                .__bf_pros_2_item {
                    border-radius: 60px;
                }
            }
        }
    }
}


/* ==============================
5. Pros 3
============================== */
._bf_pros_3 {
    padding-block: 40px 60px;
    .__bf_wrapper {
        .__bf_items {
            display: flex;
            flex-direction: column;
            gap: 14px;
            .__bf_pros_2_item {
                display: flex;
                align-items: center;
                gap: 14px;
            }
        }
    }
    @media screen and (max-width: 720px) {
        padding-block: 0px 60px;
    }
}

/* ==============================
6. Banner
============================== */
._bf_banner {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
    background-image: url(https://biofeedzoo.pl/data/include/cms/6111018811/assets/images/banner-bg.png);
    background-position: bottom right;
    background-size: 55% auto;
    .column {
        .__bf_h2_style {
            padding-bottom: 52px;
            max-width: 520px;
            line-height: 1.2;
        }
    }
    @media screen and (max-width: 900px) {
        flex-direction: column;
        gap: 24px;
        background-image: none;
        .column {
            .__bf_image {
                max-width: 520px;
            }
        }
    }
    @media screen and (max-width: 570px) {
        gap: 0px;
        .column {
            overflow: hidden;
            .__bf_image {
                margin-left: -60px;
                width: calc(100% + 120px);
            }
            .__bf_h2_style {
                padding-inline: 40px;
                font-size: 24px;
            }
        }
    }
}


/* ==============================
7. About
============================== */
._bf_about {
    padding-block: 40px;
    padding-inline: 50px;
    display: flex;
    align-items: center;
    gap: 24px;
    background-image: url(https://biofeedzoo.pl/data/include/cms/6111018811/assets/images/bg_tekstura.jpg);
    background-size: cover;
    box-sizing: border-box;
    .__bf_column {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 24px;
        text-align: center;
        &:nth-of-type(1) {
            max-width: 460px;
            gap: 16px;
        }
        .__bf_rounded {
            border-radius: 40px;
        }
        .__bf_items {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 6px;
            .__bf_about_item {
                flex: 1;
                display: flex;
                flex-direction: column;
                align-items: center;
                gap: 12px;
                img {
                    width: 57px;
                    height: 59px;
                    object-fit: contain;
                }
            }
        }
    }
    @media screen and (max-width: 1000px) {
        flex-direction: column;
    }
    @media screen and (max-width: 600px) {
        background-position: bottom;
        .__bf_column {
            .__bf_items {
                max-width: 264px;
                grid-template-columns: repeat(1, 1fr);
                gap: 20px;
                .__bf_about_item {
                    flex-direction: row;
                    gap: 40px;
                    text-align: left;
                }
            }
        }
    }
    @media screen and (max-width: 400px) {
        padding-inline: 24px;
    }
}

/* ==============================
8. Composition
============================== */
._bf_composition {
    padding-block: 60px;
    box-sizing: border-box;
    .__bf_wrapper {
        display: flex;
        flex-direction: column;
        gap: 50px;
        .__bf_container {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }
    }
    @media screen and (max-width: 500px) {
        p {
            font-size: 16px;
        }
    }
}

/* ==============================
9. Tables
============================== */
._bf_tables {
    padding-bottom: 60px;
    .__bf_wrapper {
        display: flex;
        gap: 56px;
        .__bf_container {
            flex: 1;
            display: flex;
            flex-direction: column;
            gap: 20px;
            .__bf_table {
                border: none;
                border-collapse: collapse;
                &.__bf_table_header {
                    thead {
                        tr {
                            td {
                                font-size: 17px;
                                color: #000000 !important;
                                border-bottom: 1px solid rgba(0, 0, 0, 0.185);
                                background-color: #DCDCDC;
                                text-align: center !important;
                            }
                        }
                    }
                    tbody {
                        tr {
                            &:nth-of-type(even) {
                                td {
                                    background-color: #DCDCDC;
                                }
                            }
                            &:nth-of-type(odd) {
                                td {
                                    background-color: #FFFFFF;
                                }
                            }
                        }
                        tr {
                            td {
                                text-align: center !important;
                            }
                        }
                    }
                }
                strong {
                    font-weight: 600;
                }
                tr {
                    &:nth-of-type(odd) {
                        td {
                            background-color: #DCDCDC;
                        }
                    }
                    &:nth-of-type(even) {
                        td {
                            background-color: #FFFFFF;
                        }
                    }
                }
                tr {
                    td {
                        padding: 8px 24px;
                        color: #000000 !important;
                        border: none;
                        box-sizing: border-box;
                        &:nth-of-type(2) {
                            text-align: right;
                        }
                    }
                }
            }
        }
    }
    @media screen and (max-width: 900px) {
        padding-bottom: 40px;
        .__bf_wrapper {
            flex-direction: column;
        }
    }
}




/* ==============================
10. Footer
============================== */
._bf_footer {
    background-image: url(https://biofeedzoo.pl/data/include/cms/6111018811/assets/images/bg_footer.png);
    background-size: cover;
    background-position: bottom right;
    background-color: #1A1A1A;
    @media screen and (max-width: 900px) {
        background-position: bottom -120px center;
    }
    @media screen and (max-width: 600px) {
        background-image: url(https://biofeedzoo.pl/data/include/cms/6111018811/assets/images/bg_footer_mobile.png);
        background-position: bottom;
        background-size: 100% auto;
    }
}