
/*--------------------------------------------------*/
/* hero */
/*--------------------------------------------------*/

.hero{
    position: relative;
    background: #6a1c9a;
    width:100%;
    height:680px;
    overflow: hidden;
}

.hero .triangle-left{
    width:100%;
    position: absolute;
    left:0;
    top:0;
    z-index:1;
}

.hero .triangle-left svg{
    left:0;
    max-width:1910px;
    width:100%;
}



.hero-content{
    position: relative;
    z-index:5;
    height:100%;
}

.aligner{
    padding-left:40px;
    padding-right: 40px;
    max-width:1200px;
    margin-left:auto;
    margin-right:auto;
}

.hero .aligner{
    height:100%;
    position: relative;
}

#frame-code{
    position: absolute;
    top:20px;
    right:20px;
    width:600px;
    height:340px;
}

#frame-screenshot{
    position: absolute;
    width:600px;
    bottom:75px;
    left:160px;
}

.hero-text{
    position: absolute;
    background:#FFF;
    border-radius:6px;
    padding:24px 29px;
    top:20px;
    left: 20px;
    width:420px;
    min-height:168px;
    box-shadow: 0px 0px 9px rgba(0, 0, 0, 0.1);
    line-height:1.5rem;
    box-sizing: border-box;
}

@media screen and (max-width:1200px) {
    .hero-text{
        top: 450px;
    }
}
@media screen and (max-width:500px) {
    .hero-text{
        width: calc(100% - 80px);
    }
}

.hero-text h1{
    font-size:1rem;
    margin:0;
}

.hero-text .body-text{
    line-height: 1.4rem;
    color: #222222;
}

.hero-text .body-text,
.terminal-page{
    opacity: 0;
    max-height:0;
    overflow: hidden;
    transition: all 0s;
    top:-30px;
    position: relative
}
.hero-text .body-text.active,
.terminal-page.active{
    top:0;
    position: relative;
    display:block;
    opacity: 1;
    max-height:100%;
    transition: all 1s;
}

.hero-text .body-text{
    top:auto;
    bottom:-30px;
}
.hero-text .body-text.active{
    top:auto;
    bottom:0px;
}

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

    .hero-text{
        top: 250px;
        /*bottom:80px;*/
        /*right:40px;*/
        /*left:auto;*/
        /*z-index:30;*/
    }

    #frame-code{
        width: calc(100% - 80px);
        right:40px;
        margin-top:60px;
    }

    #frame-screenshot{
        width: calc(100% - 40px);
        right:20px;
    }

}

.hero .arrow{
    border:0;
    position:absolute;
    left:18px;
    height:30px;
    width:30px;
    border-radius:100%;
    background: rgba(255,255,255,0.4);
    z-index:20;
    top:50%;
    margin-top:-20px;
    color:#FFF;
    text-indent: -1px;
    cursor:pointer;
    transition: 0.2s;
}
.hero .arrow:hover{
    transition: 0.5s;
    transform: scale(1.2);
    box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.1);
}
.hero .arrow.next{
    right:18px;
    left:auto;
    text-indent: 0px;
}

#hero-pagination {
    position: absolute;
    left:50%;
    bottom:40px;
    transform: translateX(-50%);
    z-index: 50;
}
#hero-pagination .dot{
    display:block;
    float:left;
    background: rgba(255,255,255,0.4);
    height:10px;
    width:10px;
    border-radius:100%;
    margin-right:10px;
    transition: 0.5s;
    cursor: pointer;

}
#hero-pagination .dot.active{
    background: #FFF;
    box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.2);
    transition: 0.5s;
}

@media (max-width:1340px){
    .hero .arrow{
        display:none;
    }
}


@media (max-width:980px) {

    .terminal-line{
        font-size:0.8rem;
        line-height:1.2rem;
    }

    .hero{
        height: calc(90vw + 100px);
    }

    #hero-pagination {
        bottom:24px;
        z-index:30;
    }
}

@media (max-width:780px) {

    .hero{
        min-height:620px;
    }

    .terminal-line{
        font-size:0.7rem;
        line-height:1rem;
    }
}


/*--------------------------------------------------*/
/* body elements */
/*--------------------------------------------------*/

.body-text h2, .body-text h3{
    margin-top:0;
}

.body-text{
    line-height: 1.9rem;
}

.body-text p{
    margin:0;
    margin-bottom:1rem;

}

.body-text p:last-child{
    margin-bottom: 0;
}

.body-text .blue,
.body-text a{
    color:#3A96FF;
}


main > section{
    padding:70px 0;
}

main > section.light-bg{
    background: #ECF0F5;
}

main > section .body-text {
    color: #666;
}

h2{
    margin:0;
    font-size:1.9rem;
}

@media (max-width:920px) {

    main > section{
        padding:30px 0;
    }

    .aligner{
        padding-left:20px;
        padding-right: 20px;
    }
}

/* Hero call to action, inside the white card (added with the 9.6 upgrade) */
.hero-text .hero-cta { margin-top: .75rem; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .75rem; }
.hero-text .hero-cta .btn { font-weight: 700; }
.hero-text .hero-cta-note { color: #6c757d; font-size: .85rem; }
