@import url('https://fonts.googleapis.com/css?family=Montserrat');

:root{
    --jaasiel-light-green: #3eb649;
    --jaasiel-dark-green: #215b2f;
    --jaasiel-blue: #072639;
    --light-color: #FFFFFF;
    --grey-dark-color: #212121;
}

body{
    background: #000;

}
p{
    font-size: 18px !important;
}
.row {
    margin-left: 0;
    margin-right: 0;
    padding: 0 1em;
}
img{
    display:block;
    margin:auto;
}

.line.white{
    --color: #ffffff;
}
.line.green{
    --color: var(--jaasiel-light-green);
}
.line.green-dark{
    --color: var(--jaasiel-dark-green);
}
hr.line {
    height:5px;
    width: 100px;
    margin-top: 25px;
    margin-bottom: 25px;
    background-color: var(--color);
}

/* Typography */
@font-face {
    font-family: BebasNeue;
    src: url("../fonts/BebasNeue.otf") format("opentype");
}
h1, h2, h3, h4, h5, h6, #navbar .nav-item, label{
    font-family: BebasNeue;
}
body{
    font-family: 'Montserrat', sans-serif;
}

.text-grey{
    color: var(--grey-dark-color);
}
.text-blue{
    color: var(--jaasiel-blue);
}
.text-dark-green{
    color: var(--jaasiel-dark-green);
}
.text-light-green{
    color: var(--jaasiel-light-green);
}

/* Navbar */
.bg-faded {
    transition: all .3s ease-in-out;
}
.bg-dark{
    background: rgba(0, 0, 0, .8) !important;
}
#navbar .nav-item{
    font-size: 1.5vw;
    padding-left: 1.2em;
    padding-right: 1.2em;
    color: var(--grey-dark-color);
    transition: all .3 ease;
}
#navbar .nav-item:hover{
    transform: scale(1.2);
    transition: all .3 ease;
}

/* Header */
@media screen and (orientation: landscape){
    header, header .carousel-item{
        min-height: 100vh;
    }
}
@media screen and (orientation: portrait){
    header, header .carousel-item{
        min-height: 50vh;
    }
}

/* Desktop */
@media screen and (min-width: 768px){
    #aboutUs .row{
        min-height: 400px;
    }
    #aboutUs h2{
        top: -20px !important;
    }
    #aboutUs .carousel-item p{
        font-size: 10pt;
    }
}
@media screen and (min-width: 1024px){
    section{
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
    header h1{
        font-size: 6em;
    }
    header p{
        font-size: 1.8em;
    }
    #aboutUs, #clients, #services, #projects, #contact{
        padding-top: 6.5em;
        padding-bottom: 6em;
    }
    #aboutUs h2{
        font-size: 3.5em;
    }
    #aboutUs h3{
        font-size: 3em;
    }
    #aboutUs #target{
        padding-top: 3em;
    }
    #clients .d-flex{
        padding: 0 100px;
    }
    #clients .card img{
        width: 75%;
    }
}
/* Smartphone */
@media screen and (max-width: 767px){
    #navbar .nav-link{
        font-size: 15pt;
    }
    #home .carousel-item{
        padding: 80px 0;
    }
    #aboutUs h2{
        margin-bottom: 70px;
    }
    #services .card h5{
        font-size: 12pt;
    }
    #clients .card{
        margin: 5px 0;
    }
    #clients .card img{
        width: 100%;
    }
    #aboutUs .target .pull-right{
        left: 100%;
        right: 0;
        transform: translateX(-150%) translateY(-50%);
    }
    #aboutUs .target .pull-left{
        left:0%;
        right: 100%;
        transform: translateX(-150%) translateY(-50%);
    }
    #aboutUs .target:active .pull-right{
        transform: translateX(100%) translateY(-50%);
    }
    #aboutUs .target:active .pull-left{
        transform: translateX(100%) translateY(-50%);
        
    }
}
@media screen and (max-width: 1200px){
    section{
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
    }
    .bg-navbar-top{
        background: rgb(0, 0, 0, .8) !important;
    }
    .bg-navbar-top li a{
        color: #ffffff !important;
    }
    #aboutUs h2{
        font-size: 2.38rem;
        top: 50px;
    }
    #aboutUs .carousel-item p{
        font-size: 12pt;
    }
    #services h4{
        font-size: 12pt;
    }
}
@media screen and (min-width: 1201px){
    #aboutUs .row{
        min-height: 350px;
    }
    #aboutUs h2{
        top: 35px !important;
    }
    #aboutUs .carousel-item p{
        font-size: 16pt;
    }
}

/* Carousel Backgrounds */

.bg-carousel-01:before{
    content:"";
    background-size: cover;
    background-position: center;
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    z-index:-1;
    filter: opacity(80%);
}
.bg-carousel-01{
    background: #ffffff;
    position:relative;
    z-index:1;
}


/* Nosotros */
#aboutUs h2{
    color: var(--jaasiel-light-green);
    position: relative;
}
#aboutUs h3, #aboutUs p, #aboutUs strong{
    color: var(--light-color);
}
#aboutUs .carousel-item p{
    text-indent: 1.5cm;
}
#aboutUs .target{
    cursor: pointer;
}
#aboutUs .target span{
    visibility: hidden;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 250px;
    font-size: 12pt;
    box-sizing: border-box;
    border-radius: .5em;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.8);
    padding: 15px;
    transform: translateX(-50%) translateY(-100%);
    transition: 0.5s;
    opacity: 0;
}
#aboutUs .target:hover span, #aboutUs .target:active span{
    padding: 15px;
    transform: translateX(-50%) translateY(-50%);
    visibility: visible;
    opacity: 1;
}

/* Services */
#services{
    background-color: #FFF;
    width: 100%;
}
#services .card{
    position: relative;
    border-radius: 50%;
    width: 100%;
    color: #FFF;
    background-color: var(--grey-dark-color);
    transition: all 0.2s ease-out;
}
#services .card:before{
    content: "";
    display: block;
    padding-top: 100%;
}
#services .card .service{
    width: 100%;
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    padding: 0;
    transition: all 0.2s ease-in-out;
}

/* Projects */
#projects .project{
    height: 100%;
    -webkit-transition:-webkit-filter 0.3s;
    transition:all 0.3s;
    filter:opacity(100%);
}
#projects .project:hover{
    -webkit-transform: scale(0.9);
            transform: scale(0.9);
    filter:opacity(70%);
    cursor: pointer;
}
/* Clients */
#clients img.grey-filter{
    -webkit-filter: grayscale(100%) invert(100%);
            filter: grayscale(100%) invert(100%);
    -webkit-transition:-webkit-filter 0.3s;
            transition:all 0.3s;
}
/*#clients img.grey-filter:hover{
    background: rgba(255,255,255,0.8);
    padding: 1em;
     border-radius: 1em; 
    -webkit-filter: grayscale(0%) invert(0%);
            filter: grayscale(0%) invert(0%);
    -webkit-transform: scale(1.1);
            transform: scale(1.1);
}*/

/* Contact Form */
#contact{
    background-color: var(--grey-dark-color);
}
#contact label, #contact h3{
    color: var(--jaasiel-light-green);
}
#contact a{
    color: #ffffff;
}
#contact a:hover{
    text-decoration: none;
    color: var(--jaasiel-light-green);
}
/* Social Icons Colors*/
.fa-facebook{--color: #3b5998;}
.fa-twitter{--color: #00aced;}
.fa-instagram{--color: #bd2caa;}
.fa-whatsapp{--color: #25d366;}
a .fa-whatsapp, a .fa-twitter, a .fa-instagram, a .fa-facebook{
  color: #ffffff;
  transition: all 0.2s ease-in-out;
}
a .fa-whatsapp:hover, a .fa-twitter:hover, a .fa-instagram:hover, a .fa-facebook:hover{
  color: var(--color);
  transform: scale(1.5);
}


/* Footer */
footer{
    background-color: var(--jaasiel-dark-green);
    padding: 5px 0;
}

/* Parallax Background */
#aboutUs:before{
    background-image: url('../img/bg_01.webp');
    background-size: cover;
    background-position: center;
}
#clients{
    /*background-image: url('../img/bg_06.jpg');
    background-size: cover;
    background-position: center;*/
    background-color: var(--grey-dark-color);
}
#aboutUs, #clients{
    position:relative;
    z-index:1;
}
#aboutUs:before{
    content:"";
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    z-index:-1;
    background-size: cover;
    background-attachment: fixed;
    opacity: 0.2;
}