* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: sans-serif;
}

html {

    scroll-behavior: smooth;
}

header {
    background-color: #241f38;
    display: flex;
    justify-content: space-evenly;
    padding: 20px 50px 20px 20px;
    font-size: 20px;
    position: fixed;
    width: 100%;
    top: 0;
}

nav {
    color: #554a88;
    font-size: 130%;

}

.menu {
    display: flex;
    justify-content: space-evenly;
    padding: 20px 50px 20px 20px;
    font-size: 20px;
    width: 50%;
    list-style: none;
}

.menu a {
    color: white;
    text-decoration: none;
}

.menu :hover {
    color: #554a88;
    transition: 500ms;
    -webkit-transform: scale(1.3);
    -ms-transform: scale(1.3);
    transform: scale(1.3);
}

.container-main {

    display: flex;
    justify-content: space-evenly;
    align-items: center;
    padding-top: 120px;
}

main {
    background-color: #191627;
}

h1 {
    color: white;
    font-size: 300%;
}

h2 {
    padding: 20px 0px 0px 0px;
    font-size: 200%;
    text-align: center;
    color: rgb(196, 196, 196)
}

.cabecalho {
    width: 20vw;
}

.berg img {
    border-radius: 100%;
    border-style: outset;
    border-color: #554a88;
    width: 20vw;
    height: 50vh;
}


h3 {
    display: flex;
    justify-content: center;
    text-align: center;
    font-size: 300%;
    color: white;
    padding: 50px;
}

.habilidades-img {
    display: flex;
    justify-content: space-evenly;
    height: 30vh;
}

.projetos {
    display: flex;
    justify-content: space-evenly;
}

.projetos img {
    width: 32vw;
    height: 32vh;
}

button {
    background: #554a88;
    border-radius: 1rem;
    padding: 12px 32px 12px 32px;
    cursor: pointer;
    color: #fff;
    border: none;
    font-size: 16px;
    transition: background-color 0.3s;
}

button:hover {
    background: #2c2744;
}




.contato img {
    width: 3vw;
    height: 5vh;
}



.contato a {
    color: #fff;
}

.contato a:hover {
    color: #554a88;

}

.caixa-pai {
    padding: 0px 0px 50px 200px;
}

h4 {
    padding-top: 32px;
    font-size: 20px;
    color: white;
}


h5 {
    font-size: 50px;
    color: #fff;
}

h6 {
    text-align: center;
    font-size: 20px;
    color: #a1a1a1;
}

footer {
    background-color: #241f38;
}

.container-section {
    display: flex;
}

.filho {

    padding: 50px 0px 0px 200px;
}

.container-footer img {
    width: 3vw;
    height: 5vh;
}

.caixa-pai-footer {
    display: flex;
    align-items: end;
}

.container-footer {
    display: flex;
    justify-content: end;
    width: 50vw;
}

.container-filho {
    padding: 0px 10px 0px 0px;
    display: flex;
    justify-content: center;
}

.pai-verif {
    display: flex;
    justify-content: center;
}

h7 {
    color: #76718a;
    font-size: 12px;
}

.name {
    display: flex;
    flex-direction: column;
    text-align: center;
    font-size: 300%;
    color: white;
    padding: 50px;
}

@media (max-width: 420px) {
    nav {
        font-size: 0px;
    }

    .menu a {
        padding: 0px 14px 0px 0px;
        font-size: 15px;
    }

    .berg img {
        width: 30vw;
        height: 20vh;
    }

    .cabecalho {
        width: 30vw;

    }

    main {
        padding-top: 20%;

    }

    h1 {
        font-size: 30px;
    }

    h2 {
        font-size: 19px;
    }

    .habilidades-img img {
        width: 20vw;
        height: 10vh;
    }

    .projetos img {
        height: 20vh;
    }

    button {
        width: 100px;
        font-size: 10px;
    }

    .caixa-pai {
        display: flex;
        flex-direction: column;
        padding: 0px 0px 0px 0px;
    }

    .contato img {
        width: 10vw;
    }

    .container-section {
        display: flex;
        justify-content: end;
    }

    h5 {
        font-size: 30px;
    }

    h6 {
        font-size: 15px;
    }

    .caixa-pai-footer img {
        width: 10vw;

    }














}