@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Lobster+Two:ital,wght@0,400;0,700;1,400;1,700&display=swap");
@import url("./header.css");
@import url("./home.css");
@import url("./sobreMim.css");
@import url("./habilidadesStack.css");
@import url("./projetos.css");

:root {
  --roxo-principal: #6a00ff;
  --roxo-secundario: #c9a5fc;
  --roxo-medio: #c9a5fc;
  --cor-fonte: #2d2638;
  --cor-branco: #ffffff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-size: 1rem;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: transparent;
}

main {
  overflow-y: auto;
}

section {
  padding: 28px 10%;
}

p,
li,
.texto-info,
.description {
  line-height: 1.6;
}

h1,
h2,
h3 {
  line-height: 1.3;
}

#bg {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  z-index: -1;
}

.buttons-info {
  display: flex;
  flex-wrap: wrap;
  gap: 35px;
}

.buttons-info a {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 2%;
  width: 7rem;
  height: 7rem;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 10px;
  border-bottom: 0.3rem solid var(--roxo-principal);
  text-decoration: none;
  color: var(--roxo-principal);
  box-shadow: 0px 4px 10px 2px rgba(0, 0, 0, 0.15);
  transition: box-shadow 0.3s ease-out;

  & i {
    font-size: 2.5rem;
  }

  & svg {
    width: 2.5rem;
    height: 2.5rem;
  }

  & p {
    text-align: center;
    font-size: 0.6rem;
    padding: 5%;
  }
}

.buttons-info a:hover {
  box-shadow: 0px 4px 10px 6px rgba(0, 0, 0, 0.15);
}

.nome-sessao {
  color: var(--roxo-principal);
  font-size: 1.12rem;
  font-weight: 600;
  text-transform: uppercase;
}

.titulo-sessao {
  color: var(--cor-fonte);
  font-size: 2rem;
  font-weight: 700;
}

.texto-info {
  font-size: 0.9rem;
  color: var(--cor-fonte);
  margin-top: 25px;
}

@media screen and (max-width: 760px) {
  .buttons-info {
    justify-content: center;
  }
}

@media screen and (max-width: 420px) {
  .buttons-info a {
    width: 4rem;
    height: 4rem;

    & i {
      font-size: 1.5rem;
    }

    & svg {
      width: 1.5rem;
    }

    & p {
      font-size: 0.5rem;
    }
  }

  .nome-sessao {
    font-size: 1rem;
  }

  .titulo-sessao {
    font-size: 1.5rem;
  }
}
