@import url('https://fonts.googleapis.com/css2?family=Baloo+Da+2:wght@400;500;600;700&family=Josefin+Slab:ital,wght@0,300;0,400;0,600;0,700;1,300;1,600&family=Lato:ital,wght@0,100;0,300;0,400;1,100;1,300&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');

/* usando o asteristico ele vai atribuir estas propriedades a todos os elementos*/
*{
    margin:0;
    padding:0;
    list-style: none;/*retira os bullets do list*/
    text-decoration: none;/*retira sublinhados dos links*/
}

/* criação de variaveis da fonte do site, desta forma podemos mudar todas as fontes num unico lugar*/
:root{
    --font-primary: "Lato",serif;
    --font-secundary: "Lato",serif;
    --font-action: "Lato",serif;

}

html{
    scroll-behavior: smooth;/*comportamento do scroll da barra será suavizado*/

}

/* ----------------------------------PRE-LOADER STYLE CONTENT----------------------------------*/

.overlay{

    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background-color:rgba(29,28,28);
    z-index: index 999;
    display:flex;
    align-items: center;
    justify-content: center;
}

.loader{
    width: 10%;
    height: 10%;
    

}

.loader::after{
    content: "";
    display: block;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    border: 6px solid #fff;
    border-color: #fff transparent #fff transparent ;
    margin: 8px;
    animation: spin 1.2s ease infinite;

}

@keyframes spin {
    0% {
        transform: rotate(0deg);
        
    }    
    100%{
        transform: rotate(360deg);


    }

}








/* ----------------------------------PRE-LOADER----------------------------------*/


.hamburger{
    /*background-color: red;*/
    width: 2rem;
    height: 2rem;
    position: fixed;
    z-index: 100;
    right: 2rem;
    top:2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    cursor: pointer;

}

.show-menu .hamburger{
    right: 15rem;

}

.line{
    width: 100%;
    height: .1rem;
    background-color:#FFF;
    box-shadow: 0.1rem 0.1rem 1px #000;
    transition: transform 1s;




}

.show-menu #line1{
    transform: rotate(45deg) translate(.3rem, .45rem);
}
.show-menu #line2{
    opacity: 0;
    visibility: hidden;

}

.show-menu #line3{
    transform: rotate(-45deg) translate(.3rem, -.45rem);
}

.hamburger span{
    position: absolute;
    left: 3rem;
    height:2rem;
    width: 6rem;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: aqua;
    color:#ffffff;
    font-family: var(--font-action);
    opacity: 0;

}

.hamburger span::before{
    content: "";
    position: absolute;
    border-right: .4rem solid aqua;
    border-top: .4rem solid transparent;
    border-left: .4rem solid transparent;
    border-bottom: .4rem solid transparent;
    left: -1rem;

}

.show-menu .hamburger:hover span{
    opacity: 1;

}

header{
    width: 100%;
    height: 150vh;
    overflow: hidden;
    position: relative;
}

/*iniciar com um ponto para referenciar um Classe*/
.img-wrapper{
    width: 100;
    height: 100%;
    overflow: hidden;
    background-color:rgba(0,0,0,1);
}

/* formatar todas as imagens que se encontram dentro da classe img-wrapper*/
.img-wrapper img{
    width: 100;
    height: 100%;
    object-fit: cover;
    opacity: 1.5;
    animation: zoom 3s;/* timing-function delay iteration-count direction fill-mode;*/
}

/*comportamento semelhante ao movieclip em Flash*/
@keyframes zoom{
    0%{
        transform: scale(1.3);/*atribui zoom de 30 por cento*/
    }
    100%{
        transform:scale(1);
    }
}


/*para colocarmos o banner em uma posiçao absoluta, ele tera de estar dentro de outro objeto que tenha posiçao relativa, logo como esta dentro do header inserimos posiçao relativa no header*/
.banner{
    position:absolute;
    top:3%;
    left: 2%;
    color: #88838370;
    opacity: 0;
    animation: moveBanner 2s forwards;/* timing-function delay iteration-count direction fill-mode;*/
}

.banner h1{
    color:#f0f8ff;
    font-size:3.5rem;
    font-family: var(--font-primary);/*ver no topo elemento :root, local aonde está definida esta nova variavel*/
    font-weight:300;
    text-shadow: .2rem .3rem 2px rgba(0,0,0,4);
    line-height: 3.5rem;
    margin-bottom: 1.5rem;
    animation: moveBanner 1s forwards;/* timing-function delay iteration-count direction fill-mode;*/
    
    

}

.banner p{
    font-family: var(--font-secundary);
    font-size: 1rem;
    color: rgb(14, 14, 104);
    text-indent: 24px;
    text-shadow: .2rem .2rem 4px rgba(0,0,0,2);
    margin-bottom: 1.5rem;
    animation: moveBanner 1s forwards;/* timing-function delay iteration-count direction fill-mode;*/
    opacity: 0;
}

.banner button{
    font-family: var(--font-action);
    font-size: 0.75rem;
    letter-spacing:1px;
    color: rgba(0, 0, 0, 0.849);
    background: #bdc3c7;  /* fallback for old browsers */
    background: -webkit-linear-gradient(to right, #2c3e50, #bdc3c7);  /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to left, #2c3e50, #bdc3c7); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    padding: 0.5rem 0.5rem;
    border: none;
    border-radius: 8px;
    text-transform: uppercase;
    cursor: pointer;
    animation: moveBanner 1s forwards;/* timing-function delay iteration-count direction fill-mode;*/
    opacity: 0;

}

.banner button:hover{
    opacity: 0.8;
    color: white;

}
/*frame para mover banner, sempre que crio um keyframe é necessario ir ao elemento e atribuir propriedade "animation"*/
@keyframes moveBanner{
    0%{
    transform: translateY(6rem) rotateY(-30deg);
    }
    100%{
    transform: translateY(0rem) rotateY(0);
    opacity: 1;    
    }

}

.sidebar{
    width:20rem;
    height:100vh;
    background-color:#fff;
    position: fixed;
    top: 0;
    right: -20rem;
    z-index: 80;
    transition: all 1s;
}

.show-menu .sidebar{
    right:0;

}


.menu{
    position:absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%,-50%);



}

/* refere-se ao li */
.menu-item{
    text-align: center;
    margin-bottom: .5rem;



}

.menu-link{
    font-family: var(--font-secundary);
    font-size: 2rem;
    color:grey;
    transition: color 1s;


}

.menu-link:hover{
    color:aqua;

}

.social-media{
    /*background-color:rgba(0, 0,255, .5);*/
    position:absolute;
    bottom:2rem;
    width: 100%;
    display:flex;
    justify-content: space-evenly;


}

.social-media i{
    background-color:rgb(128, 128, 238);
    color:rgba(255, 255,255, 1);
    height:2.5rem;
    width: 2.5rem;
    font-size: 1.5rem;
    display:flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    transition: background-color 1s;

}

.social-media i:hover{
    background-color:aqua;


}

.missoes{
    display: grid;
    grid-template-columns: repeat(16, 1fr);
    grid-template-rows: repeat(6, 6rem);
    row-gap: .5rem;
   

}

.missao:nth-child(1){
    grid-column: 4/7;/*coluna 4*/
    grid-row: 1/3;/*linha 1*/


}

.missao:nth-child(2){
    grid-column: 3/6;
    grid-row: 3/5;

}

.missao:nth-child(3){
    grid-column: 4/7;
    grid-row: 5/-1;


}

.missao:nth-child(4){
    grid-column: 11/14;
    grid-row: 1/3;


}

.missao:nth-child(5){
    grid-column: 12/15;
    grid-row: 3/5;


}

.missao:nth-child(6){
    grid-column:11/14;
    grid-row: 5/-1;


}

.sessao-missao{
    background: #A1FFCE;  /* fallback for old browsers */
background: -webkit-linear-gradient(to right, #FAFFD1, #A1FFCE);  /* Chrome 10-25, Safari 5.1-6 */
background: linear-gradient(to right, #FAFFD1, #A1FFCE); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */


}

.sessao-header{
    display: flex;
    align-items: center;
    justify-content: center;

}

.sessao-header h1{
    font-family: var(--font-primary);
    font-size: 3rem;
    color: #4b4b4b;
    border-bottom: solid 2px aqua; 
    margin-bottom: 1.5rem;

}

.missao-header{
    display: flex;
    align-items: center;
    color: #4b4b4b;

}

.missao-header i{
    font-size: 2rem;    
}

.missao-header h3{
    font-family: var(--font-secundary);
    font-size: 2rem;
    padding-left: 1rem;

}

.missao-text{
    font-family: var(--font-secundary);
    margin-top: 1rem;

}

.missoes-img-wrapper{
    grid-column: 7/11;
    grid-row: 2/6;
    width: 100%;
      


}

.missoes-img-wrapper img{
    object-fit: cover;
    width: 80%;

}

.projetos{
    display: flex;
    justify-content:space-evenly;
    width: 100%;
    height: 100vh;
   
}

.card{
    width: 18rem;
    height: 25rem;
    position: relative;/*necessario colocar aqui no principal para permitir a frente colocar a posiçao absoluta*/

}

.card-img-wrapper{
    width: 100%;
    height: 100%;
    background-color:#262626;
    border-radius: .5rem;


}

.card-img-wrapper img{
    object-fit: cover;
    width: 100%;
    height: 100%;
    opacity: .8;
    border-radius: .5rem;
    opacity: .8;
    transition: opacity.3s;

}

.card:hover .card-img-wrapper img{
    opacity: .5;

}

.card-info{
    position: absolute;
    /*text-align:end; ver como alinho o texto*/
    bottom: 0;
    opacity: 0;
    visibility: hidden;
    padding: 2rem;
    text-shadow: 0.3rem 0.2rem 0.3rem rgba(0,0,0,4);
    transition: all .8s;


}

.card-info h2{
    font-family: var(--font-primary);
    font-size: 2rem;
    font-weight: 500;
    color: #eee;


}

.card-info h3{
    font-family: var(--font-secundary);
    font-weight: bolder;
    color: #ff4081;
    margin-top: 1.5rem;

}

.card-info p{
    font-family: var(--font-secundary);
    font-weight: 400;
    color: #eee;
    width: 80%;
    margin-bottom: 2rem;

}


.btn{
    background: #FF0099;  /* fallback for old browsers */
    background: -webkit-linear-gradient(to right, #493240, #FF0099);  /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, #493240, #FF0099); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    font-family: var(--font-action);
    font-size: 1rem;
    color:#eee;
    border-radius: .5rem;
    border: none;
    box-shadow: 0 .1rem .8rem rgba(0,0,0,4);

}
.card-info button{
    
    width: 8rem;
    height: 2.5rem;
    


}

.card:hover .card-info{
    bottom: 2rem;
    opacity: 1;
    visibility: visible;


}

.sessao-contato{
    width: 100%;
    height: 100vh;
    background-color: #242424;
    display: flex;
    align-items: center;
    justify-content: center;


}

.contato-wrapper{
    width: 60%;
    height: 30rem;
    display: flex;
    box-shadow: 0 2rem 3rem rgba(0,0,0,0.5)


}

.contato-left{
    width: 35%;
    background:     
        linear-gradient(rgba(15,15,15,0.6),rgba(22,22,22,0.9)), 
        url(imagens/contato.jpg);
    background-size: cover;

}

.contato-right{
    width: 65%;
    background-color: #eee;
    padding: 1rem 3rem 3rem 3rem;

}

/* Titulo*/
.sessao-contato h1{
    width: 100%;
    text-align: center;
    font-family: var(--font-primary);
    color: #272727;
    font-size: 3rem;
    font-weight: lighter;

}

/*Formulario*/
.sessao-contato form{
    width: 100%;
    display: flex;/*este prpriedade coloca os objetos lado a lado, usar propriedade Flex-direction: column para tribuir direcçao aos objetos no sentido coluna*/
    flex-direction: column;
    align-items: center;

}

.input-group{
    position: relative;

}

/*tratar os campos de texto*/
.field{
    background: transparent;
    border: none;
    width: 20rem;
    font-size: 1.5rem;
    font-family: var(--font-secundary);
    border-bottom: 2px dashed #636363;
    height: 3rem;
    outline: none;/*remove o controno ou a borda da caixa de texto quando selecionada*/
    margin: 2rem 0;
    
}

.input-group textarea{
    padding-top: 1rem;
    max-width: 25rem;
    max-height: 3rem;
    
}

.field-label{
    position: absolute;
    left: 0;
    top: 1rem;
    font-size: 1.2rem;
    font-family: var(--font-primary);
    text-transform: uppercase;
    transition: all 0.3s;


}

.field:focus ~label{/*iste til é usado para indicar que  é para label seguinte da qual esta o focus*/
    top: 0;
    font-size: 1rem;

}

.field:focus {
    border-bottom: 1px solid;


}

.btn-submit{
    width: 100%;
    height: 2rem;
    font-size: 1rem;
    text-transform: uppercase;
    margin-top: .5rem;

}

.sessao-orcamento{
    width: 100%;
    height: 100vh;
    background-image: url("./imagens/bg-orcamento.jpg");
    object-fit: cover;
    display: flex;
    justify-content: center;
    align-items: center;

}

.orcamento-wrapper{
    width: 40%;
    height: 60%;
    border-radius: 10px;
    box-shadow: 0 0.1rem 0.3rem rgba(0,0,0,0.5);
    background-color: #ffffff;
    position: relative;

}

.sessao-orcamento h1{
    position: absolute;
    top: -2.5rem;
    left: 2rem;
    background: #FF0099;  /* fallback for old browsers */
    background: -webkit-linear-gradient(to right, #493240, #FF0099);  /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, #493240, #FF0099); 
    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;
    top: -4rem;


}

.sessao-orcamento form{
    margin: 4rem;
    display: grid;
    grid-template-columns: auto 1fr;/*se retirar esta propriedade vai alargar as textboxes e os botoes ficando mais amplo*/
    column-gap: 2rem;
    row-gap: 2rem;

}

.sessao-orcamento label{
    font-family: var(--font-secundary);
    font-size: 1.2rem;
    font-weight: bold;


}

.sessao-orcamento input[type="number"]{
    font-family: var(--font-secundary);
    width: 4rem;
    font-size: 2;
    outline: none;
    border-radius: 5px;
    /*border:none;*/
    padding: 0.3rem;
}

.btn-orcamento{
    text-transform: uppercase;
    padding: 1rem;
    cursor: pointer;grid-column: 2;


}

footer{
    width: 100%;
    height: 7rem;
    background-color: #fff;
    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-secundary);
    color: #a7a7a7;
    font-size: 1.2rem;
    
}

.social-list a{
    margin: 0 2rem;



}

.social-list ul{
    display: flex;

}

#link-topo{
    position: fixed;
    right: 3rem;
    bottom: 3rem;
    width: 3rem;
    height: 3rem;
    background: #FF0099;  /* fallback for old browsers */
    background: -webkit-linear-gradient(to right, #493240, #FF0099);  /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, #493240, #FF0099); 
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    border-radius: .5rem;
    box-shadow: 0 0.1rem 0.6rem #000000;
}

