@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda+SC:ital,opsz,wght@0,6..96,400..900;1,6..96,400..900&display=swap');
/*fonte h1 da capa*/
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
/*fonte h2*/

@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
/*fonte p*/


* {
    margin: 0px;
    padding: 0px;
    color: rgb(255, 255, 255);
}

body,
html {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    overflow-x: hidden;
    background: rgb(5, 5, 5);
    scroll-behavior: smooth;

}

#burguer{
    display: block;
    position: fixed;
    top: 10px;
    left: 10px;
    padding: 10px;
    background-color: transparent;
    border: none;
}

#burguer:hover{
    cursor: pointer;
    opacity: 0.8;
}
#menu{
    display: none;
}
.cabecalho {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    width: 60px;
    z-index: 999;
}

a {
    font-size: 12px;
    text-decoration: none;
    color: rgb(255, 255, 255);
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.596);
    width: 100%;
    margin: 10px 0 0 0;
    padding: 8px;

}

nav a:hover {
    cursor: pointer;
    background-color: rgba(1, 182, 158, 0.2);
    border-radius: 6px;
    padding: 8px;
    transition: background-color 0.4s ease;
}

.menu {
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    padding: 50px 10px 10px 10px;
    background-color: rgba(0, 0, 0, 0.8);
    box-shadow: 0px 1px 10px rgba(0, 0, 0, 0.6);
    height: 100vh;
    width: 100%;
    top: 0;
    left: 0;
}

.item {
    display: flex;
    flex-grow: 1;
    align-items: center;
    font-family: "Montserrat", sans-serif;
    list-style-type: none;
    text-shadow: 2px 2px 5px rgb(0, 0, 5);
    width: 100%;
}
#contItem {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    margin-bottom: 10px;
}
#contItem > span{
    position: static;
    font-family: "Roboto", sans-serif;
    font-size: 0.5rem;
}

.item a {
    font-size: 18px;
    width: 100%;
}
#capa {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: url(../imagens/teclado.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    background-size: cover;
    filter: blur(3px) brightness(0.2);
    z-index: 2;

}

.inicio {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
    width: calc(100vw - 60px);
    height: 100vh;
    transition-duration: 0.5s;
    z-index: 3;

}

.inicio>h1 {
    background-color: rgba(0, 0, 0, 0.7);
    box-shadow: 1px 2px 8px rgba(0, 0, 0, 0.5);
    text-shadow: 2px 2px 5px rgb(0, 0, 5);
    font-size: 30px;
    width: 100%;
    text-align: center;
    font-family: "Bodoni Moda SC", serif;
    box-sizing: border-box;
}

.inicio>h2 {
    font-family: "Montserrat", sans-serif;
    font-weight: 400;
    font-style: normal;
    text-shadow: 2px 2px 5px rgb(0, 0, 5);
    font-size: 12px;
    text-align: center;

}

.seta> a > img {
    width: 25px;
    opacity: 0.8;
    animation: pulsar 2s infinite ease-in-out;
    transition: all 0.3s ease;
}

#background {
    position: fixed;
    top: 0;
    left: 0;
    width: 80vw;
    height: 100vh;
    overflow: hidden;
    z-index: 1;
}

#video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: fixed;
    filter: blur(1px) brightness(0.2);
}

.principal {
    display: flex;
    flex-direction: column;
    position: relative;
    text-align: justify;
    width: 80vw;
    padding: 16px;
    margin: 90px auto;
    transition-duration: 0.5s;
    z-index: 2;
}

section {
    z-index: 2;
    margin-top: 40px;
}

h1 {
    font-family: "Montserrat", sans-serif;
    text-align: center;
    font-size: 20px;
    padding: 20px;
    text-shadow: 2px 2px 5px rgb(0, 0, 5);
    transition-duration: 0.5s;
}

p {
    width: 300px;
    padding: 0px 40px;
    font-family: "Roboto", sans-serif;
    font-size: 13px;    
    transition-duration: 0.5s;
}

#p1,
#p2>p {
    text-indent: 40px;

}

.competencias {
    width: 80vw;
    height: 100vh;
}

.competencias>h1 {
    font-size: 25px;
}

h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    margin: 20px 0 5px 0;
    text-align: center;
}

#prog,
#ferramentas,
#design {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    margin: 0px 0px 40px 0;
    padding: 12px;
    background-color: rgba(0, 0, 0, 0.459);
    border-radius: 20px;
    box-shadow: 1px 1px 6px rgba(0, 0, 0, 0.596);
}

#prog img,
#ferramentas img,
#design img {
    width: 40px;
    height: auto;
    margin: 10px;
    transition: transform 0.3s;
}

#prog img:hover,
#ferramentas img:hover,
#design img:hover {
    transform: scale(1.1);
    cursor: pointer;
}

.titulo {
    position: relative;
    display: inline-block;
}

.titulo .nometitulo {
    visibility: hidden;
    width: 94px;
    font-size: 12px;
    text-align: center;
    border-radius: 6px;
    padding: 5px 10px;
    position: absolute;
    z-index: 1;
    bottom: -20%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s;
}

.titulo:hover .nometitulo {
    visibility: visible;
    opacity: 1;
}

.porfolio {
    width: 80vw;
    height: 100vh;
}

.portfolio>h1 {
    font-size: 25px;
}

.portfolio img {
    width: 50vw;
    border-radius: 6px;
    transition-duration: 0.5s;
}

.portfolio img:hover {
    border-radius: 20% 0;
    filter: brightness(0.6);
}

footer {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background-color: rgb(0, 0, 0);
    width: 100vw;
    height: 68px;
    margin-top: 80px;
    padding: 20px;
    z-index: 999;

}

#redesSociais {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
}

h3 {
    font-family: 'Roboto', sans-serif;
    font-size: 12px;
    width: auto;
    white-space: nowrap;
    margin-right: 10px;
}

#redesSociais>a {
    display: inline-block;
    gap: 10px;
}

#redesSociais>a:hover {
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

#copy {
    display: flex;
    justify-content: center;
    width: 100vw;
    margin-top: 20px;
}

#copy>p {
    width: auto;
    font-size: 12px;
    padding-bottom: 8px;
}

/* SCROLL*/
.inicio,
.sobre,
.formacao,
.idiomas,
.portfolio,
.competencias,
.contato {
    visibility: hidden;
}


/*Responsividade*/
/*Telas médias*/
@media (min-width: 768px) {
    .cabecalho{
        width: 70px;
    }
    .menu{
        width: 70px;
        height: 100vh;
        padding: 10px;
        justify-content: initial;
    }
    #contItem > span{
        font-size: 0.6rem;
    }
    #burguer{
        display: none;
    }
    #menu{
        display: block;
    }
    .principal {
        background-color: rgba(0, 0, 0, 0.459);
        border-radius: 20px;
        box-shadow: 1px 1px 6px rgba(0, 0, 0, 0.596);
        width: 60vw;
        align-items: center;
        transition-duration: 0.5s;
    }
    .inicio > h1{
        width: 100vw;
    }
    h1 {
        padding-right: 20px;
        transition-duration: 0.5s;

    }

    .competencias {
        width: 50vw;
    }

    a {
        font-size: 16px;
    }
    p{
        font-size: 16px;
    }
}


/*Telas grandes*/
@media (min-width: 1024px) {
    .principal {
        background-color: rgba(0, 0, 0, 0.459);
        border-radius: 20px;
        box-shadow: 1px 1px 6px rgba(0, 0, 0, 0.596);
        width: 70vw;
        align-items: center;
    }
    
    .sobre>h1 {
        width: 100px;
        padding-right: 0px;
        transition-duration: 0.5s;

    }

    .sobre>p {
        padding: 0 10px;
        transition-duration: 0.5s;

    }

    section .sobre {
        display: flex;
    }

    #paragrafosSobre {
        display: flex;
        flex-direction: row;
    }

    section .formacao {
        display: flex;
    }

    section .formacao>p {
        margin-top: 50px;
    }

    section .idiomas {
        display: flex;
    }

    section .idiomas>p {
        margin-top: 50px;

    }

    .competencias {
        width: 50vw;
    }

    .cabecalho {
        position: fixed;
    }
    .menu{
        width: 80px;
        padding: 10px;
        justify-content: initial;
    }
    #contItem span {
        display: none;
        font-size: 0.7rem;
        position: absolute;
        margin-top: 50px;
    }
    #contItem:hover span {
        display: block;
    }
    #burguer{
        display: none;
    }
    #menu{
        display: block;
    }
    a {
        font-size: 18px;
    }
    .inicio > h1{
        font-size: 40px;
    }
    .inicio > h2{
        font-size: 20px;
    }
    h1{
        font-size: 26px;
    }
    p{
        font-size: 18px;
    }
}

@keyframes pulsar {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.1);
        opacity: 1;
    }
    100%{
        transform: scale(1);
        opacity: 0.8;
    }
}