@import url("https://fonts.googleapis.com/css2?family=Alfa+Slab+One&family=Bebas+Neue&family=Luckiest+Guy&family=New+Rocker&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Pirata+One&family=Raleway:ital,wght@0,100..900;1,100..900&family=Roboto:ital,wght@0,100..900;1,100..900&family=Rowdies:wght@300;400;700&family=Special+Gothic+Condensed+One&family=Titan+One&display=swap");

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

:root {
  --corCinza: #8d8d8d;
  --corBranco: #fff;
  --corAzul: #70cbff;
  --corPreto: #161616;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: #000000;
}

.interface {
  min-width: 90vw;
  padding: 1em 5%;
  margin: 0 auto;
}

button {
  background-color: transparent;
  border: 2px solid var(--corAzul);
  border-radius: 8px;
  color: var(--corBranco);
  cursor: pointer;
  font-size: 1.5rem;
  transition: 0.5s;
  font-family: "Special Gothic Condensed One", sans-serif;
}

button:hover {
  background-color: var(--corAzul);
  color: black;
  box-shadow: 3px 3px 15px #363636;
}

h1.tituloSection {
  font-size: 3rem;
  color: var(--corBranco);
  font-family: "Open Sans", sans-serif;
}
h1.tituloSection span {
  color: var(--corAzul);
}

/* Estilo do Cabeçalho */

header {
  background-color: transparent;
  position: fixed;
  width: 100%;
  z-index: 999999;
}

header .interface {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

header .interface .logoHeader img {
  max-width: 10em;
  transition: 1s;
}

header nav.menuDesktop ul {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 50px;
  font-family: "Special Gothic Condensed One", sans-serif;
}

header.rolagem {
  background-color: var(--corPreto);
  transition: 1s;
}

header.rolagem img {
  width: 60px;
  transition: 1s;
}

header.rolagem a {
  font-size: 15px;
  transition: 1s;
}

header.rolagem button {
  font-size: 15px;
  width: 70px;
  height: 30px;
}

.menuDesktop a {
  color: var(--corBranco);
  font-weight: 500;
  text-decoration: none;
  font-size: 1.5rem;
  transition: 0.5s;
}

.menuDesktop a:hover {
  color: var(--corAzul);
  text-shadow: 3px 3px 15px gray;
}

.menuDesktop button {
  width: 140px;
  height: 40px;
}

/* Estilo Hero */

.hero {
  background-image: linear-gradient(
    to left,
    var(--corPreto) 70%,
    var(--corAzul) 30%
  );
  padding-top: 145px;
}

.hero .interface {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 50px;
  font-family: "Open Sans", sans-serif;
  margin-top: 50px;
}

.hero .imgHero {
  order: -1;
}

.hero .txtHero {
  text-align: center;
}

.hero .txtHero h1 {
  font-size: 2rem;
  color: var(--corBranco);
  font-weight: 200;
}

.hero .txtHero h1 span {
  color: var(--corAzul);
  display: block;
  font-weight: 800;
  font-size: 3rem;
}

.hero .txtHero p {
  color: var(--corBranco);
  line-height: 1.6;
  font-size: 1rem;
  margin: 24px 0;
}

.hero .txtHero button {
  width: 200px;
  height: 45px;
}

/* Estilo Sobre Mim */

.sobreMim {
  padding: 80px 0;
  font-family: "Open Sans", sans-serif;
  color: #fff;
}

.sobreMim .interface {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 50px;
}

.textSobre p {
  color: var(--corCinza);
  text-align: justify;
  line-height: 1.6;
  margin: 24px 0;
}

.btnRedes {
  display: flex;
  justify-content: center;
}

.btnRedes button {
  width: 56px;
  height: 56px;
  font-size: 25px;
  margin-right: 10px;
}

/* Estilos Habilidades */

.skills {
  background-color: var(--corPreto);
  padding: 80px 0;
  font-family: "Open Sans", sans-serif;
}

.skills .iconSkills img {
  max-width: 80px;
  border-radius: 20px;
}

.skills article {
  display: flex;
  overflow-x: auto;
  gap: 20px;
  margin: 30px 0;
  padding-bottom: 20px;
  color: #fff;
  scroll-snap-type: x mandatory;
}

.skills article::-webkit-scrollbar {
  height: 8px;
}

.skills article::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.skills article::-webkit-scrollbar-thumb {
  background: var(--corAzul);
  border-radius: 10px;
}

.boxSkills {
  background-color: #000000;
  padding: 24px;
  border-radius: 20px;
  min-width: 300px;
  scroll-snap-align: start;
}

.iconSkills {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-bottom: 16px;
}

.iconSkills h2 span {
  color: var(--corAzul);
}

.boxSkills p {
  color: var(--corCinza);
  text-align: justify;
  line-height: 1.6;
}

.btnContato {
  text-align: center;
}

.btnContato button {
  width: 200px;
  height: 48px;
}

/* Estilo Portifolio */

.portifolio {
  padding: 80px 0;
}

.portifolio p {
  color: var(--corCinza);
  font-family: "Open Sans", sans-serif;
  margin: 16px 0 48px 0;
  text-align: center;
}

.portifolioContainer {
  display: flex;
  overflow-x: auto;
  gap: 20px;
  padding-bottom: 20px;
  scroll-snap-type: x mandatory;
}

.portifolioContainer::-webkit-scrollbar {
  height: 8px;
}

.portifolioContainer::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.portifolioContainer::-webkit-scrollbar-thumb {
  background: var(--corAzul);
  border-radius: 10px;
}

.portifolioContainer .portifolioBox {
  min-width: 250px;
  height: 300px;
  border: 2px solid var(--corAzul);
  border-radius: 16px;
  background-size: cover;
  background-position-y: 0%;
  transition: 2s;
  position: relative;
  scroll-snap-align: start;
}

.portifolioContainer .portifolioBox:hover {
  background-position-y: 100%;
}

.infoPortifolio {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000000d3;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.6rem;
  font-family: "Special Gothic Condensed One", sans-serif;
  transition: 0.5s;
}

.infoPortifolio:hover {
  opacity: 0;
}

.portifolioContainer .projeto1 {
  background-image: url(../imagens/ViniStore.png);
  background-size: contain;
}

.portifolioContainer .projeto2 {
  background-image: url(../imagens/Discord-HomePage.png);
}

.portifolioContainer .projeto3 {
  background-image: url(../imagens/Pokemons.png);
}

.portifolioContainer .projeto4 {
  background-image: url(../imagens/C3.png);
}

/* Estilos Contato */

.contato {
  padding: 80px 0;
  background-color: var(--corPreto);
}

.flex-contato {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.textContato {
  flex: 1;
  font-family: "Open Sans", sans-serif;
  color: var(--corCinza);
  font-size: 1.2rem;
  line-height: 1.6;
  text-align: center;
}

.contatosComIcones {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.contatosComIcones p {
  font-family: "Open Sans", sans-serif;
  color: var(--corCinza);
  font-size: 1.2rem;
  margin: 10px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.contatosComIcones i {
  color: var(--corAzul);
  font-size: 2rem;
}

/* Estilo Footer */

footer .interface {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: var(--corCinza);
  font-family: "Open Sans", sans-serif;
  margin-top: 48px;
  gap: 40px;
}

footer img {
  width: 150px;
}

/* Media Queries para telas maiores */

@media (min-width: 768px) {
  .hero .interface {
    flex-direction: row;
    text-align: left;
  }

  .hero .txtHero {
    text-align: left;
  }

  .hero .imgHero {
    order: 0;
  }

  .sobreMim .interface {
    flex-direction: row;
  }

  .btnRedes {
    justify-content: flex-start;
  }

  .flex-contato {
    flex-direction: row;
    text-align: left;
  }

  .textContato {
    text-align: left;
  }

  .contatosComIcones {
    align-items: flex-start;
  }
}

@media (min-width: 1024px) {
  .skills article {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    overflow-x: visible;
  }

  .portifolioContainer {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    overflow-x: visible;
  }

  .boxSkills {
    min-width: auto;
  }

  .portifolioContainer .portifolioBox {
    min-width: auto;
  }
}

/* Menu Mobile */
@media (max-width: 768px) {
  .hero {
    background-image: none;
    background-image: linear-gradient(
      to top,
      var(--corPreto) 80%,
      var(--corAzul) 20%
    );
    transition: background 0.5s ease;
  }

  header nav.menuDesktop ul {
    gap: 20px;
  }

  .menuDesktop a {
    font-size: 1rem;
  }

  .menuDesktop button {
    width: 100px;
    height: 30px;
    font-size: 0.9rem;
  }

  footer img {
    max-width: 90px;
  }

  .imgSobre img {
    max-width: 300px;
    height: auto;
    display: block;
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  header .interface {
    flex-direction: column;
    padding: 10px;
  }

  header nav.menuDesktop ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
  }

  h1.tituloSection {
    font-size: 2rem;
  }

  .hero .txtHero h1 {
    font-size: 1.5rem;
  }

  .hero .txtHero h1 span {
    font-size: 2rem;
  }

  footer img {
    max-width: 90px;
  }

  .imgSobre img {
    max-width: 200px;
  }
}
