/* Import de Fonte da API GoogleFonts */
@import url("https://fonts.googleapis.com/css2?family=Fugaz+One&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");

/*
MontSerrat:
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
Fugaz:
  font-family: "Fugaz One", sans-serif;
  font-weight: 400;
  font-style: normal;
*/

:root {
  --fonte-titulo: "Montserrat", sans-serif;
  --fonte-corpo: "Montserrat", sans-serif;
  --fonte-menu: "Montserrat", sans-serif;
}

/* Definir cores tema Dark */
:root,
:root[data-theme="dark"] {
  /* Cores */
  /* Fundo */
  --primary-bg-color: #1d2a35;
  /* Alternativas */
  --primary-color: #cfcfcf;
  --secondary-color: #111217;
  --hover-color: #ffffff;
  /* Icone Transicao */
  --icon-color: #e69143;
  /* Textos */
  --text-color: #ffffff;
  --textselect-color: #ffffff;
  --textmenu-color: grey;
  --txtbtn-color: black;
  /* Icone Social */
  --social-color: grey;
  /* Gradiente Fim */
  --gradient-color: linear-gradient(
    180deg,
    rgba(29, 42, 53, 1) 0%,
    rgba(0, 0, 0, 1) 30%,
    rgba(0, 0, 0, 1) 70%,
    rgba(29, 42, 53, 1) 100%
  );
}

/* Definir cores tema Light */
:root[data-theme="light"] {
  /* Cores */
  /* Fundo */
  --primary-bg-color: #ffffff;
  /* Alternativas */
  --primary-color: #111217;
  --secondary-color: #ffffff;
  --hover-color: #111217;
  /* Icone Transicao */
  --icon-color: #5a68ad;
  /* Textos */
  --text-color: black;
  --textselect-color: black;
  --textmenu-color: grey;
  --txtbtn-color: #ffffff;
  /* Icone Social */
  --social-color: grey;
  /* Gradiente Fim */
  --gradient-color: linear-gradient(
    180deg,
    rgba(255, 255, 255, 1) 0%,
    rgba(0, 0, 0, 1) 30%,
    rgba(0, 0, 0, 1) 70%,
    rgba(255, 255, 255, 1) 100%
  );
}

/* Necessario alterar cores dos elementos para os temas diferentes */
html[data-theme="dark"] .logo {
  filter: invert(1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scrollbar-width: thin;
}

body {
  background: var(--primary-bg-color);
  color: var(--primary-color);
}

/* Personalizacao de Texto */
a {
  text-decoration: none;
  color: var(--primary-color);
}

ul {
  list-style: none;
}

h1 {
  font-family: var(--fonte-titulo);
  font-weight: 300;
  text-transform: uppercase;
  font-size: 4rem;
}

.titulo-projeto {
  font-size: 2rem;
  text-align: center;
  letter-spacing: 0.4rem;
  font-weight: 300;
}

h2,
h3,
h4,
h5 {
  font-family: var(--fonte-titulo);
  font-weight: 200;
  text-transform: uppercase;
  text-align: justify;
}

p,
li,
span {
  font-size: 1rem;
  font-family: var(--fonte-corpo);
}

p {
  text-align: justify;
}

strong {
  color: var(--text-color);
  font-weight: 400;
}

/* Personalizacao do corpo do site*/

#header {
  /* ID = # */
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 1rem 2rem;
  z-index: 200;
  position: fixed;
  border-bottom: 2px solid var(--primary-color);
  background: var(--secondary-color);
}

.menu-desktop {
  /* Class = . */
  display: none;
}

.menu {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.menu-link.active .menu-text,
.menu-link:hover .menu-text {
  color: var(--textselect-color);
  text-decoration: underline #5a68ad 2px;
  text-underline-offset: 0.5rem;
}

.menu-link:hover .social-icon {
  color: var(--textselect-color);
  transition: all 0.1s ease-in-out;
}

.social-icon {
  color: var(--social-color);
  font-size: 1.5rem;
}

.logo {
  width: 4rem;
  height: 2rem;
}

.header-toggle {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

#toggleTheme {
  cursor: pointer;
  color: var(--icon-color);
  font-size: 1.5rem;
  transition: all 0.4s ease-in-out;
}

#menuHamburger {
  cursor: pointer;
  font-size: 1.3rem;
  transition: all 0.4s ease-in-out;
  border: none;
  color: var(--primary-color);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  margin-left: 1.5rem;
}

.main-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.menu-text {
  color: var(--textmenu-color);
  text-transform: uppercase;
  font-weight: bold;
  font-family: "Montserrat", sans-serif;
}

/* Flexbox */
#home {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.main-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding-top: 2.5rem;
}

.menu-social {
  gap: 1.25rem;
}

.menu-link:hover .social-icon {
  color: var(--textselect-color);
  transition: all 0.1s ease-in-out;
}

/* Personalização do Botão "Projetos"*/
.btn {
  display: flex;
  justify-content: center;
  align-items: center;
  background: transparent;
  border: none;
  color: var(--text-color);
  cursor: pointer;
  /* S.E -> S.D -> I.D -> I.E */
  border-radius: 10px;
  padding: 0.5rem 1.5rem;
  /*   width: 100%;
 */
  gap: 1.5rem;
  transition: 0.3s ease-in-out;
}

.btn-primario {
  border: 1px solid var(--primary-color);
}

.btn:hover {
  transform: scale(1.2);
  background-color: var(--hover-color);
  transition: 0.3s ease-in-out;
}

.btn span,
.btn i {
  color: var(--primary-color);
  text-transform: uppercase;
}

.btn:hover span,
.btn:hover i {
  color: var(--txtbtn-color);
  transition: 0.3 ease-in-out;
  font-weight: 500;
}

/* Personalização do bloco Projetos */
/* Projetos */
.projetos {
  /* FLEX // Responsividade */
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  scroll-margin-top: 2.5rem;
}

.projeto-container {
  display: flex;
  flex-direction: column;
  gap: 50px;
  /* box-shadow: 0px 0px 15px 15px #111217; */
}

.projeto-card {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.card-cover {
  width: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}

.card-body {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 25px;
}

.card-title {
  font-family: "Montserrat", sans-serif;
  font-size: 40px;
  font-weight: 400;
  text-align: left;
}

.card-description {
  font-family: "Montserrat", sans-serif;
  font-size: 20px;
  font-weight: lighter;
}

.card-item {
  /* Li */
  margin-left: 10px;
  font-size: 18px;
  margin-bottom: 5px;
}

.card-button {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  align-items: center;
}

/* Personalização Video */
.video {
  display: flex;
  justify-content: center;
  align-items: center;
}

.video iframe {
  aspect-ratio: 16/9;
  width: 100%;
  box-shadow: 0px 0px 15px 7px #111217;
}

/* Voltar e atualizar */
#home,
.projetos,
.sobre,
.contato {
  padding: 2.5rem 1rem;
}

/* Menu Mobile */

#menuMobile {
  margin-left: 1rem;
}

.btn-menu-mobile {
  background: transparent;
  color: var(--icone-menu-mobile);
  border: none;
  font-size: 1.8rem;
  padding: 0.5rem;
  margin-left: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* Menu Mobile (estilo e animação) */

.menu-mobile {
  /* nav */
  position: fixed;
  top: 0;
  right: 0;
  background: var(--secondary-color);
  z-index: 100;
  transform: translateX(100%);
  display: flex;
  flex-direction: column; /* voltar */
  padding-top: 5rem;
  border-left: 2px solid var(--primary-color);
  height: 100vh; /* VH = viewport  height  */
  width: 25%;
  transition: 0.3s ease-in-out;
}

.menu-mobile.active {
  transform: translateX(0%);
}

.menu-mobile .menu-lista {
  width: 100%;
  text-align: center;
  padding-top: 0.5rem;
}

.menu-mobile .menu-link {
  display: inline-block;
  font-size: 1rem;
  padding: 0.7rem 0;
}

/* Personalização trecho "Conhecimento"*/
.conhecimento {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  background: var(--gradient-color);
  padding: 5rem 1rem 5rem;
  margin-top: -2rem;
}

.conhecimento h2 {
  font-size: 2rem;
  color: #cfcfcf;
  text-transform: initial;
  letter-spacing: normal;
  font-weight: 250;
}

/* Medidas Responsivas */
@media (max-width: 768px) {
  /* Até 768px */
  #home {
    padding-top: 6rem;
  }

  .conhecimento h2 {
    font-size: 1.5rem;
  }
}

@media (min-width: 768px) {
  /* A partir de 768px a diante */

  #header {
    padding: 1rem 6rem;
  }

  .menu-desktop {
    display: flex;
    /* FLEXBOX */
    min-width: 30%;
  }

  .header-toggle {
    min-width: 30%;
  }

  .btn-menu-mobile {
    display: none;
  }

  #home,
  .projetos,
  .contatos {
    padding: 8rem 6rem 4rem 6rem;
  }

  h1 {
    font-size: 4rem;
  }

  .conhecimento h2 {
    font-size: 2rem;
  }

  .titulo-projeto {
    font-size: 2.5rem;
  }
}
/* Projeto-card =  */
/* Card-cover = imagem-projetos */

@media (min-width: 992px) {
  .projeto-card {
    flex-direction: row;
  }

  .projeto-card.card-reverse {
    flex-direction: row-reverse;
    justify-content: space-between;
  }

  .card-cover {
    width: 55%;
  }
}

@media (min-width: 1200px) {
  /* A partir de 1200px */
  #home {
    padding: 6rem 6rem 2rem;
  }

  h1 {
    font-size: 5rem;
  }

  .conhecimento h2 {
    font-size: 2rem;
  }

  .titulo-projeto {
    font-size: 3rem;
  }
}

@media (min-width: 1400px) {
  /* A partir de 1200px */
  h1 {
    font-size: 6rem;
  }

  .titulo-projeto {
    font-size: 4.5rem;
  }

  .conhecimento h2 {
    font-size: 2.5rem;
  }
}
