@import url('https://fonts.googleapis.com/css2?family=Fugaz+One&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Taviraj:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cantata+One&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: beige;
    text-decoration: none;
    font-family: "Taviraj", serif;
    font-weight: 400;
}


.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4rem 5rem 2rem 4rem;
    text-align: center;
}

.hero__foto img {
    width: 20rem;
    height: 27rem;
    border-radius: 10%;
    margin-right: 2rem;
    object-fit: cover;
}

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

.hero__social h1 {
    font-size: 3.5rem;
    margin-bottom: 3rem;
}

.hero__social h4 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.hero__social a {
    padding: 1rem 2rem 1rem 2rem;
    background-color: #043063bd;
    border: #36688a solid 1px;
    width: 18rem;
    height: 4rem;
    border-radius: 1rem;
    text-align: center;
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    margin-top: 2rem;
    box-shadow: #7ec5f5 0.5px 0.5px 10px;
}

.hero__social a:hover {
    box-shadow: #7ec5f5 4px 4px 20px;
}


/* Mobile - telas até 768px */
@media (max-width: 768px) {
  .hero {
    flex-direction: column;     
    padding: 2rem;             
    text-align: center;         
  }

  .hero__foto img {
    width: 80%;                 
    height: auto;               
    margin: 4rem auto 2rem auto;  
  }

  .hero__social h1 {
    font-size: 2rem;  
    text-align: center;        
  }

  .hero__social h4 {
    font-size: 1.1rem;          
  }

  .hero__social a {
    width: 100%;               
    max-width: 18rem;           
  }
}

/*----------------- SobreMim -----------------*/

.SobreMim {
    padding: 4rem 2rem 2rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.SobreMim__conteudo {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 2rem;
}

.SobreMim h2 {
    font-size: 2.5rem;
}

.SobreMim p {
    font-size: 1.3rem;
    text-align: center;
}

.SobreMim__foto img {
    width: 30rem;
    height: 43rem;
    border-radius: 10%;
}

.SobreMim__conteudo ul {
    font-size: 1.2rem;
}

.SobreMim__conteudo ul li {
    margin: 1rem 0 1rem 2rem;
}

/* Mobile - telas até 768px */
@media (max-width: 768px) {
.SobreMim {
    flex-direction: column;     
    padding: 2rem;             
    text-align: center;         
  }

.SobreMim__foto img {
    width: 80%;                 
    height: auto;               
    margin: 4rem auto 2rem auto;  
  }

.SobreMim h2 {
    font-size: 1.8rem;            
  }

 .SobreMim p {
    font-size: 1.3rem;          
  }

}


/*----------------- Habilidades ---------------------*/
.habilidades {
  text-align: center;
  padding: 3rem 1rem;
  overflow: hidden;
}

.habilidades h2 {
  margin-bottom: 3rem;
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
}

.habilidades__carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.habilidades__track {
  display: flex;
  gap: 3rem;
  animation: scroll 20s linear infinite;
  white-space: nowrap;
}

.habilidades__track span {
  font-size: 1.5rem;
  background-color: #062a53a2;
  color: #FFF;
  padding: 0.7rem 1.5rem;
  margin-bottom: 2rem;
  border-radius: 0.5rem;
  flex-shrink: 0;
  border: #008b8b 1px solid;
  box-shadow: #7ec5f5 4px 1px 10px;
  transition: transform 0.3s;
}

.habilidades__track span:hover {
  transform: scale(1.2);
  background: #142b96;
  color: #fff;
}

/* animação infinita */
@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/*------------------ Projetos ---------------------*/

.Projetos {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 2rem 0;
}

.Projetos__wrapper {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 1rem;
  scroll-behavior: smooth;
}

.Projetos__conteudos {
  display: flex;
  flex-direction: column; 
  justify-content: space-between; 
  flex: 0 0 30%;
  min-height: 350px; 
  background: #062a53b9;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  box-shadow: #008b8b 4px 4px  10px;
  border: #008b8b solid 1px;

}

.Projetos__conteudos h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.Projetos__conteudos__tecnologias {
  display: flex;
  gap: 1rem;
  /* margin: 1rem 0 1rem 0; */
  margin-top: auto;
}

.Projetos__conteudos a {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background: #043268;
  color: #fff;
  text-decoration: none;
  border-radius: 0.5rem;
  margin-top: auto; 
  box-shadow: #008b8b 2px 2px 10px;
  border: #008b8b solid 1px;
  text-align: center;
}
/* Botões de navegação */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(2, 6, 43, 0.87);
  color: white;
  border: #008b8b solid 1px;
  box-shadow: #008b8b 1px 1px 8px;
  padding: 0.8rem;
  cursor: pointer;
  border-radius: 50%;
  z-index: 10;
}

.carousel-btn:hover {
  background: rgba(0,0,0,0.8);
}

.prev {
  left: 10px;
}

.next {
  right: 10px;
}

/* Estilizando a barra de rolagem do carrossel */
.Projetos__wrapper::-webkit-scrollbar {
  height: 10px; /* altura da barra horizontal */
}

.Projetos__wrapper::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2); /* fundo da barra */
  border-radius: 10px;
}

.Projetos__wrapper::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, #008b8b, #043268);
  border-radius: 10px;
  box-shadow: 0 0 5px #008b8b;
}

.Projetos__wrapper::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(90deg, #00ced1, #005f9e);
}

/* Para Firefox */
.Projetos__wrapper {
  scrollbar-width: thin;
  scrollbar-color: #008b8b rgba(0, 0, 0, 0.2);
}


/*------------------ Contato ---------------------*/

.Contato {
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.Contato h2{
  font-size: 2.5rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 2rem;
}

.Contato p{
  font-size: 1.5rem;
  text-align: start;
  margin-bottom: 2rem;
}

.Contato p:hover,
.Contato i:hover {
  color: #008b8b;
}

.Contato a i:hover {
  color: #1500d1;
}

.Contato > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem; 
}

.Contato ul {
  display: flex;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.Contato ul li a {
  display: flex;
  align-items: center; 
  gap: 0.5rem;        
  text-decoration: none;
  width: 13rem;
  height: 80px;
  padding-left: 20px;
  background: #035252b9;
  color: #fff;
  transform: rotate(-30deg) skew(25deg);
  box-shadow: -20px 20px 10px rgba(0,0,0,0.5);
  position: relative;
  transition: 0.5s;
  font-size: 1.3rem;
}

.Contato a i {
  font-size: 2rem;
  margin-right: 1rem;
  color: #008b8b;
  border: #36688a 1px solid;
  padding: 2px;
  border-radius: 2px;
  line-height: 1;
}

.Contato ul li a span {
  position: relative;
  top: 0;
  letter-spacing: 2px;
  color: #fff;
}

.Contato ul li a:before,
.Contato ul li a:after {
  content: "";
  position: absolute;
  background: #031a35b9;
  transition: 0.5s;
}

.Contato ul li a:before {
  top: 10px;
  left: -20px;
  width: 20px;
  height: 100%;
  transform: rotate(0deg) skewY(-45deg);
}

.Contato ul li a:after {
  bottom: -20px;
  left: -10px;
  width: 100%;
  height: 20px;
  transform: rotate(0deg) skewX(-45deg);
}

.Contato ul li a:hover {
  transform: rotate(-30deg) skew(25deg) translate(20px, -15px);
  box-shadow: -50px 50px 50px rgba(0,0,0,0.5);
}


.Contato ul li:hover a { 
  background: #00aced; 
}

.Contato ul li:hover a:before { 
  background: #097aa5; 
}

.Contato ul li:hover a:after { 
  background: #53b9e0;
}




.contato__container {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #d1d7f0;
  width: 27.5rem;
  height: 27rem;
  border-radius: 0.3rem;
  margin-left: 4rem;
}

.Contato form {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  background-color: #062a53;
  width: 28rem;
  height: 28rem;
  border-radius: 0.5rem;
  margin: 2rem 0 0 2rem;
  gap: 2rem;
  padding: 1rem;
  border: #000 solid 1px;
}

.Contato h3 {
   font-size: 2.5rem;
  text-align: center;
}

.Contato form input {
  background-color: #e7e7ee;
  color: #000;
  font-weight: 500;
  width: 26rem;
  height: 3rem;
  border-radius: 0.5rem;
  text-decoration: none;
  text-align: center;
}


.Contato textarea {
  padding: 1rem;
  background-color: #e7e7ee;
  color: #000;
  font-weight: 500;
  width: 26rem;
  height: 7rem;
  border-radius: 0.5rem;
  text-decoration: none;
  text-align: center;
}
input:focus, 
textarea:focus {
  outline: none;
  border-color: #00ced1;
  box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.63);
}


.Contato button {
  background-color: #0a228b;
  width: 10rem;
  height: 3rem;
  color: #ffffff;
  border: none;
  border: #025e5e solid 1px;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  border-radius: 0.5rem;
  box-shadow: 0 2 0 8px rgba(2, 7, 12, 0.911);
  transition: background-color 0.3s ease;
}

.Contato button:hover {
  background-color: #0056b3;
}


/* Mobile - telas até 768px */
@media (max-width: 768px) {
.Contato  {
  display: flex;
  align-items: center; 
  justify-content: center; 
  flex-direction: column;
  margin: 1rem;   
  padding: 2rem;             
  text-align: center;    
  gap: 1rem;    
  }

.Contato  h2 {
    font-size: 1.6rem;            
  }

.Contato p {
    font-size: 1.1rem;   
    text-align: center;   
    flex-wrap: wrap;    
  }

  .Contato a i {
    font-size: 1.8rem;

  }

.contato__container {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #d1d7f0;
  width: 23rem;
  height: 21.5rem;
  border-radius: 0.3rem;
  margin: 1rem;
}

.Contato form {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  background-color: #062a53;
  width: 22rem;
  height: 20rem;
  border-radius: 0.5rem;
  margin: 1rem 1rem 0 1rem;
  gap: 1rem;
  padding: 1rem;
  border: #000 solid 1px;
}

.Contato h3 {
  font-size: 1.8rem;
  text-align: center;
}

.Contato form input {
  background-color: #d2d4f0;
  color: #000;
  font-weight: 700;
  width: 20rem;
  height: 3rem;
  border-radius: 0.5rem;
  text-decoration: none;
  text-align: center;
}


.Contato textarea {
  padding: 1rem;
  background-color: #d2d4f0;
  color: #000;
  width: 20rem;
  height: 7rem;
  border-radius: 0.5rem;
  text-decoration: none;
  text-align: center;
}

.Contato button {
  background-color: #066fe73b;
  color: #FFF;
  width: 20rem;
  height: 2.7rem;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 0.5rem;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
}

/* Lista de contatos padrão (desktop) */
.Contato ul {
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
  flex-direction: column; 
  align-items: center;
}

.Contato ul li a {
  display: flex;
  align-items: center; 
  gap: 0.5rem;        
  text-decoration: none;
  width: 20rem;
  height: 80px;
  padding-left: 20px;
  background: #035252b9;
  color: #fff;
  box-shadow: -20px 20px 10px rgba(0,0,0,0.5);
  position: relative;
  transition: 0.5s;
  font-size: 1.3rem;
  transform: none; 

  }

  .Contato a i {
    font-size: 1.5rem;
  }

  .Contato ul li a span {
    letter-spacing: 1px;
  }
}


/* Media query para celulares pequenos */
@media screen and (max-width: 480px) {
  .Contato {
    padding: 1.5rem 0.5rem;
  }

  .Contato h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .Contato p {
    font-size: 1rem;
    text-align: center;
    margin-bottom: 1rem;
  }

  .Contato > div {
    width: 100%; /* ocupa toda largura */
    gap: 0.8rem;
  }

  /* Lista de contatos */
  .Contato ul {
    flex-direction: column;
    gap: 0.5rem;
  }

  .Contato ul li a {
    width: 100%;
    height: 50px;
    padding-left: 10px;
    font-size: 0.9rem;
    transform: none;
    box-shadow: -8px 8px 5px rgba(0,0,0,0.2);
  }

  .Contato a i {
    font-size: 1.2rem;
  }

  .Contato ul li a span {
    letter-spacing: 0.5px;
  }

  /* Formulário */
  .contato__container form {
    width: 100%;
    padding: 1rem;
  }

  .contato__container input,
  .contato__container textarea {
    font-size: 0.9rem;
    padding: 0.5rem;
  }

  .contato__container button {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
  }
}
