@import '~@equitysim/react-uikit/dist/styles/styleguide';

.c-join-page__content-section {
    background-color: $grey-97;
    position: relative;
    min-height: 100vh;
    height: auto;
    z-index: 0;

    &__main {
        position: relative;
        margin: 0 auto;
        padding: v-space(8) var(--container-padding-h);
        overflow-x: hidden;
        z-index: 10;
        @media screen and (min-width: h-space(11)) {
            width: h-space(11);
        }
    }

    &__title,
    &__subtitle,
    &__duration,
    &__description {
        margin-top: 0;
        margin-bottom: v-space(4);
    }

    &__subtitle,
    &__duration,
    &__description,
    &__participants {
        width: 100%;
        max-width: h-space(5);
    }

    &__title {
        @extend %title;
        color: $seafoam-140;
    }

    &__subtitle,
    &__duration {
        @extend %subtitle;
    }

    &__subtitle {
        color: $grey-30;
    }

    &__duration {
        color: $grey-50;
        span {
            color: $grey-75;
        }
    }

    &__description {
        @extend %heading-sm;
        font-style: normal;
        line-height: v-space(3);
        color: $grey-50;
    }

    &__participants {
        display: flex;
        p {
            &:first-child {
                @extend %heading-xs;
                color: $seafoam-140;
                line-height: v-space(2);
                padding-right: v-space(6);
            }

            &:last-child {
                @extend %number-value-lg;
                color: $seafoam-140;

                span {
                    @extend %number-value-xs;
                    color: $grey-75;
                }
            }
        }
    }

    &__illustration {
        &--cloud {
            position: absolute;
            top: -11.75rem;
            width: 100%;
            height: auto;
        }
        &--teamwork {
            position: absolute;
            bottom: 0;
            right: 12.6rem;
            width: 84rem;
            @media screen and (max-width: h-space(10)) {
                opacity: 0.1;
            }
        }
    }
}
