* {
  border: 0;
  margin: 0;
  box-sizing: border-box;
  color: rgb(255, 246, 232);
  font-family: "Verdana", Geneva, Tahoma, sans-serif;
}

/* Variáveis principáis */

:root {
  /* Cores  */
  --laranja: #f56e00;
  --ciano: #005e75;
}

/* Estilos gerais  */

body {
  overflow-x: hidden;
  background: linear-gradient(black, var(--ciano));
}

.conteiner {
  width: 100%;
}

.pagina {
  width: 100%;
  min-height: 100vh;
}

/* primeira página */

.inicio {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 4rem 6%;
}

.titulo {
  width: 50%;
  min-width: 0;
}

.titulo h1 {
  font-family: "Caudex";
  font-size: clamp(2.5rem, 6vw, 60pt);
  line-height: 1.1;
}

.titulo h2 {
  font-family: "Caudex";
  margin-bottom: 1.5rem;
  border-left: 5px double var(--ciano);
  padding-left: 5px;
  font-size: clamp(1.1rem, 2.2vw, 1.5rem);
}

.titulo p {
  font-size: clamp(1.4rem, 3.5vw, 40pt);
  line-height: 1.25;
}

.italico {
  color: var(--laranja);
  font-style: italic;
  font-family: "Courgette", cursive;
}

.sublinhado {
  text-decoration: underline;
}

.foto-pessoal {
  width: 50%;
  display: flex;
  justify-content: flex-end;
}

.foto-pessoal img {
  width: 100%;
  max-width: 600px;
  border-radius: 10px;
  border: 1px solid #f56e003b;
}

/* segunda página  */

.oque-fiz h1 {
  font-family: "Caudex";
  font-size: clamp(1.6rem, 4vw, 40pt);
  text-align: center;
  margin-top: 2rem;
  margin-bottom: 4rem;
}

.projetos {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 5rem;
  padding: 0 2rem 5rem;
}

.projetos .card {
  background-color: #005e7554;
  padding: 1rem;
  height: 400px;
  flex: 0 1 30%;
  min-width: 280px;
  text-align: center;
  align-items: center;
  border-radius: 10px;
  box-shadow: 0 0 20px #005e7554;
}

.carrossel-ferramentas {
  display: flex;
  overflow: hidden;
  height: 80px;
  align-items: center;
  box-shadow: 0 0 30px #005e75;
}

.grupo .card {
  padding: 70px;
}

.card img {
  flex: 0 0 5em;
  height: 60px;
}

.card:hover {
  background-color: #005e75;
  transition:
    background-color 0.7s ease,
    transform 0.7s ease;
}

.track {
  display: flex;
  animation: scroll 50s linear infinite;
}

.grupo {
  gap: 1rem;
  display: flex;
  flex-shrink: 0;
}

@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* Responsivo - tablet */

@media (max-width: 1024px) {
  .inicio {
    padding: 3rem 5%;
  }

  .projetos .card {
    flex: 0 1 45%;
  }
}

/* Responsivo - celular */

@media (max-width: 768px) {
  .inicio {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding: 3rem 8%;
  }

  .titulo {
    width: 100%;
    text-align: center;
  }

  /* .titulo h1 {
    font-size: 50pt;
  } */

  .titulo h2 {
    border-left: none;
    padding-left: 0;
  }

  .foto-pessoal {
    width: 100%;
    justify-content: center;
  }

  .foto-pessoal img {
    width: 80%;
    max-width: 320px;
  }

  .carrossel-ferramentas {
    height: 60px;
  }

  .grupo .card {
    padding: 40px;
  }

  .card img {
    height: 40px;
    flex-basis: 3em;
  }

  .oque-fiz h1 {
    margin: 2rem 1rem 2.5rem;
  }

  .projetos {
    gap: 3rem;
    padding: 0 1.5rem 4rem;
  }

  .projetos .card {
    flex: 0 1 100%;
    height: 350px;
  }
}

/* Responsivo - celular pequeno */

@media (max-width: 480px) {
  .inicio {
    padding: 2.5rem 6%;
  }

  .projetos .card {
    height: 300px;
  }
}
