:root {
    --text-color: #dfdfdf;
    --secondary-text-color: #67fff0;
    --primary-bg-color: #333; 
    --secondary-bg-color: #1d1d1d; 
    --nav-bg-color: #1b1b1b; 
    --background-project-cover: #272727db;
}

body {
    font-family: "Roboto";
    color: var(--text-color);
    padding: 30px;
    background-color: var(--primary-bg-color);    
    max-width: 1168px;
    margin: auto;
}

header {    
    position: fixed;
    background-color: var(--nav-bg-color);
    top: 0;
    left: 0;
    height: 120px;
    width: 100%;
    z-index: 1000; /* garante que fique acima dos outros elementos */ 
}

.nav {    
    display: flex;
    max-width: 1168px;
    margin: auto;
    margin-top: 20px;
}

@media (max-width: 768px) {
        header {    
        height: 100px;
    }
    .nav {    
        margin: 20px;
        margin-top: 20px;
    }
}

.left-header {
    flex: 1;
    color: var(--secondary-text-color);    
    filter: saturate(50%);
    width: 50%;
}
.viewport {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.contentWrapper {
    margin-top: 100px;
    display: flex;
    width: 200%;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    transform: translateX(-50%);
}

.content {
    height: fit-content;
    width: 50%;
    flex-shrink: 0;  
}

.name {
    margin-block-start: 0em;
    margin-block-end: 0em;
}

.subName {
    font-weight: normal;
    margin-block-start: 0em;    
}

@media (max-width: 768px) {
    /* estilos para mobile aqui */
    .name {
        font-size: 20px;
    }

    .subName {
        font-size: 15px;
    }
}



.right-header {
    display: flex;
    flex-wrap: wrap;
    width: 50%;
}

.header-buttons {
    display: flex;
    gap: 10px;
    width: 100%;
    justify-content: flex-end;
}

.right-header-mail {
    width: 100%;     
    justify-content: flex-end; 
    text-align: right;
}

.right-header a {
    color: var(--secondary-text-color);
    border-color: var(--secondary-text-color);
    text-decoration: none;
    filter: saturate(50%);
}

.right-header a:hover {
    scale: 1.05;
    filter: saturate(100%);
}

.size-20 {
    height: 20px;
    width: auto;
}

.size-40 {
    height: 40px;
    width: auto;
}

.downloadoIcon {
    margin-top: 5px;
}

.social-icons{
    display: inline-flex;
    vertical-align: middle;
    margin-bottom: 5px;
}

.ResumeBtn {
    display: inline-flex;
    border: var(--text-color) 2px solid;
    border-radius: 5px;
    transform-origin: 50% 50%;
    height: 30px;
    padding: 3px 10px;
}


.ResumeBtn span {
    line-height: 30px;
    font-size: 20px;
    margin-right: 5px;
}

@media (max-width: 768px) {
    /* estilos para mobile aqui */
    .size-20 {
        height: 15px;
        width: auto;
    }

    .size-40 {
        height: 30px;
        width: auto;
    }

    .ResumeBtn {
        border: var(--text-color) 2px solid;
        border-radius: 5px;
        transform-origin: 50% 50%;
        height: 20px;        
    }
    
    .ResumeBtn span {
        line-height: 20px;
        font-size: 15px;
        margin-right: 2px;
    }
    
    .downloadoIcon {
        margin-top: 3px;
        margin-left: 3px;
    }

    .right-header-mail {
        font-size: 10px;
    }
}

.profile {
    display: inline-flex;
    flex-direction: row;
    align-items: center;    
}

.profileImage {
    width: 200px;
    aspect-ratio: 1 / 1;
    border: solid var(--text-color) 4px;
    border-radius: 50%;
    object-fit: cover;    
}


.profileText {
    font-size: 40px;
    margin-left: 60px;
}

.margin-left-10 {
    margin-left: 10px;
}

.projects {
    margin-top: 40px;
}

.SubTittle {
    font-size: 30px;
    margin-left: 10px;
    text-transform: uppercase;    
}

.projectCards {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    /* same as gap */
    margin-left: 10px;
}

@media (max-width: 768px) {
    
    .SubTittle {
        margin-left: 0px;
    }
    .projectCards {
        margin-left: 0px;
    }

    .profile {
        display: flex;
        flex-direction: row;
        align-items: center;
        flex-wrap: wrap;
        align-content: flex-start;
        justify-content: space-evenly;   
    }
    .profileImage {
        width: 150px;   
    }
    .profileText {
        font-size: 30px;
        margin-left: 0px;
        text-align: center;
    }

    .margin-left-10 {
        margin-left: 0px;
    }
}

.projectCard {
    background-color: var(--secondary-bg-color);
    width: calc(33% - 10px);
    transition: filter 0.3s ease;
    filter: saturate(40%);
}

@media (max-width: 768px) {
    
    .projectCard {
        width: calc(100%);
    }
}

.projectCard:hover {
    filter: saturate(100%);
    cursor: pointer;
    scale: 1.005;
}

.projectImage {
    width: 100%;
}

.projectInfo {
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 20px;
}

.projectInfo h4 {
    font-size: 22px;
    margin-block-start: 1em;
    margin-block-end: 0em;
}

.projectInfo p {
    font-size: 18px;
}

.section {
    margin-top: 40px;
    justify-content: space-between;
}

.skillsContainer {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;

}

.skill {
    color: var(--secondary-text-color);
    border: solid var(--secondary-text-color) 2px;
    border-radius: 5px;
    padding: 5px;
    font-size: 20px;
    filter: saturate(50%);
}
.skill:hover {
    filter: saturate(100%);
}

.additionalCards {
    display: flex;
    flex-flow: row;
    flex-direction: column;
    gap: 5px;
}

.additionalCard {
    background-color: var(--secondary-bg-color);
    gap: 5px;
    padding: 20px;
    font-size: 20px;
}

#backButton {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 26px;
    margin-bottom: 10px;
}

#backButton:hover {
    cursor: pointer;
}

#projectDetailsCover {
    position: relative;
    width: 100%;
    overflow: hidden;
    display: flex;
    flex-flow: column-reverse;
}

#projectDetailsImg {
    width: 100%;
}

#projectDetailsTitleContainer {
    position: absolute;
    width: 100%;
    height: 70px;
    background-color: var(--background-project-cover);
}

#projectDetailsTitle {
    height: 100%;
    margin-left: 10px;
    align-content: center;
    margin-block-start: 0em;
    font-size: 36px;
    font-weight: bold;
}

@media (max-width: 768px) {    
    #projectDetailsTitleContainer {
        height: 25px;
    }

    #projectDetailsTitle {
        font-size: 18px;
    }
}

#shortDescription {
    display: flex;
    margin-top: 10px;
    gap: 10px;
}

#AboutProject {
    padding: 10px;
    padding-left: 20px;
    padding-right: 20px;
    width: 50%;
    background-color: var(--secondary-bg-color);
}

#InfoProject {
    padding: 10px;
    padding-left: 20px;
    padding-right: 20px;
    width: 50%;
    background-color: var(--secondary-bg-color);
}

#ProjectWebSite {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    color: var(--secondary-text-color);
    text-decoration: none;
}

#ProjectGithub {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    color: var(--secondary-text-color);
    text-decoration: none;
}

#Filter span:hover {
    cursor: pointer;
}

.SelectedFilter {
    background-color: var(--secondary-text-color);
    color: var(--primary-bg-color);
}

.margin-top-10 {
    margin-top: 10px;
}

.projectSkill {
    color: var(--secondary-text-color);
    border: solid var(--secondary-text-color) 2px;
    border-radius: 5px;
    padding: 5px;
    font-size: 15px;
}

#projectDetailsAdditionalHTML {
    font-size: 18px;
}