* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

a {
  text-decoration: none;
  color: white;
}

ul {
  list-style-type: none;
}

img {
  max-width: 100%;
}

html {
  scroll-behavior: smooth;
}

body {
  color: white;
  background-image: url("/imagens/photo-1539721972319-f0e80a00d424.avif");
  background-size: cover;
  background-position: center;
  background-color: rgba(0, 0, 0, 0.4);
  background-blend-mode: overlay;
  font-family: "Segoe UI", sans-serif;
  margin: 0 auto;
  text-align: center;
  max-width: 1050px;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 40px;
}

.logo {
  width: 60px;
  height: 55px;
  border-radius: 50%;
  border: 2px solid white;
  text-align: center;
  line-height: 50px;
  transition: 0.3s;
  position: fixed;
  top: 28px;
  left: 120px;
  font-size: 22px;
  z-index: 1000;
}

.sumir {
  display: none;
}

header a:hover .logo {
  color: #fff;
  border: 2px solid #fff;
  transform: scale(1.1);
}

.menu li a {
  font-size: 18px;
  text-transform: uppercase;
  padding: 8px 16px;
  transition: 0.3s;
  border: 2px solid white;
  border-radius: 50px;
  position: relative;
  right: 80px;
  transform: scale(1.1);
}

.menu li a:hover {
  color: #fff;
  transform: scale(1.1);
}

.home {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  background-blend-mode: overlay;
  backdrop-filter: blur(2px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  padding: 20px;
  margin: 50px 0;
}

.home .informacoes {
  display: flex;
  flex-direction: column;
  gap: 10px;
  letter-spacing: 1px;
  padding: 0 10px;
  max-width: 70%;
  justify-content: space-between;
  align-items: center;
}

.home .informacoes h1 {
  font-size: 36px;
  margin-bottom: 15px;
}

.home .informacoes p {
  font-size: 16px;
  margin-bottom: 8px;
  text-align: justify;
}

.home .redes-sociais {
  display: flex;
  gap: 16px;
}

.home .redes-sociais a i {
  border: 1px solid white;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  padding: 8px;
  font-size: 22px;
  transition: 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home .redes-sociais a i:hover {
  color: #fff;
  border: 2px solid #fff;
  transform: scale(1.1);
}

.home .container-foto img {
  width: 300px;
  border-radius: 50%;
  border: 2px solid white;
}

.habilidades {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background-color: rgba(255, 255, 255, 0.1);
  background-blend-mode: overlay;
  backdrop-filter: blur(2px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  padding: 20px;
  margin: 50px 0;
}

.habilidades h2 {
  text-align: center;
  font-size: 40px;
  font-weight: 500;
  text-transform: uppercase;
}

.habilidades .container-habilidades {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}
.habilidades .habilidade {
  max-width: 240px;
  max-height: 280px;
  position: relative;
}

.habilidades .habilidade img {
  object-fit: contain;
  width: 100px;
  height: 185px;
  position: relative;
}

.habilidades .habilidade h3 {
  display: inline-block;
  background-color: #023062;
  padding: 8px 16px; /* aumenta o espaço lateral */
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  border: #18599f 1px solid;
  border-radius: 20px;
  color: white;
  min-width: 100px;
  white-space: nowrap; /* evita quebra de linha */
}

.container-outras-habilidades li {
  text-align: center;
  font-size: 18px;
  font-weight: 600;
}

.projetos {
  background-color: rgba(255, 255, 255, 0.1);
  background-blend-mode: overlay;
  backdrop-filter: blur(2px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  padding: 20px;
  margin: 50px 0;
}

.projetos h2 {
  text-align: center;
  padding: 20px 0;
  font-size: 40px;
  font-weight: 500;
  text-transform: uppercase;
}

.projetos .container-projetos {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 15px;
  justify-content: center;
}

.projetos .projeto {
  max-width: 240px;
  max-height: 280px;
  position: relative;
  display: none;
}

.projetos .projeto.ativo {
  display: block;
}

.projeto img {
  object-fit: contain;
  width: 240px;
  height: 280px;
}

.projetos .informacoes-projeto p{
  font-size: 16px;
  margin-bottom: 8px;
}

.projetos .projeto h3 {
  background-color: #023062;
  width: 100%;
  padding-left: 18px;
  padding-bottom: 8px;
  padding-top: 8px;
  position: absolute;
  bottom: 0;
  border: #18599f 1px solid;
  border-radius: 20px;
}

.projetos .projeto .informacoes-projeto {
  background-color: black;
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  font-weight: 600;
  opacity: 0;
  transition: 0.3s;
  padding: 40px 18px;
}

.projetos .container-projetos .projeto:hover .informacoes-projeto {
  opacity: 1;
  transition: 0.3s;
  color: #023062;
  background-color: rgba(255, 255, 255, 0.7);
  background-blend-mode: overlay;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.projetos .btn-mostrar-mais-projetos {
  background: none;
  border: 1px solid white;
  border-radius: 25px;
  color: white;
  width: 160px;
  padding: 16px;
  font-size: 16px;
  font-weight: 600;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: 0.3s;
}

.projetos .btn-mostrar-mais-projetos:hover {
  background-color: #fff;
  transition: 0.3s;
  color: #023062;
  border: 1px solid #023062;
}

.projetos .btn-mostrar-mais-projetos.remove {
  display: none;
}

