section.home{
    position:relative; /*Parent element*/
    height: 700px;
}

.home-content{

    /* display: flex;
    flex-direction: column;
    justify-content: center; */

    padding: 86px 0px 214px 660px;
    /* background-color: rgb(240, 214, 214); */
    /* border: 1px solid rgb(56, 32, 163); */

}

.home-heading{
    position:relative;


    font-weight: 700;
    font-size: 106px;
    line-height: 80px;
    text-align: center;
    color: #FFFFFF;
    margin-bottom: 60px;
}

.home-heading span{
    color:#FFEE2E;
}

.ellipse-wrapper{
    position: absolute;
    bottom: 9px;
    right: 108px;
    width: 465px;
    z-index: -1;
}

.ellipse-wrapper img{
    width: 100%;
}

.home-button{
    display: flex;
    justify-content: center;
    margin-left: 6px;
}

.home-bg-image{
    position: absolute; /* child element */
    left: 0;
    top: 0;
    width: 100%;
    height:700px;
    background: rgb(148, 143, 143); /*complemantary background  before image will be loaded */
    z-index: -2;
}

.home-bg-image>img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.home-bg-image img:nth-child(2){
    display: none;
}

@media screen and (max-width:1440px) {
    .home-content{
        padding: 86px 0px 214px 440px;
    }
    .home-heading{
        font-size: 95px;
    }
}

@media screen and (width:1000px) {
    section.home{
        height: 504px;
    }
    .home-content{
        padding: 43px 65px 47px 492px;
    }
    .home-heading{
        font-size: 85px;
        line-height: 64px;
        margin-bottom: 40px;
    }
    .ellipse-wrapper{
        position: absolute;
        bottom: 5px;
        right: 82px;
        width: 367px;
    }

    .ellipse-wrapper img{
        width: 100%;
    }
    .home-bg-image{
        height:504px;
    }
}
@media screen and (max-width:999px) {
    section.home{
        height: 339px;
    }
    .home-content{
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        /* padding: 48px 0px 87px 20px; */
        padding: 48px 0px 32px 0px;
        /* margin-left: 4px; */
    }
    .home-heading{
        font-size: 54px;
        line-height: 41px;
        /* margin-bottom: -8px; */
        /* margin-left: 15px; */
        margin: 0;
        margin-right: -4px;
        width: 256px;

    }
    .ellipse-wrapper{
        position: absolute;
        bottom: 5px;
        right: 55px;
        width: 238px;
    }

    .ellipse-wrapper img{
        width: 100%;
    }
    .home-button{
        align-self: flex-start;
        margin-left: 2px;
        margin-top: -8px;
    }
    .home-bg-image{
        height:339px;
    }
}
@media screen and (max-width:639px) {
    section.home{
        height: 187px;
        margin-bottom: 60px;
    }
    .home-content{
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        /* padding: 48px 0px 87px 20px; */
        padding: 41px 0px 30px 0px;
        /* margin-left: 4px; */
    }
    .home-heading{
        font-size: 27px;
        line-height: 20.4px;
        /* margin-bottom: -8px; */
        /* margin-left: 15px; */
        margin: 0;
        margin-right: 8px;
        width: 128px;
        margin-bottom: 70px;

    }
    .ellipse-wrapper{
        position: absolute;
        bottom: 2px;
        right: 28px;
        width: 119px;
    }

    .ellipse-wrapper img{
        width: 100%;
    }
    .home-button{
        align-self:center;
        margin-left: 2px;
        /* margin-top: -8px; */
    }
    .home-bg-image>img{
        display:none;
    }
    .home-bg-image img:nth-child(2){
        display:block;
    }
    .home-bg-image{
        height:187px;
        /* top: 34; */
    }
}