*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Josefin sans', sans-serif;

}


/*Inicio*/
.caixa-principal{
  height: 100vh;
  width: 100vw;
  max-width: 100%;
  background-color: #191919;
  background-image: url(Tecnologias/fundo\ certo.png);
  background-position: center;
  background-size: cover;
}

nav{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-left: 30px;
  padding-right: 30px;
  padding-top:25px ;
}

.portfolio{
  color: white;
  font-size: 50px;
  font-weight: 500px;
}

.portfolio span{
  color: #f9004d;
}

li{
 color: white;
 list-style: none; 
 display: inline-block;
 font-size: 32px;
 margin-right: 30px;
 cursor: pointer;

}

.caixa-principal li:hover{
  color: #f9004d;
  transition: 0.5s;
}
.caixa-principal a:hover{
  color: #f9004d;
  transition: 0.5s;
}

.meu-nome{
  position: absolute;
  top: 40%;
  left: 7%;
}



.meu-nome span {
  color: #f9004d;
}
h1{
  color: white;
  font-size: 75px;
}


.meu-nome h3 {
  color: #f9004d;
  font-size: 29px;
}

h1 span{
  color: #f9004d;
}
/*SOBRE MIM*/
.sobre-mim img{
  height: 200px;
  width: 200px;

}

section{
  display: flex;
  align-items: center;
  padding: 60px 12%;
  background-color: #000000;
}

section div h2{
  color: white;
  font-size: 75px;

}

section div p{
  color: #cdaeb8;
  font-size: 24px;
  margin-top:30px ;
  margin-bottom: 30px;
}

section div button{
  color: white;
  background-color: #f9004d;
  height: 50px;
  width: 180px;
  font-size: 18px;
  border: none;
  border-radius: 26px ;
  cursor: pointer;
}
section div button:hover{
  background-color: black;
  border:3px solid #f9004d ;
  transition: 0.5s;
}

section img{
  position: relative;
  right: 50px;
}
/*Trabalhos*/
.projetos{
  background-color: #191919;
  padding-top:50px ;
  padding-bottom:100px ;
}

.projetos h2{
  color: white;
  font-size: 75px;
  text-align: center;
}
.tec h2{
  color: white;
  font-size: 75px;
  text-align: center;
}
.card{
  background-color: #000000;
  height: 400px;
  width: 320px;
  padding: 20px 35px;
  text-align: center;
  border-radius: 15px;
}

.card img{
  height: 100px;
}

.card h5{
  color: white;
  font-size: 24px;
}

.card p{
  margin-top: 20px;
  color: #e2b9c6;
  margin-top: 20px ;
  margin-bottom: 30px;
  font-size: 20px;
}

.card a{
  background-color: #f9004d;
  color: white;
  padding: 10px 20px;
  border-radius: 25px;
  cursor: pointer;
  transition: 0.5;


}


.card a:hover{
  background-color: transparent;
  border: 2px solid #f9004d;
}

.habilidades{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  justify-content: center;

}
/*FINAL*/
footer{
  background-color: #000000;
  padding-top: 100px;
  padding-bottom: 120px ;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

footer h5{
  color: white;
  font-size: 30px;
}

footer p{
  color: white;
  font-size:18px ;
  margin-top: 14px ;
  margin-bottom: 30px ;

} 

/*CONTATO*/
.social img{
  height: 30px;
  border-radius: 50%;
}

.social{
  display: flex;
  gap: 20px;
}
.social a{
  background-color: #ff0051;
  padding: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  height: 50px;
  justify-content: center;
  width: 50px;
  cursor: pointer;

}

.social a:hover{
  transform: scale(1.3);
  transition: 0.5s;
}
/*HABILIDADES*/
.tec img{
  height: 140px;
  width: 130px;
  background-color: #ffffff00; 
  

} 
.tec{
  background-color: #191919;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  justify-content: center;

  
}

footer{
  background-color: #191919;
}


.tec-esp{
  padding: 15px;
  background-color: #f9004d;
  border-radius: 20px;
  cursor: pointer;
  text-align: center;
  width: 250px;


}

#habilidades{
  color: white;
  font-size: 75px;
  text-align: center;
  background-color: #191919;
  padding-bottom:40px ;
}

.tec h6{
  color: #ffffff;
  font-size: 42px;
  align-items: center;
}

.link-menu{
  text-decoration: none;
  color: white;
}

#fale-comigo{
  background-color: #000000;
}

.tec-esp:hover{
  transform: scale(1.021);
  transition: 0.5s;
  border: #000000;
  border: 2px solid blue;
}

.projetos-container{
  background-color: #191919; 
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  justify-content: center;
}

#id {
  background-color: #191919;
  padding-bottom: 50px;
  color: #ffffff; 
  font-size: 70px;
  text-align: center;
  padding-top: 50px;

}

/*Geral  teste*/

/* responsividade */

/* small laptops a partir de 1100px */
@media screen and (max-width: 1330px) {
  .link-menu{
    display: none;
  }
  .caixa-principal{
    background-image: none ;
  }
}

/* tablet 900px */
@media (max-width: 900px) {
  
}
@media (max-width: 768px) {
  * {
    max-width: 100%; /* Substitui width: 100% para evitar problemas de layout */
  }

  .link-menu {
    display: none;
  }

  .caixa-principal {
    background-image: none;
  }

  section img {
    height: 300px;
    width: 300px;
  }

  .portfolio {
    font-size: 40px;
  }

  section {
    flex-direction: column;
  }

  .tec-esp {
    flex-direction: column;
  }

  .habilidades {
    flex-direction: column;
  }

  .proj {
    height: 200px;
    width: 200px;
  }

  .card img {
    height: 100px;
    width: 100px;
    margin-top: 20px;
  }

  .habilidades {
    margin-top: 50px;
  }

  .meu-nome h1 {
    font-size: 60px;
  }

  footer {
    background-color: #000000;
    padding-top: 100px;
    padding-bottom: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center; /* Centraliza o texto */
  }

  footer h5 {
    color: white;
    font-size: 30px;
  }

  footer p {
    color: white;
    font-size: 18px;
    margin-top: 14px;
    margin-bottom: 30px;
  }

  /* CONTATO */
  .social img {
    height: 30px;
    border-radius: 50%;
  }

  .social {
    display: flex;
    gap: 10px; /* Reduz o gap para telas menores */
    justify-content: center; /* Centraliza os ícones horizontalmente */
    align-items: center; /* Centraliza os ícones verticalmente */
  }

  .social a {
    background-color: #ff0051;
    padding: 10px; /* Reduz o padding para telas menores */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px; /* Reduz o tamanho dos ícones */
    width: 50px; /* Reduz o tamanho dos ícones */
    cursor: pointer;
  }

  .social a:hover {
    transform: scale(1.3);
    transition: 0.5s;
  }
}