/* Fonte moderna e legível */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

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

body {
    font-family: 'Inter', sans-serif;
    background-color: #0f0f11;
    color: #e1e1e6;
    padding: 2rem;
    line-height: 1.6;
    font-size: 1rem;
    margin: 20px;
}

a {
    color: #4ea8de;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

header {
    text-align: center;
    margin-bottom: 2rem;
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

header p {
    margin-top: 15px;
}

.header-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
}

.header-row img {
    width: 200px;
    transition: transform 0.2s;
}

.header-row img:hover {
    transform: scale(1.05);
}

.header-row p {
    font-size: 1.2rem;
    color: #c4c4cc;
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
}

section {
    margin-bottom: 4rem;
}

h2 {
    text-align: center;
    font-size: 1.8rem;
    color: #ffffff;
    margin-bottom: 1rem;
    border-bottom: 1px solid #333;
    padding-bottom: 0.5rem;
}

p {
    margin: 0 auto;
    text-align: center;
    color: #d4d4d8;
    max-width: 700px;
}

#github div {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
}

.tech-badges {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
}

.tech-badges img {
    height: 32px;
    transition: transform 0.2s;
    border-radius: 5px;
}

.tech-badges img:hover {
    transform: scale(1.20);
}

.project {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
}



.project .card {
    width: 100%;
    max-width: 220px;
    background-color: #1d1d1d;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
    transition: transform 0.2s;
    color: #ffffff;
    font-weight: 500;
}

.project .card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 12px;
}

.project.nh .card img {
    width: 100%;
    height: 220px;
    object-fit: contain;
    border-radius: 12px;
}


.project .card:hover {
    transform: scale(1.05);
    background-color: #232328;
}
#about p{
    
    font-size: 17.5px;
}
.cardtxt{
    
    padding: 10px 0 10px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cardgit{
    transition: transform 0.3s;
}
.cardgit:hover{
    transform: scale(1.05);
}
ul {
    text-align: center;
    list-style: none;
}

#contact {
    margin-bottom: 2em;
}

ul li {
    margin-bottom: 0.5rem;
}

footer {
    background-color: #1d1d1d;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
    border-radius: 10px;
    text-align: center;
    font-style: italic;
    font-size: 0.95rem;
    color: #8e8e93;
}

footer div {
    height: 75px;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
}
@media (min-width: 600px){
    #about p{
      font-size: 19px;  
    }
    #about{
        margin-bottom: 1rem;
    }
}

/* Responsivo */
@media (min-width: 768px) {
    

    .tech-badges {
        justify-content: center;

    }
    .tech-badges img {
        height: 40px;
    }
    #about p{
        margin-top: 20px;
    }
    #about{
        margin-bottom: 2rem;
    }
}

/* Telas a partir de 801px (tablets e notebooks pequenos) */
@media (min-width: 801px) {
    body {
        font-size: 1.05rem;
    }

    h2 {
        font-size: 2rem;
    }
    .project .card {
        max-width: 250px;

    }
    .project .card img{
        width: 100%;
        height: 250px;
        object-fit: cover;

    }
    .tech-badges img {
        height: 45px;
    }
    .cardgit{
        width: 400px;
    }
    .header-row{
        width: 600px;
        padding: 0 50px 0 50px;
        flex-direction: row;
        margin: 0 auto;
    }
   
}
@media (min-width: 900px){
    .header-row{
        width: 700px;
        padding: 0 50px 0 50px;
    }
}
/* Telas a partir de 1025px (laptops grandes e desktops) */
@media (min-width: 1025px) {
    .header-row {
        width: 800px;
        margin: 0 auto;
        flex-direction: row;
        justify-content: center;
        align-items: center;
    }

    .header-row p {
        text-align: left;
    }

    header h1 {
        font-size: 3rem;
    }

    .header-row img {
        width: 220px;
        font-size: 20px;
    }

    body {
        font-size: 1.1rem;
    }
    .project .card {
        max-width: 300px;

    }
    .project .card img{
        width: 100%;
        height: 300px;
        object-fit: cover;

    }
    .tech-badges img {
        height: 50px;
    }
    .cardgit{
        width: 450px;
    }
    

}

/* Telas a partir de 1281px (alta resolução) */
@media (min-width: 1281px) {

    body {
        font-size: 1.15rem;
    }

    .header-row {
        width: 1000px;
    }

    .header-row p {
        margin: 50px;
        font-size: 21px;

    }

    .project .card {
        max-width: 300px;

    }
    .project .card img{
        width: 100%;
        height: 300px;
        object-fit: cover;

    }

    h2 {
        font-size: 2.2rem;
    }
    .cardgit{
        width: 500px;
    }
    
}

@media (min-width: 1400px) {

    body {
        margin: 50px;
        font-size: 1.15rem;
    }
    .tech-badges{
        padding: 0 350px 0 350px;
    }

    .header-row {
        width: 1000px;
    }
    .header-row {
        width: 1000px;
    }

    .header-row p {
        font-size: 22px;
    }
    

    .project .card {
        max-width: 300px;

    }
    .project .card img{
        max-width: 100%;
        height: 300px;
        
        object-fit: cover;

    }

    h2 {
        font-size: 2.2rem;
    }
    .cardgit{
        width: 600px;
    }
}