@import "~styles/my-career-styles/variables";

.home-wrapper {
    .home-header {
        height: 120px;
        background: #58595B;
        padding: 30px 10%;
        position: relative;

        &-heading {
            color: #FFFFFF;
            font-family: $headingFont;
            font-size: 24px;
            font-weight: bold;
            letter-spacing: 0;
            line-height: 32px;
            white-space: nowrap;
            text-overflow: ellipsis;
            overflow: hidden;
        }

        &-card {
            height: 100px;
            border-radius: 4px;
            background-color: #FFFFFF;
            box-shadow: 0 0 20px 0 rgba(128,130,133,0.13);
            padding: 23px 26px;
            margin-top: 24px;
            display: flex;
            justify-content: space-between;
            align-items: center;

            &-content {
                color: #58595B;
                font-family: $bodyFont;
                font-size: 18px;
                letter-spacing: 0;
                line-height: 27px;
                width: 500px;
            }

            &-action {
                border-radius: 73px;
                background-color: #12A8DE;
                color: #FFFFFF;
                font-family: $bodyFont;
                font-size: 14px;
                text-align: center;
                padding: 15px;
                margin-left: 30px;
                font-weight: bold;
                cursor: pointer;
                white-space: nowrap;
            }
        }
    }


    .home-body {
        padding: 100px 10% 0;

        &-heading {
            color: #58595B;
            font-family: $headingFont;
            font-size: 18px;
            font-weight: bold;
            margin-bottom: 24px;
        }

        &-extra-features {
            padding: 24px 26px;
            background: #fff;
            display: flex;
            box-shadow: 0 0 20px 0 rgba(128,130,133,0.13);
            border-radius: 4px;
            margin-bottom: 32px;


            .extra-feature {
                flex: 1;

                &-image {
                    flex: 2;
                }

                &:not(:last-child) {
                    margin-right: 28px;
                }

                .feature {

                    &-heading {
                        color: #58595B;
                        font-family: $bodyFont;
                        font-size: 20px;
                        letter-spacing: 0;
                        line-height: 27px;
                        margin-bottom: 24px;
                        font-weight: 500;
                        position: relative;

                        &:after {
                            content: '';
                            position: absolute;
                            left: 0;
                            bottom: -7px;
                            width: 47px;
                            height: 3px;
                            background: #F37124;
                            border: 1px solid #F37124;
                        }
                    }

                    &-content {
                        color: #58595B;
                        font-family: $bodyFont;
                        font-size: 15px;
                        letter-spacing: 0;
                        line-height: 21px;
                        margin-bottom: 24px;
                    }

                    &-action {
                        padding: 15px;
                        text-align: center;
                        border: 1px solid #12A8DE;
                        border-radius: 73px;
                        color: #12A8DE;
                        cursor: pointer;
                        transition: .3s;

                        &:hover {
                            background: #12A8DE;
                            color: #fff;
                        }
                    }
                }
            }
        }
    }
}











//  Mobile View

.home-mobile-wrapper {

    .home-mobile-tabs {
        background-color: #FFFFFF;
        border: 1px solid #12A8DE;
        border-radius: 4px;
        height: 40px;
        display: flex;
        margin: 16px 10px;

        .home-mobile-tab {
            flex: 1;
            color: #12A8DE;
            font-family: $bodyFont;
            font-size: 14px;
            font-weight: 600;
            text-align: center;
            transition: .3s;
            padding: 10px;

            &.selected {
                background: #12A8DE;
                color: #fff;
            }
        }
    }

    .home-mobile-header {
        height: 120px;
        background-color: #58595B;
        padding: 18px 10px;
        position: relative;

        .mobile-header {
            &-heading {
                color: #FFFFFF;
                font-family: $headingFont;
                font-size: 24px;
                font-weight: bold;
            }

            &-card {
                padding: 16px 13px;
                border-radius: 4px;
                background-color: #FFFFFF;
                box-shadow: 0 0 20px 0 rgba(128,130,133,0.13);
                height: 207px;
                width: 100%;
                margin-top: 16px;
                font-size: 20px;
                color: #58595B;
                font-family: $bodyFont;

                &-action {
                    border-radius: 73px;
                    background-color: #12A8DE;
                    color: #FFFFFF;
                    font-family: $bodyFont;
                    font-size: 14px;
                    text-align: center;
                    padding: 15px;
                    font-weight: bold;
                    cursor: pointer;
                    white-space: nowrap;
                    margin-top: 12px;
                }
            }
        }
    }

    .home-mobile-body {
        margin-top: 215px;
        padding: 10px;

        .mobile-body-heading {
            color: #58595B;
            font-family: $headingFont;
            font-size: 18px;
            font-weight: bold;
            margin-bottom: 24px;
        }

        &-features {


            .feature {
                padding: 12px 16px;
                border-radius: 4px;
                background-color: #FFFFFF;
                box-shadow: 0 0 20px 0 rgba(128,130,133,0.13);
                margin-bottom: 24px;

                &-heading {
                    color: #58595B;
                    font-family: $bodyFont;
                    font-size: 20px;
                    letter-spacing: 0;
                    line-height: 27px;
                    margin-bottom: 24px;
                    font-weight: 500;
                    position: relative;

                    &:after {
                        content: '';
                        position: absolute;
                        left: 0;
                        bottom: -7px;
                        height: 1px;
                        width: 47px;
                        border: 1px solid #F37124;
                    }
                }

                &-content {
                    color: #58595B;
                    font-family: $bodyFont;
                    font-size: 15px;
                    letter-spacing: 0;
                    line-height: 21px;
                    margin-bottom: 24px;
                }

                &-action {
                    padding: 15px;
                    text-align: center;
                    border: 1px solid #12A8DE;
                    border-radius: 73px;
                    color: #12A8DE;
                    cursor: pointer;
                    transition: .3s;

                    &:hover {
                        background: #12A8DE;
                        color: #fff;
                    }
                }

            }
        }
    }
}
