/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,400;0,500;1,400;1,500&display=swap');


*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
}
body{
    background: linear-gradient( to bottom left, #238e96 15%, #09456c);
    min-height: 100vh;
}
/* Navbar */
nav{
    color: white;
    background:transparent;
    height: 60px;
    width: 100%;
}
label.logo{
    color: white;
    font-size: 30px;
    line-height: 75px;
    padding: 0 100px;
    font-weight: bold;
}
nav ul{
    float: right;
    margin-right: 20px;
}
nav ul li{
    display: inline-block;
    line-height: 70px;
    margin: 0 5px;
}
nav ul li a{
    text-decoration: none;
    color: white;
    font-weight:550;
    font-size: 17px;
    padding: 0 7px;
}
.checkbtn{
    font-size: 30px;
    float: right;
    line-height: 60px;
    margin-right: 30px;
    cursor: pointer;
    display: none;
}
#check{
    display: none;
}
nav ul li a:hover{
    color: #26ade4;
}

/* Perfil */
#perfil{
    height: 100%;
    min-height: 70vh;
    width: 100%;
    margin: 120px 0 0 0;
    display: flex;
    justify-content: center;
    /* align-items: center; */
}
#text{
    height: 100%;
    width: 48%;
    margin-top: 25px;
    line-height: 23px;
    font-size: 18px;
    color: white;
}
#text span{
    color: #0082e6;
}
#text h3{
    font-size: 30px;
    line-height: 36px;
}
#text p{
    margin: 20px 0;
}
#text button{
    width: 250px;
    height: 40px;
    background-color: #26ade4;
    border: none;
    border-radius: 20px;;
}
#text button a{
    color: white;
    font-size: 18px;
    font-weight: 500;
}
#text button:hover{
    transform: translateY(-5px);
    transition: all .2s;
}
#foto{
    width: 330px;
    height: 325px;
    margin-left: 8%;
    border-radius: 50%;
    border: 2px solid white;
    background: url(img/perfil\ 2.jpg);
    background-position: top 20px;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Projetos */
#projetos{
    width: 100%;
    height: 100vh;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
#projetos h1{
    color: white;
    text-align: center;
    font-size: 45px;
    margin: 0 0 30px 0;
    text-transform: uppercase;
}
#projetos button{
    margin-top:  80px;
    width: 260px;
    height: 45px;
    background-color: transparent;
    border: 3px solid #26ade4;
}
#projetos button a{
    font-size: 18px;
    color: white;
    font-weight: bold;
}
.container{
    width: 100%;
    display: flex;
    justify-content: space-evenly;
}

/* Portifolio */
.projeto{
    width: 380px;
    height: 210px;
    background-color: #09456c;
    border-radius: 20px;
    border: 2px solid white;
}
.projeto:hover{
    transform: translateY(-8px);
    transition: all .2s;
}
.projeto a{
    width: 100%;
    height: 100%;
    display: block;
    color: transparent;
}
#proj_1{
    background-image: url(img/Projeto\ 1.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
#proj_2{
    background-image: url(img/Projeto\ 2.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
#proj_3{
    background-image: url(img/Projeto\ 3.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Habilidades e competencias */
#habilidades{
    margin-bottom: 100px;
    width: 100%;
    height: 100%;
    min-height: 90vh;
}
.competencia{
    width: 380px;
    height: 250px;
    background-color: #09456c;
    border-radius: 20px;
    border: 2px solid white;
    padding: 25px;
    color: white;
    line-height: 20px;
    text-align: justify;
}
.competencia h2{
    font-size: 18px;
    text-align: center;
    margin-bottom: 10px;
    font-weight: 600;
}
.competencia p{
    margin: 8px 0;
    font-size: 18px;
}
.competencia a{
    color: #0082e6;
    font-weight: 600;
}
#habilidades h1{
    color: white;
    text-align: center;
    font-size: 45px;
    margin: 0 0 30px 0;
    text-transform: uppercase;
}
.container_pg3{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-evenly;
    align-items:normal;
}

/* footer */
#footer_container{
    height: 100%;
    padding: 50px;
    display: flex;
    flex-direction: column;
    gap: 50px;
}

/* Footer */

#footer_container{
    padding: 50px;
    display: grid;
    grid-template-columns: repeat(4, 290px);
    column-gap: 30px;
}
footer{
    background-color: #191919;
    color: white;
    line-height: 28px;
}
#redes_sociais{
    width: 200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.social{
    margin-top: 20px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
}
.social a{
    width: 45px;
    height: 45px;
    display: block;
    background-color: transparent;
}
#instagram{
    background: url(icons/instagram.png);
    background-size: cover;
    background-repeat: no-repeat;
}
#whatsapp{
    background: url(icons/whatsapp.png);
    background-size: cover;
    background-repeat: no-repeat;
}
#likedin{
    background: url(icons/Likedin.png);
    background-size: cover;
    background-repeat: no-repeat;
}
#back_top{
    width: 50px;
    height: 50px;
    background-color: #0082e6;
    border-radius: 50%;
    background-image: url(icons/seta.png);
    background-size: cover;
    background-repeat: no-repeat;
    transform: rotate(270deg);
    color: white;
}
#back_top a{
    width: 50px;
    height: 50px;
    display: block;
    background-color: transparent;
}

/* Reponsividade */
@media (min-width: 953px) and (max-width:1300px){
    label.logo{
        font-size: 30px;
        padding-left: 50px;
    }
    nav ul li a{
        font-size: 16px;
    }
    #perfil{
        height: 40vh;
    }
    .container{
        width: 100%;
        display: flex;
        align-items: center;
    }
    .projeto{
        margin: 20px 5px;
        margin-bottom: 20px;
        border: 2px solid white;
    }
    /* .competencia{
        margin: 20px 5px;
        margin-bottom: 20px;
        height: 305px;
    } */
    /* Pagina 3 */
    #habilidades{
        margin-bottom: 100px;
        width: 100%;
        height: 100%;
    }
    .container_pg3{
        width: 100%;
        height: 100%;
        display: flex;
        justify-content: space-evenly;
        align-items:normal;
    }
    .competencia{
        width: 32%;
        height: 350px;
    }

    /* footer */
    #footer_container{
        height: 100%;
        padding: 50px;
        display: flex;
        flex-direction: column;
        gap: 50px;
    }
    /* Footer */
    #footer_container{
        display: grid;
        column-gap: 100px;
        grid-template-columns: repeat(2, 280px);
        grid-template-rows: repeat(2, 200px);
    }

}

/* Notebooks e Tablets */
@media (min-width: 858px) and (max-width: 952px){
    .checkbtn{
        display: block;
    }
    ul{
        position: fixed;
        width: 100%;
        height: 100vh;
        background: #2c3e50 ;
        left:-100%;
        text-align: center;
        transition: all .5s;
        top: 60px;
    }
    nav ul li{
        display: block;
        margin: 50px 0;
        line-height: 30px;
    }
    nav ul li a{
        font-size: 20px;
    }
    a:hover, a.active{
        background: none;
        color: #0082e6;
        border: none;
    }
    #check:checked ~ ul{
        left: 0;
    }
    .container{
        height: 100%;
    }

    /* Pagina 1 */
    #perfil{
        width: 100%;
        height: 100%;
        display: grid;
        grid-template-columns: 60% 40%;
        padding: 70px;
        grid-template-rows: 100%;
        column-gap: 40px;
        justify-content: center;
    }
    #text{
        line-height: 22px;
        text-align: justify;
        width: 100%;
    }
    #foto{
        margin: 0;
    }

    /* Pagina 2 */
    #projetos{
        width: 100%;
        height: 100vh;
    }
    .container{
        width: 100%;
        height: 30%;
        align-items: center;
    }
    .projeto{
        width: 32%;
        height: 100%;
        border: 2px solid white;
    }

    /* pagina 3 */
    #habilidades{
        margin-bottom: 100px;
        width: 100%;
        height: 100%;
    }
    .container_pg3{
        width: 100%;
        height: 100%;
        display: flex;
        justify-content: space-evenly;
        align-items:normal;
    }
    .competencia{
        width: 32%;
        height: 350px;
    }

    /* footer */
    #footer_container{
        height: 100%;
        padding: 50px;
        display: flex;
        flex-direction: column;
        gap: 50px;
    }
    
}

/* Celulares */
@media (min-width: 400px) and (max-width: 857px){
    label.logo{
        font-size: 21px;
        padding-left: 50px;
    }
    .checkbtn{
        display: block;
    }
    ul{
        position: fixed;
        width: 100%;
        height: 100vh;
        background: #2c3e50 ;
        left:-100%;
        text-align: center;
        transition: all .5s;
        top: 60px;
    }
    nav ul li{
        display: block;
        margin: 50px 0;
        line-height: 30px;
    }
    nav ul li a{
        font-size: 20px;
    }
    a:hover, a.active{
        background: none;
        color: #0082e6;
        border: none;
    }
    #check:checked ~ ul{
        left: 0;
    }
    

    /* Pagina 1 */
    #perfil{
        min-height: 100vh;
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column-reverse;
        justify-content: center;
        align-items: center;
        margin: 50px 0;

    }
    #foto{
        margin: 0;
        padding: 0;
    }
    #perfil button{
        margin: 20px 0;
        width: 350px;
        min-width: 100px;
        height: 50px;
    }
    #perfil button a{
        font-size: 22px;
        font-weight: bold;
    }
    #text{
        width: 100%;
        height: 100%;
        padding: 0 20px;
        line-height: 22px;
        text-align: justify;
    }

    /* Pagina 2 */
    #projetos{
        width: 100%;
        height: 100%;
        min-height: 100vh;
    }
    #projetos button{
        width: 75%;
        min-width: 350px;
        min-height: 60px;
        margin: 20px 0 50px 0;
    }
    #projetos button a{
        font-size: 25px;
        font-weight: 500;
    }
    .container{
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .projeto{
        width: 90%;
        min-width: 80%;
        height: 45vh;
        min-height: 30vh;
        border: 2px solid white;
        margin-bottom: 10px;
    }

    /* Pagina 3 */

    #habilidades{
        width: 100%;
        height: 100%;
        min-height: 100vh;
    }
    .container_pg3{
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
        align-items:center;
    }
    .competencia{
        width: 90%;
        min-width: 80%;
        height: 45vh;
        min-height: 30vh;
        border: 2px solid white;
        margin-bottom: 10px;
        font-size: 28px;
    }
    .competencia a{
        font-size: 22px;
    }

    /* footer */
    #footer{
        height: 100%;
    }
    #footer_container{
        height: 100%;
        padding: 50px;
        display: flex;
        flex-direction: column;
        gap: 50px;
    }
}

/* Ajustes para celulares com largura menor que 400px */
@media (max-width: 399px){
    label.logo{
        width: 100%;
        font-size: 18px;
        line-height: 25px;
        padding: 18px 50px;
    }
    nav{
        display: flex;
        flex-direction: row-reverse;
    }
    .checkbtn{
        display: block;
    }
    ul{
        position: fixed;
        width: 100vw;
        height: 100vh;
        background: #2c3e50 ;
        left:-100%;
        text-align: center;
        transition: all .5s;
        top: 60px;
    }
    nav ul li{
        display: block;
        margin: 50px 0;
        line-height: 30px;
    }
    nav ul li a{
        font-size: 20px;
    }
    a:hover, a.active{
        background: none;
        color: #0082e6;
        border: none;
    }
    #check:checked ~ ul{
        left: 0;
    }
    

    /* Pagina 1 */
    #perfil{
        min-height: 100vh;
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column-reverse;
        justify-content: center;
        align-items: center;
        margin: 50px 0;

    }
    #foto{
        width: 200px;
        height: 200px;
        margin: 0;
        padding: 0;
    }
    #perfil button{
        margin: 20px 0;
        width: 200px;
        min-width: 100px;
        height: 50px;
    }
    #perfil button a{
        font-size: 18px;
        font-weight: bold;
    }
    #text{
        width: 100%;
        height: 100%;
        padding: 0 20px;
        line-height: 22px;
        text-align: justify;
    }

    /* Pagina 2 */
    #projetos{
        width: 100%;
        height: 100%;
        min-height: 100vh;
    }
    #projetos h1{
        font-size: 35px;
    }
    #projetos button{
        width: 90%;
        min-width: 100px;
        min-height: 72px;
        margin: 20px 0 50px 0;
    }
    #projetos button a{
        font-size: 22px;
        font-weight: 500;
    }
    .container{
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .projeto{
        width: 90%;
        min-width: 80%;
        height: 20vh;
        min-height: 30vh;
        border: 2px solid white;
        margin-bottom: 10px;
    }

    /* Pagina 3 */

    #habilidades{
        width: 100%;
        height: 100%;
        min-height: 100vh;
    }
    #habilidades h1{
        font-size: 28px;
    }
    .container_pg3{
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
        align-items:center;
    }
    .competencia{
        width: 95%;
        min-width: 95%;
        height: 100%;
        min-height: 100%;
        border: 2px solid white;
        margin-bottom: 10px;
        font-size: 28px;
        padding: 25px 10px;
        text-align: center;
    }
    .competencia a{
        font-size: 22px;
    }


    /* Footer */
    #footer{
        height: 100%;
    }
    #footer_container{
        height: 100%;
        padding: 50px 20px;
        display: flex;
        flex-direction: column;
        gap: 50px;
    }
}