@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    font-family: 'Poppins', sans-serif;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #111111; 

}

::-webkit-scrollbar-thumb {
    background: #b74b4b; 
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #b74b4b;
}

html, body {
    font-size: 10px;
    color: #ffffff;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 10% 20px;
    background-color: #111111;
    filter: drop-shadow(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    
}

.logo, 
.logo span {
    font-size: 2.5rem;
    font-weight: 800;
    cursor: pointer;
    transition: 0.2s ease;
}

.logo { 
    color: #ffffff; 
}
.logo span { 
    color: #b74b4b; 
}
  
nav a {
    font-size: 1.8rem;
    color: rgba(255, 255, 255, 0.781);
    margin-left: 4rem;
    font-weight: 500;
    transition: 0.3s ease;
    border-bottom: 3px solid transparent;
}

nav.no-background {
    background-color: transparent;
    border: none;
    box-shadow: none;
}

nav a:hover,
nav a.active {
    color: #b74b4b;
    border-bottom: 2px solid #b74b4b;
}

/* Página Principal */

.home {
    display: flex;
    align-items: center;
    width: 100%;
    height: 100vh;
    background-color: #111111;
    padding: 0 10%;
}

.home-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.3;
    color: #b74b4b;
}

.home-content h2 {
    font-size: 3.5rem;
    margin-top: 10px;
    font-weight: 500;
}

.home-content h3 {
    font-size: 2rem;
    margin-top: 10px;
    font-weight: 400;
}

.home-content p {
    max-width: 550px;
    font-size: 1.6rem;
    margin-top: 20px;
    font-weight: 450;
    color: #a3a3a3fb;
}

/* Redes Sociais */

.social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 2px;
    font-size: 3rem;
    border: 2px solid rgba(255, 255, 255, 0.1);
    color: #b74b4b;
    cursor: pointer;
    margin: 5px;
    margin-top: 30px;
    text-decoration: none;
    transition: border 0.2s ease-in-out;
}

.social:hover {
    background-color: transparent;  
    color: #b74b4b;
    border: 2px solid #b74b4b;
}

/* Página de Experiencias */



/* Página de Projetos */

.projects {   
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    height: 100vh;
    background-color: #111111;
    padding: 0 10%;
} 

.projects-content {
    text-align: center;
    margin-bottom: 30px;
}

.projects-content h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;
}

.projects-content span {
    color: #b74b4b;
}

.projects-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    justify-items: center;
    align-items: center;
}

.portfolio-box {
    width: 350px;
    height: 240px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: left;
    justify-content: center;
    border: 1px solid #b74b4b;
    border-radius: 2px;
    background-color: #151515;
    cursor: default;
    text-decoration: none;
    transition: border 0.2s ease-in-out;
}

.portfolio-box h2 {
    font-size: 2.2rem;
    color: #ffffff;
    margin-bottom: 30px;
}

.portfolio-box p {
    font-size: 1.6rem;
    color: #a3a3a3fb;
    font-weight: 450;
}

.projects-box:hover {
    background-color: transparent;  
    color: #b74b4b;
    border: 2px solid #b74b4b;
}

/* Projetos em Desenvolvimento */

.dev-box1 {
    width: 350px;
    height: 240px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: left;
    justify-content: center;
    border-radius: 2px;
    background-color: #151515;
    cursor: default;
    text-decoration: none;
    border: 1px solid #b74b4b;
    transition: border 0.2s ease-in-out, border-color 0.2s ease-in-out;
}

.dev-box1 h2 {
    font-size: 2.2rem;
    color: #ffffff;
    margin-bottom: 30px;
}

.dev-box1 p {
    font-size: 1.6rem;
    color: #a3a3a3fb;
    font-weight: 450;
}

.dev-box2 {
    width: 350px;
    height: 240px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: left;
    justify-content: center;
    border-radius: 2px;
    background-color: #151515;
    cursor: default;
    text-decoration: none;
    border: 1px solid #151515;
    transition: border 0.2s ease-in-out, border-color 0.2s ease-in-out;
}

.dev-box2:hover {
    border: 1px solid #b74b4b;
}

.dev-box2 h2 {
    font-size: 2.2rem;
    color: #ffffff;
    margin-bottom: 30px;
}

.dev-box2 p {
    font-size: 1.6rem;
    color: #a3a3a3fb;
    font-weight: 450;
    margin-bottom: 50px;
}

.view-project {
    font-size: 1.7rem;
    color: #b74b4b;
    font-weight: 500;
    margin-top: 30px;
}

/* Página de Conhecimentos */

.xp {   
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100vh;
    background-color: #111111;
    padding: 0 10%;
} 

.xp-content {
    text-align: center;
    margin-bottom: 30px;
}

.xp-content h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;
}

.xp-content p {
    max-width: 600px;
    font-size: 1.5rem;
    margin-top: 20px;
    font-weight: 450;
    color: #a3a3a3fb;
}

.xp-content span {
    color: #b74b4b;
}

/* Box de Conhecimentos */

.xp-box {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; 
    gap: 15px; 
    width: 100%;    
    max-width: 600px;
    margin-top: 45px;
}

.icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;      
    border-radius: 2px;
    font-size: 7rem;
    border: 2px solid rgba(255, 255, 255, 0.1);
    color: #b74b4b;
    cursor: default;
    text-decoration: none;
    transition: border 0.2s ease-in-out;
}

.icon-box:hover {
    color: #b74b4b;
    border: 2px solid #b74b4b;
} 

/* Retangulo */

.retangulo {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-color: #151515;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    width: 100%;
    padding: 50px;
}

/* Página de About */

.about {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    min-height: 100vh;
    background-color: #111111;
    padding: 150px 10% 50px;
    box-sizing: border-box;
}


.about-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.3;
    color: #ffffff;
}

.about-content h2 {
    font-size: 1.5rem;
    margin-top: 10px;
    font-weight: 500;
    color: #a3a3a3fb;
}

.about-content p {
    max-width: 500px;
    font-size: 1.5rem;
    margin-top: 20px;
    font-weight: 450;
    color: #d4d4d4fb;
}

.about-content a {
    font-size: 1.5rem;
    font-weight: 450;
    line-height: 1.3;
    color: #d4d4d4fb;
}

.about-content a:hover {
    text-decoration: underline;
}

.spotify h1 {
    color: #ffffff;
    font-size: 1.5rem;
    margin-bottom: 10px;
    margin-top: 25px;

}

/* Footer */

.footer {
    display: flex;
    justify-content: space-between; 
    align-items: center; 
    background-color: #111111;  
    padding: 0 10%; 
    position: relative;
    width: 100%; 
    padding-top: 20px;
    padding-bottom: 20px;

}

.footer-left, .footer-right {
    display: flex;
    align-items: center; 
}

.footer p {
    font-size: 1.5rem;
}

.footer-left a{
    color: #b74b4b;
    font-size: 1.5rem;
}

.bandeira {
    width: 20px; 
    height: auto; 
    margin-left: 5px;
}

.scroll-fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1.5s ease-out, transform 1.5s ease-out;
  }
  
.scroll-fade-in.visible {
    opacity: 1;
    transform: translateY(0);
  }
