/* Reset css*/
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200..700&family=Outfit:wght@100..900&family=Sour+Gummy:ital,wght@0,100..900;1,100..900&display=swap');

:root {
  --cor-primaria: #0c969c;
  --cor-secundaria: #c48cb3;
  --cor-complementar: #e5c9d7;
  --fonte-primaria: "Sour Gummy", serif;
  --fonte-secundaria: "Oswald", sans-serif;
  --fonte-complementar: 'Outfit', sans-serif;
  /*--coresdiferentes: animation: coresdiferentes 5s infinite; */
}


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
  list-style: none;
}

body {
  width: 100%;
  min-height: 100vh;
  background-image: url('../images/constelacao.svg');
  color: #fff;
}

h2 {
  font-family: "Sour Gummy", serif;
  color: #e5c9d7;
  font-size: 40px;
  cursor: default;
}

/* Parte da navegação */

header {
  background-color: transparent;
  width: 100%;
  position: fixed;
  z-index: 1000;
  backdrop-filter: blur(2px);
}

.nav-bar {
  display: flex;
  justify-content: space-between;
  padding: 1.5rem 6rem;
}

.logo {
  display: flex;
  align-items: center;
}

.logo h1 {
  color: #fff;
}

.nav-list {
  display: flex;
  align-items: center;
}

.nav-list ul {
  display: flex;
  justify-content: center;
  list-style: none;
}

.nav-item {
  margin: 0 15px;
}

.nav-link {
  font-family: "Oswald", sans-serif;
  text-decoration: none;
  font-size: 1.15rem;
  color: #fff;
  font-weight: 400;
}

.nav-link:hover {
  animation: coresdiferentes 5s infinite;
}

.mobile-menu-icon {
  display: none;
}

.mobile-menu {
  display: none;
}

@media screen and (max-width: 730px) {
  .nav-bar {
    padding: 1.5rem 4rem;
  }

  .nav-item {
    display: none;
  }

  .mobile-menu-icon {
    display: block;
  }

  .mobile-menu-icon button {
    background-color: transparent;
    border: none;
    cursor: pointer;
  }

  .mobile-menu ul {
    display: flex;
    flex-direction: column;
    text-align: center;
    padding-bottom: 1rem;
  }

  .mobile-menu .nav-item {
    display: block;
    padding-top: 1.2rem;
  }

  .open {
    display: block;
  }
}

@keyframes coresdiferentes {

  0%,
  100% {
    color: #c48cb3;
  }

  25%,
  75% {
    color: #e5c9d7;
  }

  50% {
    color: #0c969c;
  }
}

/* Menu responsivo*/


/* Paragrafo Portifólio na navegação */

.para-portfolio {
  font-size: 40px;
  font-family: "Sour Gummy", serif;
  cursor: default;
  color: #c48cb3;
  text-shadow: 2px 2px 1px #fff;
  letter-spacing: 3px;
}

.para-portfolio:hover {
  animation: coresdiferentes 5s infinite;
}

.para-portfolio2 {
  text-shadow: 2px 2px 1px #fff;
  color: #0c969c;
}

.para-portfolio2:hover {
  animation: coresdiferentes 5s infinite;
}


/* Imagem icone da navegação */

.icon-img {
  border-radius: 50%;
  border: 3px #c48cb3 solid;
  margin: 5px;
  cursor: pointer;
}

section {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 20px;
}

/* Div sobre mim */

.caixa-sobre-mim {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 10px;
  margin: 40px;
  gap: 15px;
  flex-wrap: wrap;
}

/* Imagem do conteúdo principal sobre mim */

.sobre-img {
  max-width: 100%;
  margin-top: 70px;
  border-radius: 50%;
  border: #c48cb3 3px solid;
  cursor: pointer;
}

/* Conteúdo sobre mim */

.para-sobre-mim {
  font-family: "Oswald", sans-serif;
  font-size: 40px;
  text-align: center;
}

.span-primeiro-nome {
  color: #c48cb3;
  font-family: "Sour Gummy", serif;
}

.span-sobrenome {
  color: #0c969c;
  font-family: "Sour Gummy", serif;
}

.ola-caixa-alta {
  font-size: 40px;
  font-family: "Oswald", sans-serif;

}

.sobre-mim-h1 {
  font-size: 30px;
  font-family: "Oswald", sans-serif;
}

.para-sobre-mim {
  font-size: 20px;
}

.e {
  color: #c48cb3;
  font-family: "Sour Gummy", serif;
}

.d {
  color: #83a6ce;
  font-family: "Sour Gummy", serif;
}

/* Habilidades */

.caixa-habilidades {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex-wrap: wrap;
  width: 80%;
}

.habilidades-txt {
  font-size: 50px;
  font-weight: 500;
  letter-spacing: 4px;
  margin: 10px;
  margin-top: 150px;
  font-family: "Sour Gummy", serif;
  animation: coresdiferentes 5s infinite;
}

.habilidades-img {
  padding: 10px;
  border: #83a6ce solid 3px;
  border-radius: 50%;
  margin: 5px;
  background-color: #000;
  opacity: 0.5;
}

.habilidades-img:hover {
  opacity: 1;
  border: #e5c9d7 solid 3px;
  transition: .2s;
}

.skills {
  width: 500px;
  padding: 40px;
  border-radius: 20px;
  background-color: transparent;
  backdrop-filter: blur(4px);
  border: solid 1px #fff;
  box-shadow: 0 15px 20px #00000027;
}

.skills .list-skills {
  list-style: none;
}

.skills .list-skills .item-list-skills {
  margin: 20px 0;
}

.skills .barras {
  background-color: #ccc;
  display: block;
  height: 20px;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  transition: .5s ease-in-out;
}

.barras>span {
  height: 20px;
  background: linear-gradient(to right, #c48cb3, #0c969c);
  position: absolute;

}

.text-habilidades-h2 {
  font-size: 35px;
  font-weight: 500;
  letter-spacing: 4px;
  text-align: center;
  animation: coresdiferentes 5s infinite;

}

.text-habilidades-h3 {
  font-family: 'Outfit', sans-serif;
}

.html {
  width: 90%;
  animation: html 3s;
}

.css {
  width: 80%;
  animation: css 3s;
}

.javascript {
  width: 70%;
  animation: javascript 3s;
}

.react {
  width: 60%;
  animation: react 3s;
}

.java {
  width: 70%;
  animation: java 3s;
}

.mysql {
  width: 50%;
  animation: mysql 3s;
}

.nodejs {
  width: 20%;
  animation: nodejs 3s;
}

.python {
  width: 30%;
  animation: python 3s;
}

@keyframes html {
  0% {
    width: 0%;
  }

  100% {
    width: 90%;
  }
}

@keyframes css {
  0% {
    width: 0%;
  }

  100% {
    width: 80%;
  }
}

@keyframes javascript {
  0% {
    width: 0%;
  }

  100% {
    width: 70%;
  }
}

@keyframes react {
  0% {
    width: 0%;
  }

  100% {
    width: 60%;
  }
}

@keyframes java {
  0% {
    width: 0%;
  }

  100% {
    width: 70%;
  }
}

@keyframes mysql {
  0% {
    width: 0%;
  }

  100% {
    width: 50%;
  }
}

@keyframes nodejs {
  0% {
    width: 0%;
  }

  100% {
    width: 20%;
  }
}

@keyframes python {
  0% {
    width: 0%;
  }

  100% {
    width: 30%;
  }
}

/* Estiliza a barra de rolagem */
::-webkit-scrollbar {
  width: 14px;
  /* Largura da barra de rolagem vertical */
  height: 12px;
  /* Altura da barra de rolagem horizontal */
}

/* Estiliza o fundo da barra de rolagem */
::-webkit-scrollbar-track {
  background: #83a6ce;
  /* Cor de fundo do track */
}

/* Estiliza o "polegar" da barra de rolagem */
::-webkit-scrollbar-thumb {
  background-color: #c48cb3;
  /* Cor do polegar */
  border-radius: 10px;
  /* Borda arredondada opcional */
  border: 3px solid #f1f1f1;
  /* Cria uma margem ao redor do polegar */
}

/* Estiliza o polegar ao passar o mouse */
::-webkit-scrollbar-thumb:hover {
  background-color: #e5c9d7;
  /* Cor do polegar ao passar o mouse */
}

.sobre-mim-caixa {
  margin-top: 30px;
  padding: 30px;
  display: flex;
  justify-content: center;
  flex-direction: column;
  flex-wrap: wrap;
  width: 60%;
  align-items: center;
  border: #fff solid 2px;
  border-radius: 15px 15px;
  background-color: transparent;
  backdrop-filter: blur(0px);
  transition: 0.5s;
  color: #cfcfcf;
}

.sobre-mim-caixa:hover {
  backdrop-filter: blur(1px);
  color: #fff;
}

.sobre-mim-h2 {
  font-size: 45px;
  font-weight: 500;
  letter-spacing: 4px;
  padding: 10px;
  font-family: "Sour Gummy", serif;
  color: #0c969c;
}

/* Seção de projetos */

.caixa-projetos {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 50px;
  width: 1000px;
}

.meus-projetos-text {
  font-size: 50px;
  font-weight: 500;
  letter-spacing: 4px;
  text-align: center;
  margin: 100px 0 50px 0;
  animation: coresdiferentes 5s infinite;
}

.card {
  position: relative;
  width: 300px;
  height: 200px;
  background-color: #f2f2f2;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  perspective: 1000px;
  box-shadow: 0 0 0 5px #ffffff8c;
  transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card img {
  max-width: 100%;
  fill: #333;
  transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 16px rgba(255, 255, 255, 0.2);
}

.card__content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 20px;
  box-sizing: border-box;
  background-color: #f2f2f2;
  transform: rotateX(-90deg);
  transform-origin: bottom;
  transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card:hover .card__content {
  transform: rotateX(0deg);
}

.card__title {
  margin: 0;
  font-size: 24px;
  color: #333;
  font-weight: 700;
  font-family: 'Outfit', sans-serif;
}

.card:hover img {
  scale: 0;
}

.card__description {
  margin: 10px 0 0;
  font-size: 14px;
  color: #777;
  line-height: 1.4;
  font-family: var(--fonte-complementar);
}

/* Seção contato */

.caixa-form {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-items: center;
  padding: 20px;
  background-color: transparent;
  height: auto;
  max-width: 700px;

}

.caixa-btn-git {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 50px;
}

.btn-git {
  display: grid;
  place-items: center;
  background: #e3edf7;
  padding: 1.4em;
  border-radius: 10px;
  box-shadow: 6px 6px 10px -1px rgba(0, 0, 0, 0.15),
    -6px -6px 10px -1px rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(0, 0, 0, 0);
  cursor: pointer;
  transition: transform 0.5s;
}

.btn-git:hover {
  box-shadow: inset 4px 4px 6px -1px rgba(0, 0, 0, 0.2),
    inset -4px -4px 6px -1px rgba(255, 255, 255, 0.7),
    -0.5px -0.5px 0px rgba(255, 255, 255, 1),
    0.5px 0.5px 0px rgba(0, 0, 0, 0.15),
    0px 12px 10px -10px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.1);
  transform: translateY(0.5em);
}

.btn-git svg {
  transition: transform 0.5s;
}

.btn-git:hover svg {
  transform: scale(0.9);
  fill: #333333;
}

input {
  width: 100%;
  height: 40px;
  margin: 10px;
  outline: none;
  background-color: transparent;
  backdrop-filter: blur(3px);
  border: #0c969c solid 2px;
  color: #fff;
  font-size: 15px;
  font-family: "Oswald", sans-serif;
  letter-spacing: 2px;
  transition: all 0.3s ease;
}

input::placeholder {
  color: #c3c3c3;
  font-size: 20px;
  font-family: "Sour Gummy", serif;

}

textarea {
  width: 100%;
  height: 130px;
  resize: none;
  margin: 10px;
  outline: none;
  background-color: transparent;
  backdrop-filter: blur(3px);
  color: #fff;
  font-size: 15px;
  font-family: "Oswald", sans-serif;
  letter-spacing: 2px;
  border: #0c969c solid 2px;
}

textarea::placeholder {
  color: #c3c3c3;
  font-family: "Sour Gummy", serif;
  font-size: 20px;
}

.btn-form {
  width: 150px;
  height: 60px;
  margin: 10px;
  background-color: #0c969c;
  color: #fff;
  border-radius: 4px;
  cursor: pointer;
  font-family: "Sour Gummy", serif;
  font-size: 17px;
  transition: 0.4s;
}

.btn-form:hover {
  background-color: transparent;
  backdrop-filter: blur(4px);
  border: dashed 2px #fff;
  color: #0c969c;
}

.contato-txt {
  margin-top: 100px;
  padding: 10px;
  cursor: default;
  color: #0c969c;
}

.para-contato {
  margin: 10px;
  font-family: "Sour Gummy", serif;
}

.email-strong {
  color: #0c969c;
  border-bottom: 2px solid #fff;
}

.direitos {
  text-align: center;
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
}

/* Rodapé da página */

footer {
  background-color: transparent;
  backdrop-filter: blur(4px);

}

.redes-sociais {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 5px;
  font-family: 'Outfit', sans-serif;
  border-top: #fff solid 1px;
  padding: 15px;

}

.list-icons {
  list-style-type: none;
  display: flex;
  position: relative;
  gap: 40px;
}

.list-icons .item-icon {
  width: 60px;
  height: 60px;
  background-color: #fff;
  box-shadow: 0 8px 25px #00000055;
  border-radius: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: .2s;
}

.list-icons .item-icon:hover {
  width: 130px;
}

.list-icons .item-icon span {
  position: absolute;
}

.list-icons .item-icon .icon {
  color: #ccc;
  font-size: 1.6em;
  transition: .2s;
}

.list-icons .item-icon .text {
  color: #fff;
  font-size: 15px;
  transform: scale(0);
  transition: .2s;
  transition-delay: .1s;
}

.list-icons .item-icon:hover .text {
  transform: scale(1);
}

.list-icons .item-icon:hover .icon {
  transform: scale(0);
}

.list-icons .item-icon::before {
  content: '';
  position: absolute;
  background-image: linear-gradient(45deg, var(--cor1), var(--cor2));
  inset: 0;
  opacity: 0;
  border-radius: 60px;
}

.list-icons .item-icon:hover::before {
  opacity: 1;
}