* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  border: none;
  outline: none;
  scroll-behavior: smooth;
  font-family: "Poppins", sans-serif;
}

:root {
  --bg-color: rgb(15, 15, 15);
  --segunda-bg-color: #161616;
  --cor-texto: white;
  --cor-principal: #b40ca6;
}

html {
  font-size: 62.5%;
  overflow-x: hidden;
}

body {
  background-color: var(--bg-color);
  color: var(--cor-texto);
}

header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 3rem 9%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
}

.logo {
  font-size: 3rem;
  color: var(--cor-texto);
  font-weight: 700;
  cursor: pointer;
  transition: 0.3s ease;
}

.logo:hover {
  transform: scale(1.1);
}

section {
  min-height: 100vh;
  padding: 10rem 9% 10rem;
}

.home {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8rem;
}

.conteudo-home h3 {
  font-size: 3.2rem;
  font-weight: 700;
}

span {
  color: var(--cor-principal);
}

.logo span {
  color: var(--cor-principal);
}

.conteudo-home h3:nth-of-type(2) {
  margin-bottom: 2rem;
  font-optical-sizing: 5rem;
}

.conteudo-home h1 {
  font-size: 8rem;
  font-weight: 700;
  line-height: 1.3;
}

.home-img {
  border-radius: 50%;
}
.home-img img {
  position: relative;
  width: 32vw;
  border-radius: 50%;
  box-shadow: 0 0 25px var(--cor-principal);
  cursor: pointer;
}

.conteudo-home p {
  font-size: 1.8rem;
  font-weight: 500;
  line-height: 1.5;
}

.icones-redessociais a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 4rem;
  height: 4rem;
  background: transparent;
  border: 0.2rem solid var(--cor-principal);
  font-size: 2rem;
  border-radius: 50%;
  color: var(--cor-principal);
  margin: 3rem 1.5rem 3rem 0;
  transition: 0.3s ease;
}

.icones-redessociais a:hover {
  color: white;
  transform: scale(1.3) translateY(-5px);
  background-color: var(--cor-principal);
  box-shadow: 0 0 25px var(--cor-principal);
}

.botao {
  display: inline-block;
  padding: 1rem 2.8rem;
  background-color: var(--bg-color);
  border-radius: 4rem;
  font-size: 1.6rem;
  color: var(--cor-principal);
  border: 2px solid var(--cor-principal);
  letter-spacing: 0.1rem;
  font-weight: 600;
  transition: 0.3s ease;
  cursor: pointer;
}

.botao:hover {
  transform: scale(1.05);
  background-color: var(--cor-principal);
  color: var(--cor-texto);
  box-shadow: 0 0 25px var(--cor-principal);
}

.texto-animado {
  font-size: 34px;
  font-weight: 600;
  min-width: 280px;
}

.texto-animado span {
  position: relative;
}

.texto-animado span::before {
  content: "Desenvolvedora Web";
  color: var(--cor-principal);
  animation: palavras 18s infinite;
}

.texto-animado span::after {
  content: "";
  background-color: var(--bg-color);
  position: absolute;
  width: calc(100% +8px);
  height: 100%;
  border-left: 3px solid var(--bg-color);
  right: -8px;
  animation: cursor 0.6s infinite, escrevendo 18s steps(14) infinite;
}

@keyframes cursor {
  to {
    border-left: 2px solid var(--cor-principal);
  }
}

@keyframes palavras {
  0%,
  20% {
    content: "Desenvolvedora Web";
  }

  21%,
  40% {
    content: "Designer";
  }

  41%,
  60% {
    content: "Social Media";
  }

  61%,
  80% {
    content: "Web Designer";
  }

  81%,
  100% {
    content: "Criadora de Conteúdo";
  }
}

@keyframes escrevendo {
  10%,
  15%,
  30%,
  35%,
  50%,
  55%,
  70%,
  75%,
  90%,
  95% {
    width: 0;
  }

  5%,
  20%,
  25%,
  40%,
  45%,
  60%,
  65%,
  80%,
  85% {
    width: calc(100% + 8px);
  }
}

.heading {
  text-align: center;
  font-size: 8rem;
}

.servicos {
  background-color: var(--segunda-bg-color);
}

.servicos h2 {
  margin-bottom: 8rem;
}

.container-servicos {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  gap: 3rem;
}

.container-servicos .servicos-caixa {
  flex: 1 1 40rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: var(--cor-principal);
  padding: 3rem 2rem;
  height: 550px;
  border-radius: 2rem;
  border: 3px solid transparent;
  cursor: pointer;
  transition: 0.5s ease;
}

.container-servicos .servicos-caixa:hover {
  transform: scale(1.02);
  background-color: white;
  color: black;
}

.servicos-caixa i {
  font-size: 7rem;
  color: black;
  margin-bottom: 1rem;
}

.servicos-caixa h3 {
  font-size: 2.6rem;
}

.servicos-caixa p {
  font-size: 1.6rem;
  margin: 1rem 0 3rem;
}

.servicos-caixa .botao {
  background-color: white;
}

.servicos-caixa .botao:hover {
  color: var(--cor-principal);
}

::-webkit-scrollbar {
  width: 15px;
}

::-webkit-scrollbar-thumb {
  background-color: var(--cor-principal);
}

::-webkit-scrollbar-track {
  background-color: var(--bg-color);
  width: 35px;
}

.habilidades {
  background-color: var(--segunda-bg-color);
}

.habilidades h2 {
  margin-bottom: 2rem;
}

.habilidades {
  margin: 0 auto;
}

.barra-habilidades {
  margin-top: 8rem;
  padding: 25px 30px;
  background-color: var(--bg-color);
  border: 2px solid var(--cor-principal);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.barra-habilidades .barra {
  margin: 20px 0;
}

.barra-habilidades .barra:first-child {
  margin-top: 0px;
}

.barra-habilidades .barra .info {
  margin-bottom: 5px;
}

.barra-habilidades .barra .info span {
  color: var(--cor-texto);
  font-weight: 500;
  font-size: 17px;
}

.barra-habilidades .barra .linha-progresso {
  height: 10px;
  width: 100%;
  background: white;
  position: relative;
  border-radius: 10px;
}

.barra .linha-progresso span {
  height: 100%;
  position: absolute;
  border-radius: 10px;
  background: white;
  cursor: pointer;
}

.barra .linha-progresso.html span {
  width: 100%;
  background-color: orangered;
}
.barra .linha-progresso.css span {
  width: 85%;
  background-color: blue;
}
.barra .linha-progresso.javascript span {
  width: 60%;
  background-color: gold;
}
.barra .linha-progresso.photoshop span {
  width: 60%;
  background-color: rgb(0, 195, 255);
}
.barra .linha-progresso.illustrator span {
  width: 60%;
  background-color: rgb(255, 145, 0);
}

.links-contatos {
  display: flex;
  justify-content: center;
  gap: 5rem;
}

.links-caixa {
  flex: 1 1 30rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: var(--cor-principal);
  padding: 3rem 2rem;
  border-radius: 2rem;
  border: 3px solid transparent;
  cursor: pointer;
  transition: 0.5s ease;
  margin-top: 5rem;
}

.links-contatos i {
  font-size: 8rem;
  color: white;
  margin-bottom: 1rem;
}

.links-caixa a {
  color: white;
  font-size: 2rem;
}

.links-caixa:hover {
  transform: scale(1.05);
}

.footer {
  position: relative;
  bottom: 0;
  width: 100%;
  padding: 40px 0;
  background-color: var(--cor-principal);
}

.footer .social {
  text-align: center;
  padding-bottom: 25px;
  color: white;
}

.footer .social a {
  font-size: 25px;
  color: white;
  border: 2px solid white;
  width: 42px;
  height: 42px;
  line-height: 42px;
  display: inline-block;
  text-align: center;
  border-radius: 50%;
  margin: 0 10px;
  transition: 0.3s ease;
}

.footer .social a:hover {
  transform: scale(1.2) translateY(-10px);
  background-color: white;
  color: var(--cor-principal);
}

.footer .copyright {
  margin-top: 50px;
  text-align: center;
  font-size: 16px;
  color: white;
}
