/* Style the pay of types block */
.PayTypes {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;

    width: 100%;
}

    .PayTypes__Header {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;

        width: 100%;

        padding-left: 17px;
        padding-right: 17px;
        margin-bottom: 37px;
    }

        .PayTypesHeader__Title {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: center;

            font-size: 34px;
            font-weight: 700;
            text-align: center;

            width: 100%;
        }

            .PayTypesHeader__Title > h2 {
                margin-right: 7px;
            }

            .PayTypesHeader__Title > span {
                color: rgb(30, 160, 220);
            }

        .PayTypesHeader__Description {
            display: block;

            text-align: center;

            width: 100%;
            max-width: 700px;
        }

    .PayTypes__Block {
        display: grid;
        align-items: flex-start;
        justify-content: flex-start;

        grid-template-columns: repeat( auto-fit, minmax( 350px, 1fr ) );

        width: 100%;

        gap: 17px;
        padding: 17px;
    }

    @media screen and (max-width: 400px){
        .PayTypes__Block {
            grid-template-columns: repeat( auto-fit, minmax( 270px, 1fr ) );
        }
    }

        .PayTypesBlock__Item {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            justify-content: flex-start;

            background: url( '/assets/images/themes/background-elemet-4.svg' ), rgb(255, 255, 255);
            border-radius: 17px;

            width: 100%;
            height: 100%;

            padding: 17px;
        }

            .PayTypesBlockItem__Header {
                display: flex;
                flex-direction: row;
                align-items: center;
                justify-self: flex-start;

                width: 100%;

                margin-bottom: 17px;
            }

                .PayTypesBlockItemHeader__Icon {
                    display: flex;
                    flex-direction: row;
                    align-items: center;
                    justify-content: center;

                    background: rgb(247, 247, 247);
                    border-radius: 100%;

                    padding: 17px;
                    margin-right: 17px;
                }

                    .PayTypesBlock__Item:nth-of-type(1) .PayTypesBlockItemHeader__Icon {
                        background: rgb(20, 170, 115);
                        box-shadow: 0px 0px 27px rgb(20, 170, 115, 0.7);
                    }

                    .PayTypesBlock__Item:nth-of-type(2) .PayTypesBlockItemHeader__Icon {
                        background: rgb(30, 160, 220);
                        box-shadow: 0px 0px 27px rgb(30, 160, 220, 0.7);
                    }

                    .PayTypesBlock__Item:nth-of-type(3) .PayTypesBlockItemHeader__Icon {
                        background: rgb(175, 30, 220);
                        box-shadow: 0px 0px 27px rgb(175, 30, 220, 0.7);
                    }

                    .PayTypesBlock__Item:nth-of-type(4) .PayTypesBlockItemHeader__Icon {
                        background: rgb(244, 67, 54);
                        box-shadow: 0px 0px 27px rgb(244, 67, 54, 0.7);
                    }

                    .PayTypesBlockItemHeader__Icon > img {
                        width: 100%;
                        height: auto;
                        max-width: 56px;
                    }

                .PayTypesBlockItemHeader__Title {
                    display: flex;
                    flex-direction: row;
                    align-items: center;
                    justify-content: flex-start;

                    width: 100%;
                }

            .PayTypesBlockItem__Description {
                display: block;

                text-align: left;
                word-break: break-word;

                width: 100%;
            }