/* 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');

/*======================================================
                          Corpo
  ======================================================*/
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: 1200px) {
    margin: 0 3%; /* Margem para mobile */
  }

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

/*======================================================
                          Componentes
  ======================================================*/
p { /* Corpo */
  font-size: 20px;
  line-height: 1.5;
  text-align: justify;
  text-justify: inter-word;
}

::selection { /* Hover */
  background: #cecece;
}

iframe {
  max-width: 100%;
}

a { /* Links */
  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: 0px;
  margin-bottom: 0px;
}

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

img {
    padding: 1% 0 30px 0;
}

/*======================================================
                          Navbar
  ======================================================*/
.header { /* Configuração Geral */
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1% 0 2% 0;
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  box-shadow: 0px 2px 0px 0px rgb(0 0 0 / 10%);
}

.header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1000;
  background: #f0f0f0;
  backdrop-filter: blur(10px);
  z-index: -1;
}

.header::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100;
  background: #f0f0f0;
  transition: 0.5s;
}

.header:hover::after {
  left: 100%;
}

.logo {  
  font-size: 2rem;
  color: #000000;
  text-decoration: none;
  background-image: url("https://cdn.glitch.global/e0f4d4ff-219f-4191-93e6-b20070340c72/Ativo%201.png?v=1708430255480"); /* Define a URL da imagem */
  background-size: contain; /* Ajusta o tamanho da imagem para caber dentro do logo */
  background-repeat: no-repeat; /* Evita que a imagem se repita */
  width: 2rem; /* Define a largura do logo para o mesmo tamanho do texto */
  height: 2rem; /* Define a altura do logo para o mesmo tamanho do texto */
}

.navbar a {
  font-size: 16px;
  color: #000000;
  text-decoration: none;
  font-weight: 500;
  margin-left: 2.5rem;
}

#check { /* Clique do toggle oculto */
  display: none;
}

.icons { /* Redefinição estética do toggle */
  position: absolute;
  right: 0;
  font-size: 2.8rem;
  color: #000000;
  cursor: pointer;
  display: none;
}

/* Breakpoints */
@media (max-width: 992px) {
  .header {
    padding: 1.3rem 0%;
  }
}

@media (max-width: 768px) {
  .icons { /* Alinhamento do toggle */
    display: inline-flex;
  }

  #check:checked ~ .icons #menu-icon {
    display: none; 
  }

  .icons #close-icon {
    display: none;
  }

  #check:checked ~ .icons #close-icon {
    display: block;
  }

  .navbar { /* Configurações Gerais ao abrir */
    position: absolute;
    top: 100%;
    left: 0;
    height: 0;
    width: 100%;
    background: #f0f0f0;
    backdrop-filter: blur(0px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: 0.3s ease;
  }

  #check:checked ~ .navbar {
    height: auto;
  }

  .navbar a {
    display: block;
    font-size: 16px;
    margin: 1.5rem 0;
    text-align: center;
    transform: translateY(0px);
    transform: 0.3s ease;
  }

  #check:checked ~ .navbar a {
    opacity: 1;
    transform: translateY(0);
  }
}

hr { /* Linha Divisor  */
  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;
  }
}

/*======================================================
                          Responsive
  ======================================================*/

@media screen and (max-width: 900px) {
  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: 15px 0px 15px 0px;
  }

  #toggle {
    margin-top: 1em;
  }
}

/*======================================================
                          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;
}
