
/* HERO */

#hero .image-holder:after{
    content: "";
    display: block;
    width: 50%;
    height: 100%;
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 0;

    background: -moz-linear-gradient(90deg, rgba(0,0,0,0.8) 20%, rgba(0,0,0,0) 100%);
    background: -webkit-linear-gradient(90deg, rgba(0,0,0,0.8) 20%, rgba(0,0,0,0) 100%);
    background: linear-gradient(90deg, rgba(0,0,0,0.8) 20%, rgba(0,0,0,0) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#000000",endColorstr="#000000",GradientType=1);
}

#hero .title{
    position: absolute;
    left: 50px;
    top: 50%;
    z-index: 20;

    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
}
#hero .title .line{
    display: block;
    width: 497px;
    margin-top: 10px;
}
#hero .title .line:first-child{
    margin-top: 0;
}
#hero .title .line:before{
    content: "";
    display: block;
    width: 100%;
    height: 0;
    padding-bottom: 10.06%;
    background: no-repeat left bottom/contain;
    background-image: url(../images/title/title-1.svg);
}
#hero .title .line.line-2:before{
    padding-bottom: 20.93%;
    background-image: url(../images/title/title-2.svg);
}
#hero .title .line.line-3:before{
    background-image: url(../images/title/title-3.svg);
}

#hero .title .text-holder{
    display: block;
    margin-top: 20px;
}
#hero .title .text{
    display: block;
    font-size: 2.9em;
    line-height: 1;
}

#hero .title .logo{
    display: none;
}

/* Animation */

#hero .title .line,
#hero .title .text-holder{
    overflow: hidden;
}
#hero .title .line:before,
#hero .title .text-holder .text{
    opacity: 0;

    -webkit-transform: translate3d(0, 100%, 0);
    -ms-transform: translate3d(0, 100%, 0);
    -o-transform: translate3d(0, 100%, 0);
    transform: translate3d(0, 100%, 0);

    -webkit-transition:
        -webkit-transform 450ms cubic-bezier(0.22, 0.61, 0.36, 1),
        opacity 300ms ease-out;
    -o-transition:
        -o-transform 450ms cubic-bezier(0.22, 0.61, 0.36, 1),
        opacity 300ms ease-out;
    transition:
        transform 450ms cubic-bezier(0.22, 0.61, 0.36, 1),
        opacity 300ms ease-out;
}
#hero .title.animate .line:before,
#hero .title.animate .text-holder .text{
    opacity: 1;
    
    -webkit-transform: translate3d(0, 0, 0);
    -ms-transform: translate3d(0, 0, 0);
    -o-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}

#hero .title.animate .line.line-1:before{
    -webkit-transition-delay: 100ms;
    -o-transition-delay: 100ms;
    transition-delay: 100ms;
}
#hero .title.animate .line.line-2:before{
    -webkit-transition-delay: 250ms;
    -o-transition-delay: 250ms;
    transition-delay: 250ms;
}
#hero .title.animate .line.line-3:before{
    -webkit-transition-delay: 400ms;
    -o-transition-delay: 400ms;
    transition-delay: 400ms;
}
#hero .title.animate .text-holder .text{
    -webkit-transition-delay: 550ms;
    -o-transition-delay: 550ms;
    transition-delay: 550ms;
}




/* ********************** de Hd a DESKTOP ********************** */

@media (max-width: 1024px){

    #hero .title{
        left: 30px;
    }

}




/* ********************** TABLET Landscape ********************** */

@media (max-width: 979px) and (orientation: landscape) {

    /* HERO */

    #hero .image-holder:after{
        width: 65%;
    }

    #hero .title{
        width: 40vw;
    }
    #hero .title .line{
        width: 100%;
    }

    #hero .title .text-holder{
        margin-top: 2vw;
    }
    #hero .title .text{
        font-size: 2.4vw;
        white-space: nowrap;
    }
    
}




/* ********************** MOBILE PORTRAIT ********************** */

@media (max-width: 767px) and (orientation: portrait){

    /* HERO */

    #hero .image-holder:after{
        width: 100%;
        background: rgba(0,0,0,0.6);
    }

    #hero .title{
        width: 250px;
        left: 50%;
    
        -webkit-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
        -o-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%);
    }
    #hero .title .line{
        width: 100%;
    }
    #hero .title .line:before{
        background-position: center bottom;
    }
    #hero .title .text-holder{
        margin-top: 10px;
    }
    #hero .title .text-holder .text{
        font-size: 16px;
        text-align: center;
    }

    #hero .title .logo{
        display: block;
        width: 140px;
        margin: 15vh auto -5vh;
        background: no-repeat center/contain;
        background-image: url(../images/logo/full.svg);
    }
    #hero .title .logo:before{
        content: "";
        display: block;
        width: 100%;
        height: 0;
        padding-bottom: 27.4%;
    }

}
@media (max-width: 360px) and (orientation: portrait){

    /* HERO */

    #hero .title{
        width: 200px;
    }
    #hero .title .logo{
        width: 130px;
        /*margin-top: 30px;*/
    }

}



















