/* Style the content of page services */
.PageServicesContent {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;

    width: 100%;

    padding-left: 17px;
    padding-right: 17px;
}

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

        width: 100%;

        margin-bottom: 47px;
    }

    @media screen and (max-width: 550px){
        .PageServicesContent__Header {
            justify-content: center;
        }
    }

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

            width: 100%;
        }

        @media screen and (max-width: 550px){
            .PageServicesContentHeader__Functions {
                justify-content: center;
                margin-bottom: 7px;
            }
        }

        .PageServicesContentHeader__Title {
            display: flex;
            flex-direction: row;
            align-items: center;
            justify-content: flex-start;

            width: 100%;
        }

        @media screen and (max-width: 550px){
            .PageServicesContentHeader__Title {
                justify-content: center;
            }
        }

            .PageServicesContentHeader__Title > h2 {
                text-align: left;
            }

            @media screen and (max-width: 550px){
                .PageServicesContentHeader__Title > h2 {
                    text-align: center;
                }
            }

    .PageServicesContent__Block {
        display: grid;
        align-items: flex-start;
        justify-content: flex-start;

        grid-template-columns: repeat( auto-fit, minmax( 400px, 1fr ) );

        width: 100%;

        gap: 17px;
    }

    @media screen and (max-width: 500px){
        .PageServicesContent__Block {
            grid-template-columns: repeat( auto-fit, minmax( 300px, 1fr ) );
        }
    }

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

            background-size: cover;
            background-position: top right;
            background-repeat: no-repeat;
            border-radius: 3px;

            width: 100%;
            height: 100%;
            
            padding: 17px;
            transition: 0.4s;
        }

            .PageServicesContentBlock__Item:nth-of-type( odd ) {
                background: url( '/wp-content/themes/sizif-app-version/assets/images/system/themes/sizif-themes-background-box-350x250-v2.svg' ), rgb(60, 64, 68);
            }

                .PageServicesContentBlock__Item:nth-of-type( odd ):hover {
                    transition: 0.2s;
                    background: url( '/wp-content/themes/sizif-app-version/assets/images/system/themes/sizif-themes-background-box-350x250-v2.svg' ), rgb(64, 68, 72);
                }

            .PageServicesContentBlock__Item:nth-of-type( even ) {
                background: url( '/wp-content/themes/sizif-app-version/assets/images/system/themes/sizif-themes-background-box-350x250-v1.svg' ), rgb(60, 64, 68);
            }

                .PageServicesContentBlock__Item:nth-of-type( even ):hover {
                    transition: 0.2s;
                    background: url( '/wp-content/themes/sizif-app-version/assets/images/system/themes/sizif-themes-background-box-350x250-v1.svg' ), rgb(64, 68, 72);
                }

            .PageServicesContentBlockItem__Header {
                display: flex;
                flex-direction: row;
                align-items: center;
                justify-content: flex-start;

                width: 100%;
            }

                .PageServicesContentBlockItemHeader__Icon {
                    display: flex;
                    flex-direction: row;
                    align-items: center;
                    justify-content: center;

                    background: rgba(255, 237, 177, 0.1);
                    border-radius: 100%;

                    padding: 5px;
                    margin-right: 14px;
                }

                    .PageServicesContentBlockItemHeader__Icon > img {
                        background: rgb(60, 64, 68);
                        border-radius: 100%;

                        width: 46px;
                        height: auto;
                        max-width: 56px;

                        padding: 7px;
                    }

                .PageServicesContentBlockItemHeader__Title {
                    display: flex;
                    flex-direction: row;
                    align-items: center;
                    justify-self: flex-start;

                    text-align: left;
                }

                    .PageServicesContentBlockItemHeader__Title > h2,
                    .PageServicesContentBlockItemHeader__Title > h3 {
                        font-size: 30px;
                    }
                    
                    @media screen and (max-width: 900px){
                        .PageServicesContentBlockItemHeader__Title > h2,
                        .PageServicesContentBlockItemHeader__Title > h3 {
                            font-size: 26px;
                        }

                    }
                    @media screen and (max-width: 800px){
                        .PageServicesContentBlockItemHeader__Title > h2,
                        .PageServicesContentBlockItemHeader__Title > h3 {
                            font-size: 23px;
                        }
                        
                    }
                    @media screen and (max-width: 700px){
                        .PageServicesContentBlockItemHeader__Title > h2,
                        .PageServicesContentBlockItemHeader__Title > h3 {
                            font-size: 22px;
                        }
                        
                    }
                    @media screen and (max-width: 600px){
                        .PageServicesContentBlockItemHeader__Title > h2,
                        .PageServicesContentBlockItemHeader__Title > h3 {
                            font-size: 21px;
                        }
                        
                    }
                    @media screen and (max-width: 500px){
                        .PageServicesContentBlockItemHeader__Title > h2,
                        .PageServicesContentBlockItemHeader__Title > h3 {
                            font-size: 20px;
                        }
                        
                    }
                    @media screen and (max-width: 400px){
                        .PageServicesContentBlockItemHeader__Title > h2,
                        .PageServicesContentBlockItemHeader__Title > h3 {
                            font-size: 19px;
                        }
                        
                    }