/*
Theme Name: Trans MDM
Theme URI: https://www.armazem.link
Author: Lucas Sobral
Author URI: https://www.armazemagricola.link
Description: Tema criado para Trans MDM
Version: 1.0
*/
@import "css/normalize.css";
@import "css/reset.css";

/****************************************************
Wordpress 
******************************************************/
.iframe {
  width: 20%;
  height: 50px;
}
.customize-support .header {
  margin-top: 32px;
}

/****************************************************
Layout
******************************************************/
body,
p,
h1,
ul,
li,
blockquote {
  margin: 0px;
  padding: 0px;
}
li {
  list-style: none;
}
body {
  font-family: "Nunito", sans-serif;
  background-color: rgb(221, 221, 221);
}
img {
  max-width: 100%;
}
.wp-block-image {
  max-width: 100%;
}

.estrutura {
  display: grid;
  background-color: white;
  grid-template-columns: 1fr;
  width: 990px;
  margin: 0 auto;
  grid-template-areas:
    "header"
    "nav"
    "content"
    "footer";
}

.header {
  grid-area: header;
  background-image: url("images/bg_header.svg");
  background-repeat: repeat-y;
  align-items: center;
  justify-items: center;
  height: 220px;
}
.logo {
  display: table;
  margin-left: 5%;
  background: white;
  height: 220px;
}
.img-logo {
  margin-top: 30px;
}
.logo-div {
  width: 200px;
  height: 220px;
  background: white;
  margin-left: 35px;
  display: grid;
  justify-items: center;
  align-items: center;
}
.nav {
  height: 50px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #4d4d4d;
  position: relative;
  border: none;
  text-transform: uppercase;
}

.nav .nav-header {
  width: 50%;
  display: inline;
}

.nav .nav-header .nav-title {
  display: inline-block;
  font-size: 1em;
  color: #dcac00;
  padding: 10px;
  margin-left: 11%;
  font-weight: bold;
}
.link-nav-title {
  color: #e8a600;
  text-decoration: none;
}

.nav .nav-btn {
  display: none;
}

.nav .nav-links {
  width: 100%;
  display: inline-flex;
  justify-content: flex-end;
  font-size: 1em;
  border: none;
}

.nav .nav-links a {
  display: inline-block;
  padding: 10px 10px;
  text-decoration: none;
  color: #efefef;
}

.nav .nav-links a:hover {
  background-color: rgba(0, 0, 0, 0.3);
}

.nav #nav-check {
  display: none;
}

h2 {
  color: rgb(124, 0, 0);
  text-align: center;
  line-height: 1.5em;
  font-size: 1.5em;
  font-weight: 600;
  padding: 10px;
}
p {
  line-height: 1.75em;
  padding: 5px;
  text-align: center;
}

ul {
  display: flex;
  gap: 10px;
}
.li-servicos {
  background-color: white;
  border: 2px solid rgb(194, 194, 194);
  border-radius: 10px;
}

.li-vant {
  background: none;
  border: none;
  flex-wrap: wrap;
}
.li-vant:hover {
  opacity: 0.5;
}
.li-vant:nth-child(odd) {
  background: linear-gradient(#ffffff, #eeeeee);
}
ul .item {
  display: flex;
  margin: 0 auto;
  gap: 30px;
  padding: 20px;
  text-align: center;
  flex-wrap: wrap;
}
.img-item {
  width: 280px;
  height: 250px;
  object-fit: cover;
}
.img-bn {
  width: 180px;
  height: 180px;
  object-fit: contain;
}
.item-destaque {
  background-color: rgb(215, 215, 215);
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  text-align: center;
  font-size: 1.5em;
  padding: 20px;
}
.item-vantagens {
  display: flex;
  margin: 0 auto;
  gap: 10px;
  padding: 20px;
  text-align: center;
  align-items: baseline;
  height: 320px;
}

.parceiros {
  display: flex;
  gap: 20px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}

.nav {
  background: #332322;
  color: white;
  height: 60px;
}
.content {
  background: rgb(255, 255, 255);
  grid-area: content;
}
.img-desktop {
  display: block;
  width: 100%;
}
.img-desktop:hover {
  opacity: 0.5;
}
.ads {
  justify-content: center;
  display: grid;
}

.img-mobile {
  display: none;
}
.footer {
  background: #311a09;
  grid-area: footer;
  padding: 20px;

  color: white;
  margin-top: 40px;
}
.copy {
  display: flex;
  padding: 10px;
  flex-direction: row;
  justify-content: end;
  gap: 10px;
  align-items: center;
  font-size: 0.8rem;
}

h3 {
  color: #ffb701;
  padding: 0px;
}
/* Internas */
.servicos {
  width: 100%;
}
.servicos h1 {
  text-align: center;
  font-size: 1.5em;
  line-height: 1.75em;
  text-transform: uppercase;
  font-weight: bold;
  padding: 15px;
}
.servicos h3 {
  text-align: center;
  font-size: 1.2em;
  line-height: 1.75em;
  text-transform: uppercase;
  font-weight: bold;
  padding: 15px;
  color: #311a09;
}

.servicos p {
  line-height: 1.75em;
  text-align: justify;
  padding: 20px;
}

.servicos li {
  list-style: none;
}
.sevicos li::after {
  background: #311a09;
  width: 10px;
  height: 5px;
}

/** CONTATO e Quem Somos**/
.contato h1 {
  font-size: 2em;
  text-align: center;
  padding: 10px;
  font-weight: bold;
  line-height: 1.75em;
  text-transform: uppercase;
  color: #311a09;
}
.quem_somos h1 {
  font-size: 2em;
  text-align: center;
  padding: 10px;
  font-weight: bold;
  line-height: 1.75em;
  text-transform: uppercase;
  color: #311a09;
}
.contato input {
  width: 100%;
  padding: 12px 20px;
  margin: 8px 0;
  box-sizing: border-box;
}
.contato p {
  padding: 10px;
  font-size: 1em;
  line-height: 1.75em;
  text-align: left;
}
.contato label {
  font-weight: bold;
}
.contato textarea,
email {
  width: 100%;
  border-radius: 5px;
  padding: 5px;
}
.contato submit {
  width: 50%;
}
.contato div {
  width: 90%;
  padding: 10px;
  margin: 0 auto;
}
.quem_somos div {
  padding: 10px;
  margin: 0 auto;
}
.quem_somos p {
  text-align: center;
  line-height: 1.75em;
  padding: 5px;
}
.grid-footer {
  width: 232px;
  float: left;
}
.grid-footer ul {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 1px;
}
.li-footer {
  background: none;
  border: none;
  display: flex;
  flex-wrap: wrap;
  padding: 10px;
}
.footer a {
  color: white;
  padding: 5px;
  line-height: 1.75em;
}
.footer a:hover {
  color: #e8a600;
}
input[type="text"] {
  width: 100%;
  padding: 12px 20px;
  margin: 8px 0;
  box-sizing: border-box;
}
input[type="password"] {
  width: 100%;
  padding: 12px 20px;
  margin: 8px 0;
  box-sizing: border-box;
}
input[type="submit"] {
  width: 100%;
  padding: 12px 20px;
  margin: 8px 0;
  border: none;
  background: #ffb701;
  font-weight: bold;
}
input[type="submit"]:hover {
  background: #d6d6d6;
}
.introducao p {
  padding: 10px;
  font-size: 1.1em;
}

/****************************************************
Responsivo
******************************************************/

@media only screen and (max-width: 768px) {
  /* For Tablets mobile phones: */
}
@media only screen and (max-width: 600px) {
  /* For mobile phones: */
  .estrutura {
    width: 100% !important;
  }

  .header {
    height: 130px !important;
    background-position: center;
  }
  .logo {
    height: 130px !important;
  }
  .ads {
    margin: 30px 0px 50px 0px;
  }
  .custom-logo {
    margin-top: 0px;
    margin-bottom: 10px;
    width: 150px;
    height: 100%;
    object-fit: cover;
  }
  .logo-div {
    width: 180px;
    height: 100%;
  }
  ul .item {
    justify-content: center;
  }
  .item-vantagens {
    height: 100%;
    flex-wrap: wrap;
    justify-content: center;
  }
  .img-desktop {
    display: none;
  }

  .img-mobile {
    display: block;
  }
  .copy {
    padding: 30px;
    justify-content: center;
    align-items: center;
  }
  .nav .nav-btn {
    display: inline-block;
    position: absolute;
    right: 0px;
    top: 0px;
  }
  .nav .nav-btn label {
    display: flex;
    flex-direction: column;
    row-gap: 5px;
    width: 50px;
    height: 100%;
    padding: 15px;
    border: none;
    border-top-right-radius: 10px;
  }

  .nav .nav-btn label:hover,
  .nav #nav-check:checked ~ .nav-btn label {
    background-color: rgba(0, 0, 0, 0.3) !important;
    cursor: pointer;
  }
  .nav .nav-btn label span {
    display: block;
    width: 25px;
    height: 5px;
    background-color: #eee;
    border-radius: 5px;
  }
  .nav .nav-links {
    position: absolute;
    display: block;
    width: 100%;
    background-color: #333;
    height: 0px;
    transition: all 0.3s ease-in;
    overflow-y: hidden;
    top: 56px;
    left: 0px;
  }
  .nav .nav-links a {
    display: block;
    width: 100%;
    padding-left: 30px;
  }
  .nav .nav-links a:hover {
    background-color: #000000;
  }
  .nav #nav-check:not(:checked) ~ .nav-links {
    height: 0px;
  }
  .nav #nav-check:checked ~ .nav-links {
    height: 250px;
    overflow-y: hidden;
  }
  .menu {
    width: 100%;
    display: flex;
    font-size: 1em;
    border: none;
    flex-wrap: wrap;
    gap: 5px;
    flex-direction: column;
  }
  ul {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    flex-direction: column;
  }
}
