

html {
  scroll-behavior: smooth;
}

/* Classes para scroll bidirecional */
.fade-in-scroll {
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-up-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-left-scroll {
  opacity: 0;
  transform: translateX(-40px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-right-scroll {
  opacity: 0;
  transform: translateX(40px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}



/* Estados ativos (quando .show é adicionado) */
.fade-in-scroll.show {
  opacity: 1;
}

.slide-up-scroll.show {
  opacity: 1;
  transform: translateY(0);
}

.slide-left-scroll.show {
  opacity: 1;
  transform: translateX(0);
}

.slide-right-scroll.show {
  opacity: 1;
  transform: translateX(0);
}





/* Melhoria na suavidade das transições */
* {
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}


@import url("https://fonts.googleapis.com/css2?family=Inter+Tight:ital,wght@0,100..900;1,100..900&family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap");

:root {
  --font-main: "Inter Tight", sans-serif;
  --font-text: "Open Sans", sans-serif;
  --blur: blur(10px);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--font-main);
}


/* Animação de entrada */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.Contact form {
  animation: fadeInUp 0.8s ease-out;
}
body {
  font-family: var(--font-main);
  display: flex;
  background-color: #ffffff;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 55vh;
  background: #ffb637;
  border-radius: 0 0 50% 50%;
  pointer-events: none;
  z-index: 0;
}

/* header */

.navbar {
  position: fixed !important;
  z-index: 1000;
  background-color: #ffb637e0;
  backdrop-filter: var(--blur);
  width: 50%;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 2px 5px;
  padding: 5px 5px;
  top: 10px;
  border-radius: 20px;
  transition: 0.7s;
  overflow: visible;
}

.navbar:hover {
  transform: translateY(-5px);
  transition: all 0.3s ease-in-out;
}

/* Customização do menu hambúrguer */
.navbar-toggler {
  border: none;
  background: transparent;
  padding: 4px 6px;
  display: none; /* Oculto por padrão */
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2871, 71, 71, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='3' d='m4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  width: 1.5em;
  height: 1.5em;
}

/* Mostrar hamburger apenas em telas pequenas */
@media (max-width: 991px) {
  .navbar-toggler {
    display: block;
  }
  
  .navbar {
    width: 80% !important;
  }
  
  .navbar-collapse {
    background-color: #ffb637f0 !important;
    backdrop-filter: var(--blur);
    border-radius: 15px;
    margin-top: 10px;
    padding: 15px;
    width: 100%;
    position: relative;
    z-index: 1001;
    display: none;
  }
  
  .navbar-collapse.show {
    display: block !important;
    animation: slideDown 0.3s ease-in-out;
  }
  
  .navbar-nav {
    width: 100%;
    flex-direction: column;
  }
  
  .nav-item {
    width: 100%;
    text-align: center;
    margin: 5px 0;
  }
  
  .nav-link {
    padding: 10px 0 !important;
    display: block;
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.lenguage > button > img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  filter: contrast(1.5);
}

.lenguage > button {
  border: none;
  cursor: pointer;
  background-color: transparent;
}

.lenguage > button > img:hover {
  transform: scale(1.05);
  transition: all 0.3s ease-in-out;
}

.contentNav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 0 1rem;
  font-weight: lighter;
}

.navbar-nav {
  gap: 2rem;
}

.nav-link {
  text-decoration: none;
  color: rgb(71, 71, 71) !important;
  font-size: 1.1rem;
  font-weight: bolder !important;
  padding: 0.5rem 0 !important;
}

.nav-link:hover {
  text-decoration: underline rgb(71, 71, 71) 2px solid !important;
  color: rgb(71, 71, 71) !important;
}

.photo > img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 50%;
  filter: contrast(1.5);
  transition: all 0.6s cubic-bezier(0.4,0,0.2,1);
}
.photo > img:hover {
  transform: scale(1.05) rotate(360deg);
  transition: all 0.6s cubic-bezier(0.4,0,0.2,1);
}

/* Custom Scrollbar */

body::-webkit-scrollbar {
  width: 12px;
  background: #ffffff;
}

body::-webkit-scrollbar-thumb {
  border-radius: 5px;
  transition: all 0.3s ease;
  background-color: #ffb437;
}

body::-webkit-scrollbar-thumb:hover {
  background: #f5d57e;
}

/* Home */

.content {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  height: 90vh;
  position: relative;
  z-index: 2;
}

.content > .sumary {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 50%;
  margin-left: 200px;
  transition: 0.7s;
}

.content > .sumary:hover {
  transform: translateY(-15px);
  transition: all 0.3s ease-in-out;
}

.content > .sumary > .title {
  display: flex;
  flex-direction: column;
}

.content > .sumary > .title > h1 {
  font-size: 3rem;
  font-weight: bold;
  color: #ffffff;
}

.content > .sumary > .title > h2 {
  font-size: 2rem;
  font-weight: Bold;
  color: rgb(97, 97, 97);
}
.content > .sumary > .title > .typed-text {
  font-size: 1.5rem;
  font-weight: bold;
  color: rgb(97, 97, 97);
}
.content > .sumary > .title > .work {
  font-size: 1.2rem;
  font-weight: bold;
  color: #ffffff;
}

.content > .sumary > .redes > a {
  text-decoration: none;
  color: #ffb437;
  font-size: 2.5rem;
  font-weight: lighter;
  margin: 10px;
}
.content > .sumary > .redes > a:hover {
  color: #b4b4b4;
  transition: all 0.3s ease-in-out;
}

.content > .rightSide img {
  width: 300px;
  height: 400px;
  border-radius: 20px;
  transition: all 0.5s ease-in-out;
  box-shadow: #ffb437 2px 5px 5px;
}

.content > .rightSide img:hover {
  transform: scale(1.05);
  transition: all 0.3s ease;
}

/* About me */

.about {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 50%;
  border-radius: 10px;
  padding: 1rem;
  margin: 100px auto;
  background-color: #ffb437;
  justify-content: center;
  align-items: center;
}

.about main {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50%;
  flex-direction: row;
  gap: 1rem;
}

.about .textAbout {
  display: flex;
  width: 50%;
  flex-direction: column;
  align-items: flex-start;
}

.about h1 {
  font-size: 3rem;
  font-weight: bolder;
  color: #ffffff;
}

.about p {
  font-size: 1.1rem;
  font-weight: normal;
  color: rgb(255, 255, 255);
  font-family: var(--font-text);
  width: 110%;
}

.about img {
  width: 350px;
  height: 350px;
  border-radius: 20px;
  transition: all 0.5s ease;
  filter: contrast(1.2);
}

.about img:hover {
  transform: scale(1.02);
  transition: all 0.3s ease-in-out;
}

/* Botão de Currículo */
.about .btn-primary {
 background: transparent;
  color: #ffffff;
  border: 2px solid #ffb437;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.about .btn-primary:hover {
  background-color: #f8f9fa;
  border-color: #f8f9fa;
  color: #ffb437;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.about .btn-primary i {
  font-size: 1.1rem;
}
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: #ff5e00;
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 12px rgba(255, 180, 55, 0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 999;
}

.scroll-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  background-color: #f5d57e;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 180, 55, 0.4);
}

.skills-container {
  text-align: center;
  font-family: Arial, sans-serif;
  width: 100%;
  height: 50vh;
}

.skills-container .skills-title {
  font-size: 2.5rem;
  color: rgb(97, 97, 97);
  margin-bottom: 50px;
  font-weight: bolder;
}

.skills-container .carousel {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

.skills-container .carousel-track {
  display: flex;
  animation: scroll 15s linear infinite;
}

.skills-container .carousel-item {
  min-width: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #000000;
  transition: color 0.3s;
  margin: 0px;
}

.skills-container img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
}

.skills-container .carousel-item:hover {
  transition: 0.5s;
  scale: 1.1;
  color: #2e2e2e;
}

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

.projetos-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  overflow: hidden;
  height: 100%;
  position: relative;
  z-index: 1;
  background: #ffb437;
}
.projetos-container::after{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1500px; 
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: cover;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'><path fill='%23ffffff' fill-opacity='1' d='M0,160 C360,240 540,64 900,144 C1200,210 1320,160 1440,128 L1440,320 L0,320 Z'/></svg>");
  pointer-events: none;
}

.projetos {
  display: flex;
  flex-direction: column;
  width: 70%;
  border-radius: 10px;
  padding: 3rem;
  gap: 3rem;
  position: relative;
  z-index: 2;
}

/* Efeito gradiente para a seção projetos */

.projetos > h1 {
  font-size: 5.5rem;
  font-weight: bold;
  color: #ffffff;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 400px;
  height: 200px;
  background-color: rgba(0, 0, 0, 0.774);
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  transition: opacity 0.3s ease;
  border-radius: 10px;
  pointer-events: none;
  gap: 1rem;
  font-size: 2rem;
}

.projetos > .todos {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.925);
  backdrop-filter: var(--blur);
  box-shadow: rgba(0, 0, 0, 0.1) 0px 2px 5px;
  border-radius: 40px;
}

#economizeja {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  width: 100%;
  background-color: #ffb437;
  backdrop-filter: var(--blur);
  box-shadow: rgba(0, 0, 0, 0.1) 0px 2px 5px;
  border-radius: 40px;
  
}
#pipocando {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  width: 100%;
  background-color: #ffb437;
  backdrop-filter: var(--blur);
  box-shadow: rgba(0, 0, 0, 0.1) 0px 2px 5px;
  border-radius: 40px;
  
}

#economizeja  p, #economizeja h2 {
  color: white;
}
#pipocando  p, #pipocando h2 {
  color: white;
}

.projetos > .todos p {
  font-size: 16px;
  font-weight: normal;
  color: rgb(97, 97, 97);
  font-family: var(--font-text);
  width: 400px;
  text-align: justify;
}

.projetos > .todos > .aboutPro {
  flex-direction: flex;
  display: flex;
  gap: 1rem;
  padding: 3rem;
  border-radius: 10px;
  background: url(../imagens/fundoSobre.jpg) no-repeat center center;
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  justify-content: center;
  align-items: center;
}

.generalinformation {
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 10px;
}

.generalinformation > .tecnologias {
  width: 48px;
  height: 48px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  gap: 10px;
}

.tecnologias img {
  width: 48px;
  height: 48px;
}

.generalinformation img {
  width: 38px;
  height: 38px;
  transition: 0.7s;
}

.projetos h2 {
  font-size: 2rem;
  font-weight: bold;
  color: rgb(97, 97, 97);
  margin: 10px 0;
}

.tecnologias img:hover {
  transform: scale(1.05);
  transition: all 0.3s ease-in-out;
}


.imagensprojetos {
  position: relative;
  width: 400px;
  height: 200px;
  border-radius: 10px;
  transition: all 0.5s ease-in-out;
  filter: contrast(1.2);
}

.imagensprojetos img {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  object-fit: cover;
}

.overlay a {
  color: white;
  text-decoration: none;
  margin: 5px 0;
}

.imagensprojetos:hover .overlay {
  opacity: 1;
  pointer-events: auto;
}

.footer {
  height: 30vh;
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: cover;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'><path fill='%23979797' fill-opacity='1' d='M0,160 C360,240 540,64 900,144 C1200,210 1320,160 1440,128 L1440,320 L0,320 Z'/></svg>");
  width: 100%;
  color: rgb(255, 255, 255);
  justify-content: center;
  flex-direction: column;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1;
}
