* {
  padding: 0;
  margin: 0;
  text-decoration: none;
  list-style: none;
  box-sizing: border-box;
}

ul {
  overflow: hidden;
  transition: all 0.5s ease-in-out;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-size: 12pt;
}

/* ABAIXO MENU */

nav {
  height: 80px;
  width: 100%;
  background-image: url(/image/logo-prates-hl.png);
}

#logomarca {
  margin-top: 18px;
  margin-left: 20px;
}

nav ul {
  float: right;
  margin-right: 20px;
  margin-top: 0px;
}

nav ul li {
  margin-top: 0;
  display: inline-block;
  line-height: 80px;
  margin: 0 5px;
}

nav ul li a {
  color: white;
  font-size: 13px;
  padding: 5px 10px;
  text-transform: uppercase;
}

a:hover {
  background: #ff0000;
  transition: 0.8s;
}

a.eqlink:hover {
  background: white;
}

.hamburger {
  display: none;
  background-color: rgb(255, 255, 255);
}

/* ABAIXO BANNER */

.fade {
  margin-top: 0px;
  height: 450px;
  background-image: url(/image/home1.png);
  background-repeat: no-repeat;
  background-position: top center;
  transition: 2s;

  animation-name: animate;
  animation-direction: alternate-reverse;
  animation-play-state: running;
  animation-timing-function: ease-in-out;
  animation-duration: 4s;
  animation-iteration-count: infinite;
}

@keyframes animate {
  0% {
    background-image: url(/image/home1.png);
  }

  33% {
    background-image: url(/image/home1.png);
  }

  66% {
    background-image: url(/image/home2.png);
  }

  100% {
    background-image: url(/image/home2.png);
  }
}

/* ABAIXO NOSSOS SERVIÇOS */

.servico {
  text-align: center;
}

.container {
  position: relative;
  display: flex;
  justify-content: center;
  text-align: center;
  flex-wrap: wrap;
}

.containermore {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding-bottom: 30px;
}

@media (orientation: portrait) {
  .containermore {
    flex-direction: column;
  }
}

.container .card {
  position: relative;
  width: 215px;
  height: 120px;
  box-shadow: 5px 5px 10px rgb(117, 117, 117);
}

.container .card .face {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: 0.6s;
}

.container .card .face.face1 {
  background-color: #ad0014;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
  transform-origin: bottom;
}

.container .card .face1 img {
  max-width: 100px;
  display: table;
  margin: auto;
}

.container .card .face1 h3 {
  margin: 10px 0 0;
  color: #fff;
  text-align: center;
  font-size: 0.8em;
}

/* ABAIXO EFEITOS NOSSOS SERVIÇOS */

.container .card:hover .face.face1 {
  transform: translateY(-100%) rotateX(90deg);
  background: rgb(63, 0, 0);
}

.container .card .face2 {
  background: rgb(255, 255, 255);
  border: 1px solid rgb(255, 195, 195);
  padding: 20px;
  transform-origin: top;
  transform: translateY(100%) rotateX(90deg);
}

.container .card:hover .face.face2 {
  transform: translateY(0%) rotateX(0deg);
}

/* ABAIXO DEFINIÇÃO DOS TEXTOS */

h5 {
  color: #ff0000;
  font-size: 17px;
  font-weight: bolder;
}

p {
  font-size: small;
  color: #525252;
}

/* ABAIXO CARDS QUEM SOMOS E ONDE ATUAMOS */

.somos {
  display: flex;
  justify-content: center;
  text-align: left;
  flex-wrap: wrap;
  text-align: justify;
}

.cardsomos {
  background-color: white;
  width: 530px;
  padding: 30px;
  margin: 10px;
  border: 1px solid rgb(255, 195, 195);
  box-shadow: 5px 5px 15px rgb(160, 160, 160);
}

/* ABAIXO CARDS HISTÓRIA */

.cardhistoria {
  background-color: white;
  width: 1100px;
  padding: 30px;
  text-align: justify;
}

/* ABAIXO TITULOS */

.titulo {
  text-align: center;
  margin-top: 10px;
  margin-bottom: 0px;
}

/* ABAIXO NOSSOS EQUIPAMENTOS */

.equipos {
  min-width: 400px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.eq-gal {
  display: inline-table;
  padding: 5px;
}

.eq-gal img {
  filter: grayscale(0.7);
}

.eq-gal img:hover {
  filter: grayscale(0);
  transition: 0.25s ease-out;
}

/* ABAIXO VIDEOS */

.class tit-videos {
  border: 1px solid rgb(68, 6, 6);
}

.galeria-videos {
  min-width: 400px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

iframe {
  padding: 5px;
}

/* ABAIXO CONTATO */

#contato {
  width: 100%;
  background: #ad0014;
}

#contato div {
  width: 300px;
  margin: auto;
  display: block;
  text-align: center;
  padding: 10px;
}

#contato div p {
  margin-top: 10px;
}

#fone {
  color: white;
}

.end p {
  color: white;
  text-align: center;
  background: #ad0014;
  padding-bottom: 10px;
}

a.email {
  color: #ffffff;
  font-size: small;
}

a.email:hover {
  background: none;
  color: #222222;
  transition: 0.2s;
}

/* ABAIXO RODAPÉ */

#foot {
  width: 100%;
  line-height: 60px;
  background-color: #ff2e47;
  color: white;
  text-align: center;
  font-size: 15px;
  flex-wrap: wrap;
}

/* ABAIXO GALERIA DE IMAGENS */

.galeria {
  background-color: #440008;
}

.gal-area {
  max-width: 1050px;
  flex-wrap: wrap;
  text-align: center;
  display: flex;
  margin: 0 auto;
  background-color: #440008;
}

figure {
  width: 330px;
  margin: 0 auto;
  padding: 10px 0 10px 0;
}

figure img {
  border-radius: 6px;
}

figure img:hover {
  transition: 0.5s;
  transform: scale(1.8);
}

figcaption {
  background-color: #ad0014;
  color: white;
  font-family: Arial, Helvetica, sans-serif;
  font-size: smaller;
  border-radius: 4px;
  line-height: 30px;
  height: 30px;
}

/* ABAIXO CALCULADORA */

.backcalc {
  background: #ff2e47;
}

.conversor {
  width: 70%;
  padding: 20px;
  text-align: center;
  border-radius: 20px;
  background-color: white;
  margin-top: 20px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 20px;
}

#txtdigite {
  margin-top: 10px;
  font-family: sans-serif;
  font-size: 10pt;
  color: rgb(112, 112, 112);
}

#btcalc {
  width: 220px;
  margin-top: 10px;
  height: 25px;
  border-radius: 15px;
  background: #d1e2ff;
}

#btcalc:hover {
  background: #337eff;
  cursor: pointer;
  color: white;
}

#result {
  padding-top: 10px;
  font-family: sans-serif;
  font-size: 10pt;
  color: #ad0014;
}

#resultkn {
  padding-top: 10px;
  font-family: sans-serif;
  font-size: 10pt;
  color: #ad0014;
}

#resultlb {
  padding-top: 10px;
  font-family: sans-serif;
  font-size: 10pt;
  color: #ad0014;
}

#resultmm {
  padding-top: 10px;
  font-family: sans-serif;
  font-size: 10pt;
  color: #ad0014;
}

#resultpol {
  padding-top: 10px;
  font-family: sans-serif;
  font-size: 10pt;
  color: #ad0014;
}

#resultpe {
  padding-top: 10px;
  font-family: sans-serif;
  font-size: 10pt;
  color: #ad0014;
}

#resulttkg {
  padding-top: 10px;
  font-family: sans-serif;
  font-size: 10pt;
  color: #ad0014;
}

#resulttkn {
  padding-top: 10px;
  font-family: sans-serif;
  font-size: 10pt;
  color: #ad0014;
}

#resulttlb {
  padding-top: 10px;
  font-family: sans-serif;
  font-size: 10pt;
  color: #ad0014;
}

#resultmmm {
  padding-top: 10px;
  font-family: sans-serif;
  font-size: 10pt;
  color: #ad0014;
}

#resultmpol {
  padding-top: 10px;
  font-family: sans-serif;
  font-size: 10pt;
  color: #ad0014;
}

#resultmpe {
  padding-top: 10px;
  font-family: sans-serif;
  font-size: 10pt;
  color: #ad0014;
}

/* ABAIXO CONFIGURAÇÃO RESPONSIVIDADE - CELULAR */

@media (max-width: 900px) {
  ul {
    position: fixed;
    width: 100%;
    height: 0;
    background: #75000e;
    text-align: center;
    z-index: 10;
  }

  nav ul li {
    display: block;
    margin: 40px 0;
    line-height: 30px;
  }

  .hamburger {
    display: block;
    float: right;
    margin-right: 20px;
    margin-top: 20px;
    cursor: pointer;
  }

  button:focus ~ ul {
    height: 100%;
  }
}

#mobile {
  width: 350px;
  height: 264px;
  background-image: url(/image/serv.png);
  background-position: center;
  background-repeat: no-repeat;
  margin: auto;
  display: none;
}

/* ESCONDENDO ELEMENTOS */

@media only screen and (max-width: 500px) {
  .fade {
    display: none;
  }
}

@media only screen and (max-width: 500px) {
  .container .card {
    display: none;
  }
}

@media only screen and (max-width: 500px) {
  #mobile {
    display: block;
  }
}
