/* Definir cores tema Dark */
:root,
:root[data-theme="dark"] {
  --cor-fundo: #504d4d;
  --cor-texto: #ffffff;
  --cor-icone: orange;
  --cor-link: gray;
  --cor-hover: ;
  --cor-borda: #fff;
  --cor-header: black;
  --cor-icon-mobile: #fff;
}


/* Definir cores tem Light */

:root[data-theme="light"] {
  --cor-fundo: #ffffff;
  --cor-texto: #313030;
  --cor-icone: rgb(114, 114, 240);
  --cor-link: lightgray;
  --cor-hover: black;
  --cor-borda: #000;
  --cor-header: rgb(252, 252, 209);
  --cor-icon-mobile: black;
}

html[data-theme="light"] .logo {
  filter: invert(1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: var(--cor-fundo);
  /* Cor Fundo */
  color: #ffffff;
  /*cor Texto */
  /* font-family: ; */
}

a {
  text-decoration: none;
  color: #ffffff;
}

ul {
  list-style: none;
}

#header {
  /* ID = # */
  display: flex;
  flex-wrap: row wrap;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  background: var(--cor-header);
  padding: 1rem 1rem;
  z-index: 100;
  position: fixed;
  border-bottom: 2px solid var(--cor-borda);

}

.menu-desktop {
  display: none;
}

.menu {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.menu-link.active .menu-texto,
.menu-link:hover .menu-texto {
  color: var(--cor-hover);
}
.social-icon {
  color: var(--cor-texto);
  font-size: 1,5rem;
}

.menu-texto {
  color: var(--cor-link);
  text-transform: uppercase;
  font-size: .75rem;
  font-weight: 600;
}

.logo {
  width: 3.25rem;
  height: 1.89rem;
}

.header-toggle {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}


#toggleTheme {
  cursor: pointer;
  color: var(--cor-icone);
  font-size: 2rem;
  /* tamanhoda fonte */
  transition: all 0.3s ease-in-out;
}

/* menu mobile */

#menuMobile {
  margin-left: 1rem;
}

.btn-menu-mobile {
  background: transparent;
  color: var(--cor-icon-mobile);
  border: none;
  font-size: 1.8rem;
  padding: 0.5rem;
  margin-left: 1rem;

}

/* Menu mobile (estilo e animação) */

.menu-mobile {
  position: fixed;
  top: 0;
  right: 0;
  background: var(--cor-header);
  z-index: 50;
  transform: translateX(100%);
  display: flex;
  flex-direction: column;
  padding-top: 6rem;
  height: 100vh;
  /* VH = viewport height */
  width: 35%;
  /* VW = viewport widht */
  transition: transform 0.3s ease-in-out;
}

.menu-mobile.active {
  transform: translateX(0%);
}

menu-mobile .menu-list {
  width: 100%;
  text-align: center;
}

.menu-mobile .menu-link {
  display: inline-block;
  font-size: 1rem;
  padding: 0.3rem 0;

}


/* medidas responsivas */

@media (min-width: 768px) {
  /* A partir de 780px ao infinito */

  .menu-desktop {
    display: flex;
    /* flexbox */
    min-width: 30%;
  }

  .header-toggle {
    min-width: 30%;
  }

  .btn-menu-mobile {
    display: none;
}
}
#home {
  padding-top: 6rem;
}