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

.caixa-principal{
    height: 100vh;
    width: 100%;
    background-image: url(../img/background.png);
    background-size: cover;
    background-position: center;
    background-color: #191919;
}

.caixa-principal h2 {
    position: fixed;
    top: 0px;
    left: 0px;
    background-color: #191919;
    z-index: 1000;
    width: 60%;
    padding-left: 30px;
    padding-right: 30px;
    padding-top: 3px;
}

nav {
    position: fixed;
    top: -1px;
    right: 0;
    background-color: #191919;
    z-index: 1000;
    width: 40%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-left: 30px;
    padding-right: 30px;
    padding-top: 25px;
}

.portfolio{
    color: #ffffff;
    font-size: 60px;
    font-weight: 500px;
}

.portfolio span {
    color: #f9004d;
}

li {
    color: #ffffff;
    list-style: none;
    display: inline-block;
    font-size: 25px !important;
    margin-right: 30px !important;
    cursor: pointer;
}

li:hover {
    color: #f9004d;
    transition: 0.5s;
}

.link-menu {
    text-decoration: none;
    color: #ffffff;
}

.meu-nome {
    position: absolute;
    top: 50%;
    left: 7%;
}

h1 {
    color:#ffffff;
    font-size: 75px;
}

h1 span {
    color: #f9004d;
}

.meu-nome h3 {
    color:#ffffff;
    font-size: 35px;
}

section {
    display: flex;
    align-items: center;
    padding: 60px 0;
    background-color: #000000;
}

section img {
    height: 400px;
    border-radius: 100%;
    border: 2px solid #f9004d;
    margin: 20px;

}

section div h2 {
    color: #ffffff;
    font-size: 50px;
}

section div p {
    color: #ffffff;
    font-size: 15px;
}

section div button {
    color: #ffffff;
    background: #f9004d;
    height: 50px;
    width: 180px;
    font-size: 16px;
    border: none;
    border-radius: 26px;
}

section div button:hover {
    background-color: #000000;
    border: 3px solid #f9004d;
    transition: 0.5s;
}

.projetos {
    background-color: #191919;
    padding-top: 50px;
    padding-bottom: 100px;
}

.projetos h2 {
    color: #ffffff;
    font-size: 75px;
    text-align: center;
}

 .novocard {
    background-color: #000000;
    border-radius: 20px;
    text-align: center;
    padding: 20px 20px 20px 20px;
}

.novocard h5 {
    color:#ffffff;
    font-size: 24px;
}

.novocard p {
    color: #f9004d;
    margin-bottom: 40px;
}

.novocard a {
    background-color: #f9004d;
    color: #ffffff;
    transition: 0.5s;
}

.novocard a:hover {
    background-color: transparent;
    border: 2px solid #f9004d;
}

.sobre a {
    background-color: #f9004d;
    color: #ffffff;
    transition: 0.5s;
}

.sobre a:hover {
    background-color: transparent;
    border: 2px solid #f9004d;
}

.card-projetos {
    display: flex;
    justify-content: space-around;
    margin-top: 50px;
}

footer {
    background-color: #000000;
    padding-top: 100px;
    padding-bottom: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

footer h5 {
    color: #ffffff;
    font-size: 30px;
}

footer p {
    color:#ffffff;
    font-size: 18px;
    margin-top: 14px;
    margin-bottom: 30px;
}

.social {
    display: flex;
    gap: 20px;
}

.social img {
    height: 24px;
    border-radius: 50%;
}

.social a {
    background-color: #f9004d;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    width: 50px;
    cursor: pointer;
}

.social a:hover {
    transform: scale(1.3);
    transition: 0.5s;
}

.row {
    margin-bottom: 2%;
}

.feature-box-02 {
    background: #fff;
    padding: 15px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    overflow: hidden;
}

.m-15px-tb {
    margin-top: 15px;
    padding-bottom: 15px;
}

/* Adicione estas regras para tornar o site responsivo */

@media screen and (max-width: 768px) {
    .caixa-principal {
        height: auto;
        background-image: none;
        padding-top: 50px; /* Ajuste conforme necessário */
    }

    nav {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding-top: 10px;
    }

    .portfolio {
        font-size: 50px;
        margin-top: top;
    }

    li {
        display: block;
        margin: 10px 0;
    }

    .meu-nome {
        position: static;
        text-align: center;
        margin-top: 10px;
    }

    .meu-nome h1 {
        font-size: 50px;
        margin-bottom: auto;
    }

    .meu-nome h3 {
        font-size: 25px;
        margin-bottom: auto;
    }


    h1 {
        font-size: 50px;
    }

    h3 {
        font-size: 25px;
    }

    section {
        flex-direction: column;
        text-align: center;
    }

    section img {
        margin: 20px 0;
    }

    section div h2 {
        font-size: 30px;
        margin-bottom: 15px;
    }

    section div p {
        font-size: 14px;
        margin-bottom: 20px;
    }

    section div button {
        font-size: 14px;
        margin-top: 15px;
    }

    .projetos h2 {
        font-size: 50px;
        margin-bottom: 20px;
    }

    .novocard {
        margin-bottom: 30px;
    }

    .novocard h5 {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .novocard p {
        margin-bottom: 20px;
    }

    footer h5 {
        font-size: 25px;
        margin-bottom: 15px;
    }

    footer p {
        font-size: 16px;
        margin-bottom: 20px;
    }

    .social a {
        height: 40px;
        width: 40px;
    }

    .social img {
        height: 20px;
    }
}
