
:root {
  --cor-principal: #000000;
  --cor-header: #41414134;
  --cor-secundaria: #ffffff;
  --cor-text: #ffffff;
  --fonte-padrao: "Arial", sans-serif;
  --cor-subtext:#a0a0a0;
  --espacamento: 16px;
}
p{
  color: var(--cor-text);
}
.backSamurai{
  position:absolute;
  width: 100% ;
  top :0;
  z-index:-2;
}
a{
  text-decoration: none;
}
/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Fonte geral */
body {
 display: flex;
 flex-direction: column;
 justify-content: center;
 align-items: center;
  font-family: 'Montserrat', sans-serif;
  background-color: var(--cor-principal); /* Tom claro de fundo */
  color: var(--cor-text); /* Texto preto */
}

/* Cabeçalho */
.header {
  position: sticky;
  top: 0;
  z-index: 3;

  width: 100%;
  height: 70px;
  padding: 0 2rem;

  display: flex;
  justify-content: flex-end;
  align-items: center;

  background-color:var(--cor-header); /* fundo claro e translúcido */
  backdrop-filter: blur(10px);                
  -webkit-backdrop-filter: blur(10px);        /* Safari */

  /* se quiser usar variável, pode deixar algo assim:
     background-color: rgba(var(--cor-header-rgb), 0.1); */
}


.logo {
 display: flex;
 flex-direction: column;
 width: 100px;
 height: 100px;
}

.navbar ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  z-index: 2;
}

.navbar a {
  text-decoration: none;
  color: var(--cor-text);
  font-weight: 700;
  transition: color 0.3s;
}

.navbar a:hover {
  color: #555;
}

/* Menu mobile - escondido por padrão */
.mobile-menu-icon {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.mobile-menu-icon span {
  width: 25px;
  height: 3px;
  background: #ffffff;
  margin: 4px 0;
  transition: 0.4s;
}

/* Seção Home */


.overlay-text {
  position: absolute;
  top: 10%;
  left: 10%;
  opacity: 0.1;
  font-size: 5rem;
  font-weight: 900;
}

.game-dev-text {
  line-height: 1;
}

.home-content {
  z-index: 1;
  width: 100%;
margin-top: 50px;
}
.logo-principal {
  height:30px;
}

.subtitle {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}


.btn {
  display: inline-block;
  background-color: var(--cor-secundaria);
  color: var(--cor-principal);
  padding: 0.8rem 1.5rem;
  text-decoration: none;
  font-weight: 700;
  border-radius: 4px;
  border: none;
  border-radius: 100px;
  transition: background-color 0.3s;
}
.bardive{
  background-color: var(--cor-text);
  width: 100%;
  height: 5px;
}
.btn:hover {
  background-color: #ff0000;
}

/* Seção Projetos */
.projetos {
  width: 100%;
  max-width: 1200px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 3rem 2rem;
  text-align: start;
  position: relative;
}

.section-title {
  width: 100%;
  text-align: end;
  margin: 0px 0px 40px 0px;
  font-size: 3rem;
  font-weight: 900;
}
.section-title-projeto{
  font-size:2rem;
  padding: 2rem;
  font-weight: 900;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); /* ajuste leve para melhor visual */
  gap: 2.5rem;         /* 40px em rem, mais escalável */
  padding: 1rem;       /* espaço interno nas laterais */

  /* opcional: animação suave para quando itens mudam de posição */
  transition: all 0.3s ease-in-out;
}


.project-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: 1s;
  width: 170px;
  height: auto;
  border-radius: 30px;
}

.project-card img {
  transition: 3s;
  z-index: 0;
  box-shadow: 0px 0px 100px #000000;
  border-radius: 110px;
  object-fit: cover;
  width: 100%;
  height: 170px;

}

.data{ 
  color: #ffffff;
  padding: 4px 7px;
  border-radius: 100px;
  bottom: 260px;
  
}
.project-card:hover img {
  transition: 0.1s;
  border-radius: 10px;
}


.project-card h3 {
  position: relative;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

/* Seção Sobre */
.sobre {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  color: white;
  padding: 3rem 2rem;
 
}
.detailsobre{
  padding: 2rem;
display: flex;
justify-content: end;
}
.detailsobre img{
  height: 200px;
}

.sobre-content {
  display: flex;
  flex-direction: row;
  width: 100%;
  max-width: 1200px;
  justify-content: space-evenly;
  align-items: center;
}

.sobre-text {
  max-width: 600px;
  display: flex;
  flex: 50px;
  margin-left: 100px;
}

.sobre-text h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.sobre-text p {
  line-height: 1.1;
  font-weight: 300;
  color: var(--cor-subtext);
}

.sobre-image {
  display: flex;
  justify-content: cente;
  align-items: center;
}
.sobre-image h1{
font-size: 50px;
}

.sobre-image img {
  margin: 20px;
  width: 230px;
  height: 370px;
  border-radius: 200px;
  object-fit: cover;
}

/* Seção Contato */
.contato {
  padding: 3rem 0rem;
  text-align: start;
  display: flex;
  align-items: center;
}

.icon-rede{
  width: 20px;
  margin: 10px;
}

/* Rodapé */
.footer {
  background:var(--cor-principal);
  text-align: center;
  padding: 1rem;
  border-top: 1px solid var(--cor-secundaria);
}

.footer p {
  font-size: 0.9rem;
  font-weight: 300;
}

.imgDev{
  width: 80%;
}
/* Responsividade */
@media (max-width: 768px) {
  .navbar ul {
    display: none; /* escondemos o menu desktop */
    padding: 10px;
  }
  .mobile-menu-icon {
    display: flex; /* exibimos o ícone mobile */
  }

.home-content {
  display:flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.home-content img {
width: 100px;
z-index:12;
}


/* Seção Projetos */
.projetos {
  width: 100%;
  max-width: 1200px;
  display: flex;
flex-direction: column;
}

.projects-grid {
  width: 100%;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  padding: 0;
}

/* Seção Sobre */
.sobre {
  display: flex;
  flex-direction: row;
  width: 100%;
  max-width: 1200px;
  padding: 3rem 2rem;
}
.sobre-content{
  flex-direction: column;
  
}
.sobre-text{
  margin: 0;
}
.home-content img {
  width: 70%;
  height: auto;
}
.project-card img{
  width: 100px;
  height: 100px;
}
.backSamurai{
  position:absolute;
  width: 100% ;
 height: 1002px;
  object-fit: cover;
  top :0;
  z-index:-2;
}
.projetos {
  width: 100%;
  padding: 0;
 
}
}
 