:root {
  --main--color: #d113138a;
  --preto: #13131a;
  --bg--color: #010103;
  --border: 0.1rem solid rgba(255, 255, 255, 0.3);
  --font--size: 10px;
}

html {
  scroll-behavior: auto;
}

* {
  margin: 0;
  padding: 0;
  outline: none;
  border: none;
  text-decoration: none;
  transition: 0.2s linear;
}

body {
  background: var(--bg--color);
  font-family: "Roboto", sans-serif;
}

/* refactor: Personalização do cabeçalho */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  background-color: var(--bg--color);
  z-index: 98;
  border-bottom: var(--border);
}

.header section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.logo {
  max-width: clamp(7rem, 15vw, 40rem);
  padding-top: 1rem;
  padding-bottom: 1rem;
  padding-left: 1rem;
}

.navbar a {
  margin: 0 1rem;
  font-size: 1rem;
  color: #fff;
  text-decoration: none;
}

.navbar a:hover {
  color: var(--main--color);
  padding-bottom: 0.5rem;
  font-size: 1rem;
}

.icons > img {
  height: 30px;
  margin: 1rem;
  cursor: pointer;
}

.icons > img:hover {
  width: 40px;
  height: 40px;
}

/*refactor: Inicio da estilização do home*/

.btn {
  background-color: var(--main--color);
  color: white;
  padding: 1rem 3rem;
  font-size: 1.7rem;
  cursor: pointer;
  margin-top: 1rem;
  display: inline-block;
}

.btn:hover {
  letter-spacing: 0.1rem;
  background-color: var(--main--color);
  font-size: 1.5rem;
  color: #fff;
}

.home-Container {
  justify-content: center;
  align-self: center;
  align-items: center;
  width: clamp(30rem, 85vw, 430vw);
  margin-top: 5rem;
  /*  
    margin-right: 1rem;
    margin-bottom: 1rem;
    height: 60vh;
    */
}

.home-Container section {
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  text-align: left;
  padding: 0 1rem;
  margin-top: clamp(2rem, 23vw, 8rem);
}
.content h3 {
  font-size: clamp(1.8rem, 4vw, 4.8rem);
  color: #ffffff;
}

.span-legado {
  color: var(--main--color);
  font-weight: bold;
}

.parag-home {
  text-align: right;
  color: #fff;
  font-size: 1rem;
  line-height: 1.8;
  padding: 1rem 0;
}

/*refactor: Início da estilização do sobre  */

.about {
  justify-content: center;
  align-self: center;
  align-items: center;
  width: clamp(30rem, 85vw, 430vw);
  margin-top: 5rem;
}

.tittle {
  font-size: clamp(2.5rem, 4vw, 4.5rem);
  color: var(--main--color);
  text-align: center;
  margin-top: clamp(1rem, 10vw, 8rem);
  margin-bottom: 2rem;
}

.modelo3d {
  width: clamp(40rem, 10vw, 1000rem);
}

.tittle span {
  color: #fff;
}
.about > .row {
  display: grid;
  grid-template-columns: 1fr;
  /* align-items: center; */
  background-color: var(--preto);
  gap: 1.5rem;
  width: 90%;
  margin: 0 auto;
  padding: 2rem;
  margin: 0 auto;
}

.about .row .content {
  padding: 2rem;
}

.about .row .content h3 {
  font-size: 4rem;
  color: #fff;
}

.about .row .content p {
  font-size: 1.6rem;
  color: #fff;
  padding: 1rem 0;
  line-height: 1.8;
}

/* refactor: Estilizando o MENU */

.menu {
  width: clamp(30rem, 85vw, 430vw);
}

.menu .box-Container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
  width: 96%;
  gap: 1.5rem;
  margin: 2rem 0;
  padding: 1rem 1rem;
  background: var(--preto);
}

.menu .box-Container .box {
  text-align: center;
  border: var(--border);
  width: 90%;
  padding: 5rem;
}

.menu .box-Container .box img {
  height: 10rem;
}

.menu .box-Container .box h3 {
  color: #fff;
  font-size: clamp(1.8rem, 2.5vw, 2.8rem);
  padding: 1rem 0;
  padding-bottom: 0;
}

.menu .box-Container .box h4 {
  color: #fff;
  padding: 0.5rem 0;
  padding-bottom: 1rem;
  font-size: small;
}

.container .box-Container .box h5 {
  color: #fff;
  font-size: 1.5rem;
  padding: 0;
  margin: 0;
}

.menu .box-Container .box .price {
  display: flex;
  flex-direction: column;
  color: #fff;
  font-size: 2.5rem;
  padding: 0.5rem 0;
  padding-top: 0;
}

.menu .box-Container .box .price span {
  font-size: 1.5rem;
  text-decoration: line-through;
  font-weight: lighter;
  cursor: pointer;
}

.menu .box-Container .box:hover {
  background-color: #ffffff95;
}

.menu .box-Container .box:hover > * {
  color: var(--preto);
}

.btn-orcamento:hover {
  background-color: var(--main--color);
  font-size: 1.5rem;
}

/*refactor: Início da estilização do section redes*/

.address {
  padding-top: 2rem;
}

.address .contates-Container {
  color: #fff;
  background-color: var(--preto);
}

.address .contates-Container .net {
  padding: 2rem;
  text-align: center;
}

.address .contates-Container .net h3 {
  padding-bottom: 1rem;
  font-size: clamp(1.8rem, 2.5vw, 2.8rem);
}

.address .contates-Container .net h4 {
  font-size: 1.8rem;
  padding-bottom: 1rem;
}

.address .contates-Container .net p {
  font-size: 1.5rem;
  padding: 0.5rem 0;
}

.address .contates-Container .net a {
  color: var(--main--color);
  font-size: 1.5rem;
}

.address .contates-Container .net a:hover {
  font-size: 1.2em;
}

.flex-layout {
  display: flex;
  justify-content: center;
}

/* refactor: Início da estilização do container redes*/

.redes {
  width: clamp(30rem, 85vw, 430vw);
}

.redes h2 span {
  color: var(--main--color);
}

.redes h3 {
  font-size: clamp(1.8rem, 2.5vw, 2.8rem);
  color: #fff;
  text-align: center;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.cont-redes {
  background-color: var(--preto);
  padding: 2rem;
  text-align: center;
  width: 96%;
}

.redes h2 {
  color: #fff;
  text-align: center;
  margin-bottom: 2rem;
}

.redes .redes-sociais {
  display: flex;
  justify-content: center;
  gap: 3rem;
}

.redes .redes-sociais a {
  color: #fff;
  font-size: 1.5rem;
  text-align: center;
}

.redes .redes-sociais a:hover {
  font-size: 1.8rem;
}

.redes .redes-sociais a p {
  margin-top: 0.5rem;
}

/*refactor: Início da estilização do footer*/

.footer {
  width: clamp(30rem, 85vw, 430vw);
  text-align: center;
  padding: 2rem;
  color: #fff;
}

.footer > a {
  color: #fff;
  padding: 0 0.5rem;
}

/* CSS do MODAL GERAL */

dialog::backdrop {
  background: rgba(0, 0, 0, 0.9);
}

/* ------------------ */

dialog[open].orcamento {
  font-family: "Roboto", sans-serif;
  background: var(--preto);
  color: #fff;
  display: flex;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  padding: 2rem;
  width: 90%;
  height: 70%;
}

dialog[open].orcamento .logo_modal {
  width: 30%;
  position: fixed;
  top: 1rem;
  left: 1rem;
}

dialog[open].orcamento #close-modal h1 {
  font-size: 100%;
  color: #fff;
  position: fixed;
  top: 1rem;
  right: 1rem;
}

dialog[open].orcamento #close-modal h1:hover {
  font-size: 130%;
  color: var(--main--color);
  cursor: pointer;
}

dialog[open].orcamento h1 {
  font-size: 2rem;
  text-align: center;
  position: fixed;
  top: 20%;
}

dialog[open].orcamento h1 span {
  color: var(--main--color);
}

.orcamentos div {
  padding-top: 30px;
}

dialog[open].orcamento button {
  color: #fff;
  background: var(--preto);
  font-size: 120%;
}

dialog[open] .green-button {
  position: relative;
  top: -8px;
}

dialog[open].orcamento .h2modal:hover {
  font-size: 2.1rem;
  font-weight: bold;
}

dialog[open].orcamento .green-button h2:hover {
  color: green;
}

dialog[open].orcamento .gray-button h2:hover {
  color: gray;
}

dialog[open].orcamento .footer-dia-modal1 {
  width: 80%;
}

@media (orientation: landscape) {
  dialog[open].orcamento {
    width: 50%;
  }

  dialog[open].orcamento .logo_modal {
    width: 20%;
  }
}

dialog[open].orcamento .footer {
  position: fixed;
  bottom: 1rem;
  font-size: 60%;
}

/* refactor: Início da estilização do modal do orçamento */

dialog[open].form-o-ofc {
  font-family: "Roboto", sans-serif;
  background: var(--preto);
  color: #fff;
  display: flex;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  padding: 2rem;
  width: auto;
}

dialog[open].form-o-ofc #close-form-modal {
  position: fixed;
  top: 1rem;
  right: 2.4rem;
  font-size: 100%;
  color: #fff;
  background: none;
}

dialog[open].form-o-ofc #close-form-modal:hover {
  font-size: 130%;
  color: var(--main--color);
  cursor: pointer;
}

dialog[open].form-o-ofc h1 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 2rem;
  position: fixed;
  top: 1rem;
  padding-top: 1rem;
}

dialog[open].form-o-ofc h1 span {
  color: var(--main--color);
}

dialog[open].form-o-ofc h3 {
  font-size: 1rem;
  position: fixed;
  top: 5rem;
}

dialog[open].form-o-ofc .div-form form h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  text-align: center;
  position: fixed;
  top: 9rem;
  left: 31rem;
}

/* config: Página de termos de uso e política de privacidade CSS */

.termos-de-uso {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 5rem;
  margin-right: auto;
  margin-left: auto;
  margin-top: 7rem;
  margin-bottom: 10px;
  color: #fff;
  width: 89%;
  background-color: var(--preto);
  min-height: 100vh;
}

.termos-de-uso h1 {
  font-size: 3rem;
  margin: 2rem 1rem;
  text-align: center;
}

.termos-de-uso h1 span {
  color: var(--main--color);
}

.termos-de-uso p {
  font-size: 1.2rem;
  line-height: 1;
  margin: 1rem 0;
  text-align: justify;
}

/* refactor: Fazendo os Midea Query da página */

@media (max-width: 539px) {
}

@media (min-width: 540px) and (max-width: 1368px) {
  /* Todos os container */
  .home,
  .about,
  .menu,
  .redes,
  .footer {
    width: 105%;
  }

  /* Personalização about */

  .about {
    padding-right: 1rem;
  }

  /* Personalozação do menu */

  .menu .box-Container .box {
    width: 100%;
  }
}

@media (orientation: landscape) {
  .about,
  .menu,
  .redes,
  .footer {
    width: 90vw;
  }
}
