html {
    scroll-behavior: smooth;
    cursor: none;

}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none !important;
}


#cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 10px;
    height: 10px;
    background: white;
    border-radius: 50%;
    pointer-events: none;
    z-index: 99999;

}

.sidebar {
    position: fixed;
    right: 0;
    top: 0;
    width: 120px;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    z-index: 99999;
}

.pag {
    height: 4px;
    width: 20px;
    background-color: white;
    transition: all 0.25s;
}

.ativa {
    background-color: blue;
    width: 40px;
}


#Meusvg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 99999;
}

circle {
    transition: all 0.3s ease;
}

body {
    margin: 0;
    cursor: none;
    font-family: montserrat;
    background-color: #131313;
    color: white;
    overflow-x: hidden;
}


section {
    background-color: #131313;
    width: 100%;
    display: flex;
    flex-direction: row;
    min-height: 105vh;
}


figure {
    margin-right: 8vw;
    height: 40vh;
    width: 16vw;
    display: flex;
    align-items: center;
    transition: all 0.5s;
    position: relative;
}

.borda-l {
    position: relative;
    display: inline-block;
}

.borda-l img {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 2;
}

.borda-l::after {
    content: "";
    position: absolute;
    bottom: 4px;
    right: 0px;
    width: 100%;
    height: 100%;
    z-index: 1;

    box-shadow: 10px 10px 0 blue;

    transition: 0.3s ease;
}

.head {
    transition: 0.3s ease;
}

.headOn::after {
    content: "";
    position: absolute;
    bottom: 28px;
    width: 55px;
    height: 100%;
    z-index: 1;
    box-shadow: 0 5px 0 blue;
}

.borda-l:hover::after {
    box-shadow: 32px 32px 0 blue;
}




.borda-l figcaption {
    color: white;
    margin-top: 10px;
    text-align: center;
}



img {
    max-height: 50vh;
    max-width: 25vw;
}

figure:hover {
    align-items: center;
}



figcaption {
    position: absolute;
    z-index: 9999;
    text-align: center;
    display: flex;
    justify-content: center;
    color: blue;
    opacity: 0;
    position: absolute;
    top: 90%;
    right: 25%;
    font-weight: bolder;
    transition: all 0.6s;
}

figure:hover figcaption {
    opacity: 1;
    transform: translateY(26px);
}


aside {
    display: flex;
    margin-left: 5%;
    flex-direction: column;
}

p {
    max-width: 50%;
}

.adj,
.titulo {
    font-size: 35pt;
    font-weight: bolder;
}

.titulo {
    position: relative;
    width: min-content;
    font-size: 35pt;
    font-weight: bolder;
}

.titulo::before {
    content: "";
    position: absolute;
    top: -15px;
    left: 0;
    width: 60px;
    height: 6px;
    background-color: blue;
}



#conteudo {
    display: flex;
    margin-top: 10%;
}


.dwl {
    margin-top: 20px;
    border: solid 2px blue;
    color: blue;
    background-color: transparent;
    border-radius: 25px;
    width: 14%;
    padding: 1.4%;
    font-weight: bolder;
    transition: all 0.4s;
    text-align: center;
}

button:hover {
    color: white;
    background-color: blue;
}


#skills {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto 1fr 1fr;
    place-items: center;
}

.skill {
    background-color: #111;
    font-size: 50pt;
    display: flex;
    flex-direction: column;
    color: white;
    border-radius: 12px;
    height: 20vh;
    width: 15vw;
    margin-bottom: 50px;
    align-items: center;
    justify-content: center;
    transition: all 0.4s;
    border: 2px solid blue;
}

.skill:hover {
    background-color: blue;
    color: white;
}

.skill img {
    height: 90%;
    width: 90%;
}

#skills,
.titulo {
    grid-column: 1 / -1;
}

#title {
    margin: 75px;
}


#destaques {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 50px 0;
}

.container-projetos {
    display: grid;
    place-items: center;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    width: 80%;
    max-width: 1200px;
}

.projeto {
    background-color: #111;
    border: solid 2px blue;
    box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    width: 50%;
    transition: all 0.4s;
    color: white;
    border-radius: 12px;
}



.projeto img {
    width: 100%;
    height: 200px;
    border-radius: 12px 12px 0 0;
}

.projeto p,
.projeto label {
    padding: 15px;
    max-width: 100%;
}

.projeto label {
    font-weight: bolder;
}

.projeto:hover {
    background-color: blue;
    color: white;
}



#tl {
    position: relative;
    width: 100%;
    height: 90vh;
}

#timeline {
    margin-top: 10%;
}

.linha {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    height: 100%;
    width: 4px;
    background-color: blue;
}

.item {
    position: relative;
    width: 100%;
    height: 30%;
}

.circulo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    height: 50px;
    width: 50px;
    background-color: blue;
    border-radius: 50%;
}

.legenda {
    border: solid 1px blue;
    background-color: #111;
    color: white;
    position: absolute;
    left: 55%;
    top: 60%;
    transform: translateY(-50%);
    width: 250px;
    padding: 15px;
    border-radius: 10px;
}

#titletl {
    position: absolute;
    top: 40%;
    right: 75%;
    color: white;
    font-size: 35pt;
    font-weight: bolder;
}

.ano {
    font-weight: bolder;
}

.legenda>p {
    width: 100%;
}

.center {
    margin: auto;
    color: white;
    font-size: 35pt;
}

#container {
    margin: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 25px;
    padding: 20px 0;
    z-index: 1000;
    font-weight: bolder;
    background-color: #131313;
    user-select: none;
}

header>div {
    border-bottom: solid 2px blue;
}



a,
a:visited,
a:hover,
a:active {
    text-decoration: none;
    color: inherit;
}

a>i {
    font-size: x-large;
}

#sobre {
    display: flex;
    justify-content: space-between;
    padding: 6% 5%;
}

#sobre aside {
    width: 50vw;
    gap: 40px;
    font-size: 1.3rem;
    font-weight: 400;
}

#sobre p {
    font-weight: bolder;
    max-width: 100%;
    text-align: left;
}

#sobrettl {
    position: absolute;
    top: 0;
}

@media (max-width: 768px) {

    #sobre {
        display: flex;
        flex-direction: column;
    }

    #cursor,
    #Meusvg {
        display: none;
    }

    * {
        cursor: auto !important;
    }

    header {
        font-size: 0.8rem;
        gap: 12px;
        padding: 15px 5px;
        background-color: rgba(13, 13, 13, 0.95);
    }

    header>div {
        border-bottom-width: 1px;
    }

    section {
        flex-direction: column;
        min-height: auto;
        padding: 80px 20px 40px 20px;
    }

    #conteudo {
        flex-direction: column;
        margin-top: 80px;
        text-align: center;
    }

    figure {
        margin: 60px auto 40px auto;
        width: 85vw;
        height: auto;
        display: flex;
        justify-content: center;
    }

    .borda-l {
        margin-top: 30px;
    }

    img {
        max-width: 100%;
        max-height: 45vh;
        width: auto;
    }

    aside {
        margin-left: 0;
        align-items: center;
    }

    p {
        max-width: 100%;
        font-size: 1rem;
        line-height: 1.5;
    }

    .titulo,
    .adj {
        font-size: 26pt;
        line-height: 1.2;
    }

    .titulo::before {
        left: 50%;
        transform: translateX(-50%);
    }

    button {
        width: 70%;
        padding: 15px;
        margin-top: 30px;
    }

    #skills {
        grid-template-columns: 1fr;
        padding-top: 40px;
    }

    .skill {
        width: 80vw;
        height: 120px;
        margin-bottom: 20px;
    }

    .container-projetos {
        grid-template-columns: 1fr;
        width: 100%;
        gap: 30px;
    }

    .projeto {
        width: 100%;
    }

    #tl {
        height: auto;
        display: flex;
        flex-direction: column;
        gap: 60px;
        padding-top: 50px;
    }

    .linha {
        left: 20px;
    }

    .circulo {
        left: 20px;
        width: 30px;
        height: 30px;
    }

    .legenda {
        position: relative;
        left: 50px;
        top: 0;
        transform: none;
        width: calc(100% - 70px);
    }

    #titletl {
        position: static;
        font-size: 24pt;
        margin-bottom: 20px;
        text-align: left;
        padding-left: 50px;
    }

    .sidebar {
        display: none;
    }
}