
    @import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Montserrat:wght@300;400;700&display=swap');
    html{
        scroll-behavior: smooth;
    }


    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        font-family: 'Playfair Display', serif;
        
    }




    body {
    
      background-color: #291501;
      color: #FFFFFF;   
 
    }
    section {
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.9s cubic-bezier(0.25, 0.1, 0.25, 1), transform 0.9s  cubic-bezier(0.25, 0.1, 0.25, 1);
    }

    section.animar{

        opacity: 1;
        transform: translateY(0);
      
    } 

  
    .pulse {
         animation: pulse 2s forwards;
    }

    @keyframes  pulse {
        0%  {
            transform: scale(1);
        }
        50% {
            transform: scale(1.02)
        }

        100% {
            transform:scale(1)
        }
    }

    
    
    
    .name {
        color:#D8C3A5;
        font-size: 1rem;
        letter-spacing: 1px;
       
    
    }
    nav {
        position: fixed;  
        top: 0;           
        left: 0;          
        width: 100%;      
        background-color: #1A0D00; 
        z-index: 10;
        border-bottom: 2px solid #D8C3A5; 
       
    }
    nav ul{
        display: flex;
        flex-direction: row;
        align-items: stretch;
        list-style: none;  
        justify-content: flex-end;
        padding: 3px;
        margin: 2px;
    }

    nav a {
        text-decoration: none;
        padding: 5px;
        margin-top: 2%;
        color: #C9A227;
        font-size: 16px;
        text-shadow: 2px 2px 4px rgb(233, 229, 229);
        transition:color 0.3s ease, font-size 0.4s ease-in-out;
        
    }

    nav a:hover {
        color: #FFFFFF;
        font-size: 18px;
        transform: scale(1.3);
    }

    .container-homer {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        min-height: 100vh;
        border-bottom: 2px solid #D8C3A5;
    

    }


    section #home {  
     padding: 15px;
     margin: 0 5%;
     
        

    }
    
    
    h1 {
        
        font-size: 2.5rem;
        color: #FFFFFF;

    }

    h3 {
        font-size: 1.5rem;
    }

    .text-decoration {
        font-size: 2.5rem;
        color: #C9A227;
        transition: color 0.3s ease;
         
    }

    .text-decoration:hover {
        color: #FFFFFF;
    }


    .typing{
        font-size: 2.9rem;
    }

    .typing span{
        position: relative;
    }

    .typing span {
        color: #C9A227;
        animation: typing   10s steps(15) infinite;
    }

    .typing span::after {
        content: "";
        position: absolute;
        height: 100%;
        color: #C9A227;
        border-left: 1px solid   #C9A227;
        right: -10px;
        animation: cursor  0.8s infinite, digita 10s steps(15) infinite;
        width: calc(100% + 13px);
        background-color: #291501;
    }
    @keyframes typing {
        
        0%, 100%{
            width: 0;
            
        }
        100% {
            width: 100%;
        }
    }

    @keyframes cursor {
        0%{
            border-left: 1px solid  #291501 ;
        }
        
    }
    @keyframes digita {
        0%  {
            width: 0;
        }
       50% {
            width:calc(100% + 13px);
        }
        100% {
            width: 0; 
        }
    }
    .highlight-text {
        font-size: 2.5rem;
    }

    .first-text {
        font-size: 1.3rem;
    }
    .secondary-text{
        font-size: 1.3rem;
    }

    .container-homer img  { 
        position: relative;
        width: 450px;
        height: auto;
        border-radius: 50%;
        margin: 0 11%;
        border:1.5px solid #FFFFFF;
        object-fit: cover;
        box-shadow: 6px 7px 20px rgba(216, 195, 165, 0.5);
        animation: floats 3s ease-in-out infinite;
        
    }

    @keyframes floats {
        0%{
            transform: translateY(10);
        }
        50% {
            transform: translateY(-20px);
        }
        100% {
            transform: translate(0);
        }
    } 

    

    .icons {
        font-size: 25px;
        margin: 0;
        transition:  color 0.3s ease, font-size 0.2 ease-in-out;
    }

    .icons .fa-linkedin:hover, 
    .icons .fa-github:hover, 
    .icons .fa-github:hover, 
    .icons .fa-instagram:hover {
        color: #FFFFFF;
        font-size: 30px;
        transform: scale(1.3);
    }
    
    .fa-linkedin{
        color: #C9A227; 
        
    }

    .fa-github {
        color: #C9A227; 
        
    }

    .fa-instagram {
        color: #C9A227; 
    
    } 



    /* Sobre mim  */

    #about-me {
    margin: 2px;
    width: 100%;
    max-height: 1200vh;
    border-bottom: 2px solid #D8C3A5;

    }
    #about-me.visible {
        opacity: 1;
        transform: translateY(0);
    }

    #about-me p {
       
        padding: 30px;
        align-items: center;
        

    }

    #about-me h1 {
        margin: 1rem;
        padding-top: 3px;
        font-size: 20px;
        color: #C9A227;
        transition: color 0.3s ease;
        
    }

    #about-me h1:hover {
        color: #FFFFFF;
      


    
    }
    

  .about-container{
    margin-top: 5px;
    padding-top: 15%;
    border-radius: 8px;
    padding: 2px 10%;
    padding-top: 5%;
    border-radius: 8px;
    width: 90%;
    height: 60%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    font-size: 18px;
  }

    

    .about-container img {
       
        padding: 1px;
        width: 350px;
        height: auto;
        border-radius:50%;
        margin: 0 auto;
        border:1.5px solid #FFFFFF;
        object-fit: cover;
        box-shadow: 6px 7px 20px rgba(216, 195, 165, 0.5);
        animation: floats2 3s  ease-in-out infinite;
        

    }
     
    @keyframes floats2 {
        0%{
            transform: translateX(0);
        }
        50% {
            transform: translateX(-20px);
        }
        100% {
            transform: translate(0);
        }
    } 
  
    
    #hard-skills, #soft-skills,
    #certificates { 
    margin: 0 5%;
    border-radius: 8px;
    border:1px solid #FFFFFF;
    flex: 1; 
    padding: 5px;
    border-radius: 15px;
    max-height: 190px;
    height: 180px;
    box-shadow: 6px 7px 20px rgba(216, 195, 165, 0.5);
    transition: transform 0.3s ease;
    }
     
    #hard-skills:hover, #soft-skills:hover,
    #certificates:hover{
      transform: scale(1.2) !important;
    }

   .hards {
        padding: 10px;
        padding-top: 2%;
        display: flex;
        align-items: center;
        justify-content: space-between; 
    
    
    }
    .hards h3 {
     padding: 2px 2px;
     color: #C9A227;
    

    }

    

    .hards li {
        padding: 2px;
        list-style: none;
        font-size: 15px;
        font-family: 'Raleway', sans-serif;
    }

    .fa-html5 {
        color: #E34F26;
    }

    .fa-css3-alt{
        color: #6A90B7;
    }
    

    .fa-js{
        color: #C9A227;
    }
    .fa-git-alt{
        color: #F05033;
    }

   #soft-skills i{
    color:#D8C3A5
   }
    
    #certificates i {
      color: #C9A227;
}
    /*projetos-section*/
    main {
        margin: 5px;
        padding: 10%;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        min-height: 350px;
        height: 100vh;
    }

    .projeto{
       align-items: center;
       text-align: center;
    }
    #projetos-section {
        padding: 2px;
        width: 100%;
        border-bottom: 2px solid #D8C3A5;
        
    }

    #projetos-section h2{
        padding: 10px;
        font-size: 20px;
        color:#C9A227;
        transition: color 0.3s ease;
    }

    #projetos-section h2:hover {
        color:#FFFFFF;

    }

    .projetos-grid {
     padding: 8px;
     display: flex;
     justify-content: center;
     align-items: center;
     text-align: center;
     gap: 7rem; 
     
    }
    
    .projeto img{
        width: 100%;
        max-width: 300px;
        object-fit: cover;
        border-radius: 8px;
        border: 1px solid #FFFFFF;
        margin: 5px;
        box-shadow: 6px 7px 20px rgba(216, 195, 165, 0.5);
        transition: all 0.3s ease-out;

    }

    .projeto img:hover {
     transform: scale(1.1);
   
}
    .projeto h3 {
        color: #C9A227;
        transition: trasnform 0.3 ease;
    }
    .projeto h3:hover{
        transform: translateY(5px, -5px) ;
        transform: translate(5px, 5px);
    }
    .projeto p {
       display: none;
       margin: 8px;
       font-size: 16;
       color: #FFFFFF;

    }
    .projeto button{
        background-color: #C9A227;
        text-align: center;
        padding: 3px;
        border: 1px solid #FFFFFF;
        width: 50%;
        height: 40px;
        font-size: 16px;
        border-radius: 8px;
        color:#FFFFFF;
        margin: 1rem;
        transition: transform 0.2s ease;
    }

    .projeto button:hover {
      transform: scale(1.2);
    }
    
    /*contacts */


    .container-four {
        padding: 10%;
        display: flex;
        max-height: 100vh;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        font-size: 1.2rem;
            
    }

    #contacts a {
        text-decoration: none;
        color: #FFFFFF;
        padding: 2px;
        margin-top: 2%; 
    }

    .container-links, .form-contacts{
        padding: 20px;
        margin: 2px;
        width: 50%;
        border-radius: 8px; 
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        border: 1px solid #FFFFFF;
        box-shadow: 6px 7px 20px rgba(216, 195, 165, 0.5);
    }

    .contacts-menssage form {
        padding: 5px;
        display: flex;
        flex-direction: column;
        
    }



    .fa-whatsapp {
        margin-right: 6px;
        font-size: 20px;
        color: #C9A227; 
        transition: color 0.2 ease;
    }
    .fa-envelope {
        margin-right: 6px;
        font-size: 20px;
        color: #C9A227;
        transition: color 0.2 ease, transform 0.3 ease-in-out;
    }
    .fa-whatsapp:hover, .fa-envelope:hover {
      color: #D8C3A5;
      font-size: 22px;
      transform: scale(1.1);
    }

    .social-inline {
        padding: 10px;
        transition: color 0.2 ease, transform 0.3 ease-in-out;
    }
    .social-inline .fa-linkedin:hover,
    .social-inline .fa-github:hover,
    .social-inline .fa-instagram:hover {
        color:#D8C3A5;
        font-size: 22px;
        transform: scale(1.1); 
    }
    .container-links button {
        padding: 2px;
        display: flex;
        justify-content: center;
        align-items: center;
        background-color: #C9A227;
        color: #FFFFFF;
        font-size: 16px;
        border: 1px  solid #FFFFFF;
        border-radius: 8px;
        width: 150px;
        height: 50px;
        margin: 15px 0;
        transition: transform 0.3 ease-in-out;  
    }
    .container-links button:hover {
        background-color: #FFFFFF;
        color: #C9A227;
        transform: scale(1.2);
    }
   
    .contacts-menssage button{
    padding: 10px 20px;
    width: 50%;
    height: 50px;
    background-color: #C9A227;
    color: #FFFFFF;
    font-size: 16px;
    border: 1px solid #FFFFFF;
    border-radius: 8px;
    align-self: center;
    margin-top: 20px;

       
    }
    .contacts-menssage label {
     font-size: 18px;
     padding: 2%;
     color: #FFFFFF;
    }
    .contacts-menssage input {
        padding: 5px;
        width: 100%;
        height: 35px;
        border-radius: 8px;
        background-color: #D8C3A5;
        border:3px solid #1A0D00;
        transition: transform;
       
    }

    #msg-status {
    display: flex;
    padding: 10px;
    margin-top: 10px;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
    }

    .contacts-menssage textarea {
        padding: 2%;
        text-align: center;
        background-color: #D8C3A5;
        border-radius: 8px;
        resize: none;
        border: 3px solid #1A0D00;
        color: #FFFFFF;
    
    }
    /* Footer */

    footer {
        background-color: #1A0D00;
        text-align: center;
        font-size: 10px;
        width: 100%;
        font-family: 'Montserrat', sans-serif ;
        color: #FFFFFF;
    }
    
/* Media Query */
@media screen and (max-width: 320px) {
  * {
    box-sizing: border-box;
  }

  html, body {
    margin: 0;
    overflow-x: hidden;
    font-size: 11px;
  }

  .container-homer {
    min-height: 100vh;
    font-size: 9px;
    margin: 0 auto;
  }

  .text-decoration {
    font-size: 18px;
  }

  .typing {
    font-size: 11px;
  }

  .typing span,
  .typing span::after {
    animation: none !important;
    width: auto !important;
    display: inline !important;
    white-space: normal !important;
    overflow: visible !important;
    content: none !important;
    border: none !important;
  }

  .container-homer img,
  .about-container img {
    width: 150px;
  }

  .secondary-text,
  #about-me p {
    font-size: 10px;
  }

  #about-me {
    padding: 0.5rem;
    width: 100%;
    margin: 0 auto;
  }

  .hards {
    flex-direction: column;
    align-items: center;
    margin: 1rem auto;
  }

  #hard-skills, #soft-skills, #certificates {
    margin: 0.5rem auto;
    width: 90%;
  }

  .hards h3 {
    font-size: 11px;
  }

  .hards li {
    font-size: 9px;
  }

  main, section, form {
    width: 100%;
    max-width: 100%;
  }

  #projetos-section {
    padding: 0;
    margin: 0 auto;
    width: 100%;
  }

  #projetos-section h2 {
    font-size: 14px;
    padding: 10px 0;
    margin: 2rem 0;
  }

  .projetos-grid {
    display: grid;
    grid-template-columns: 1fr;
    padding: 0.5rem;
    gap: 5px;
  }

  .projeto img {
    max-width: 90px;
    height: auto;
    margin: 0 auto;
    display: block;
  }

  .projeto h3 {
    font-size: 12px;
  }

  .projeto button {
    width: 80%;
    font-size: 10px;
    padding: 6px;
    margin: 0.5rem auto;
    display: block;
  }

  .container-four {
    padding: 1rem 0.5rem;
    margin: 0 auto;
    width: 100%;
  }

  .container-links button {
    font-size: 6px;
    padding: 6px 10px;
    width: 100%;
    max-width: 220px;
    height: 36px;
    margin: 1rem auto;
  }

  .contacts-menssage {
    padding: 0.5rem;
    margin-bottom: 1rem;
  }

  .contacts-menssage label {
    font-size: 12px;
  }

  .contacts-menssage input,
  .contacts-menssage textarea,
  .contacts-menssage button {
    font-size: 10px;
    padding: 6px;
    width: 100%;
    max-width: 95%;
    margin: 0.5rem auto;
    display: block;
  }

  .contacts-menssage textarea {
    height: 80px;
  }

  footer {
    background-color: #1A0D00;
    padding: 1rem;
    text-align: center;
    color: white;
    font-size: 10px;
    margin-top: 1rem;
  }


  .container-homer {
    min-height: 100vh;
    font-size: 6px;
    margin: 0 auto;
    padding: 0 1rem; 
  }

  .container-four {
    padding: 1rem 1rem; 
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
  }
  
  .container-links a {
   max-width: 100%;
   display: inline-block;
   white-space: normal;
   word-break: break-word;
   overflow-wrap: break-word;
}

  
  .container-links a,
  .container-links button,
  .contacts-menssage input,
  .contacts-menssage textarea,
  .contacts-menssage button {
    max-width: 100%; 
    box-sizing: border-box;
    margin-left: auto;
    margin-right: auto;
    display: block;
  }

 
  .contacts-menssage {
    padding: 0.5rem 1rem;
    margin-bottom: 1rem;
    box-sizing: border-box;
  }
}



@media screen and (max-width: 420px){

 * {
  box-sizing: border-box;
 } 

 html, body {
    margin: 0;
    overflow-x: hidden;
    font-size: 12px;
 }

 
 .container-homer {
    min-height: 100vh;
    padding:0 4rem;
    font-size: 10px;
    margin:0 auto; 

 }
  .container-homer img,
  .about-container img {
    animation: none !important;
  }

  @keyframes floats {
  0% { transform: translateY(5px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(5px); }
}

 .text-decoration {
    font-size: 20px;
 }

 .typing{
   font-size: 16px;
 }

 .typing span {
    animation: none !important;
    width: auto !important;      
    display: inline-block !important;
    white-space: normal !important; 
    overflow: visible !important;   
  }

 .typing span::after {
    content: none !important;       
    border-left: none !important;
    width: 0 !important;
   }
  .secondary-text{
        font-size: 10px;
    }

 .container-homer img {
    width: 150px;
    
  }


 .about-container{
   margin: 0 auto;
   padding: 2px;
   display: flex;
   flex-direction: column;
   align-items: center;
   justify-content: center;
  } 

 #about-me { 
    margin:0 auto;
    padding: 1rem;
    width: 100%;  
  
 }
 .about-container{

    width: 100%;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; 
 }
 #about-me p{
    font-size: 12px;


 }

 .about-container img {
    width: 150px;

  
 }

 .hards { 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin:2rem ;
    margin-left: 2rem;
    
 }
 #hard-skills, #soft-skills,
 #certificates{ 
     margin: 1px 2rem;
     width: 100%;
    }
 
 .hards h3 { 
    font-size: 12px;
 }

 .hards li {
     font-size: 9px;
 }
 
 main, section, form {
    width: 100%;
    max-width: 100%;
  }
  #projetos-section section {
    width: 100%;
   
  }


 .projetos-grid {
    display: grid;
    grid-template-columns: 1fr;
    padding: 2px;
    gap: 7px;
    
   
  }

 #projetos-section {
    padding: 0;
    width: 100%;
    box-sizing: border-box;
   
  
 }

 
 #projetos-section h2{
    font-size: 16px;
    padding: 10px 0;
    margin: 4rem;
 }

 .projeto button{ 
    width: 60%;
    height: 30px;
    font-size: 10px; 
 }

 .projeto img{ 
    max-width: 70px;
    height: auto;
    margin: 0;
 }

 .projeto h3 {
  font-size: 13px;
 }
   
 .container-four {
    padding: 1rem;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
 }
 .contact-form {
    margin-bottom: 1rem;
    z-index: 1;
    position: relative;
  }

  
 .contacts-menssage {
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  position: relative;
  z-index: 1;
 }

 .container-links button {
    font-size: 10px;
    padding: 5px 10px;
    width: 100%;
    max-width: 250px;
    height: 40px;
    margin: 1rem auto 0 auto;
    display: block;
    text-align: center;
  }

 .contacts-menssage input,
 .contacts-menssage textarea,
 .contacts-menssage button {
   max-width: 400px; 
   width: 90%;       
   margin: 0 auto;   
   display: block;
   font-size: 10px;
   padding: 5px;
   box-sizing: border-box;
   border-radius: 6px;
 }

 .contacts-menssage textarea {
   height: 100px;
   resize: none;
 }

 footer {
   background-color: #1A0D00;
   padding: 1rem;
   text-align: center;
   color: white;
   font-size: 12px;
   margin-top: 2rem;
   position: relative;
   z-index: 0;
 } 
}

@media screen and (min-width: 421px) and (max-width: 767px) {
  body, html {
    font-size: 13px;
    overflow-x: hidden;
  }

  .container-homer {
    padding: 0 1rem;
    font-size: 24px;
  }

  .text-decoration {
    font-size: 24px;
  }

  .typing span {
    font-size: 1.2rem;
  }


  .typing span,
  .typing span::after {
    animation: none !important;
    width: auto !important;
    display: inline !important;
    white-space: normal !important;
    overflow: visible !important;
    content: none !important;
    border: none !important;
  }
  .container-homer img,
  .about-container img {
    width: 200px;
    animation: none;
  }

  .about-container {
    flex-direction: column;
    padding: 2rem 5%;
    align-items: center;
  }

  #about-me p {
    font-size: 14px;
    padding: 15px;
  }

 
 .hards { 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin:2rem ;
    margin-left: 2rem;
    
 }
 #hard-skills, #soft-skills,
 #certificates{ 
     margin: 1px 2rem;
     width: 100%;
    }
 
 .hards h3 { 
    font-size: 12px;
 }

 .hards li {
     font-size: 9px;
 }
 
  .projetos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    padding: 10px;
  }

  .projeto img {
    max-width: 120px;
  }

  .projeto button {
    width: 75%;
    height: 35px;
    font-size: 13px;
  }

  .container-four {
    padding: 2rem 3rem;
    width: 100%;
  }
  .container-four {
    padding: 1rem;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
 }
 .contact-form {
    margin-bottom: 1rem;
    z-index: 1;
    position: relative;
  }

  
 .contacts-menssage {
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  position: relative;
  z-index: 1;
 }

 .container-links button {
    font-size: 10px;
    padding: 5px 10px;
    width: 100%;
    max-width: 250px;
    height: 40px;
    margin: 1rem auto 0 auto;
    display: block;
    text-align: center;
  }

 .contacts-menssage input,
 .contacts-menssage textarea,
 .contacts-menssage button {
   max-width: 400px; 
   width: 90%;       
   margin: 0 auto;   
   display: block;
   font-size: 10px;
   padding: 5px;
   box-sizing: border-box;
   border-radius: 6px;
 }

 .contacts-menssage textarea {
   height: 100px;
   resize: none;
 }

 footer {
   background-color: #1A0D00;
   padding: 1rem;
   text-align: center;
   color: white;
   font-size: 12px;
   margin-top: 2rem;
   position: relative;
   z-index: 0;
 } 
}


@media screen and (min-width: 768px) and (max-width: 1024px) {
  /* Ajusta tamanho das fontes para tablets */
  body, html {
    font-size: 14px;
  }

  .container-homer {
    padding: 0 5rem;
    font-size: 14px;
    
  }

  .typing span {
    font-size: 2rem;
  }

 .typing span::after {
    height: 60px;
     
   }

  .container-homer img,
  .about-container img {
    width: 250px; 
    animation: none; 
  }

  .about-container {
    flex-direction: column;
    padding: 2rem 10%;
    align-items: center;
  }

  #about-me p {
    font-size: 16px;
    padding: 20px;
  }

  .hards {
    flex-direction: row;
    justify-content: space-around;
    margin: 2rem auto;
  }

  #hard-skills, #soft-skills, #certificates {
    width: 30%;
    max-height: none;
    margin: 0 10px;
  }

  .projetos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    padding: 10px;
  }

  .projeto img {
    max-width: 150px;
  }

  .projeto button {
    width: 80%;
    height: 40px;
    font-size: 14px;
  }

  .container-four {
    padding: 3rem 5rem;
    width: 100%;
  }

  .contacts-menssage input,
  .contacts-menssage textarea,
  .contacts-menssage button {
    max-width: 500px;
    font-size: 14px;
  }

  footer {
    font-size: 12px;
    padding: 1.5rem;
  }
}