/* Style the advantage */
.Advantage {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    width: 100%;
}

    .Advantage__Header {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;

        text-align: center;
        
        width: 100%;

        padding-left: 17px;
        padding-right: 17px;
        margin-bottom: 37px;
    }

        .AdvantageHeader__Title {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: center;
            
            font-size: 34px;
            font-weight: 700;

            width: 100%;
        }

        @media screen and (max-width: 900px){
            .AdvantageHeader__Title { font-size: 34px; }
        }

            @media screen and (max-width: 800px){
                .AdvantageHeader__Title { font-size: 32px; }
            }

                @media screen and (max-width: 700px){
                    .AdvantageHeader__Title { font-size: 30px; }
                }

                    @media screen and (max-width: 600px){
                        .AdvantageHeader__Title { font-size: 28px; }
                    }

                        @media screen and (max-width: 500px){
                            .AdvantageHeader__Title { font-size: 26px; }
                        }

                            @media screen and (max-width: 400px){
                                .AdvantageHeader__Title { font-size: 24px; }
                            }

            .AdvantageHeader__Title > h2 {
                margin-right: 7px;
            }

            .AdvantageHeader__Title > span {
                color: rgb(30, 160, 220);
            }

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

            max-width: 700px;
        }

    .Advantage__Block {
        display: flex;
        flex-wrap: wrap;
        align-items: flex-start;
        justify-content: center;

        width: 100%;
    }

    .Advantage__Block::-webkit-scrollbar { width: 0px; height: 0px; }

    @media screen and (max-width: 550px){
        .Advantage__Block {
            flex-wrap: unset;
            flex-direction: row;
            align-items: center;
            justify-content: flex-start;

            overflow-x: auto;
        }
    }

        .AdvantageBlock__Item {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: flex-start;

            background: url( '/assets/images/themes/background-elemet-4.svg' ), rgb( 255, 255, 255 );
            border-radius: 17px;

            width: 100%;
            max-width: 250px;
            min-height: 250px;
            min-width: 250px;

            padding: 17px;
            margin-right: 17px;
            margin-bottom: 17px;
        }

            .AdvantageBlock__Item:nth-of-type(1){
                box-shadow: 0px 0px 17px rgba(30, 160, 220, 0.1);
            }

            .AdvantageBlock__Item:nth-of-type(2){
                box-shadow: 0px 0px 17px rgba(210, 220, 30, 0.1);
            }

            @media screen and (max-width: 750px){
                .AdvantageBlock__Item:nth-of-type(2){
                    margin-right: unset;
                }
            }

                @media screen and (max-width: 550px){
                    .AdvantageBlock__Item:nth-of-type(2){
                        margin-right: 17px;
                    }
                }

            .AdvantageBlock__Item:nth-of-type(3){
                box-shadow: 0px 0px 17px rgba(20, 170, 115, 0.1);
            }

            .AdvantageBlock__Item:nth-of-type(4){
                box-shadow: 0px 0px 17px rgba(175, 30, 220, 0.1);
            }

            @media screen and (max-width: 750px){
                .AdvantageBlock__Item:nth-of-type(4){
                    margin-right: unset;
                }
            }

                @media screen and (max-width: 550px){
                    .AdvantageBlock__Item:nth-of-type(4){
                        margin-right: 17px;
                    }
                }

            .AdvantageBlock__Item > img {
                border-radius: 100%;

                padding: 17px;
                margin-bottom: 17px;
            }

                .AdvantageBlock__Item:nth-of-type(1) > img {
                    background: rgb(30, 160, 220);
                    box-shadow: 0px 0px 27px rgba(30, 160, 220, 0.7);
                }

                .AdvantageBlock__Item:nth-of-type(2) > img {
                    background: rgb(210, 220, 30);
                    box-shadow: 0px 0px 27px rgba(210, 220, 30, 0.7);
                }

                .AdvantageBlock__Item:nth-of-type(3) > img {
                    background: rgb(20, 170, 115);
                    box-shadow: 0px 0px 27px rgba(20, 170, 115, 0.7);
                }

                .AdvantageBlock__Item:nth-of-type(4) > img {
                    background: rgb(175, 30, 220);
                    box-shadow: 0px 0px 27px rgba(175, 30, 220, 0.7);
                }

            .AdvantageBlockItem__Title {
                text-align: center;
                margin-bottom: 7px;
            }

            .AdvantageBlockItem__Description {
                text-align: center;
            }

            .AdvantageBlockItemTitle__ThemesLine {
                border-radius: 3px;

                width: 70px;
                height: 4px;

                margin-bottom: 7px;
            }

                .AdvantageBlock__Item:nth-of-type(1) > .AdvantageBlockItemTitle__ThemesLine {
                    background: rgb(30, 160, 220);
                }

                .AdvantageBlock__Item:nth-of-type(2) > .AdvantageBlockItemTitle__ThemesLine {
                    background: rgb(210, 220, 30);
                }

                .AdvantageBlock__Item:nth-of-type(3) > .AdvantageBlockItemTitle__ThemesLine {
                    background: rgb(20, 170, 115);
                }

                .AdvantageBlock__Item:nth-of-type(4) > .AdvantageBlockItemTitle__ThemesLine {
                    background: rgb(175, 30, 220);
                }

/* Limit the loading service pictograms without changing their image files. */
.AdvantageBlock__Item > img[src^="/assets/images/icons/pages/advantages/prr-"] {
    max-width: 36px;
    max-height: 36px;
    object-fit: contain;
}

/* Limit the service loaders pictograms to the approved display size. */
.AdvantageBlock__Item > img[src^="/assets/images/icons/pages/advantages/loaders-"] {
    max-width: 36px;
    max-height: 36px;
    object-fit: contain;
}
