/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Caladea:ital,wght@0,400;0,700;1,400;1,700&family=Libertinus+Serif+Display&family=Libre+Franklin:ital,wght@0,100..900;1,100..900&family=Zalando+Sans+Expanded:ital,wght@0,200..900;1,200..900&display=swap');

/* 
.libre-baskerville-regular {
  font-family: "Libre Baskerville", serif;
  font-weight: 400;
  font-style: normal;
}

.libre-baskerville-bold {
  font-family: "Libre Baskerville", serif;
  font-weight: 700;
  font-style: normal;
}

.libre-baskerville-regular-italic {
  font-family: "Libre Baskerville", serif;
  font-weight: 400;
  font-style: italic;
}

 */

:root {
  --fonte-titulo-h1: "Zalando Sans Expanded", sans-serif;
  --fonte-texto:  
  --fonte-subtitulo-h2:
  --fonte-subtitulo-h3:

}

/* Color -> Dark */
:root,
:root[data-theme="dark"] {
  --cor-fundo: #1f1f1f;
  --cor-fundo-secundario:gray;
  --cor-text-menu-link: white;
  --cor-border-botton: white;
  --cor-icon-theme: rgb(212, 210, 207);
  --cor-titulo: white;
  --cor-textos: white;
  --hover-link: #747474;
  --cor--link: #a3a2a2;
}

/* Color -> Ligth */
:root,
:root[data-theme="ligth"] {
  --cor-fundo: rgb(218, 218, 218);
  --cor-fundo-secundario: white;
  --cor-text-menu-link: black;
  --cor-borda: black;
  --cor-icon-theme: black;
  --cor-titulo: black;
  --cor-textos: black;
  --hover-link: #919191;
  --cor-link: #a3a2a2;

}

html [data-theme="light"] .logo{
  filter: invert(1);
}

/* Aparencia/Efeito barra de rolagem */
html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--cor-fundo-secundario)transparent;

}

/* Reset CSS */
* {
  margin: 0; /* Margem Externa */
  padding: 0;
  box-sizing: border-box;
}

body {
  background: var(--cor-fundo);
  
}

header {
  /* FLEXBOX */
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 0.5rem 1rem; /* 1 rem = 16 pixels */
  border-bottom: 0.1px solid var(--cor-borda);
  position: fixed;
  z-index: 9999; /* CAMADAS */
  background: var(--cor-fundo);
}

.logo {
  width:  2rem; /* Comprimento */
/*   height:  ;  *//* Altura */
}


/* nav */
.menu-desktop {
  display: none;
}

/* ul */
.menu {
  display: flex;
  list-style: none;
  gap: 1.2rem;
}

/* a */
.menu-link {
  text-decoration: none;
}

.menu-text {
  text-transform: uppercase;
  color: var(--cor-text-menu-link);
  font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}
/* Icone Puro */
#toggleTheme {
  color: var(--cor-icon-theme);
  font-size: 1.5rem;
  cursor: pointer; /* seta-mouse */
}

#toggleTheme:hover {
  color: red;
}

.menu-mobile {
  position: fixed;
  top: 0;
  right: 0;
  transform: translateX(100%);
  background: var(--cor-fundo-secundario);
  width: 35%;
  display: flex;
  flex-direction: column;
  max-width: 320px;
  padding-top: 4rem;
  height: 100vh; /* Viewport Height */
  border-left: 1px solid var(--cor-borda);
  align-items: center;
}

.menu-mobile.active {
  transform: translateX(0);
}

.menu-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  list-style: none;
}

.btn-menu-mobile {
  background: transparent;
  border: none;
  color: var(--cor-icon-theme);
  font-size: 1.5rem;
  margin-left: 1rem;
  align-items: center;
  justify-content: center;
  display: flex;
  padding: 0.5rem;
}

.header-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu-item {
  text-align: center;
}

/* Herança */
.menu-link.active .menu-text,
.menu-link:hover .menu-text {
  color: var(--hover-link);
}

/* H1 Base/serve para todos os dispositivos */
h1 {
  font-size: 2.5rem;
  color: var(--cor-titulo);
  font-family: "Zalando Sans Expanded", sans-serif;
}


p {
  color: var(--cor-textos);
}

/* Reaproveitar para as seções */
#home {
  padding: 2.5rem 1rem;

}
/* FlexBox da HOME */
#home {
  display: flex;
  flex-direction: column;
}

.main-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* herança */
.menu-social i {
  color:var(--cor-text-menu-link);
  font-size: 1.5rem;
}
.menu-social i:hover {
  color: var(--hover-link)
}

/* Responsividade */
/* A partir de 768 voltar tela em flex */
@media (min-width: 768px) {
  .menu-desktop {
    display: flex;
  }
  .btn-menu-mobile {
    display: none;
  }


  h1 {
    font-size: 5rem;
  }

  .header-logo {
    min-width: 30%;
  }
}
/* TELAS 992 */
@media (min-width: 992px) {
  h1 {
    font-size: 6rem;
  }
}

/* TELAS 1400PX */
@media (min-width: 1400px) {
  h1 {
    font-size: 6.5rem;
  }
}