:root {
  --background: #181818;
  --second-background: #151515;
  --fontFamily-noto_sans: 'Noto Sans', sans-serif;
  --primary-color: rgb(52, 255, 201);
  --secondary-color: #1a8cff;
  --highlight-color: #3cbce6;
  --border-color: rgb(49, 49, 49);
  --hover-border-color: rgb(100, 100, 100);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  list-style: none;
  scroll-behavior: smooth;
  font-family: var(--fontFamily-noto_sans);
}

html {
  font-size: 16px;
}

body {
  min-height: 100vh;
  background-color: var(--background);
  font-size: 1rem;
}

nav {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1em 15%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: rgba(15, 15, 15, 0.8);
  backdrop-filter: blur(10px);
  z-index: 1000;
}

ul {
  display: flex;
  align-items: center;
  gap: 3em;
}

nav ul a {
  color: white;
  opacity: 0.7;
  transition: 0.2s ease-in-out;
}

nav ul a:hover,
nav ul a:focus {
  font-size: 1.2em;
  color: var(--highlight-color);
  opacity: 1;
}

.logo {
  opacity: 0.8;
  transition: 0.2s ease-in-out;
}

.logo:hover {
  opacity: 1;
}

.prompt-btn {
  border: none;
  background: none;
  cursor: pointer;
  font-weight: bold;
  letter-spacing: 1px;
  transition: 0.3s ease-in-out;
}

.prompt-btn i {
  color: white !important;
  font-size: 2.5em;
  opacity: 0.7;
}

.prompt-btn:hover,
.prompt-btn:focus,
.prompt-btn i:hover {
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  background-clip: text;
  color: transparent !important;
  opacity: 1;
}

span {
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  background-clip: text;
  color: transparent;
}

#menu {
  color: white;
  font-size: 3em;
  display: none;
}

section {
  min-height: 100vh;
  padding: 5% 15%;
}

#home {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2em;
  color: white;
}

#home img {
  width: 20vw;
  border-radius: 50%;
  margin-top: 3em;
}

.info-box {
  display: flex;
  flex-direction: column;
  text-align: center;
  gap: 0.5em;
  max-width: 600px;
}

.info-box h1 {
  opacity: 0.9;
  font-size: 3em;
  font-weight: 800px;
}

.info-box h1:hover {
  opacity: 1;
  font-size: 3em;
  font-weight: 800;
}

.info-box h3 {
  height: 2em;
  font-size: 1.5em;
  font-weight: 200;
}

#profissao {
  height: 1.8em;
  opacity: 0.8;
}

.info-box p {
  opacity: 0.7;
}

.btn-box {
  display: flex;
  gap: 1em;
}

.btn-box .btn {
  border: 1px solid transparent;
  padding: 0.5em 1em;
  border-radius: 0.5em;
}

.btn-box .btn i {
  color: white !important;
  font-size: 1.5em;
}

.btn-box .btn:hover,
.btn-box .btn:hover i {
  background-color: var(--background);
  border-color: var(--highlight-color);
  color: var(--highlight-color) !important;
}

::-webkit-scrollbar {
  width: 5px;
  background-color: var(--background);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
}

#sobre {
  background-color: var(--second-background);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5em;
}

#sobre img {
  width: 30vw;
  border-radius: 1em;
}

.box-sobre {
  display: flex;
  flex-direction: column;
  text-align: left;
  gap: 2em;
}

.box-sobre h1 {
  font-size: 5em;
}

.info-sobre p {
  color: white;
  opacity: 0.7;
}

.habilidades {
  display: flex;
  text-align: left;
  gap: 10em;
}

.habilidades ul {
  font-size: 1.3em;
  font-weight: 500;
  display: flex;
  flex-direction: column;
  color: white;
  opacity: 0.8;
  align-items: baseline;
}

.habilidades ul li span {
  display: flex;
  align-items: center;
  gap: 0.5em;
  font-size: 1.3em;
  transition: 0.3s ease-in-out;
}

.habilidades ul li span:hover {
  transform: translateX(10px);
  color: var(--primary-color);
}

.habilidades ul li i {
  font-size: 1.2em;
}

.box-sobre h2 {
  font-size: 2.5em;
}

#postagens {
  background-color: var(--background);
}

.header {
  text-align: center;
  font-size: 2em;
  margin: 0.5em 0;
}

#container-post {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2em;
  padding: 1em;
}

.box {
  border: 3px solid var(--border-color);
  border-radius: 0.5em;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  object-fit: cover;
  padding: 3em;
  gap: 2em;
  color: white;
  cursor: pointer;
  transition: 0.3s ease-in-out;
}

.box:hover {
  border: 3px solid var(--hover-border-color);
}

.box p {
  opacity: 0.7;
}

.box h1 {
  font-size: 1.5em;
}

.box img {
  min-width: 25px;
  border-radius: 0.5em;
}

#contato {
  background-color: var(--second-background);
}

form {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1em;
}

form .input-box {
  display: flex;
  flex-direction: column;
  align-items: baseline;
  gap: 0.5em;
  width: 100%;
  max-width: 600px;
}

.info-box span {
  font-size: 1.5em;
}

form input,
form textarea {
  width: 100%;
  padding: 0.75em;
  border-radius: 0.5em;
  border: none;
  outline: none;
}

form textarea {
  font-size: 0.9em;
  padding: 1em;
  border: 1px solid #ddd;
  resize: vertical;
  min-height: 150px;
}

form input {
  font-size: 1em;
}

form input:focus,
form textarea:focus {
  background-color: rgb(229, 229, 229);
  outline: 2px solid var(--highlight-color);
}

.btn {
  color: white;
  border: none;
  background: none;
  cursor: pointer;
  font-weight: 500;
  letter-spacing: 1px;
  font-size: 1.1em;
  transition: 0.1s ease-in-out;
}

.btn:hover {
  background: none;
  color: #3CBCE6;
  font-weight: bold;
}

.success,
.error {
  text-align: center;
}

.success {
  color: rgb(195, 246, 175);
  opacity: 0.7;
  
}

.error {
  color: rgb(245, 89, 61);
}

footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10em;
  bottom: 0;
  background-color: var(--background);
  width: 100%;
  padding: 5em 15%;
}

.col-esq {
  display: flex;
  flex-direction: column;
  gap: 1em;
}

.col-box {
  display: flex;
  align-items: center;
  gap: 1em;
}

.col-box i {
  font-size: 1em;
}

.col-box span {
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  background-clip: text;
  color: transparent !important;
  font-size: 1em;
}

.col-box span:hover {
  color: var(--primary-color) !important;
}

.col-dir {
  display: flex;
  flex-direction: column;
  color: white;
  opacity: 0.7;
  max-width: 500px;
}

.col-dir span {
  font-size: 1.3em;
}

.col-dir .social-icons {
  display: flex;
  align-items: baseline;
  justify-content: left;
  gap: 1em;
}

.social-icons i {
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  background-clip: text;
  color: transparent !important;
  font-size: 2.5em;
  transition: 0.2s ease-in-out;
}

.social-icons i:hover {
  color: var(--primary-color) !important;
}

@media(max-width:968px) {
  section {
    padding: 8em 15%;
  }

  nav .btn {
    display: none;
  }

  #menu {
    display: block;
  }

  .links {
    position: absolute;
    top: 100%;
    right: 0;
    width: 100%;
    padding: 1em 3em;
    color: white;
    display: flex;
    flex-direction: column;
    text-align: center;
    background: rgba(0, 0, 0, 0.9);
    display: none;
  }

  .links a {
    margin: 2em 0;
    display: block;
    font-size: 1.5em;
    color: white;
  }

  .links.active {
    display: block;
  }

  .prompt-btn {
    display: none;
  }

  #home h1 {
    font-size: 2em;
  }

  #home h3 {
    font-size: 1.5em;
  }

  #home img {
    width: 40vw;
  }

  #sobre {
    flex-direction: column;
  }

  #sobre h1 {
    font-size: 1.5em;
  }

  #sobre ul {
    font-size: 1em;
  }

  .info-sobre p {
    text-align: justify;
  }
}

@media(max-width:768px) {
  #home h1 {
    font-size: 1.5em;
  }

  #home h3 {
    font-size: 1em;
  }

  #home img {
    width: 40vw;
  }

  #box-sobre {
    max-width: 100%
  }

  .habilidades {
    gap: 1em
  }

  section {
    padding: 60px 20px;
  }

  #sobre img {
    width: 45vw;
  }

  #habilidades {
    font-size: 3em;
  }

  #postagens {
    font-size: 1em;
  }

  #contato .header {
    font-size: 2em;
  }

  #contato .input-box span {
    font-size: 1.2em;
  }

  .input-box input {
    padding: 0.5em 1em;
  }

  form {
    padding: 1em;
  }

  form input,
  form textarea {
    padding: 0.5em;
  }

  form button {
    width: 100%;
    padding: 0.75em;
  }

  footer {
    flex-direction: column;
    gap: 5em;
    align-items: baseline;
  }
}