@use '~@epam/promo/assets/styles/colors.scss' as *;

.layout {
    margin: 0 auto;
    background: #FFFFFF;

    .landing-started {
        display: flex;
        flex-direction: column;
        max-width: 1200px;
        width: 100%;
        margin: 0 auto;
        padding: 60px 0;
    }

    .header {
        margin: 0 0 18px;
    }

    .content {
        padding-top: 6px;
        width: 100%;

        .content-column {
            position: relative;
            width: 100%;
            display: flex;
            justify-content: center;

            .content-column-wrapper {
                max-width: 384px;
                display: flex;
                flex-direction: column;
                align-items: center;

                .content-icon {
                    height: 36px;
                    width: 36px;
                    border-radius: 50%;
                    display: flex;
                    justify-content: center;
                }

                .content-text {
                    text-align: center;
                    padding-top: 12px;
                    padding-bottom: 24px;
                }
            }
        }

        .content-column:first-child::after {
            position: absolute;
            content: '';
            right: -10px;
            bottom: 0;
            height: 132px;
            width: 1px;
            background-color: $gray40;
        }
    }

    .description {
        text-align: center;
        width: 85%;
        margin: 18px 0 30px;
    }

    @media (max-width: 1280px) {
        .landing-started {
            max-width: 732px;
            padding: 48px 0;
        }

        .content {
            .content-column {
                .content-column-wrapper {
                    max-width: 340px;

                    .content-text {
                        font-size: 22px;
                    }
                }
            }

            .content-column:first-child::after {
                height: 162px;
            }
        }
    }

    @media (max-width: 768px) {
        .landing-started {
            max-width: none;
            width: inherit;
            margin: 0 12px;
            padding: 30px 0;
        }

        .header {
            font-size: 24px;
            line-height: 30px;
        }

        .content {
            flex-direction: column;

            .content-column {
                &:not(:last-child) {
                    margin-right: 0;
                    margin-bottom: 24px;
                }

                &:not(:first-child) {
                    margin-left: 0;
                }

                .content-column-wrapper {
                    max-width: none;

                    .content-text {
                        font-size: 16px;
                        line-height: 24px;
                        padding-top: 6px;
                        padding-bottom: 18px;
                    }
                }
            }

            .content-column:first-child::after {
                content: none;
            }
        }
    }
}
