*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

:root{
    --text-color: #fff;
    --text-secundary: #a0a0a0;
    --bg-color: #121212;
    --bg-secundary: #313131;
    --default-shadow: #E62020;
}

html{
    height: 100dvh;
    width: 100dvw;
}

body{
    height: 100%;
    width: 100%;
    background-color: var(--bg-color);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.cabecario{
    position: fixed;
    padding-block: 8px;
    width:100dvw;
    background-color: #222222;
    display: flex;
    justify-content: center;
    gap: 32px;
    align-items: center;
}

menu{
    display: flex;
    color: #fff;
    gap: 8px;
}

.cabecario h1{
    color: #E62020;
}

li{
    list-style: none;
}

a{
    text-decoration: none;
    color: #fff
}

li:hover{
    background-color: #ff6a6aef;
    border: 1px solid #8B0000;
}

main{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-block: 32px;
}

section{
    width: 100%;
    display: flex;
    flex-direction: column;
    padding-block: 20px;
}

.home{
    width: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    padding-block: 16px;
    margin-top: 48px;
    gap: 8px;
}

.perfil{
    width: 100px;
    height: 100px;
    display: grid;
    
}

.info{
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 80%;
    align-items: center;
    padding-block: 20px;
    gap: 12px;
}

.info h2{
    font-size: 20px;
    color: var(--text-color);
}

.info p{
    font-size: 16px;
    color: var(--text-secundary);
}

.buttons{
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.btn {
    width: 300px;
    height: 40px;
    border-radius: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 12px 24px;
}

.linkedin{
    background-color: #8B0000;
    transition: 0.3s;
}

.linkedin a{
    font-size: 24px;
    color: var(--text-color);
    font-weight: 700;
}

.linkedin:hover{
    box-shadow: 0 0 20px var(--default-shadow);
    transform: scale(1.05);
}

.btn-curriculo{
    display: flex;
    justify-content: center;
    align-items: center;
}

.curriculo.btn{
    background-color: var(--bg-color);
    border: 2px solid #fff;
    transition: 0.3s;
}

.curriculo{
    font-size: 16px;
    font-weight: 700;
    width: 300px;
}

.curriculo:hover{
    background-color: var(--text-color);
    color: #000000;
    
}

.tecnologias{
    margin-top: 5px;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.tecnologias p{
    color: var(--text-secundary);
    font-size: 24px;
    margin-bottom: 1rem;
    
}

.tecnologias-dominadas{
    display: flex;
    gap: 16px;
}

.tecnologias-dominadas img{
    width: 40px;
    height: 40px;
    filter: grayscale(1);
    opacity: 0.5;
    transition: all 0.5s ease;
}

.tecnologias-dominadas img:hover{
    filter: grayscale(0);
    opacity: 1;
    transform: scale(1.3);
}

.ferramentas{
    display: flex;
    gap: 16px;
    justify-content: center;
    text-align: center;
}

.ferramentas img{
    width: 40px;
    height: 40px;
    filter: grayscale(1);
    opacity: 0.7;
    transition: all 0.5s ease;
}

.ferramentas img:hover{
    filter: grayscale(0);
    opacity: 1;
    transform: scale(1.3);
}

.project{
    display: flex;
    justify-content: center;
    align-items: center;
    padding-block: 32px;
    background-color: var(--bg-secundary);
}

.project h3{
    font-size: 24px;
    padding-bottom: 16px;
    color: var(--text-color);
}

.galeria-projeto{
    display: grid;
    place-items: center;
    width: 100%;
    grid-template-rows: repeat(2, 1fr);
    gap: 24px;
}

.card{
    display: block;
    background-color: var(--bg-color);
    width: 80%;
    text-align: center;
    box-shadow: 0 6.5px 10px rgb(0, 0, 0.3);
    border-radius: 8px;
    transition: transform 0.3s ease , box-shadow 0.3s ease;
    overflow: hidden;
}

.card:hover{
    transform: translateY(-5px);
    box-shadow: 0 6.5px 10px rgb(0, 0, 0.3)
}

.card img{
    width: 100%;
    height: 250px;
}

.projeto-info{
    text-align: start;
    padding-inline: 20px;
    gap: 8px;
    padding-block: 8px;
}

.projeto-info h4{
    font-size: 20px;
}

.projeto-info p{
    color: var(--default-shadow);
    font-size: 16px;
}

.academico{
    display: flex;
    text-align: center;
    width: 100%;
}

.academico h2{
    color: var(--text-color);
}

.linha-do-tempo{
    display: grid;
    grid-template-rows:repeat(1, 1fr);
    width: 100%;
}

.formacao{
    background-color: var(--bg-secundary);
}