
/* ================= MOBILE ================= */


header nav {
    display: none;
    padding-left: 20px;
    padding-right: 20px;

    width: 90%;
    height: 70px;
    margin-left: 20px;

    align-items: center;
    justify-content: space-between;

    border-radius: 20px;
    
        
    background-color: white;


    z-index: 6;

}

header nav.active {
    width: 100%;
    left: -25px;

    border-radius: 0;
}

#navegation.dark {
    background-color: #36424d;
}

#navegation.dark a {
    color: #e7c9ff;
}

header nav a {
    color: #995dd4;
    text-decoration: none;
    font-size: 18px;
}


header nav .nav-list {
    display: none;
    flex-direction: column;

    padding: 32px;
    gap: 40px;
    

    align-items: center;
    justify-content: flex-start;

    list-style: none;
    position: absolute;
    top: 70px;
    
    z-index: 1000;

    left: 1px;

    width: 100%;
    height: 100vh;


    background-color: white;

    transform: translateX(110%);
    transition: transform 0.3s ease-in;
}

#nav-list.dark {
    background-color: #36424d;
}

.nav-list li {
    display: none;
    flex-direction: row;

    justify-content: center;
    align-items: center;

    gap: 10px;

    opacity: 0;
    margin-left: 0;

    
}

.nav-list li img {
width: 40px;
}

.nav-list li a {
    text-decoration: none;
    font-size: 14px;
    color: #BB99DD;

    ;
}

header nav .nav-list.active {
    transform: translateX(0);
    
    

}

@keyframes navLinksAnimation {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

#mobile-menu.dark {
    background-color: #36424d;
}

.mobile-menu div {
    width: 32px;
    height: 2px;
    background-color: #BB99DD;
    margin: 8px;

    cursor: pointer;

    transition: 0.3s;
}

.mobile-menu.active .line_1 {
    transform: rotate(-45deg) translate(-8px, 8px);
}

.mobile-menu.active .line_2 {
    opacity: 0;
}

.mobile-menu.active .line_3 {
    transform: rotate(45deg) translate(-5px, -7px);
}



@media (max-width: 700px) {

    body {
        width: 100%;
        flex-direction: column;

  
        font-family: 'Merriweather Sans';
        font-style: normal;

        overflow-x: hidden;
    }

    header nav {
        display: flex;
        position: fixed;
    }
    
    header nav .nav-list {
        display: flex;
    }

    .nav-list li {
        display: flex;
    }

    

    .informations {
        width: 100%;

        align-items: center;

        justify-content: center;

        margin-top: 60px;
    }

    .perfil {
        width: 325px;
        height: 400px;
    }

    .perfil .borda-foto {
        width: 170px;
        height: 170px;
    }

    .perfil .borda-foto img {
        width: 95%;
        height: 95%;
    }

    .perfil h1 {
        font-size: 22px;
    }

    .perfil h2 {
        font-size: 13px;
    }

    .contatos {
        width: 325px;
        height: 430px;
    
    }

    .contatos a {
        font-size: 13px;
    }

    .contatos a img {
        width: 30px;
    }

    .tecnologias {
        width: 325px;
        height: 470px;
    }

    .tecnologias h1 {
        font-size: 20px;
    }

    

    .tecnologias .stacks ul {
        width: 100%;
        gap:15px;

    }

    .tecnologias .stacks ul li {
        width: 110px;
    }

    .tecnologias .stacks ul li::before, .tecnologias .stacks ul li::after {        
        width: 120px;
        height: 40px;
    }
    
    .tecnologias .stacks ul li img {
        width: 30px;
    }
    
    .tecnologias .stacks ul li h2 {
        font-size: 13px;
    }

    .educacao {
        width: 325px;
        height: 750px;

        gap: 20px;
    }

    .educacao h1 {
        font-size: 20px;
    }
    
    .educacao ul li a {
        font-size: 12px;
    }

    .certificados {
        width: 325px;
        height: 730px;

        gap: 20px;
    }

    .certificados h1 {
        font-size: 20px;
    }


    .certificado-tech  {
        display: flex;
    
        margin-left: 20px;
    
        flex-direction: column;
    
        gap: 10px;
    }
    
    .certificado-tech a {
        font-size: 12px;
    }

    

    main {
        width: 100%;
        align-items: center;
        justify-content: center;

        padding: 40px;

        margin-top: -45px;
    }

    main .sobre {
        width: 325px;
        height: 1160px;
    }

    main .sobre p {
        font-size: 13px;
        text-align: justify;
    }

    main .projetos-title {
        width: 325px;
        height: 100px;
        
    }

    main .projetos {
        width: 325px;

        justify-content: center;
        align-items: center;
    }

    main article {

        width: 325px;
        height: 280px;
    }

    main article:nth-child(7) {
        width: 325px;
        height: 320px;
    }

    main article:nth-child(7):after , main article:nth-child(7):before {
        width: 325px;
        height: 320px;
    }

    article:nth-child(7) .content {
        width: 300px;
        height: 285px;
    }


    main article a h3 {
        font-size: 17px;
    }

    main article::after , main article::before {
        width: 325px;
        height: 280px;
    }

    article .content {
        align-items: start;
        width: 300px;
        height: 255px;
    }

    main article img {
        width: 280px;
    }

}

/* ======================= TABLET ======================== */

@media (min-width:700px)  and (max-width: 1000px) {
    body {
        width: 100%;

        flex-direction: column;

        justify-content: center;
        align-items: center;

        font-family: 'Merriweather Sans';
        font-style: normal;

        overflow-x: hidden;   
        
        
    }

    header nav {
        display: flex;
        left: 20px;
        position: fixed;
        
    }

    header nav a {
        font-size: 25px;
    }
    
    header nav .nav-list {
        display: flex;

        top: 70px;
        gap: 50px;
    }

    .nav-list li {
        display: flex;
    }

    .nav-list li img {
        width: 60px;
    }

    .nav-list li a {
        font-size: 29px;
    }

    .informations {
       

        padding-left: 40px;

        align-items: center;

        justify-content: center;

        margin-top: 60px;

     
    }

    .perfil {
        width: 600px;
        height: 400px;
    }

    .perfil .borda-foto {
        width: 220px;
        height: 220px;
    }

    .perfil .borda-foto img {
        width: 95%;
        height: 95%;
    }

    .perfil h1 {
        font-size: 28px;
    }

    .perfil h2 {
        font-size: 16px;
    }

    .contatos {
        width: 600px;
        height: 430px;
    
    }

    .contatos a {
        font-size: 20px;
    }

    .contatos a img {
        width: 35px;
    }

    .tecnologias {
        width: 600px;
        height: 650px;
    }

    .tecnologias h1 {
        font-size: 28px;
    }

    .tecnologias {
        gap: 30px;
    }

    .tecnologias .stacks ul {
        width: 100%;

        gap: 20px;
    }

    .tecnologias .stacks ul li {
        width: 200px;
        height: 65px;
    }

    .tecnologias .stacks ul li::before, .tecnologias .stacks ul li::after {        
        width: 200px;
        height: 65px;
    }
    
    .tecnologias .stacks ul li img {
        width: 45px;
    }
    
    .tecnologias .stacks ul li h2 {
        font-size: 18px;
    }

    .educacao {
        width: 600px;
        height: 850px;

        gap: 30px;
    }

    .educacao ul {
        gap: 30px;
    }

    .educacao h1 {
        font-size: 28px;
    }
    
    .educacao ul li a {
        font-size: 18px;
        line-height: 20px;
    }

    .educacao ul li img {
        width: 60px;
    }

    .certificados {
        width: 600px;
        height: 1050px;

        gap: 30px;
    }

    .certificados h1 {
        font-size: 28px;
    }


    .certificado-tech  {
        display: flex;
    
        margin-left: 20px;
    
        flex-direction: column;
    
        gap: 30px;
    }
    
    .certificado-tech a {
        font-size: 20px;
    }

     .certificado-tech a img {
        width: 75px;
    }


    main {
        align-items: center;
        justify-content: center;

        margin-top: -45px;
    }

    main .sobre {
        width: 600px;
        height: 980px;
        gap: 30px;
    }

    main .sobre h1 {
        font-size: 28px;
    }

    main .sobre p {

        font-size: 18px;
        text-align: justify;
    }

    main .projetos-title {
        width: 600px;
        height: 100px;
    }

    main .projetos-title h1 {
        font-size: 28px;
    }

    main .projetos {
        width: 400px;

        justify-content: center;
        align-items: center;
    }

    main article {
        width: 600px;
        height: 440px;
    }

    main article::after , main article::before {
        width: 600px;
        height: 440px;
    }

    main article:nth-child(5) {
        width: 600px;
        height: 460px;
        z-index: 3;
    }

    main article:nth-child(5)::after , main article:nth-child(5)::before {
        width: 600px;
        height: 460px;
    }

    main article:nth-child(5) .content {
        width: 570px;
        height: 430px;
    }

    article .content {
        width: 570px;
        height: 410px;
    }

    main article img {
        width: 540px;
        margin-top: 15px;
        margin-bottom: 10px;
    }

    main article h3 {
        font-size: 28px;
        margin-bottom: 12px;
    }

    main article h4 {
        font-size: 20px;
    }
}

@media (min-width:1000px)  and (max-width: 1300px) {

    body {
        justify-content: center;
        flex-direction: row;

        gap: 0px;
    }

    .informations {
        padding: 40px;

        margin-right: 140px;
    }


   main .sobre {
    width: 630px;
    height: 780px;
    gap: 30px;
}

main .sobre h1 {
    font-size: 28px;
}

main .sobre p {
    font-size: 18px;
    text-align: left;
}

main .projetos-title {
    width: 630px;
    height: 100px;
}

main .projetos-title h1 {
    font-size: 28px;
}

main .projetos {
    width: 630px;

    justify-content: center;
    align-items: center;
}

main article {
    width: 530px;
    height: 390px;

 
}

main article::after , main article::before {
    width: 530px;
    height: 390px;
}

main article:nth-child(5) {
    height: 460px;
    z-index: 3;
}

main article:nth-child(5)::after , main article:nth-child(5)::before {
    width: 530px;
    height: 460px;
}

main article:nth-child(5) .content {
    width: 500px;
    height: 430px;
}

article .content {
    width: 500px;
    height: 365px;
}

main article img {
    width: 470px;
    margin-top: 15px;
    margin-bottom: 10px;
}

main article h3 {
    font-size: 24px;
    margin-bottom: 12px;
}

main article h4 {
    font-size: 18px;
}
}

