/* "Reset" das configurações: */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Ref. Cores: https://coolors.co/palettes/trending */
body {
    font-family: Arial, Helvetica, sans-serif;
    background: #0b1220;
    color: #e5e7eb;
}

a {
    text-decoration: none;
    color: inherit; /* pega a cor herdada */
}

li {
    list-style: none;
}

.logo {
    color: #34d399;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px; /* cima-baixo esq-dir */
    position: relative;
}

#menu {
    display: flex;
    gap: 10px;
}

.prim {
    /* height: 80vh; viewport height */ 
    height: auto;
    background: radial-gradient(circle at top, #0f172a, #020617);
}

.prim-container {
    width: 100%;
    text-align: center;
    height: auto;
    margin-top: 1em; /* medida dinâmica */
}

.comfoto {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px;
    /* background-color: red; */
}

.eu img {
    max-width: 150px;
    height: auto;
    border-radius: 10px;
    margin: 20px;
}

.intro {
    color: #34d399;
    margin-bottom: 10px;
}

.prim-container h2 {
    font-size: 3em;
    margin-bottom: 10px;
}

.descricao {
    color: #34d399;

}

/* SOBRE */

#sobre {
    /* height: 100vh; */
    height: auto;
    /* padding: 1em; */
    margin-bottom: 20px;
}

#sobre h2 {
    color: #34d399;
    text-align: center;
    margin: auto;
}

.sobre-conteudo {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    margin-top: 10px;
}

.sobre-conteudo .sobre-texto {
    flex: 1;
}

.sobre-conteudo .sobre-formacao {
    flex: 1;
}

.sobre-texto p {
    color: #9ca3af;
    /* margin-bottom: 5px; */
    line-height: 1.6;
    padding: 15px;
    text-align: justify;
}

.sobre-dados {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.sobre-dados div {
    text-align: center;
}

.sobre-dados strong {
    display: block;
    font-size: 2em;
    color: #34d399;
}

.sobre-dados span {
    font-size: 1em;
    color: #9ca3af;
}

/* PROJETOS */

#projetos {
    /* min-height: 100vh; */
    text-align: center;
    margin: 20px;
}

.projetos-container {   /* pega todo mundo que está dentro */
    display: flex;
    /* flex: 1 1 250px; */
    /* flex: auto; */
    flex-wrap: wrap;
    gap: 20px;
    /*flex: 1 1 250px; */
    justify-content: center;
    align-items: center;
}

.projetos-card {
    /* min-height: 350px; */
    background: #020617;
/*    padding: 20px;
    border-radius: 10px; */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.projetos-card img {
    width: 300px;
    height: auto;
    border-radius: 50%;
    margin: 10px;
    align-items: center;
    justify-content: center;    
}

.projetos-card a {
    color: #34d399;
    font-weight: bold;
    border: 2px solid #34d399;
    padding: 7px;
    border-radius: 10px;
    /* margin-top: 10px; */
    margin-top: auto;
}

#projetos h3 {
    color: #34d399;
    margin-bottom: 1em;
}

.projetos-card p {
    /* min-height: 60px; */
    color: #9ca3af;
    margin-bottom: 25px;
}

/* HABILIDADES */

#habilidades {
    min-height: 50vh;
    text-align: center;
}

#habilidades h2 {
    margin-top: 40px;
}

#habilidades p {
    color: #9ca3af;
    margin: 20px;
}

.habilidades-lista {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 10px;
    margin: 20px;
}

.habilidades-card {
    background-color: #020617;
    border: 2px solid #1f2933;  /* fica preto antes de passar o mouse sobre */
    border-radius: 10px;
    padding: 20px 20px;
}

.habilidades-card:hover {
    border: 2px solid #34d399;   
}

.habilidades-card span {
    padding: 5px 14px;
    border-radius: 10px;
    background: #020617;
    border: 2px solid #34d399;
    color: #34d399;
    font-size: 0.8em;
}

.habilidades-card h3 {
    margin-bottom: 10px;
}

/* CONTATOS */

#contatos {
    /* min-height: 100vh; */
    height: auto;
    text-align: center;
    padding: 1em;
}

#contatos h2 {
    color: #34d399;
    margin-bottom: 20px;
}

#contatos p {
    color: #9ca3af;
    margin-bottom: 15px;
}

.contatos-lista {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 25px;
}

.contatos-item {
    background: #020617;
    padding: 20px 30px;
    border-radius: 10px;
    border: 2px solid #34d399;
}

.contatos-item strong {
    color: #34d399;
    display: block;
    margin-bottom: 5px;
}

.contatos-item span {
    color: #9ca3af;
    font-size: 1em;
}

.redes-sociais {
    display: flex;
    justify-content: center;
    flex-direction: row;
    gap: 20px;
}

@media (max-width: 768px) {
    .redes-sociais {
        flex-direction: column;
        align-items: center;
    }
}

.redes-sociais a {
    border: 2px solid #b6d334c9;
    border-radius: 10px;
    color: #34d399;
    padding: 10px 20px;
    display: flex;
    flex-direction: column;     /* imagem em cima, texto embaixo */
    justify-content: center;    /* centraliza vertical */
    align-items: center;        /* centraliza horizontal */
    text-align: center;
}

.redes-sociais a:hover {
    color: #020617;
    background: #10b981;
}

.footer {
    text-align: center;
    padding: 20px;
    background: #020617;
    color: #9ca3af;
}

#hamburguer {
    display: none;
    font-size: 20px;
    background: none;
    border: none;
    cursor: pointer;
    color: #fff;
}

@media (max-width: 768px) {
    #hamburguer {
        display: block;

    }

    #menu {
        position: absolute;
        top: 70px;
        right: 40px;
        gap: 15px;
        background: #111;
        flex-direction: column;
        display: none;

    }

    #menu.ativa {
        display: flex;

    }
}