* {
    margin: 0;
    padding: 0px;
    font-family: 'Poppins', Arial, Helvetica, sans-serif;
    box-sizing: border-box;
}
html{
    scroll-behavior: smooth;
    scroll-padding-top: 7.5rem;
}
html, body{
    max-height: 500vh;
    background-image: linear-gradient(to bottom, #0A051B 50%, #754EF9);
    background-repeat: no-repeat;
    padding: 0px 0px 2rem 0rem;
}
main{
    width: 100%;
    max-width: 1000px;
    max-height: 500vh;
    background-color: #0B051F;
    border-radius: 10px;
    box-shadow: 0 2px 5px #04020c;
    border: 1px solid transparent;
    padding: 2rem;
    margin: 5% auto 0;
}
main #apresentacao{
    width: 100%;
    height: 50%;
}
main #resumo{
    width: 100%;
    height: 50%;
}
.azul{
    color: #5f3eca;
}
main #apresentacao header h1{
    font-size: 1.1rem;
    margin-right: 1.5rem;
    display: inline-block;
}
.ola{
    font-size: 1.6rem;
    color: white;
    font-weight: 600;
    padding: 0px;
    margin: 0px;
    margin-top: 6.5rem;
}
.joao{
    font-size: 2.6rem;
    color: white;
    font-weight: 700;
}

.lorem{
    color: white;
    font-size: 0.9rem;
    max-width: 16rem;
    margin-bottom: 1.5rem;
}
.fa-linkedin-in{
    color: #5f3eca;
}
#icones-sociais a{
    color: #5f3eca;
    margin-right: 0.5rem;
    margin-top: 40rem;
    margin-bottom: 1rem;
    border: 1px solid #5f3eca;
    border-radius: 100%;
    padding: 0.3rem 0.6rem 0.3rem 0.6rem;
    transition: 0.3s ease;
}
#icones-sociais a:hover{
    border: 1px solid white;
    color: white;
    transition: 0.4s;
}
#enviar{
    width: 10rem;
    height: 2rem;
    color: white;
    background-color: #5f3eca;
    border: none;
    margin-top: 2rem;
    border-radius: 5px;
    cursor: pointer;
    margin-bottom: 5rem;
    transition: transform 0.2s ease;
}
#enviar:hover{
    transform: scale(1.05);
    transition: 0.3s;
    background-color: #462e94;
}
main #resumo{
    width: 100%;
    height: 50%;
}
main #resumo h1{
    color: white;
}
.resumo-eu{
    display: flex;
    flex-direction: column;
    margin-top: 5rem;
    margin-left: 50%;
}
header nav a{
    color: white;
    text-decoration: none;
    margin-right: 1.5rem;
    float: right;
    max-width: 900px;
    transition: 0.3s ease;
}
header nav a:hover{
    text-decoration: underline 2px solid #462e94;
    text-underline-offset: 0.2rem;
    transition: 0.3s;
    color: #462e94;
}
header nav {
    float: right;
}
#lorem2{
    color: white;
    font-size: 0.9rem;
    max-width: 20rem;
    margin-bottom: 10rem;
}
.negrito{
    color: white;
    font-weight: bold;
    font-size: 0.9rem;
}
.servicos{
    color: white;
    text-align: center;
    font-size: 1.7rem;
    margin-bottom: 3rem;
    margin-top: 7rem;
}
.azul{
    color: #5f3eca;
}
.caixa1, .caixa2, .caixa3{
    max-height: 20rem;
    border-top: 3px solid #5f3eca;
    border-bottom: 4px solid #5f3eca;
    border-radius: 7px;
    padding: 1rem;
    overflow-wrap: break-word;
    display: inline-block;
}
.caixa1 p, .caixa2 p, .caixa3 p{
    text-align: center;
    color: white;
    font-size: 0.8rem;
}
.caixa1 h1, .caixa2 h1, .caixa3 h1{
    text-align: center;
    color: white;
    font-weight: bold;
    font-size: 1rem;
    margin: 0.7rem;
}
#contato{
    color: white;
    text-align: center;
    margin-bottom: 5rem;
}
#email{
    background-color: white;
    border: none;
    border-radius: 5px;
    width: 15rem;
    height: 1.5rem;
    padding: 1rem;
    font-size: 0.9rem;
    margin-right: 1rem;
}
label{
    color: white;
    margin-right: 2rem;
}
#enviar2{
    width: 10rem;
    height: 2rem;
    color: white;
    background-color: #5f3eca;
    border: none;
    margin-top: 2rem;
    border-radius: 5px;
    cursor: pointer;
    margin-bottom: 5rem;
    transition: transform 0.2s ease;
}
#enviar2:hover{
    transform: scale(1.05);
    transition: 0.3s;
    background-color: #462e94;
}
#container{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(12.5rem, 1fr));
    gap: 2rem 1rem;
}
.fixo{
    color: #462e94;
    text-decoration: underline 2px solid #462e94;
    text-underline-offset: 0.2rem;
}
.resumo-projetos{
    max-width: 350px;
    color: white;
    margin-bottom: 3rem;
}
.container-projetos{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 10px;
    row-gap: 20px;
}
.container-projetos p, h1{
    color: white;
}
.container-projetos h1{
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}
.container-projetos p {
    font-size: 0.9rem;
}
.projetos{
    height: 200px;
    height: min-content;
    overflow: hidden;
    border-radius: 1rem;
    border: 2px dashed white;
    transition: transform 0.3s ease;
}
.projetos:hover{
    transform: scale(1.2);
    transition: 0.4s;
    box-shadow: 10px 7px 15px rgba(0, 0, 0, 0.466);
    cursor: pointer;
}
.projetos img{
    width: 100%;
    height: 100%;
}
.descricao{
    margin-top: 1.5rem;
}
.tech-1{
    border: 1px solid white;
    color: white;
    margin: 0px;
    padding: 5px;
    width: 50px;
    border-radius: 30%;
    text-align: center;
    display: inline-block;
    margin-right: 0.5rem;
}
.tech-1:hover{
    cursor: pointer;
    border: 1px solid #462e94;
}
.tech-2:hover{
    cursor: pointer;
    border: 1px solid #462e94;
    transition: 0.2s;
}
.tech-2{
    border: 1px solid white;
    color: white;
    margin: 0px;
    padding: 5px;
    width: 50px;
    border-radius: 30%;
    text-align: center;
    display: inline-block;
}
.tecnologias, .tecnologias-2, .tecnologias-3{
    margin-top: 0.8rem;
}
header nav i{
    display: none !important;
    font-size: 1.5rem;
    color: white;
}
@media (max-width:480px){
    .resumo-eu{
        margin-left: 0%;
    }
    main{
        width: 100%;
        margin: 0% auto 0;
        overflow-x: hidden;
        padding: 1rem;
    }
}
@media (max-width:360px){
    icones-sociais{
        margin-bottom: 10rem;
    }
}
@media (max-width:390px){
    header nav a{
        display: none;
    }
    header nav i{
        display: inline-block !important;
    }
}
@media (max-width:850px){
    .container-projetos{
        display: grid;
        grid-template-columns: repeat(3, minmax(90%, 1fr));
        overflow-x: auto;
        box-sizing: border-box;
    }
    .container-projetos::-webkit-scrollbar{
        display: none;
    }
    .projetos:hover{
        transform: scale(1);
    }
}
