/* global definitions */
:root {
    --kf-bg-color: #d3d3d3;
    --kf-title-color: #fcbf00;
    --kf-text-color: #3b3b3b;
    --kf-button-bg-color: #d3d3d3;
    --kf-button-bg-active-color: #fcbf00;
}

.kf-button-active {
    background-color: var(--kf-button-bg-active-color) !important;
}

.kf-article-active {
    opacity: 1 !important;
}

.kf-banner {
    display: block;
    background-image: url(../images/pics/kf_bg.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    cursor: pointer;
    overflow: hidden;
    position: relative;

    & .banner-title {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        color: var(--kf-title-color);
        text-transform: uppercase;
        text-align: center;
        font-weight: bold;
    }
}

.kf-box {
    display: flex;
    width: 100%;

    .kf-box-buttons {
        display: flex;

        .kf-box-button {
            display: flex;
            justify-content: center;
            align-items: center;
            box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;

            p {
                display: inline-block;
                text-transform: uppercase;
                color: var(--kf-text-color);
            }
        }
    }

    .kf-box-articles {
        position: relative;
        width: 100%;
        display: block;

        .kf-box-article {
            position: absolute;
            top: 0;
            left: 0;
            height: 100%;
            width: 100%;
            display: flex;
            opacity: 0;

            div {
                display: block;
                color: var(--kf-text-color);

                h3 {
                    font-weight: bold;
                }
            }

            img {
                box-shadow: rgba(0, 0, 0, 0.25) 0px 14px 28px, rgba(0, 0, 0, 0.22) 0px 10px 10px;
                /* box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px, rgba(10, 37, 64, 0.35) 0px -2px 6px 0px inset; */
            }
        }
    }
}

@media screen and (min-width: 1200px) {
    .kf-banner {
        height: 610px;

        & .banner-title {
            font-size: 8rem;
            text-shadow: #202020 2px 3px 2px;
        }
    }

    .kf-box {
        flex-direction: column;
        padding: 3rem;
        gap: 4rem;

        & .kf-box-buttons {
            flex-direction: row;
            justify-content: space-between;
            padding: 3rem 0;

            & .kf-box-button {
                flex-direction: column;
                width: 180px;
                gap: 1rem;
                padding: 2rem 0;
                border-radius: 2rem;
                cursor: pointer;
                transition: all 600ms;

                & img {
                    width: 80px;
                    height: auto;
                }

                & p {
                    font-size: 2rem;
                }
            }
        }

        & .kf-box-articles {
            height: 600px;

            & .kf-box-article {
                align-items: center;
                justify-content: space-around;
                gap: 2rem;
                padding: 3rem 0;
                transition: all 600ms;

                & div {
                    padding: 2rem;
                    font-size: 2rem;

                    & h3 {
                        padding: 2rem 0;
                    }

                    & p {
                        padding: 1rem 0;
                    }

                    & ul {
                        padding: 1rem 0;
                        padding-left: 3rem;

                        & li {
                            padding: 0.3rem 0;
                        }
                    }
                }

                & img {
                    width: 300px;
                    height: auto;
                    border-radius: 3rem;
                }
            }
        }
    }
}

@media screen and (min-width: 992px) and (max-width: 1200px) {
    .kf-banner {
        height: 510px;

        & .banner-title {
            font-size: 8rem;
            text-shadow: #202020 2px 3px 2px;
        }
    }

    .kf-box {
        flex-direction: column;
        padding: 2rem;
        gap: 4rem;

        & .kf-box-buttons {
            flex-direction: row;
            justify-content: space-between;
            padding: 2rem 0;

            & .kf-box-button {
                flex-direction: column;
                /* width: 80px; */
                gap: 1rem;
                padding: 1rem 3rem;
                border-radius: 2rem;
                cursor: pointer;
                transition: all 600ms;

                & img {
                    width: 70px;
                    height: auto;
                }

                & p {
                    font-size: 1.5rem;
                }
            }
        }

        .kf-box-articles {
            height: 500px;

            & .kf-box-article {
                align-items: center;
                justify-content: space-around;
                transition: all 600ms;

                & div {
                    width: 600px;
                    padding: 2rem;
                    font-size: 1.8rem;

                    & h3 {
                        padding: 1rem 0;
                    }

                    & p {
                        padding: 0.6rem 0;
                    }

                    & ul {
                        padding: 0.6rem 0;
                        padding-left: 3rem;

                        & li {
                            padding: 0.2rem 0;
                        }
                    }
                }

                & img {
                    width: 250px;
                    /* height: auto; */
                    border-radius: 3rem;
                }
            }
        }
    }
}

@media screen and (min-width: 768px) and (max-width: 992px) {
    .kf-banner {
        height: 400px;

        & .banner-title {
            font-size: 4rem;
            text-shadow: #202020 1px 2px 2px;
        }
    }

    .kf-box {
        flex-direction: column;
        padding: 2rem;
        gap: 4rem;

        & .kf-box-buttons {
            flex-direction: row;
            justify-content: space-between;
            padding: 1.6rem 0;

            & .kf-box-button {
                display: block;
                padding: 0.5rem;
                border-radius: 2rem;
                transition: all 600ms;

                & img {
                    width: 70px;
                    height: auto;
                }

                & p {
                    display: none;
                }
            }
        }

        & .kf-box-articles {
            height: 300px;

            & .kf-box-article {
                align-items: center;
                justify-content: space-around;
                transition: all 600ms;
                padding: 2rem 0;

                & div {
                    width: 70%;
                    padding: 0.5rem;
                    font-size: 1.4rem;

                    & h3 {
                        padding: 1rem 0;
                    }

                    & p {
                        padding: 0.6rem 0;
                    }

                    & ul {
                        padding: 0.6rem 0;
                        padding-left: 3rem;

                        & li {
                            padding: 0.2rem 0;
                        }
                    }
                }

                & img {
                    width: 28%;
                    height: auto;
                    border-radius: 3rem;
                }
            }
        }
    }

}

@media screen and (min-width: 480px) and (max-width: 768px) {
    .kf-banner {
        height: 400px;

        & .banner-title {
            font-size: 4rem;
            text-shadow: #202020 1px 2px 2px;
        }
    }

    .kf-box {
        flex-direction: column;
        padding: 2rem;
        gap: 4rem;

        & .kf-box-buttons {
            flex-direction: row;
            justify-content: space-between;

            & .kf-box-button {
                display: block;
                padding: 0.5rem;
                border-radius: 2rem;
                transition: all 600ms;

                & img {
                    width: 40px;
                    height: auto;
                }

                & p {
                    display: none;
                }
            }
        }

        & .kf-box-articles {
            height: 800px;

            & .kf-box-article {
                flex-direction: column;
                align-items: center;
                justify-content: flex-start;
                transition: all 600ms;
                gap: 2rem;

                & div {
                    padding: 0.5rem;
                    font-size: 1.4rem;

                    & h3 {
                        padding: 0.5rem 0;
                    }

                    & p {
                        padding: 0.4rem 0;
                    }

                    & ul {
                        padding: 0.4rem 0;
                        padding-left: 1.7rem;

                        & li {
                            padding: 0.1rem 0;
                        }
                    }
                }

                & img {
                    width: 280px;
                    height: auto;
                    border-radius: 3rem;
                }
            }
        }
    }
}

@media screen and (max-width: 480px) {
    .kf-banner {
        height: 400px;

        & .banner-title {
            font-size: 4rem;
            text-shadow: #202020 1px 2px 2px;
        }
    }

    .kf-box {
        flex-direction: column;
        padding: 2rem;
        gap: 4rem;

        & .kf-box-buttons {
            flex-direction: row;
            justify-content: space-between;

            & .kf-box-button {
                display: block;
                padding: 0.5rem;
                border-radius: 2rem;
                transition: all 600ms;

                & img {
                    width: 40px;
                    height: auto;
                }

                & p {
                    display: none;
                }
            }
        }

        & .kf-box-articles {
            height: 880px;

            & .kf-box-article {
                flex-direction: column;
                align-items: center;
                justify-content: flex-start;
                gap: 2rem;
                transition: all 600ms;

                & div {
                    padding: 0.5rem;
                    font-size: 1.4rem;

                    & h3 {
                        padding: 0.5rem 0;
                    }

                    & p {
                        padding: 0.4rem 0;
                    }

                    & ul {
                        padding: 0.4rem 0;
                        padding-left: 1.7rem;

                        li {
                            padding: 0.1rem 0;
                        }
                    }
                }

                & img {
                    width: 250px;
                    height: auto;
                    border-radius: 3rem;
                }
            }
        }
    }
}