* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Tilt Neon", sans-serif;
}

body {
  background-color: #8bc6ec;
  background-image: linear-gradient(135deg, #8bc6ec 0%, #9599e2 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

header {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
  padding: 24px;
  width: 100%;
}

header > img {
  width: 10%;
  height: auto;
}

nav {
  display: flex;
  gap: 32px;
}

nav a {
  color: #040;
  font-size: 18px;
}

main {
  border-top: 0.4px solid #007;
  margin-bottom: 48px;
  width: 100%;
  max-width: 1200px;
}

#sect-pri {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
  padding: 24px;
  flex-wrap: wrap;
}

#sect-pri > div {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 500px;
  text-align: center;
}

h1,
h2,
h3 {
  color: #008;
}

h1 {
  font-size: 64px;
}

h2 {
  font-size: 24px;
}

#sect-pri > img {
  width: 192px;
  height: auto;
  border: 6px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 2em rgba(0, 0, 0, 0.49);
  margin-top: 24px;
}

#sect-sec {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  margin-top: 48px;
  padding: 0 24px;
}

#sect-sec > div {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

#habilidades,
#certificados,
#projetos,
#linksExternos,
footer {
  margin-top: 24px;
  border-top: 1px #007 solid;
  padding: 18px;
  width: 100%;
}

#certificados > section {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  flex-wrap: wrap;
  gap: 15px;
}

figure {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 100%;
  max-width: 600px;
  gap: 5px;
  padding: 20px;
  border: 1px dotted #00f;
  border-radius: 10px;
  text-align: center;
}

figure > img {
  width: 100%;
  max-width: 500px;
  height: auto;
}

figure > figcaption {
  color: #009;
  font-size: 24px;
}

#htmlCard {
  background-color: #ff89448e;
}

#cssCard {
  background-color: #3939fa8e;
}

#jsCard {
  background-color: #ffff0079;
}

#tsCard {
  background-color: #0a0aa18e;
}

#tsCard > figcaption {
  color: #fff;
}

#cssmodernoCard {
  background-color: #7d39fa8e;
}

#gitGithubCard {
  background-color: #ffa60067;
}

#sassCard {
  background-color: #db48608f;
}

#bootstrapCard {
  background-color: #80008083;
}

#reactCard {
  background-color: #00ccff8e;
}

#projetos > section {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  flex-wrap: wrap;
  gap: 20px;
}

picture {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: calc(100% + 50px);
  max-width: 500px;
  padding: 20px;
  gap: 5px;
  border: 1px dashed #0ff;
  border-radius: 15px;
  background-color: #ffffff66;
  text-align: center;
}

picture > img {
  width: 100%;
  max-width: 400px;
  height: auto;
}

picture > p {
  color: #0000c8;
  font-size: 32px;
}

picture[destaque] {
  border: 2px solid #0ff;
  animation: emphasis 500ms linear infinite;
}

@keyframes emphasis {
  from {
    border: 2px solid #0ff;
    background-color: #ffffff66;
  }
  to {
    border: 2px solid #f00;
    background-color: #ffffff88;
  }
}

#linksExternos {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 100%;
}

#linksExternos > section {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 32px;
}

#linksExternos button {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  cursor: pointer;
  width: 192px;
  height: 192px;
  transition: 350ms;
  border: 1px solid #000;
  border-radius: 15px;
}

#linksExternos button img {
  width: 128px;
  height: auto;
  border-radius: 50%;
}

#linksExternos button span {
  font-size: 18px;
}

#linkedinBtn:hover {
  background-color: #007fbc;
}

#githubBtn:hover {
  background-color: #f0563a;
}

footer {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  gap: 12px;
  padding: 24px;
  width: 100%;
}

#contato {
  padding: 18px;
  border-left: 1px solid #007;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

form {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
}

form label {
  color: #005;
}

form input {
  height: 30px;
  width: 200px;
  border: 1px solid #004;
  border-radius: 7px;
  padding-left: 5px;
}

form textarea {
  width: 200px;
  height: 120px;
  border: 1px solid #004;
  border-radius: 7px;
  padding-left: 5px;
}

form button[type="submit"] {
  background-color: #008;
  color: #fff;
  width: 80px;
  height: 30px;
  border: 2px groove #003;
  border-radius: 10px;
  margin-top: 10px;
  align-self: center;
  cursor: pointer;
}
