body{
    margin: 0px;
    background-color: #4c4d4e;
}

body::-webkit-scrollbar {
    width: 8px;             
}
body::-webkit-scrollbar-thumb {
    background:#6d9743 ;
}

a{
    text-decoration: none;
    color:#f7f9f5;
}

a :link, :visited, :active {
    text-decoration: none;
   
    
}

a:hover{
    background-color:  #ddd;
	color: #000000;
	cursor:pointer;
    transition: all 0.5s;
}
header{
    position: fixed;
    height: 100px;
    width: 100%;
    background-color: #374145;
    display: flex;
    justify-content: space-around;
    flex-direction:row;
    align-items: center;
    color: #f7f9f5;
    top:0px;
    z-index: 1000;
    
}

header>h1{
    margin:0px;
    min-width: 50%;
    text-align: left;
}
nav{
    display: flex;
    justify-content: space-evenly;
    align-items: flex-end;
    min-width: 400px;
    height: 50%;
    text-align: center;
}



.item-nav{
    display: flex;
    flex-direction: row;
    height: 100%;
    width: 20%;
    align-items: center;
    justify-content: center;
    margin: auto auto;
    font-size: 14pt;
    border-radius: 5px;
}




.ativo{
    background-color: #6d9743 ;
}

main{
    position: relative;
    background-color: whitesmoke;
    margin:auto auto;
    width: 85vw;
    min-width: 850px;
    height: max-content;
    display: flex;
    flex-direction: column;
    margin-top: 120px;
    box-shadow:  2px 5px 20px rgb(37,41,45);
}

.img-apresentacao{
    width: 100%;
    min-height: 450px;
    background-image: url("./imgs/capa-facebook.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    margin-bottom: 15px;
}

h2{
    
    
    text-align: center;
    border-bottom-style: solid;
    border-bottom-width: 2px;
    border-bottom-color: #6d9743;
    margin: auto auto;
    padding:3px;
    width: 35%;
    
    
}

main> section{
    margin: 60px;
    margin-top: 30px;
    
}

#sobreEmpresa{
    text-align: justify;
}
#servicos{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    grid-template-rows: 320px 320px;
    gap: 10px;
}

.card-servico{
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.img-card-servico{
    width: 100%;
    height: 85%;
    opacity: 0.7;
    overflow: hidden;
}

.desc-card-servico{
    margin:0px;
    width: 100%;
    height: 15%;
    background-color: #6d9743;
    color: #f7f9f5;
    font-size: 14pt;
    display: flex;
    align-items: center;
    justify-content: center;
    
}
.card-servico:hover{
    transition: all 0.15s;
    cursor: pointer;
    box-shadow: 5px 5px 8px rgba(109,151,67,0.7);
}
.card-servico:hover > .img-card-servico{
    opacity: 1;
    transition:ease 0.4s;
}

#imgInspCaldeira{
    background-image: url("./imgs/caldeiras.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

#imgInspTubulacao{
    background-image: url("./imgs/tubulacao.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

#imgInspVazos{
    background-image: url("./imgs/vasosDePressao.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

#imgPMOC{
    background-image: url("./imgs/qualidadeAr.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;    
}

#imgEstruturaMetalica{
    background-image: url("./imgs/estruturaMetalica.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

#imgAdequaNR12{
    background-image: url("./imgs/nr-12-supervisao.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

#nossosClientes{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-around;
}

#servico{
    display: flex;
    align-items: center;
    flex-direction: column;
}
.grow{
    display: flex;
    align-items: center;
    justify-content:space-evenly;
}
.grow img{
	transition: 1s ease;
    margin-top: 30px;
    margin-bottom: 30px;
    box-shadow:  2px 2px 10px 2px;
    max-width: 580px;
    max-height: 420px;
}

.grow img:hover{
	-webkit-transform: scale(1.2);
	-ms-transform: scale(1.2);
	transform: scale(1.2);
    box-shadow:  none;
	transition: 1s ease;
	
}
.clientes{
    width: 230px;
    height: 120px;
    margin: 15px;
    box-shadow:  6px 6px 18px rgb(109,151,67);
}

.clientes> img{
    width: 100%;
    height: 100%;
}

.grey{
    opacity: 0.5;
    filter: grayscale(0.65);
    transition: 0.3s ease-in-out;
}

.grey:hover{
    opacity: 1;
    filter: grayscale(0);
}

#nossoTrabalho{
    margin: 30px auto;
    display: grid;
    width:900px;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(3,195px); 
    
}
.nt{
    
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 100% auto;
    image-rendering: optimizeQuality;
}
#nt1{
    grid-row: 1/3;
    grid-column: 1/4;
    background-image: url("./imgs/servicos/img1.jpg");
    background-size: cover;
}

#nt2{
    grid-row: 1/2;
    grid-column: 4/6;
    background-image: url("./imgs/servicos/img15.jpg");
}

#nt3{
    grid-row: 2/3;
    grid-column: 4/6;
    background-image: url("./imgs/servicos/img10.jpg");
}
#nt4{
    grid-row: 3/4;
    grid-column: 1/4;
    background-image: url("./imgs/servicos/img17.jpg");
    
}
#nt5{
    grid-row: 3/4;
    grid-column: 4/6;
    background-image: url("./imgs/servicos/img7.jpg");
    
}
#nt1:hover{
    background-image: url("./imgs/servicos/img18.jpg");
    
    background-size: cover;background-position: auto center;
    
    transition: 1s ease-in-out;
}
#nt2:hover{
    background-image: url("./imgs/servicos/img13.jpg");
    background-position: top center;
    transition: 0.45s all;
}
#nt3:hover{
    background-image: url("./imgs/servicos/img12.jpg");
    background-position: top center;
    transition: 0.45s linear;
}
#nt4:hover{
    background-image: url("./imgs/servicos/img16.jpg");
    transition: 1s all;
}

#nt5:hover{
    background-image: url("./imgs/servicos/img3.jpg");
    
    background-position: center center;
    background-size:cover;
    
    transition: 1s ease;
}

.nr{
    image-rendering: optimizeQuality;
    display: flex;
    align-items: stretch;
    margin-top: 35px;
    margin-bottom: 15px;
}

.nr>img{
    width: 350px;
    box-shadow: 5px 5px 9px rgba(37,41,45,0.7);
}
.nr>img:hover{
    box-shadow: 5px 5px 9px rgba(128, 151, 104, 0.7);
    cursor: pointer;
}
.img-certificado-left{
    margin-right: 20px;
}
.img-certificado-right{
    margin-left: 20px;
}
.right{
    text-align: justify;
}
#nr>div{
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    flex-direction: column;
    
    
}
#nr>div>h3{
    margin:0px;
}

#contato{
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 80px;
    padding-top: 5px;
    
}
#contato>h5{
    margin: 2px;
    padding: 3px;
    font-size: 12pt;
}

form{
	display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    margin:auto auto;
	font-size:14px;
	background: #374145;
	color: #f7f9f5;
    width:60%;
    min-width: 400px;
	border-radius:10px;
	transition:0.6s;
}
form h4{
    margin-top: 4px;
}
form input{
	padding:5px;
	width:100%;
        
}

form> p {
    width: 60%;
    margin: 10px;
}

textarea{
	width:100%;
    max-width: 100%;
    min-width: 100%;
    min-height: 100px;
	height:200px;
	line-height:20px;
}

.submit{
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
}
.submit input{
	color: #f7f9f5;
	background: #6d9743;
	font-weight:bold;
	height:40px;
	width:35%;
	min-width:100px;
	max-width:180px;
	border-radius:45px;
	border:1px;
	border-color: #f7f9f5;
	cursor:pointer;
}

footer{
    padding-top: 35px;
    margin-top: 20px;
    position: absolute;
    min-width: 100%;
    width: 100%;
    height: fit-content;
    background-color: #374145;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-around;
    color: #f7f9f5;
}
.map-footer{
    width: 300px;
    height: 250px;
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    align-self:flex-start;
}
.map-footer>h3{
    margin: 0px;
}

.map-footer>nav{
    min-width: 80%;
    width: 80%;
    
    padding:6px;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    height: 150px;
    align-items: flex-start;
}
.map-footer>nav>a{
    padding: 5px;
    margin:auto;
    width: 85%;
    height: 22px;
    text-align: left;
}
.map-footer>p{
    margin:3px;
}
#footer-logo{
    height: 250px;
    width: 250px;
    image-rendering: optimizeQuality;
    
}
#whatsapp{
    position:fixed;
    width: fit-content;
    height: 60px;
    right:10px;
    top:90%;
    color:black;
    display:flex;
    flex-direction: row;
    align-items: center;
    z-index: 300;
}
#whatsapp>p{
    width: fit-content;
    height: 15px;
    padding-left: 12px;
    padding-top: 3px;
    padding-bottom: 3px;
    padding-right: 5px;
    margin-left: -10px;
    background-color:  #6d9743;
	color:#f7f9f5;
    font-size: 10pt;
    border:  #6d9743 solid 1px;
    
}


#whatsapp > img{
    z-index: 350;
    height: 38px;
    width: 38px;
}
#whatsapp:hover{
    cursor: pointer;
    background:none;
}

#whatsapp:hover > p {
    cursor: pointer;
    background-color:  #ddd;
	color: #000000;
    font-size: 11pt;
    padding-top: 5px;
    padding-bottom: 5px;
    transition: ease-in-out 0.7s;
}