@import url("https://fonts.googleapis.com/css2?family=Livvic&family=Poppins:wght@300;400;500&display=swap");

:root {
  --font-family: "Livvic", sans-serif;
  --bg-color: #f6e6e0;
  --primary-color: #252525;
  --second-color: #1c2273;
}

html {
  scroll-behavior: smooth;
}

* {
  scrollbar-width: thin !important;
  scrollbar-color: #65676a #1e1f22 !important;
}

/* Works on Chrome, Edge, and Safari */
*::-webkit-scrollbar {
  width: 1.1rem !important;
  height: 1.2rem !important;
}

*::-webkit-scrollbar-track {
  background: #1e1f22 !important;
}

*::-webkit-scrollbar-thumb {
  background-color: #65676a !important;
  border-radius: 2rem !important;
  border: 0.3rem solid #1e1f22 !important;
}

*::-webkit-scrollbar-corner {
  background: #1e1f22 !important;
}

body {
  font-family: var(--font-family);
  color: var(--primary-color);
  background-color: var(--bg-color);
}

nav label:hover {
  cursor: pointer;
}

input[type="checkbox"],
input[type="radio"] {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  padding: 0;
}

nav input {
  opacity: 0;
}

nav label {
  position: fixed;
  top: 20px;
  right: 20px;
  height: 50px;
  width: 50px;
  z-index: 999;
}

nav label span:first-child {
  top: 7px;
}

nav label span:last-child {
  top: 30px;
}

@media (min-width: 992px) {
  nav label {
    display: none;
  }
}

nav input {
  opacity: 0;
}

nav input:checked + label span {
  opacity: 0;
  top: 50%;
}

nav input:checked + label span:first-child {
  opacity: 1;
  -webkit-transform: rotate(405deg);
  transform: rotate(405deg);
}

nav input:checked + label span:last-child {
  opacity: 1;
  -webkit-transform: rotate(-405deg);
  transform: rotate(-405deg);
}

nav input:checked + label span {
  opacity: 0;
  top: 50%;
}

nav input:checked + label span:first-child {
  opacity: 1;
  -webkit-transform: rotate(405deg);
  transform: rotate(405deg);
}

nav input:checked + label span:last-child {
  opacity: 1;
  -webkit-transform: rotate(-405deg);
  transform: rotate(-405deg);
}

@media (min-width: 992px) {
  nav input {
    display: none;
  }
}

nav label span {
  position: absolute;
  top: 19px;
  right: 4px;
  width: 40px;
  height: 5px;
  border-radius: 4px;
  display: block;
  background-color: #fff;
  -webkit-transition: 0.5s;
  transition: 0.5s;
}

label {
  cursor: default;
}

@media (min-width: 992px) {
  nav input {
    display: none;
  }
}

@media (min-width: 992px) {
  nav ul {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
  }
}

nav ul li {
  position: relative;
  -webkit-transform: translateY(-285px);
  transform: translateY(-285px);
  -webkit-transition: -webkit-transform 0.5s ease-in-out;
  transition: -webkit-transform 0.5s ease-in-out;
  transition: transform 0.5s ease-in-out;
  transition: transform 0.5s ease-in-out, -webkit-transform 0.5s ease-in-out;
}

nav ul li:after {
  content: "";
  width: 72%;
  height: 4px;
  background-color: #f48480;
  -webkit-transform-origin: center;
  transform-origin: center;
  -webkit-transform: scaleX(0);
  transform: scaleX(0);
  position: absolute;
  bottom: 0;
  left: 14%;
  -webkit-transition: -webkit-transform 0.3s ease-in-out;
  transition: -webkit-transform 0.3s ease-in-out;
  transition: transform 0.3s ease-in-out;
  transition: transform 0.3s ease-in-out, -webkit-transform 0.3s ease-in-out;
}

nav ul li:hover:after {
  -webkit-transform: scaleX(1);
  transform: scaleX(1);
}

nav ul li.current {
  background-color: #f0535d;
  pointer-events: none;
}

nav ul li.current a {
  color: #252525;
}

@media (min-width: 992px) {
  nav ul li {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
}

nav ul a {
  color: #fff;
  font-size: 1.4rem;
  font-weight: 600;
  text-transform: lowercase;
  letter-spacing: 0.02rem;
  display: inline-block;
  padding: 15px 26px 10px;
}

@media (min-width: 992px) {
  nav ul a {
    font-size: 1.2rem;
  }
}

nav ul a:hover,
nav ul a:active,
nav ul a:focus {
  background-color: transparent;
}

nav input:checked ~ ul {
  background-color: rgba(57, 79, 244, 0.98);
  height: 100%;
  padding: 80px 0 20px;
}

nav input:checked ~ ul li {
  opacity: 1;
  -webkit-transform: translateY(0);
  transform: translateY(0);
}

nav ul {
  background-color: rgba(57, 79, 244, 0.9);
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80px;
  z-index: 10;
  text-align: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -ms-flex-wrap: nowrap;
  flex-wrap: nowrap;
  -webkit-box-pack: space-evenly;
  -ms-flex-pack: space-evenly;
  justify-content: space-evenly;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-transition: 0.5s;
  transition: 0.5s;
  padding-right: 5%;
}

@media (min-width: 992px) {
  nav ul {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
  }
}

nav ul li {
  position: relative;
  -webkit-transform: translateY(-285px);
  transform: translateY(-285px);
  -webkit-transition: -webkit-transform 0.5s ease-in-out;
  transition: -webkit-transform 0.5s ease-in-out;
  transition: transform 0.5s ease-in-out;
  transition: transform 0.5s ease-in-out, -webkit-transform 0.5s ease-in-out;
}

nav ul li:after {
  content: "";
  width: 72%;
  height: 4px;
  background-color: #f48480;
  -webkit-transform-origin: center;
  transform-origin: center;
  -webkit-transform: scaleX(0);
  transform: scaleX(0);
  position: absolute;
  bottom: 0;
  left: 14%;
  -webkit-transition: -webkit-transform 0.3s ease-in-out;
  transition: -webkit-transform 0.3s ease-in-out;
  transition: transform 0.3s ease-in-out;
  transition: transform 0.3s ease-in-out, -webkit-transform 0.3s ease-in-out;
}

nav ul li:hover:after {
  -webkit-transform: scaleX(1);
  transform: scaleX(1);
}

nav ul li.current {
  background-color: #f0535d;
  pointer-events: none;
}

nav ul li.current a {
  color: #252525;
}

@media (min-width: 992px) {
  nav ul li {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
}

nav ul a {
  color: #fff;
  font-size: 1.4rem;
  font-weight: 600;
  text-transform: lowercase;
  letter-spacing: 0.02rem;
  display: inline-block;
  padding: 15px 26px 10px;
}

@media (min-width: 992px) {
  nav ul a {
    font-size: 1.2rem;
  }
}

nav ul a:hover,
nav ul a:active,
nav ul a:focus {
  background-color: transparent;
}

nav input:checked ~ ul {
  background-color: rgba(57, 79, 244, 0.98);
  height: 100%;
  padding: 80px 0 20px;
}

nav input:checked ~ ul li {
  opacity: 1;
  -webkit-transform: translateY(0);
  transform: translateY(0);
}

.menu {
  display: flex;
  justify-content: space-evenly;
}

.menu__item {
  font-size: 1.5rem;
  padding: 1rem;
}

li > a {
  color: white;
}

article,
footer {
  padding-top: 10vh;
}

.greet {
  padding-top: 3vh;
  font-size: 3.3rem;
  margin-bottom: -8vh;
}

.container {
  margin: auto 3rem;
}

.topic {
  color: #f0535d;
  font-size: 1.3rem;
  letter-spacing: 0.06rem;
  padding: 2rem 0;
}

.sub_topic {
  color: var(--second-color);
  font-size: 2.8rem;
}
.paragraphDestake {
  color: #7689d8;
}

.photo {
  width: 20vw;
}

.about {
  margin-top: 3rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
}

.skills {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  align-items: center;
}

.item {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1rem;
  height: 110px;
  align-items: center;
}

.item > span {
  font-weight: bold;
  font-size: 1.3rem;
  width: 100%;
  text-align: center;
}

.paragraph {
  font-size: 1.5rem;
  margin: 1rem 0;
}

h3 {
  margin: 1rem 0;
  font-size: 2rem; 
}

.btn {
  margin-bottom: 7px;
  background-color: #a1eacd;
  position: relative;
  display: inline-block;
  padding: 0.8rem 3rem;
  border: none;
  -webkit-transition: all 300ms ease-out;
  transition: all 300ms ease-out;
}

a, button {
  color: #252525;
  text-decoration: none;
  letter-spacing: 0.01rem;
  font-size: 1.1rem;
  font-weight: 700;
  font-style: italic;
  text-transform: capitalize;
}

a,
.btn .btn__center {
  text-align: center;
}

.btn span {
  position: relative;
  right: 0;
  -webkit-transition: all 300ms ease-out;
  transition: all 300ms ease-out;
}

.btn:hover {
  background-color: #f48480;
  padding: 0.8rem 3.5rem;
}

.btn:hover span {
  right: 0.8rem;
}

.btn:hover i {
  opacity: 1;
  right: 8px;
}

.btn__center:hover i {
  opacity: 1;
  right: auto;
}

.btn i {
  width: 1.8rem;
  opacity: 0;
  position: absolute;
  top: 28%;
  right: 20px;
  -webkit-transition: all 300ms ease-out;
  transition: all 300ms ease-out;
  will-change: right, opacity;
}

.proj-desc {
  display: flex;
  margin-top: 3.2rem;
}

.proj-desc__img {
  width: 30vw;
}

.proj-desc__btn {
  height: 50%;
  display: flex;
  align-items: end;
  column-gap: 3rem;
}

.proj-desc__item {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.pb-5 {
  padding-bottom: 5rem;
}

.contato__container {
  display: flex;
  align-items: center;
  gap: 5rem;
}

.contato {
  width: 50vw;
}

.contato__redes {
  display: flex;
  justify-content: center;
  gap: 5rem;
}

.contato__redes__link:hover {
  transform: scale(1.5);
}


.contato__container__dialog{
  border-radius: 30%; 
  margin: auto auto; 
  border: 0px; 
  background: rgba(0, 0, 0, 0); 
  padding: 0px;
}

.contato__container__dialog__lottie{
  width: 35vw;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin: 0 auto;
}

.input {
  position: relative;
  border-radius: 3px;
  overflow: hidden;
}

.input .label {
  position: absolute;
  top: 15px;
  left: 5px;
  font-size: 20px;
  color: #2dcf8e;
  font-weight: 500;
  transform-origin: 0 0;
  transform: translate3d(0, 0, 0);
  transition: all 0.2s ease;
  pointer-events: none;
}

.input input,
textarea {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 100%;
  border: 0;
  font-family: inherit;
  padding: 16px 12px 0 12px;
  font-size: 18px;
  font-weight: 400;
  box-shadow: inset 0 -3px 0 #2dcf8e;
  color: #000;
  transition: all 0.15s ease;
}

input {
  height: 56px;
}

.input input:hover,
textarea:hover {
  background: rgba(0, 0, 0, 0.03);
  box-shadow: inset 0 -3px 0 #2dcf8e;
}
.input input:not(:-moz-placeholder-shown) + .label,
textarea:not(:-moz-placeholder-shown) + .label {
  color: #2dcf8e;
  transform: translate3d(0, -12px, 0) scale(0.75);
}
.input input:not(:-ms-input-placeholder) + .label,
    textarea:not(:-ms-input-placeholder) + .label {
  color: #2dcf8e;
  transform: translate3d(0, -12px, 0) scale(0.75);
}
.input input:not(:placeholder-shown) + .label,
textarea:not(:placeholder-shown) + .label {
  color: #2dcf8e;
  transform: translate3d(0, -12px, 0) scale(0.75);
}
.input input:focus,
textarea:focus {
  background: rgba(0, 0, 0, 0.03);
  outline: none;
  box-shadow: inset 0 -3px 0 rgb(57, 79, 244);
}
.input input:focus + .label,
textarea:focus + .label {
  color: rgb(57, 79, 244);
  transform: translate3d(0, -12px, 0) scale(0.75);
}

.erro_validacao {
  display: block;
  padding: .3rem 0;
  color: #f73859;
  font-weight: bold;
}

.error__visible{
  display: none;
}  

.possui_erro_validacao:focus {
  outline: none !important;
  border: solid;
  border: 3px solid #f73859;
}

.footer {
  background-color: #e1b4e5;
  padding: 1.2rem;
}

.footer__text {
  margin: 0 auto;
  width: fit-content;
  font-weight: bold;
}

@media (max-width: 700px) {
  .about {
    flex-direction: column;
    align-items: center;
  }
  .photo {
    width: 50vw;
  }
  .item {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    padding: 1rem;
    text-align: initial;
    height: fit-content;
    width: 100vw;
    align-items: center;
    gap: 1.3rem;
    border-bottom: solid 1px var(--second-color);
  }
  .proj-desc {
    flex-direction: column-reverse;
    align-items: center;
  }
  .proj-desc__img {
    width: 75vw;
  }

  .proj-desc__btn {
    display: flex;
    justify-content: space-between;
  }

  .btn {
    padding: 0.8rem 1.3rem;
  }

  .container {
    margin: auto 1.8rem;
  }

  .contato {
    width: 100%;
  }

  .contato__container {
    gap: 3rem;
    flex-direction: column;
  }

  .contato__online {
    text-align: center;
  }

  .greet {
    font-size: 1.9rem;
    padding-top: 0;
  }

  .contato__container__dialog__lottie{
    width: 85vw;
  }
}

