@import url("https://fonts.googleapis.com/css2?family=Oswald:wght@200..700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Pixelify+Sans&display=swap");
*,
::before,
::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  list-style: none;
  box-sizing: border-box;
  outline: none;
}
* {
  font-family: "Oswald";
  font-style: normal;
}
html {
  scroll-behavior: smooth;
}
body {
  height: 100vh;
  width: 100%;
}
a {
  text-decoration: none;
}
a:hover {
  cursor: pointer;
}
button {
  border: none;
}
section {
  width: 100%;
  min-height: 100vh;
  padding: 6rem 9% 2rem; /* verificar */
}
/* navigation */
.navbar-brand {
  padding-left: 50px;
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
}
.navbar-brand:hover {
  color: #fff;
}
.navbar ul a {
  font-size: 1.5rem;
  color: #fff;
  text-decoration: none;
}
.navbar ul {
  display: flex;
  padding: 1.3rem 10%;
  justify-content: end;
}
.navbar a:hover {
  color: #fff;
}

.navbar {
  background: rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(30px);
}
.navbar-toggler {
  background: #fff;
  border: none;
}

.collapse {
  text-align: center;
}

/* Section Home */
#home {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #000;
  background-size: cover;
  color: #fff;
  gap: 40px; /* Espaço entre a foto e o conteúdo */
}
.foto {
  width: 35%; /* Define um tamanho relativo para melhor responsividade */
  max-width: 400px; /* Limita o tamanho máximo */
  aspect-ratio: 1 / 1; /* Mantém o formato quadrado */
  background: #fff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  position: relative;
  background-color: #141414;
  box-shadow: 20px 20px 80px rgba(6, 8, 168, 0.5);
}
.foto img {
  width: 100%; /* Faz a imagem se ajustar ao container */
  max-width: 85%;
  height: auto;
  object-fit: cover;
}

.content-container {
  flex: 1; /* Faz com que o conteúdo ocupe o espaço restante */
  display: flex;
  flex-direction: column;
  margin-left: 20px;
  min-width: 300px; /* Evita que fique muito pequeno em telas menores */
}
.content-container h1 {
  font-size: 4rem;
}
.sociais {
  /* background: #16079c; */
  display: flex;
  justify-content: flex-start; /* Alinha à esquerda, seguindo o texto */
  align-items: center; /* Mantém os ícones alinhados verticalmente */
  margin: 40px 0; /* Ajuste opcional para espaçamento */
}

.sociais ul {
  display: flex;
  justify-content: flex-start; /* Garante alinhamento com o texto */
  gap: 15px; /* Adiciona espaçamento entre os ícones */
  padding: 0;
  margin: 0;
}

.sociais a {
  color: #fff;
}

.sociais ul li {
  list-style: none;
}

.sociais ul li a {
  position: relative;
  display: block;
  width: 60px;
  height: 60px;
  text-align: center;
  line-height: 60px;
  background: #171515;
  border-radius: 50%;
  font-size: 30px;
  transition: 0.5s;
}

.sociais ul li a:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #3c28f3;
  transition: 0.5s;
  transform: scale(0.9);
  z-index: -1;
}

.sociais ul li a:hover:before {
  transform: scale(1.2);
  box-shadow: 0 0 15px #3c28f3;
  filter: blur(3px);
}

.sociais ul li a:hover {
  color: #3c28f3;
  box-shadow: 0 0 15px #3c28f3;
  text-shadow: 0 0 15px #3c28f3;
}

.cta {
  display: flex;

  width: 100%;
}
.cta-text {
  color: #fff;
  background: #fff;
  font-weight: 700;
  transition: 0.5s;
  padding: 15px 70px;
  position: relative;
  border-radius: 5px;
}
.cta-text:hover {
  letter-spacing: 3px;
  background: #16079c;
  box-shadow: 0 0 35px #3c28f3;
}
.cta-text::before {
  content: "";
  position: absolute;
  inset: 2px;
  background: #1d1d1d;
  border-radius: 5px;
}
.cta-text span {
  position: relative;
  z-index: 1;
}
.cta-text i {
  position: absolute;
  inset: 0;
  display: block;
}
.cta-text i::before {
  content: "";
  position: absolute;
  top: 0;
  left: 80%;
  width: 10px;
  height: 4px;
  background: #1d1d1d;
  transform: translateX(-50%) skewX(325deg);
  transition: 0.5s;
}
.cta-text:hover i::before {
  width: 20px;
  left: 20%;
}

.cta-text i::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 20%;
  width: 10px;
  height: 4px;
  background: #1d1d1d;
  transform: translateX(-50%) skewX(325deg);
  transition: 0.5s;
}
.cta-text:hover i::after {
  width: 20px;
  left: 80%;
}

#h1-home span {
  color: #16079c;
}

/* Section Sobre */
#sobre {
  background: #272727;
  color: #fff;
  width: 100%;
}

.section-title {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 60px;
  font-size: 3rem;
  color: #fff;
}

#sobre-container {
  justify-content: center;
  align-items: center;
  display: flex;
  gap: 30px;
  /* background: #c1c1c1; */
}

#sobre-contexto {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 60%;
  margin-top: 50px;
  /* background: #000; */
}

#texto-sobre {
  width: 100%;
  text-align: center;
  padding-right: 30px;
}

#texto-sobre h3 {
  font-size: 1.75rem;
}

.foto-sobre {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 25%;
  box-shadow: 20px 20px 50px rgba(6, 8, 168, 0.5);

  border-radius: 100%;
  overflow: hidden;
}

.foto-sobre img {
  width: 100%;
  background: #16079c;
}

.badges-container {
  margin-top: 40px;
  width: 100%;
}

.badges-container a{
  padding: 0 10px;
}

.badges-container img {
  width: 11%;
  border-radius: 10px;
}
.badges-container img:hover {
  scale: 1.1;
  transition: 0.5s;
}

#cta-projects {
  margin-top: 50px;
  display: flex;
  justify-content: center;
}

/* Habilidades Section */
#skills {
  background: #000;
}

.cardArea {
  margin-top: 50px;

  position: relative;
  display: flex;
  max-width: 1920px;
  flex-wrap: wrap;
  justify-content: center;
}
.card {
  position: relative;
  width: 250px;
  height: 270px;
  margin: 30px;
  border-radius: 15px;
  align-items: center;
  cursor: pointer;
  box-shadow: 20px 20px 50px rgb(0, 0, 0, 0.5);
  border: none;
  background: #1d1d1d;
}

.cardContent {
  position: relative;
  padding: 30px;
  text-align: center;
  transition: 0.5s;
  z-index: 1;
  border-radius: 15px;
  border: none;
}

.card span {
  padding-top: 20px;
  display: flex;
  justify-content: center;
  width: 80px;
  height: 130px;
  z-index: 1;
  border: none;
}

.cardContent h3 {
  color: #fff;
  letter-spacing: 0.1rem;
  font-size: 24px;
  border: none;
}

.cardContent p {
  font-size: 12px;
  color: #fff;
  font-size: 13px;
  border: none;
}

@property --angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}
.card::before {
  content: "";
  background-image: conic-gradient(from var(--angle), #1d1d1d, #3c28f3);
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 15px;
  z-index: -1;
  animation: 4s spin linear infinite;
  border: none;
}
.card::after {
  content: "";
  position: absolute;
  background: #1d1d1d;
  inset: 2px; /* largura da borda */
  border-radius: 15px;
  border: none;
}

@keyframes spin {
  from {
    --angle: 0deg;
  }
  to {
    --angle: 360deg;
  }
}
.js-titl-glare {
  border-radius: 15px;
  border: none;
}

/* Projetos Section */
#projetos {
  background: #141414;
  color: #fff;
}
#projetost {
  margin-bottom: 50px;
}

.projeto-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 100px 50px;
  padding: 30px 50px;
}
.projeto {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  position: relative;
  width: 400px;
  height: 280px;
  background: #fff;
  border-radius: 10px;
  transition: 0.5s;
}
.projeto:hover {
  height: 400px;
}
.img-projeto {
  position: absolute;
  top: 20px;
  width: 350px;
  height: 200px;
  background: #000;
  border-radius: 8px;
  transition: 0.5s;
  overflow: hidden;
}

.img-projeto img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.projeto:hover .img-projeto {
  top: -50px;
  scale: 0.75;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.2);
}

.proj-content {
  color: #000;
  text-align: center;
  position: absolute;
  top: 230px;
  height: 40px;
  width: 100%;
  padding: 0 30px;
  overflow: hidden;
  transition: 0.5s;
}

.projeto:hover .proj-content {
  top: 150px;
  height: 250px;
}

.proj-icons ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 0;
}

.proj-icons li {
  display: flex;
}
.proj-icons img {
  width: 30px;
  height: 30px;
}
.proj-content a {
  background: #16079c;
  color: #fff;
  padding: 10px 20px;
  border-radius: 10px;
  text-align: center;
}
.proj-content p {
  margin-bottom: 20px;
  font-size: 18px;
}
/* Contato Section */
#contato {
  background: #000;
  display: flex;
  flex-direction: column;
}
#floatingTextarea2 {
  height: 100px;
}
form {
  margin-top: 50px;
  flex-direction: column;
  display: flex;
  justify-content: center;
  align-items: center;
}
.form-floating {
  width: 50%;
}

/* footer */
.footer {
  background: #fff;
  text-align: center;
  left: 0;
  bottom: 0;
  padding: 10px 0;
  width: 100%;
}
.footer p,
h5,
li {
  color: #000;
}
.footer ul {
  justify-content: center;
  color: #000;
}
.footer li {
  padding: 5px;
  color: #000;
}
.footer ul li a {
  color: #000;
}
.container {
  margin-top: 20px;
}
.footer ul li a:hover {
  color: #3c28f3;
}

/* 🔹 Mobile Padrão */
@media (max-width: 768px) {
  #home {
    flex-direction: column; /* Empilha os elementos em coluna */
    align-items: center; /* Centraliza os elementos na tela */
    text-align: center; /* Centraliza o texto */
  }

  .foto {
    width: 60%; /* Ajusta o tamanho da imagem */
    max-width: 250px; /* Limita para evitar imagens muito grandes */
    margin-bottom: 20px; /* Adiciona espaçamento abaixo da imagem */
  }

  .content-container {
    width: 90%; /* Ajusta a largura para não ficar muito grande */
    margin-left: 0; /* Remove a margem esquerda */
  }

  .home-text {
    margin-left: 0; /* Remove margens laterais */
  }

  .sociais {
    justify-content: center; /* Centraliza os ícones sociais */
    margin-left: 0; /* Remove margem lateral */
  }
  .cta {
    justify-content: center;
  }
}

/* 🔹 Tablets */
@media (max-width: 1024px) {
  .content-container {
    width: 80%;
  }
}

/* Scrollbar */
body::-webkit-scrollbar {
  width: 5px; /* width of the entire scrollbar */
}

body::-webkit-scrollbar-track {
  background: #000; /* color of the tracking area */
}

body::-webkit-scrollbar-thumb {
  background-color: #c1c1c1; /* color of the scroll thumb */
  border-radius: 10px; /* roundness of the scroll thumb */
}
