header, main{
    position: relative;
}

#home-top-bg{
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    -webkit-transform: skewY(-4deg);
    transform: skewY(-4deg);
    -webkit-transform-origin: 0;
    transform-origin: 0;
    background: linear-gradient(50deg,#46108a 10%,#3c0e60 50%,#12054d 80%);
}

#home-top-bg:before{
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-image: url(../img/home-top-bg.png);
    background-repeat: no-repeat;
    background-position: center 66px;
    transform: skewY(4deg);
    opacity: 0.6;
}

/* #home-top:before{
    content: "";
    position: absolute;
    z-index: -1;
    max-width: 1480px;
    min-width: 1300px;
    height: 200px;
    top: 480px;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
    -webkit-transform: rotate(1deg) skewX(-60deg);
    transform: rotate(1deg) skewX(-60deg);
    background: #ffffff;
} */

#home-top:before{
    content: "";
    position: absolute;
    z-index: -1;
    height: 120px;
    top: 560px;
    left: 28vw;
    width: calc(582px + 27vw);
    -webkit-transform: rotate(1deg) skewX(-60deg);
    transform: rotate(1deg) skewX(-60deg);
    background: #ffffff;
}

#home-top{
    overflow: hidden;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    /* -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center; */
    height: 700px;
    position: relative;
}

#home-top .container{
    margin-top: 215px;
    padding-left: 20px;
    padding-top: 0;
    padding-bottom: 0;
}

#home-top h1{
    margin-left: 70px;
    font-weight: 700;
    font-size: 2.6em;
    color: #fff;  
    -webkit-text-shadow: 3px 3px 3px rgba(0,0,0,0.2);
    -moz-text-shadow: 3px 3px 3px rgba(0,0,0,0.2);
    text-shadow: 3px 3px 3px rgba(0,0,0,0.2);
}
#home-top p{
    width: 45%;
    margin-top: 10px;
    margin-left: 70px;
    font-weight: 300;
    font-size: 1.3em;
    line-height: normal;
    color: #fff;
}
#home-top a.btn-m{
    color: #fff;
    font-weight: 700;
    font-size: 0.85em;
    margin-top: 20px;
    margin-left: 70px;
    text-transform: uppercase;
}











.top-details{
    display: flex;
    position: absolute;
    bottom: 30px;
    right: calc(47vw - 535px);
    /* width: 56vw; */
    /* min-width: 1140; */
    justify-content: space-between;
}
.top-detail{
    max-width: 182px;
    margin: 0 15px;
    font-size: 0.8vw;
    font-weight: 700;
    color: #4229ac;
    -webkit-text-shadow: 2px 2px 2px rgba(0,0,0,0.2);
    -moz-text-shadow: 2px 2px 2px rgba(0,0,0,0.2);
    text-shadow: 2px 2px 2px rgba(0,0,0,0.2);
    cursor: default;
}
.top-detail i{
    font-size: 1.8em;
    vertical-align: middle;
    margin-right: 3px;
}

#home-top .top-down {
    bottom: 4vw;
}

#home-top-img {
    position: absolute;
    left: 56%;
    top: 140px;
}
#home-top-img img{
    height: 450px;
    width: auto;
    transform: translatey(0px) rotate(0);
	animation: float 10s ease-in-out infinite;
}








#home-first:before{
    content: "";
    position: absolute;
    z-index: -2;
    width: 100%;
    height: 35%;
    top: -68px;
    -webkit-transform: skewY(-4deg);
    transform: skewY(-4deg);
    background: linear-gradient(190deg,#c6d0f6 250px,#ffffff 700px);
    overflow: hidden;
}

#home-first .container{
    text-align: center;
}

#home-first h2{
    padding-top: 70px;
    font-size: 1.6em;
    color: #363636; 
    -webkit-text-shadow: 2px 2px 3px rgba(0,0,0,0.2);
    -moz-text-shadow: 2px 2px 3px rgba(0,0,0,0.2);
    text-shadow: 2px 2px 3px rgba(0,0,0,0.2); 
}

#home-first .bar-options{
    margin-top: 50px;
}

#home-first ul.plan{
    margin-top: 50px;
}

#home-first a.btn-line{
    text-transform: uppercase;
}

#home-first a.btn-line-g{
    border-color: #771de1;
    color: #771de1;
    margin-top: 40px;
    max-width: 350px;
    margin-left: auto;
    margin-right: auto;
}






#home-second:before{
    margin-top: 60px;
    content: "";
    position: absolute;
    z-index: -2;
    width: 100%;
    height: 20%;
    -webkit-transform: skewY(3deg);
    transform: skewY(3deg);
    background: linear-gradient(172deg,#e0e0e0 0%,#ffffff 40%);
    overflow: hidden;
}

#home-second .container{
    text-align: center;
}

#home-second h2{
    padding-top: 150px;
    color: #3516a8;
}

#home-second p{
    padding-top: 10px;
    color: #959393;
    font-size: 1.1em;
}

#home-second ul{
    padding-top: 60px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

#home-second ul li{
    width: 30%;
}

#home-second ul li img{
    padding-bottom: 20px;
}

#home-second ul li h3{
    font-size: 1.4em;
    font-weight: 900;
    color: #353535;
    padding-bottom: 10px;
}

#home-second ul li p{
    line-height: normal;
    padding: 0 10px;
    font-size: 1.1em;
}
#home-second ul li p strong{
    color: #595959;
    font-weight: 700;
}




#home-third {
    margin-top: 100px;
    padding: 70px 0;
    background-color: #b3e0ff;
}

#home-third .container div{
    width: 34%;
    display: inline-block;
    vertical-align: top;
}

#home-third .container div.img{
    width: 55%;
    padding-left: 50px;
}

#home-third h2{
    margin-top: 60px;
    color: #2f5b98;
}

#home-third p{
    margin-top: 14px;
    font-weight: 700;
    font-size: 1.5em;
    color: #fff;
}

#home-third ul {
    color: #2f5b98;
    margin-top: 40px;
    display: flex;
    justify-content: space-between;
    text-align: center;
}

#home-third li p {   
    color: #2f5b98;
    font-size: 1.2em;
    padding: 0 10px;
}

#home-third li i{   
    font-size: 50px;
}



#home-fourth {
    background: linear-gradient(325deg,#d0d0d0 20%,#ffffff 50%);
    padding: 100px 0;
    padding-bottom: 340px;
}

#home-fourth .container {
    padding-left: 70px;
}

#home-fourth h2{
    color: #034471;
}
#home-fourth p{
    color: #9b9797;
    margin-top: 8px;
    font-size: 1.4em;
    font-weight: 700;
}
#home-fourth ul{
    margin-top: 50px;
    margin-left: 70px;
}
#home-fourth li{
    font-weight: 400;
    font-size: 1.3em;
    color: #9b9797;
    padding: 7px 0;
}
#home-fourth li i{
    text-align: center;
    width: 30px;
    color: #aaa7a7;
}

#home-fourth img{
    position: absolute;
    bottom: 60px;
    left: 40%;
    max-width: 60%;
    height: auto;
}


@media only screen and  (max-width: 950px)  {
    /* (min-width: 601px) and */
    #home-top-img{
        top: calc(450px - 29vw);
        left: auto;
        right: 7vw;
    }

    #home-top-img img{
        min-width: 120px;
        width: 30vw;
        height: auto;
    }

    #home-top .top-down {
        bottom: 8vw;
    }

    
    
    
    #home-first:before{
        height: 70vmax;
        background: linear-gradient(190deg,#c6d0f6 25%,#ffffff 80%);
    }



    #home-second ul li{
        width: auto;
        min-width: 200px;
        max-width: 350px;
        margin: 0 0 50px 0;
    }

    #home-second ul {
        justify-content: center;
    }


    #home-third .container {
        text-align: center;
    }    
    #home-third .container div {
        display: inline-block;
    }
    #home-third .container div.img{
        width: auto;
        padding: 0;
        text-align: center;
    }
    #home-third .container div.img img{
        width: 70vw;
        height: auto;
    }
    #home-third .container div.txt {
        width: 100%;
    }


    #home-fourth {
        padding: 60px 0 100px 0;
        background: linear-gradient(325deg,#e0dfdf 0%,#ffffff 50%);
    }
    #home-fourth ul{
        margin-left: 0;
    }
    #home-fourth img{
        max-width: 40%;
        left: 50%;
    }




}






@media only screen and (max-width: 600px)  {

    #home-top .container{
        text-align: center;
    }
    #home-top:before, #home-top-bg:before, #home-top .top-detail {
        display: none;
    }

    #home-top-img {
        top: 100px;
        margin-left: auto;
        margin-right: auto;
        left: 0;
        right: 0;
        text-align: center;
    }
    #home-top-img img{
        min-width: 120px;
        width: 30vw;
        height: auto;
    }
    #home-top h1{
        margin: 25vw 0 0 0;
    }
    #home-top p{
        width: 100%;
        margin: 30px 0 0 0;
    }
    #home-top a.btn-m{
        margin: 40px 0 0 0;
    }

    #home-top .top-down {
        left: 50%;
        transform: translate(-50%);
        bottom: 60px;
    }


    #home-first a.btn-line-g{
        padding: 10px 10px;
    }
 


    #home-fourth img{
        display: none;
    }

    #home-fourth .container {
        padding-left: 20;
        text-align: center;
    }
    #home-fourth p{
        padding-top: 10px;
    }
    #home-fourth ul{
        margin: 0;
        padding-top: 30px;
        max-width: 250px;
        display: inline-flex;
        flex-direction: column;
        text-align: left;
    }
    #home-fourth ul li{
        max-width: 250px;
    }

}





@media only screen and (max-width: 1140px) {

    #home-top .top-detail{
        display: none;
    }



}










