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

body{
    font-family: "Roboto", sans-serif;
}

html{
    scroll-behavior: smooth;
}

/* ---Inicio do Header---*/
.nav{
background-color: #181818;
height: 80px;
width: 100%;
display: flex;
justify-content: flex-end;
position: sticky;
top: 0%;
z-index: 9;
}
.nav-list{
    display: flex;
    align-items: center;
    list-style: none;
    margin-right: 28px;
}

.nav-list a {
    text-decoration: none;
    color: #ddd;
    padding: 20px;

}

.nav-list a:hover{
color: #fff;
}

/*---Fim do Header---*/

/*---Inicio da main---*/

.main{
    width: 100%;
    background-color: #000;
    height: calc(100vh - 80px);
    background-image: url(images/programador.png);
    display: flex;
    align-items: center;
    padding-left: 10%;
}

.main h1{
color: #ffffff;
font-size: 54px;
}

.main p{
    font-size: 24px;
    color: #1e96fc;
    font: italic;
    margin-top: 10px;
    margin-bottom: 35px;
}

.call-to-action{
    cursor: pointer;
    background-color: #ffffff;
    border: 0;
    padding: 14px;
    border-radius: 4px;
    font-size: 18px;
    font-weight: bold;
    transition: 0.9s;
}
.call-to-action:hover{
    transform: scale(1.1);

}
.main a{
    text-decoration: 0;
    color: #181818;
}

/*---Fim da main---*/

/*---Inicio sobre---*/
.sobre{
    background-color: #ffffff;
    width: 100%;
    padding-left: 10%;
    padding-right: 10%;
    padding-top: 80px;
    padding-bottom: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sobre div{
    max-width: 50%;
    padding-right: 50px;
}

.sobre img{
    max-width: 450px;
    border-radius: 8px;

}

.sobre div h2{
    font-size: 32px;
    margin-bottom: 14px;
}
/*---Fim sobre---*/

/*---Comeco projeto---*/

.projeto{
    width: 100%;
    padding: 80px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

}

.projeto h2{
    font-size: 32px;
    margin-bottom: 8px;
    margin-top: 20px;
}

.projeto p{
    font-style: italic;
    margin-bottom: 40px;
}

.lista_projetos{
    width: 100%;
    margin-bottom: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.projeto img{
    width: 22%;
    margin-left: 0.5%;
    margin-right: 0.5%;
    opacity: 0.8;
    transition: 0.9s;
}

.projeto img:hover{
    opacity: 1;
}

.action{
    background-color: #181818;
    border: 0;
    padding: 12px 28px;
    border-radius: 4px;
    font-size: 18px;
    color: #ffffff;
    margin-top: 14px;
    cursor: pointer;
}
/*---Fim projeto---*/
footer{
    width: 100%;
    background-color:#181818 ;
    padding: 70px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
}

footer a{
    text-decoration: 0;
    color: #ffffff;
}

footer p{
    margin-left: 12px;
}


/*---Comeco responsividade---*/

@media (max-width: 1050px){
    .main h1{
        font-size: 45px;
    }
    .main p{
        font-size: 18px;
    }
    .main{
        background-size: cover;
    }

    .sobre{
        flex-direction: column;
        padding-top: 80px;
        padding-left: 0;
        padding-right: 0;
        padding-bottom: 0;
    }

    .sobre div{
        max-width: 80%;
    }

    .sobre div h2{
        font-size: 45px;
    }
    
    .sobre img{
        width: 75%;
        margin-top: 40px;
    }

    .projeto img{
        width: 30%;
    }

    footer  {
        flex-direction: column;

    }
    footer p{
        margin: 0;
    }
    footer h3{
        font-size: 23px;
        margin-bottom: 8px;
    }

}
