@import "https://fonts.googleapis.com/css?family=Cabin|Roboto|Roboto+Condensed";

:root{
    --primaria: #4d4d4d;
    --secundaria: #ff6e41;
    --branco: #fbfbfb;
    --opacidade: 0.5;
}

.bg-primary{
    background-color: var(--primaria) !important;
}

.bg-secundary{
    background-color: var(--secundaria) !important;
}

.text-secondary{
    color: var(--secundaria) !important;
}

.text-white{
    color: var(--branco) !important;
}


html, body{
    height: 100%;
    font-family: 'Roboto', sans-serif;
}

html{
    scroll-behavior: smooth;
}

body{
    font-family: 'Cabin', sans-serif;
    color: var(--primaria);
    margin: 0;
    padding: 0;
    background: var(--branco);
}


.containerFeat {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    /*height: 100vh;*/
}

h1, h2, h3, h4, h5{
    text-align: center;
    font-family: 'Roboto', sans-serif;
}

h2, h3{
    font-weight: bold;
}

h2{
    text-transform: uppercase
}

h4{
    font-size: 1.2rem;
}

h5{
    font-family: 'Roboto Condensed', sans-serif;
}

nav{
    font-family: 'Roboto', sans-serif;
}

.navbar-color{
    background: RGBA(0,0,0,0);
    
}

@media only screen and (max-device-width: 768px) {
   .navbar-color{
        background: var(--primaria);
        box-shadow: 0px 1px 10px rgba(0, 0, 0, 0.4);
    }
}

.navbar-scroll {
	background: white;
	padding: 2px;
	box-shadow: 0px 1px 10px rgba(0, 0, 0, 0.4);
	transition-duration: 0.6s;
}

.nav-anima {
    background: white;
	padding: 2px;
	box-shadow: 0px 1px 10px rgba(0, 0, 0, 0.4);
	transition-duration: 0.6s;
	position: fixed;
	animation: animatetop 0.6s
}

@keyframes animatetop {
	from {
		top: -100px;
		opacity: 0
	}
	to {
		top: 0px;
		opacity: 1
	}
}



.pullDown a{
    color: var(--primaria);
    text-decoration: none;
    font: 20px;
    margin: 0px 10px;
    padding: 10px 10px;
    position: relative;
    z-index: 0;
    cursor: pointer;
    text-transform: uppercase;
}

.pullDown a:before
{
    position: absolute;
    width: 100%;
    height: 2px;
    left: 0px;
    top: 0px;
    content: '';
    background: var(--secundaria);
    /*opacity: 0.3;*/
    z-index: -1;
    transition: all 0.3s;
    
}

.pullDown a:hover:before
{
    height: 100%;
}

.pullDown a:hover{
    color: white;
}

@media only screen and (max-device-width: 768px) {
    .pullDown a{
        color: white;
    }
    
    .navbar-scroll, .nav-anima a{
        color: var(--primaria);
    }
}


.navbar-brand img:hover{
  -webkit-filter: brightness(0) invert(1);
  filter: brightness(0) invert(1);
  transition: all 0.3s;
}

@media only screen and (max-device-width: 768px) {
    .navbar-brand img{
        -webkit-filter: brightness(0) invert(1);
        filter: brightness(0) invert(1);
    }
    
    .navbar-scroll .navbar-brand img, .nav-anima .navbar-brand img{
        -webkit-filter: brightness(1) invert(0);
        filter: brightness(1) invert(0);
    }
}




#home {
    position: relative; 
    height:100vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#home:before {    
  content: "";
  height:100vh;
  min-height: 400px;
  background: url('../images/loading.gif') no-repeat;
  background-size: 20%;
  /*background-position: top center;*/
  background-position: right bottom;
  position: absolute;
  top: -10%;
  right: 0;
  bottom: 0px;
  left: 0px;
  opacity: 0.5;
}

.feat h1 {
    position: relative;
    color: var(--branco);  
    font-size: 3rem;
    font-weight: bold;
    text-align: center;
    background: var(--primaria);
    padding: 1rem;
    letter-spacing: 0.8rem;
    direction:rtl;
    display:inline-block;
    text-indent:-0.3em;
    text-transform: uppercase;
}

@media only screen and (max-device-width: 768px) {
  #home {
    min-height:100vh;
  }
    
  .feat h1 {
    position: relative;
    color: var(--branco);  
    font-size: 1.3rem;
    text-align: center;
    background: var(--primaria);
    padding: 1rem;
    letter-spacing: 0.2rem;
    text-transform: uppercase;
    }
}

.bg-video {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0; /*apenas um -1 é necessário quando se trabalha com relative + absolute, sendo pai e filho*/
    width: 100%;
    height: 100vh;
    overflow: hidden; /
}

.bg-video video {
    object-fit: cover;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    overflow-x: hidden; 
}


#especialidades h1{
    font-size: 7rem;
    color: var(--secundaria);
}

#especialidades h3{
    font-weight:normal;
    color: var(--branco);
}

@media only screen and (max-device-width: 768px) {
    #especialidades h3{
        font-size: 1.2rem;
    }
}

#portfolio_feat, #contato_feat {
    position: relative; 
    height:40vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#portfolio_feat:before {    
  content: "";
  height:40vh;
  min-height: 400px;
  background-image: url('../images/parallax2.jpg');
  background-size: cover;
  background-position: top center;
  background-attachment: fixed;
  position: absolute;
  top: 0px;
  right: 0px;
  bottom: 0px;
  left: 0px;
  opacity: 0.5;
}

#contato_feat:before {    
  content: "";
  height:40vh;
  min-height: 400px;
  background-image: url('../images/parallax3.png');
  background-size: cover;
  background-position: top center;
  background-attachment: fixed;
  position: absolute;
  top: 0px;
  right: 0px;
  bottom: 0px;
  left: 0px;
  opacity: 0.5;
}


@media only screen and (max-device-width: 768px) {
  #portfolio_feat {
    min-height:40vh;
    min-height: 400px;
  }
    #contato_feat {
    min-height:40vh;
    min-height: 400px;
  }
    
}



figure.figurefx {
    padding: 0;
    margin: 0 auto;
	display: block;
	position: relative;
	overflow: hidden;
}

figure.figurefx figcaption {
	position: absolute;
	display: block;
    -ms-box-sizing: border-box;
    -o-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
	text-align: center;
    color: var(--primaria);
	background: var(--branco);
	padding: 0px;
	z-index: 100;
	width: 100%;
	max-height: 40%;
	overflow: hidden;
	top: 50%;
	left: 0;
    -ms-transform: translate3d(-100%, -50%, 0);
    -o-transform: translate3d(-100%, -50%, 0);
	-moz-transform: translate3d(-100%, -50%, 0);
	-webkit-transform: translate3d(-100%, -50%, 0);
	transform: translate3d(-100%, -50%, 0);
	opacity: 0;
    -ms-transition: all 0.5s;
    -o-transition: all 0.5s;
	-moz-transition: all 0.5s;
	-webkit-transition: all 0.5s;
	transition: all 0.5s;
}

figure.figurefx figcaption .figure-header{
    box-shadow: 0px -2px 20px rgba(0, 0, 0, 1);
    z-index: 20;
    background-color: var(--secundaria);
}

figure.figurefx figcaption h5{
    color:var(--branco);
    font-family: 'Roboto Condensed', sans-serif;
    text-transform: uppercase;
}

figure.figurefx figcaption h5, figure.figurefx figcaption p{
    opacity: 0;
}

figure.figurefx figcaption p{
    padding-top: 0.5rem;
}

figure.figurefx figcaption a {
	text-decoration: none;
}

figure.pushup img {
    border-bottom: solid var(--secundaria);
    margin: 0;
    -ms-transform: translate3d(0, 0, 0);
    -o-transform: translate3d(0, 0, 0);
	-moz-transform: translate3d(0, 0, 0);
	-webkit-transform: translate3d(0, 0, 0);
	transform: translate3d(0, 0, 0);
    -ms-transition: all 0.2s;
    -o-transition: all 0.2s;
	-moz-transition: all 0.2s;
	-webkit-transition: all 0.2s;
	transition: all 0.2s;
}


figure.pushup figcaption {
	top: 100%;
	opacity: 1;
    -ms-transform: translate3d(0, 0, 0);
    -o-transform: translate3d(0, 0, 0);
	-moz-transform: translate3d(0, 0, 0);
	-webkit-transform: translate3d(0, 0, 0);
	transform: translate3d(0, 0, 0);
}

@media only screen and (max-device-width: 768px) {
    figure.pushup img {
        border: none;
    }
}


figure.pushup:hover img {
    -ms-transform: translate3d(0, -20px, 0); 
    -o-transform: translate3d(0, -20px, 0); 
	-moz-transform: translate3d(0, -20px, 0);
	-webkit-transform: translate3d(0, -20px, 0);
	transform: translate3d(0, -20px, 0);
    opacity: .5;
}

figure.pushup:hover figcaption{
    -ms-transform: translate3d(0, -100%, 0); 
    -o-transform: translate3d(0, -100%, 0); 
	-moz-transform: translate3d(0, -100%, 0);
	-webkit-transform: translate3d(0, -100%, 0);
	transform: translate3d(0, -100%, 0);
    -o-transition: all 0.2s;
	-moz-transition: all 0.2s;
	-webkit-transition: all 0.2s;
	transition: all 0.2s;
    box-shadow: 0px -2px 28px rgba(0, 0, 0, 0.2);
}

figure.pushup:hover figcaption h5{
    opacity: 1;
    -ms-transition: all 1s;
    -moz-transition: all 1s;
    -o-transition: all 1s;
	-webkit-transition: all 1s;
	transition: all 1s;
    -webkit-transition-delay: 0.1s;
    -moz-transition-delay: 0.1s;
    -o-transition-delay: 0.1s;
    -ms-transition-delay: 0.1s;
    transition-delay: 0.1s;

    
}

figure.pushup:hover figcaption p{
    opacity: 1;
    -ms-transition: all 1s;
    -o-transition: all 1s;
    -moz-transition: all 1s;
	-webkit-transition: all 1s;
	transition: all 1s;
    -webkit-transition-delay: 0.2s;
    -moz-transition-delay: 0.2s;
    -o-transition-delay: 0.2s;
    -ms-transition-delay: 0.2s;
    transition-delay: 0.2s;
}

.btn-enviar{
    background: var(--primaria)
}

