@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@400;500;600;700&family=Josefin+Slab:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600&family=Mulish:ital,wght@0,200;0,300;0,400;0,500;1,200;1,300;1,400&display=swap');

@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css');

*{
    margin: 0;
    padding:0;
    list-style: none;
    text-decoration: none;
} 

/*Criação de váriaveis para ocasional mudaça de fonts do Site*/
:root{
    --font-primary:"Baloo 2", serif;
    --font-secondary:"Josefin Slab", serif;
    --font-action:"Mulish", serif;
}

html{
    scroll-behavior: smooth;
}
/*formatação do icon do menu hamburguer ](flex-direction, usado para organizar a linhas em coluna e justify-content para espalhar )*/

.hamburguer{
    /*background-color: red;*/
    height: 2rem;
    width: 2rem;
    position: fixed;
    z-index:100;
    right: 2rem;
    top: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    cursor: pointer;
    z-index: 160;
}
.show-menu .hamburguer {
    right: 16rem;
  }

.line{
    background-color: white;
    width: 100%;
    height:.1rem;
    box-shadow: 0.1rem 0.1rem 1px #000;
    transition:transform 1s;
    z-index: 160;
}

/*Transformação do hamburguer em X para sinalizar botão de fechamento*/

.show-menu #line1 {
    transform: translate(.4rem, .4rem) rotate(45deg);
}
  .show-menu #line2 {
    opacity: 0;
    visibility: hidden;
  }
  .show-menu #line3 {
    transform: translate(.2rem, -.5rem) rotate(-45deg);
}
/*Criação de Balão de fechamento*/
  .hamburguer span{
      font-family: var(--font-action);
      color: #fff;
      position:absolute;
      left: 3rem;
      height:2rem;
      width: 6rem;
      background-color: #000;
      display:flex;
      justify-content: center;
      align-items: center;
      opacity: 0;
  }
/*seta do balão*/
  .hamburguer span::before {
      content: "";
      position: absolute;
      border-right: 0.5rem solid #000; 
      border-top: 0.5rem solid transparent;
      border-left: 0.5rem solid transparent;
      border-bottom: 0.5rem solid transparent;
      left: -1rem;
  }

  .show-menu .hamburguer:hover span{
      opacity: 1;
  }
  

    /*header com vizualização horizontal total com view height configurado para cada tela =100VH */
    
header{
    width: 100%;
    height: 100vh;
    overflow: hidden;
    position: relative;
}
.img-wrapper{
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color:rgba(0,0,0,0.9);
}
    /*img de fundo que se ajusta com o centro para não ter distorção(objec-fit)*/
.img-wrapper img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
    animation: zoom 20s;
}
    /*Criação da animação de zoom*/
@keyframes zoom {
    0% {transform: scale(1.3);}
    100% {transform: scale(1);}
}
    /*Configuração de posição, texto e botão do banner*/
.banner{
    position: absolute;
    top:30%;
    left: 15%;
}

.banner h1{
    color: #ffffff;
    font-size: 3.5rem;
    font-family: var(--font-primary);
    font-weight: 200;
    text-shadow: .3rem .4rem 2px rgba(0,0,0,.4);
    line-height: 3.5rem;
    margin-bottom: 2rem;
    animation: fade 3s;
}

.banner p{
    font-family: var(--font-secondary);
    color: #fff;
    font-size: 2rem;
    text-shadow: .2rem .2rem rgba(0,0,0,.4);
    margin-bottom: 2rem;

    animation: fade 5s;
}

.banner button{
    font-family: var(--font-action);
    color: #fff;
    text-transform: uppercase;
    letter-spacing: .1rem;
    background: #000000; 
    /*background: -webkit-linear-gradient(to right, #434343, #000000);  
    background: linear-gradient(to left, #434343, #000000);*/
    padding: 1rem 3rem;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    animation: fade 7s;
}

.banner button:hover{
    background: #000000; 
    background: -webkit-linear-gradient(to right, #434343, #000000);  
    background: linear-gradient(to right, #434343, #000000);
}
    /*Criação da animação de Fade para os objetos do banner*/

/*Estilização do menu, tamanho em tela, font, icons*/
.sidebar{
    width: 20rem;
    height: 100vh;
    background-color: #fff;
    position: fixed;
    top: 0;
    right: -20rem;
    transition: all 1s;
    z-index: 150;
}
.show-menu .sidebar {
    right: 0;
  }
.menu{
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%,-50%);
}
 .menu-item{
     text-align: center;
     margin-bottom: .5rem;
 }
 .menu-link{
     font-family:var(--font-action);
     font-size: 2rem;
     color:#555;
     transition: color 1s;
 }
 .menu-link:hover{
     color: rgb(17, 17, 17);
 }

/*Estilização do icons sociais*/
 .social-media{
     
     position: absolute;
     bottom: 2rem;
     width: 100%;
     display: flex;
     justify-content: space-evenly;
 }
 .social-media i{
    background-color: rgb(77, 77, 77);
     color:rgb(224, 224, 224);
     height: 2.5rem;
     width: 2.5rem;
     font-size: 1.5rem;
     display: flex;
     justify-content: center;
     align-items: center;
     border-radius: 50%;
     transition: background-color 0.5s ;
 }
 .social-media i:hover{
    background-color: rgb(5, 5, 5);
 }
 /*Configurando sessão de conhecimento com uso de Grid*/
 .conhecimentos{
     display:grid;
     grid-template-columns: repeat(16, 1fr);
     grid-template-rows: repeat(6, 6rem);
     row-gap: .5rem;
 }
/*formatação de cada conhecimento dentro da grid*/

 .conhecimento:nth-child(1){
    grid-column:4/7;
    grid-row:1/3;
}

.conhecimento:nth-child(2){
    grid-column:3/6;
    grid-row:3/5;
}

.conhecimento:nth-child(3){
    grid-column:4/7;
    grid-row:5/-1;
}

.conhecimento:nth-child(4){
    grid-column:11/14;
    grid-row:1/3;
}

.conhecimento:nth-child(5){
    grid-column:12/15;
    grid-row:3/5;
}

.conhecimento:nth-child(6){
    grid-column:11/14;
    grid-row:5/-1;
}
.sessao-conhecimentos{
    background-color: rgb(235, 235, 235);
}

/*Formatação do titulo da Sessão*/
.sessao-header{
    display: flex;
    align-items: center;
    justify-content: center;
}

.sessao-header h1{
    font-family:var(--font-primary);
    font-size:3rem;
    color: rgb(17, 17, 17);
    border-bottom: solid 3px rgb(77, 77, 77);
    margin-bottom: 1.5rem;
    margin-top: 1rem;
}

/*Formatação de estilo de cada conhecimento */
.sessao-conhecimentos{
    padding-bottom: 2rem;
}

.conhecimento-header{
    display:flex;
    align-items: center;
    color: rgb(17, 17, 17);
}

.conhecimento-header i{
    font-size: 2.5rem;
    margin-right: .4rem;
}
/*Titulo do conhecimento X*/
.conhecimentos-header h3{
    font-family: var(--font-secondary);
    font-size: 2rem;
    padding-left: 1rem;
}
/*Texto do conhecimento X*/
.conhecimento-text{
    line-height: 1.3rem;
    font-family: var(--font-secondary);
    margin-top: 1rem;
}


/*ajustes na imagem central, primeiro para local de ocupação e depois um envelopamento para não furar a demarcação*/
.conhecimentos-img-wrapper{
    grid-column: 7/11;
    grid-row: 2/6;
    width: 100%;
}
.conhecimentos-img-wrapper img{
    object-fit: cover;
    width: 100%;
}

/*Estilização da area de Projetos*/

.projetos{
    display:flex;
    justify-content: space-evenly;
}
/*Estilização da area do card */
.card{
    width: 18rem;
    height: 25rem;
    position: relative;
    margin-bottom: 2rem;
}
/*Estilização da imagem do Card com seus Efeitos*/
.card-img-wrapper{
    width: 100%;
    height: 100%;
    background-color: #1d1d1d;
    border-radius: .5rem;
}
.card-img-wrapper img{
    object-fit: cover;
    width: 100%;
    height: 100%;
    border-radius: .5rem;
    opacity: .8;
    transition: opacity 1s;
}
.card:hover .card-img-wrapper img{
    opacity: .3;
}
/*Texto contido dentro do card*/
.card-info{
    position:absolute;
    bottom: 0;
    opacity: 0;
    visibility: hidden;
    margin-top:1rem ;
    padding-left: 1.5rem;
    text-shadow: 0.3rem 0.2rem 0.3rem rgba(0,0,0, .4);
    transition: all .3s;
}

.card-info h2{
    font-family: var(--font-primary);
    font-size: 2rem;
    font-weight: 500;
    line-height: 2.3rem;
    color:rgb(248, 248, 248);
}

.card-info h3{
    font-family: var(--font-action);
    font-weight: bolder;
    color:rgb(255, 67, 67);
    margin-bottom: 1.5rem;
}

.card-info p{
    font-family: var(--font-secondary);
    color: #eee;
    font-weight: 500;
    width: 80%;
    margin-bottom: 1rem;
}
/*Classe de cor universal para botão*/
.btn{
    background: #000000;
    font-family: var(--font-action);
    color: #eee;
    border-radius: .5rem;
    border: none;
    box-shadow: 0 .1rem .8rem rgba(0,0,0, .4);
    cursor: pointer;
}
/*Botão Saiba mais do card*/
.card-info button{
    width: 8rem;
    height: 2.5rem;
    
}

.card-info button:hover{
    background: -webkit-linear-gradient(to right, #434343, #000000);  
    background: linear-gradient(to right, #434343, #000000);
}

/*efeito contido dentro do Card*/
.card:hover .card-info{
    bottom: 2rem;
    opacity: 1;
    visibility: visible;
}
/*Formatação do Formulário*/

.sessao-contato{
    width: 100%;
    height: 100vh;
    background-color: #272727;
    display:flex;
    align-items: center;
    justify-content: center;
}

.contato-wrapper{
    width: 60%;
    height: 30rem;
    display: flex;
    box-shadow: 0 1rem 3rem rgba(0,0,0, 0.5);
}
/*Formatação da foto lateral*/
.contato-left{
    width: 35%;
    background: 
        linear-gradient(rgba(15,15,15, 0.6),rgba(22,22,22,0.9)),
        url(../img/bg3.jpg);
    background-size: cover;
    border-radius: 2% 0% 0% 2%;
}
/*Area do form*/
.contato-right{
    width: 65%;
    background-color:#eee;
    padding: 1rem 3rem 3rem 3rem;
    border-radius: 0% 2% 2% 0%;
}

/*Formatação do Titulo form*/
.sessao-contato h1{
    width: 100%;
    text-align: center;
    font-family: var(--font-primary);
    color:#272727;
    font-size:3rem;
    font-weight: lighter;
    border-radius: 0% 2% 2% 0%;
}
/*Alinhamento do campos e botões dentro da area*/
.sessao-contato form{
    width: 100%;
    display:flex;
    flex-direction: column;
    align-items: center;
}
/*Elemento pai referente ao field-label*/
.input-group{
    position: relative;
}
/*Formatação do texto nos campos*/
.field{
    background:transparent;
    border: none;
    width: 20rem;
    font-size: 1.5rem;
    font-family: var(--font-secondary);
    border-bottom: 2px dashed #636363;
    height: 3rem;
    outline: none;
    margin:1rem 0;
}
/*Limite de campo text-area*/
.input-group textarea{
    padding-top:1rem;
    max-width: 25rem;
    max-height: 3rem;
}
/*Alinhamento e estilização dos titulos de cada sessão */
.field-label{
    position: absolute;
    left: 0;
    top:2rem;
    font-size: 1rem;
    font-family: var(--font-secondary);
    text-transform: uppercase;
    transition: all 0.3s;
}
/*Efeito de seleção em cada area*/
.field:focus ~ label{
    top:0;
}

.field:focus{
    border-bottom: 1px solid;
}
/*Estilo do botão do form*/
.btn-submit{
    font-size: 1.2rem;
    text-transform: uppercase;
    width: 100%;
    height: 2rem;
    margin-top: 1rem;
}

.btn-submit:hover{
    background: -webkit-linear-gradient(to right, #434343, #000000);  
    background: linear-gradient(to right, #434343, #000000);
}
/*Estilização orçamento*/

.sessao-orcamento{
    width: 100%;
    height: 100vh;
    background: 
        linear-gradient(rgba(15,15,15, 0.6),rgba(22,22,22,0.9)),
        url(../img/orcamento.jpg);
        
    object-fit: cover;
    display: flex;
    justify-content: center;
    align-items: center;
}


.orcamento-wrapper{
    width: 60%;
    height: 80%;
    background:#ffffff99;
    border-radius: 10px;
    box-shadow: 0 0.1rem 0.3rem rgba(0,0,0, 0.5);
    position: relative;
}
/*Formatação de Titulo*/
.sessao-orcamento h1{
    position: absolute;
    top:-2.5rem;
    left: 2rem;
    background: -webkit-linear-gradient(to right, #434343, #000000);  
    background: linear-gradient(to right, #434343, #000000);
    padding: 0 3rem ;
    color:#fff;
    font-family: var(--font-primary);
    font-size: 3rem;
    font-weight: lighter;
    box-shadow: 0 0.1rem 0.3rem rgba(0,0,0, 0.5);
    border-radius:10px;
}

.form-orc{
    margin: 4rem;
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 2rem;
    row-gap: 2rem;

}

.sessao-orcamento label{
    font-family: var(--font-secondary);
    font-size: 1.5rem;
    font-weight: bold;
}

.sessao-orcamento input[type="number"]{
    font-family: var(--font-secondary);
    width: 4rem;
    font-size: 2rem;
    outline: none;
    border-radius: 10px;
    border:none;
    padding: 0.3rem;
}

.btn-orcamento{
    text-transform: uppercase;
    padding: 1rem;
    cursor: pointer;
    grid-column: 2;
}

/*Estilização do footer*/
footer{
    width: 100%;
    height: 7rem;
    background-color:#1b1b1b;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-content{
    width: 60%;
    display: flex;
    justify-content: space-between;
}

.footer-content p{
    font-family: var(--font-secondary);
    color:#fff;
    font-size: 1.2rem;
}

.social-list a{
    margin: 0 2rem;
    color: #fff;
    font-size:1.3rem ;
}

.social-list ul{
    display: flex;
}

#link-topo{
    position: fixed;
    right: 3rem;
    bottom: 5rem;
    width: 3rem;
    height: 3rem;
    background: -webkit-linear-gradient(to right, #434343, #000000);  
    background: linear-gradient(to right, #434343, #000000);
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    border-radius: .3rem;
    box-shadow: 0 0 .1rem 0.6rem #00000009;
    z-index: 150;
}

/*Responsividade Tablet*/

@media   (min-width: 700px) and (max-width: 1023px) {
 
    header {
      height: 75vh;
      width: 100vw;
    }

    section .conhecimentos-img-wrapper{
        display: none;
    }
    section .conhecimentos{
        display:grid;
        grid-template-columns: repeat(16, 1fr);
        grid-template-rows: repeat(6, 6rem);
        row-gap: .5rem;
        
    }

    .conhecimento:nth-child(1){
        grid-column:2/8;
        grid-row:1/3;
    }
    
    .conhecimento:nth-child(2){
        grid-column:2/8;
        grid-row:3/5;
    }
    
    .conhecimento:nth-child(3){
        grid-column:2/8;
        grid-row:5/-1;
    }
    
    .conhecimento:nth-child(4){
        grid-column:10/16;
        grid-row:1/3;
    }
    
    .conhecimento:nth-child(5){
        grid-column:10/16;
        grid-row:3/5;
    }
    
    .conhecimento:nth-child(6){
        grid-column:10/16;
        grid-row:5/-1;
    }
    .sessao-conhecimentos{
        background-color: rgb(235, 235, 235);
    }

   .projetos{
        margin: 0 auto;
        display:grid;
        grid-template-columns: repeat(2, .3fr);
        grid-template-rows: repeat(3);
    }
    .card:nth-child(1){
        grid-column:1/4;
        width: 45rem;
        height: 15rem;
    }
    .card-info h2{
        font-size: 1.7rem;
    }
    
    .card:nth-child(2){
        grid-column:2/1;
        padding-left: 1rem;
        width: 20rem;
        justify-content: center;
    }
    .card:nth-child(3){
        grid-column:3/3;
        padding-right: 1rem;
        width: 20rem;
        justify-content: center;
    }

    .contato-left{
        display: none;
    }
    .contato-right{
        width: 100%;
        border-radius: 5px;
    }
    .contato-wrapper{
        width: 70%;
        display: flex;
        box-shadow: 0 1rem 3rem rgba(0,0,0, 0.5);
    }

    .orcamento-wrapper{
        width: 90%;
        height: 75%;
        background:#ffffff99;
        border-radius: 10px;
        box-shadow: 0 0.1rem 0.3rem rgba(0,0,0, 0.5);
        position: relative;
    }

    .sessao-orcamento{
        width: 100%;
        height: 100vh;    
        object-fit: cover;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .footer-content{
        width: 90%;
    }

    .social-list a{
        margin: 0 1rem;
        font-size:1.3rem ;
    }
}


 
    @media (min-width: 320px) and (max-width: 699px) {

    header{
        width: 100vh;
        height: 100vh;
    }
    .banner h1{
        width: 90%;
        font-size: 4rem;
        line-height: 3.7rem;
    }
    .sidebar{
        height: 100%;
    }
    section .conhecimentos-img-wrapper{
        display: none;
    }
    .sessao-conhecimentos{
        width: 100vh;
    }
    section .conhecimentos{
        display:grid;
        grid-template-columns: repeat(16, 1fr);
        grid-template-rows: repeat(6, 6rem);
        row-gap: .5rem;
        text-align: justify;
    }
    .conhecimentos p{
        line-height: 1rem;
    }
    .conhecimento:nth-child(1){
        grid-column:2/8;
        grid-row:1/3;
    }
    
    .conhecimento:nth-child(2){
        grid-column:2/8;
        grid-row:3/5;
    }
    
    .conhecimento:nth-child(3){
        grid-column:2/8;
        grid-row:5/-1;
    }
    
    .conhecimento:nth-child(4){
        grid-column:10/16;
        grid-row:1/3;
    }
    
    .conhecimento:nth-child(5){
        grid-column:10/16;
        grid-row:3/5;
    }
    
    .conhecimento:nth-child(6){
        grid-column:10/16;
        grid-row:5/-1;
    }
    .sessao-conhecimentos{
        background-color: rgb(235, 235, 235);
    }

    .sessao-projetos h1{
        display: flex;
        align-items: center;
        justify-content: center;
}
    .projetos{
        width: 100vh;
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(4);
        display: grid;
    }

    .card:nth-child(1){
        width: 90vh;
        height: 25rem;
        grid-column:2/3;
    }
    .card:nth-child(2){
        width: 90vh;
        height: 25rem;
        grid-column:2/3;
        padding: 0;
    }
    .card:nth-child(3){
        width: 90vh;
        height: 25rem;
        grid-column:2/3;
        padding: 0;
    }
    .card-info{
        position:absolute;
        bottom: 0;
        opacity: 0;
        visibility: hidden;
        margin-top:1rem ;
        padding-left: 1.5rem;
        text-shadow: 0.3rem 0.2rem 0.3rem rgba(0,0,0, .4);
        transition: all .3s;
    }
    
    .card-info h2{
        font-family: var(--font-primary);
        font-size: 2rem;
        font-weight: 500;
        line-height: 2.3rem;
        color:rgb(248, 248, 248);
    }
    
    .card-info h3{
        font-family: var(--font-action);
        font-weight: bolder;
        color:rgb(255, 67, 67);
        margin-bottom: 1.5rem;
    }
    
    .card-info p{
        font-family: var(--font-secondary);
        color: #eee;
        font-weight: 500;
        width: 80%;
        margin-bottom: 1rem;
    }
    #header-proj{
        display: flex;
        justify-content: center;
        align-items: center;
        padding: auto;
        border-bottom: none;
        padding-left: 13rem;
    }
    .card-info{
        font-size: 1.4rem;
    }

    .sessao-contato{
        width: 100vh;
        height: 100vh;
    }
    .contato-wrapper{
        width: 90%;
        height: 30rem;
        display: flex;
        box-shadow: 0 1rem 3rem rgba(0,0,0, 0.5);
    }

    .contato-left{
    display: none;
    }
    /*Area do form*/
    .contato-right{
        width: 100%;
        background-color:#eee;
        padding: 1rem 3rem 3rem 3rem;
        border-radius: 2%;
    }
    .sessao-orcamento{
        width: 100vh;
        height: 100vh;
    }
    
    
    .orcamento-wrapper{
        height: 90%;
        width: 80%;
    }

    .sessao-orcamento h1{
        font-size: 2.3rem;
    }
    .form-orc{
        padding-top: 2rem;
    }
    footer{
        width: 100vh;
    
    }
    .footer-content{
        width: 90%;
    }

    .social-list a{
        margin: 0 1rem;
        font-size:1.3rem ;
    }
}