/* Fonts */
@import url("https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@0,300;0,400;0,700;0,900;1,300;1,400;1,700;1,900&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Inter+Tight:ital,wght@0,100..900;1,100..900&display=swap');

html,
body {
  max-width: 1200px;
  margin: 0 auto; /* Centraliza o corpo horizontalmente */
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  background: #f0f0f0;
  font-family: "Inter Tight", sans-serif;
  color: #000000;

  @media (max-width: 800px) {
    margin: 0 2%; /* Margem para mobile */
  }
}

p {
  font-size: 20px;
  line-height: 1.5;
  text-align: justify;
  text-justify: inter-word;
}

::selection {
  background: #cecece;
}

iframe {
  max-width: 100%;
}

/* Links */
a {
  color: black;
  font-family: "Inter Tight", sans-serif;
  font-weight: bold;
  font-size: 20px;
  cursor: pointer;
  text-decoration: none;
}

h1 {
  font-family: "Inter Tight", sans-serif;
  font-size: 3.5em;
  font-weight: 900;
  margin-top: 0;
  margin-bottom: 0px;
}

h2 {
  font-family: "Inter Tight", sans-serif;
  font-size: 26px;
  font-weight: 900;
  margin-top: 0;
  margin-bottom: 0px;
}

h3,
h4 {
  font-family: "Inter Tight", sans-serif;
  font-size: 20px;
  font-weight: bold;
  margin-top: 20px;
  margin-bottom: 0px;
}

byline {
  font-family: "Merriweather", serif;
  font-weight: 400;
  font-size: 12px;
  color: #777777;
  text-transform: uppercase;
}

.logo {
  margin-top: 6%;
}

img {
  text-align: center;
}

.btn {
  width: fit-content; /* Ajusta a largura do botão ao texto */
  border: 2px solid #000000; /* Cor e espessura da borda */
  border-radius: 6px; /* Curvatura das quinas da borda */
  background-color: transparent; /* Remove o fundo do botão */
  color: #000000; /* Cor do texto */
  padding: 10px 20px; /* Espaçamento interno do botão */
  font-size: 16px; /* Tamanho da fonte do texto */
  font-weight: bold; /* Peso da fonte do texto */
  cursor: pointer; /* Muda o cursor para "mão" ao passar o mouse */
  transition: 0.3s ease; /* Adiciona uma transição suave ao passar o mouse */

  /* Retirei o hover, mas para adicionar, basta tirar o comentário e colocar as cores definidas*/
  /* &:hover { 
    border-color: none;  Cor da borda ao passar o mouse
    color: none;  Cor do texto ao passar o mouse 
    background: none; Cor do fundo ao passar o mouse
  } */
}

/** new menu **/
nav a {
  cursor: pointer;
  font-size: 18px;
  font-weight: bold;
  color: black;
  font-family: "Inter Tight", sans-serif;
  cursor: pointer;
  text-decoration: none;
}

.main-head {
  position: relative;
  max-width: auto;
}

.header {
  margin-top: 10px;
  margin-bottom: 0px;
}

.head {
  max-width: auto;
  margin-top: 100px;
  margin-bottom: 100px;
}

.menu {
  height: auto;
  width: fit-content;
  position: absolute;
  border-radius: 4px;
  background-color: white;
  box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.3);
  margin-top: 2px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  animation: closeMenu 300ms ease-in-out forwards;
}
.menu a {
  padding: 12px 24px;
  margin: 0 12px;
  color: black;
  border-bottom: 0px solid rgba(0, 0, 0, 0.1);
  text-decoration: none;
  text-align: center;
  transition: filter 200ms linear 0s;
}
.menu a:nth-of-type(1) {
  padding-top: 24px;
}
.menu a:nth-last-of-type(1) {
  border-bottom: none;
}
.menu a:hover {
  filter: brightness(160%);
}
details::before {
  content: "← Menu";
  color: var(--secoColor);
  font-family: "Inter Tight", sans-serif;
  font-size: 18px;
  position: absolute;
  margin-left: 50px;
  padding: 5px 0px 10px 0px;
  opacity: 0.2;
}
details[open]::before {
  animation: fadeMe 300ms linear forwards;
}
@keyframes menuAnim {
  0% {
    height: 0;
  }
  100% {
    height: fit-content;
  }
}
@keyframes fadeMe {
  0% {
    opacity: 0.4;
  }
  100% {
    opacity: 0;
  }
}

hr {
  background-color: #000000 /*  */;
  border: 0px;
  margin: 50px auto;
  width: 50%;
  height: 2px;
  border-radius: 2px;
  max-width: 430px;
  color: #e1bc1b;
  clear: both;
}

/* Colunas */
.wrapper {
  padding: 5px;
  max-width: 960px;
  width: 90%;
  margin: 20px auto;
}
.columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  flex-flow: row wrap;
  justify-content: center;
  margin: 10px 0;
}
.column {
  background: #f8f8f8;
  flex: 1;
  border: 0px solid gray;
  border-radius: 6px;
  margin: 10px;
  padding: 20px;
  &:first-child {
    margin-left: 0;
  }
  &:last-child {
    margin-right: 0;
  }
}

/* Ajuste para Responsivo */

@media screen and (max-width: 980px) {
  .columns {
    display: flex;
    flex-direction: column;
  }
  .column {
    margin: 0 0 20px 0;
  }
}

@media screen and (max-width: 680px) {
  h1 {
    font-size: calc(
      2.2em + 0.2vw
    ); /* Tamanho da fonte para dispositivos móveis */
  }
  .head {
    margin-top: calc(
      10vh + 20px
    ); /* Margem superior para dispositivos móveis */
    margin-bottom: calc(
      20vh + 30px
    ); /* Margem inferior para dispositivos móveis */
  }
  .columns {
    display: flex;
    flex-direction: column;
  }
  .column {
    margin: 0 0 20px 0;
  }
}

/* Animação Chuva de Números */
.number {
  /* Configuração dos números */
  font-size: 12px;
  font-family: "Inter Tight", sans-serif;
  color: #3c3c3c;
  position: absolute;
  animation-name: fall;
  animation-duration: 5s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  left: 50%;
  transform: translateX(-50%);
  top: -10%;
}

@keyframes fall {
  /* Configuração da queda. Demais configurações estão no .js */
  0% {
    top: -10%;
  }
  50% {
    top: 50%;
    transform: translateX(-50%);
  }
  100% {
    top: 100%;
    transform: translateX(-50%);
  }
}

/*======================================================
                          Footer
  ======================================================*/
.footer {
  position: flex;
  top: 0;
  left: 0;
  width: 100%;
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: center; /* Centraliza o conteúdo horizontalmente */
}

.footer-social-icons { /* Social Icons  */
  width: 350px;
  display: block;
  margin: 0 auto;
}
.social-icon {
  color: #000000;
}
ul.social-icons {
  margin-top: 10px;
}
.social-icons li {
  vertical-align: top;
  display: inline;
  height: 100px;
}
.social-icons a {
  color: #000000;
  text-decoration: none;
}
.fa-phone {
  padding: 10px 14px;
  -o-transition: 0.5s;
  -ms-transition: 0.5s;
  -moz-transition: 0.5s;
  -webkit-transition: 0.5s;
  transition: 0.5s;
  background-color: none;
}
.fa-phone:hover {
  background-color: none;
}
.fa-twitter {
  padding: 10px 12px;
  -o-transition: 0.5s;
  -ms-transition: 0.5s;
  -moz-transition: 0.5s;
  -webkit-transition: 0.5s;
  transition: 0.5s;
  background-color: none;
}
.fa-twitter:hover {
  background-color: none;
}
.fa-rss {
  padding: 10px 14px;
  -o-transition: 0.5s;
  -ms-transition: 0.5s;
  -moz-transition: 0.5s;
  -webkit-transition: 0.5s;
  transition: 0.5s;
  background-color: none;
}
.fa-rss:hover {
  background-color: none;
}
.fa-envelope-o {
  padding: 10px 14px;
  -o-transition: 0.5s;
  -ms-transition: 0.5s;
  -moz-transition: 0.5s;
  -webkit-transition: 0.5s;
  transition: 0.5s;
  background-color: none;
}
.fa-envelope-o:hover {
  background-color: none;
}
.fa-linkedin {
  padding: 10px 14px;
  -o-transition: 0.5s;
  -ms-transition: 0.5s;
  -moz-transition: 0.5s;
  -webkit-transition: 0.5s;
  transition: 0.5s;
  background-color: none;
}
.fa-linkedin:hover {
  background-color: none;
}
.fa-github {
  padding: 10px 14px;
  -o-transition: 0.5s;
  -ms-transition: 0.5s;
  -moz-transition: 0.5s;
  -webkit-transition: 0.5s;
  transition: 0.5s;
  background-color: none;
}
.fa-github:hover {
  background-color: none;
}
